/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../common"; export interface DelegateCallMockInterface extends Interface { getFunction( nameOrSignature: "read" | "setRevertFlag" | "write" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Readed"): EventFragment; encodeFunctionData(functionFragment: "read", values: [BigNumberish]): string; encodeFunctionData( functionFragment: "setRevertFlag", values: [boolean] ): string; encodeFunctionData( functionFragment: "write", values: [BigNumberish, BigNumberish] ): string; decodeFunctionResult(functionFragment: "read", data: BytesLike): Result; decodeFunctionResult( functionFragment: "setRevertFlag", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "write", data: BytesLike): Result; } export namespace ReadedEvent { export type InputTuple = [_val: BigNumberish]; export type OutputTuple = [_val: bigint]; export interface OutputObject { _val: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface DelegateCallMock extends BaseContract { connect(runner?: ContractRunner | null): DelegateCallMock; waitForDeployment(): Promise; interface: DelegateCallMockInterface; 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; read: TypedContractMethod<[_key: BigNumberish], [void], "nonpayable">; setRevertFlag: TypedContractMethod< [_revertFlag: boolean], [void], "nonpayable" >; write: TypedContractMethod< [_key: BigNumberish, _val: BigNumberish], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "read" ): TypedContractMethod<[_key: BigNumberish], [void], "nonpayable">; getFunction( nameOrSignature: "setRevertFlag" ): TypedContractMethod<[_revertFlag: boolean], [void], "nonpayable">; getFunction( nameOrSignature: "write" ): TypedContractMethod< [_key: BigNumberish, _val: BigNumberish], [void], "nonpayable" >; getEvent( key: "Readed" ): TypedContractEvent< ReadedEvent.InputTuple, ReadedEvent.OutputTuple, ReadedEvent.OutputObject >; filters: { "Readed(uint256)": TypedContractEvent< ReadedEvent.InputTuple, ReadedEvent.OutputTuple, ReadedEvent.OutputObject >; Readed: TypedContractEvent< ReadedEvent.InputTuple, ReadedEvent.OutputTuple, ReadedEvent.OutputObject >; }; }