/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from 'ethers'; import type { FunctionFragment, Result } from '@ethersproject/abi'; import type { Listener, Provider } from '@ethersproject/providers'; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from './common'; export declare namespace MultiCall { export type CallStruct = { to: string; data: BytesLike }; export type CallStructOutput = [string, string] & { to: string; data: string; }; } export interface MulticallAbiInterface extends utils.Interface { functions: { 'multicall((address,bytes)[])': FunctionFragment; }; getFunction(nameOrSignatureOrTopic: 'multicall'): FunctionFragment; encodeFunctionData(functionFragment: 'multicall', values: [MultiCall.CallStruct[]]): string; decodeFunctionResult(functionFragment: 'multicall', data: BytesLike): Result; events: {}; } export interface MulticallAbi extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: MulticallAbiInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined, ): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { multicall( calls: MultiCall.CallStruct[], overrides?: CallOverrides, ): Promise<[string[], boolean[]] & { results: string[]; success: boolean[] }>; }; multicall( calls: MultiCall.CallStruct[], overrides?: CallOverrides, ): Promise<[string[], boolean[]] & { results: string[]; success: boolean[] }>; callStatic: { multicall( calls: MultiCall.CallStruct[], overrides?: CallOverrides, ): Promise<[string[], boolean[]] & { results: string[]; success: boolean[] }>; }; filters: {}; estimateGas: { multicall(calls: MultiCall.CallStruct[], overrides?: CallOverrides): Promise; }; populateTransaction: { multicall(calls: MultiCall.CallStruct[], overrides?: CallOverrides): Promise; }; }