near-typechain
Version:
10 lines (9 loc) • 407 B
TypeScript
import { NearContractAbi } from '../../abis';
import { CallFunctionDefinition, ViewFunctionDefinition } from './functions';
export declare type ContractTypeDefinition = {
contract: string;
viewFunctions: ViewFunctionDefinition[];
callFunctions: CallFunctionDefinition[];
bytecode?: string;
};
export declare const getContractTypeDefinition: (abi: NearContractAbi) => ContractTypeDefinition;