/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../../common"; export interface EchoerInterface extends Interface { getFunction(nameOrSignature: "echo"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Echo"): EventFragment; encodeFunctionData(functionFragment: "echo", values: [BytesLike]): string; decodeFunctionResult(functionFragment: "echo", data: BytesLike): Result; } export namespace EchoEvent { export type InputTuple = [who: AddressLike, data: BytesLike]; export type OutputTuple = [who: string, data: string]; export interface OutputObject { who: string; data: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface Echoer extends BaseContract { connect(runner?: ContractRunner | null): Echoer; waitForDeployment(): Promise; interface: EchoerInterface; 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; echo: TypedContractMethod<[_data: BytesLike], [void], "nonpayable">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "echo" ): TypedContractMethod<[_data: BytesLike], [void], "nonpayable">; getEvent( key: "Echo" ): TypedContractEvent< EchoEvent.InputTuple, EchoEvent.OutputTuple, EchoEvent.OutputObject >; filters: { "Echo(address,bytes)": TypedContractEvent< EchoEvent.InputTuple, EchoEvent.OutputTuple, EchoEvent.OutputObject >; Echo: TypedContractEvent< EchoEvent.InputTuple, EchoEvent.OutputTuple, EchoEvent.OutputObject >; }; }