UNPKG

gotake-contracts

Version:

TypeChain generated types and ABIs for GoTake contracts

50 lines (49 loc) 1.05 kB
export interface GenericContractABI { [key: string]: any[]; } export interface ContractInterface { address: string; abi: GenericContractABI; } export interface DeployedContract { address: string; chainId: number; networkName: string; } export interface NetworkConfig { name: string; rpc: string; chainId: number; contracts: Record<string, string>; tokens: Array<{ address: string; name: string; symbol: string; decimals: number; }>; } export interface ContractAddresses { [networkName: string]: NetworkConfig; } export interface ContractFunction { name: string; inputs: ContractInput[]; outputs: ContractOutput[]; stateMutability: string; type: string; } export interface ContractInput { name: string; type: string; indexed?: boolean; } export interface ContractOutput { name: string; type: string; } export interface ContractEvent { name: string; inputs: ContractInput[]; anonymous: boolean; type: string; }