/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../common"; export interface ModuleMockInterface extends Interface { getFunction(nameOrSignature: "ping"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Pong"): EventFragment; encodeFunctionData(functionFragment: "ping", values?: undefined): string; decodeFunctionResult(functionFragment: "ping", data: BytesLike): Result; } export namespace PongEvent { export type InputTuple = []; export type OutputTuple = []; export interface OutputObject {} export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface ModuleMock extends BaseContract { connect(runner?: ContractRunner | null): ModuleMock; waitForDeployment(): Promise; interface: ModuleMockInterface; queryFilter( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; queryFilter( filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; on( event: TCEvent, listener: TypedListener ): Promise; on( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; once( event: TCEvent, listener: TypedListener ): Promise; once( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; listeners( event: TCEvent ): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners( event?: TCEvent ): Promise; ping: TypedContractMethod<[], [void], "nonpayable">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "ping" ): TypedContractMethod<[], [void], "nonpayable">; getEvent( key: "Pong" ): TypedContractEvent< PongEvent.InputTuple, PongEvent.OutputTuple, PongEvent.OutputObject >; filters: { "Pong()": TypedContractEvent< PongEvent.InputTuple, PongEvent.OutputTuple, PongEvent.OutputObject >; Pong: TypedContractEvent< PongEvent.InputTuple, PongEvent.OutputTuple, PongEvent.OutputObject >; }; }