UNPKG

@dahlia-labs/use-ethers

Version:
8 lines 602 B
import type { Multicall2 } from "./generated"; import type { Call, ChainType, Multicall, ProviderOrSigner } from "./types"; export declare const getMulticall: (provider: ProviderOrSigner, chain: ChainType) => Multicall2; export declare function fetchMulticalls<T extends unknown[]>(multicalls: readonly [...{ [I in keyof T]: Multicall<T[I]>; }], multicallContract: Multicall2, maxChunk?: number): Promise<Readonly<T>>; export declare const fetchCalls: (calls: readonly Call[], multicallContract: Multicall2, maxChunk?: number) => Promise<Readonly<string[]>>; //# sourceMappingURL=multicall.d.ts.map