import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common"; export interface MockGaslessCaptureTheFlagInterface extends Interface { getFunction(nameOrSignature: "ctf" | "flagOwner" | "isTrustedForwarder" | "rtf"): FunctionFragment; encodeFunctionData(functionFragment: "ctf", values?: undefined): string; encodeFunctionData(functionFragment: "flagOwner", values?: undefined): string; encodeFunctionData(functionFragment: "isTrustedForwarder", values: [AddressLike]): string; encodeFunctionData(functionFragment: "rtf", values?: undefined): string; decodeFunctionResult(functionFragment: "ctf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "flagOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isTrustedForwarder", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rtf", data: BytesLike): Result; } export interface MockGaslessCaptureTheFlag extends BaseContract { connect(runner?: ContractRunner | null): MockGaslessCaptureTheFlag; waitForDeployment(): Promise; interface: MockGaslessCaptureTheFlagInterface; 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; ctf: TypedContractMethod<[], [void], "nonpayable">; flagOwner: TypedContractMethod<[], [string], "view">; isTrustedForwarder: TypedContractMethod<[ forwarder: AddressLike ], [ boolean ], "view">; rtf: TypedContractMethod<[], [void], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "ctf"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "flagOwner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "isTrustedForwarder"): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "rtf"): TypedContractMethod<[], [void], "nonpayable">; filters: {}; }