UNPKG

caver-multicall

Version:
16 lines (15 loc) 445 B
import { Contract } from "caver-js"; import { MethodCallOptions } from "./method-options.interface"; export interface Method<T> { call: (options: MethodCallOptions, callback?: (result: any) => void) => Promise<T>; encodeABI: () => string; _parent: Contract; _method: { inputs: any[]; name: string; outputs: any[]; signature: string; stateMutability: string; type: string; }; }