caver-multicall
Version:
Multicall library for caver-js
16 lines (15 loc) • 445 B
TypeScript
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;
};
}