import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common"; export interface IClaimerInterface extends Interface { getFunction(nameOrSignature: "claimHFT" | "hft" | "lastClaimed" | "nonces" | "owner" | "renounceOwnership" | "signerAddress" | "transferOwnership" | "updateKillswitch" | "updateSigner" | "withdrawAllHFT" | "withdrawHFT"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ClaimHFT" | "OwnershipTransferred" | "UpdateKillswitch" | "UpdateSigner" | "WithdrawHFT"): EventFragment; encodeFunctionData(functionFragment: "claimHFT", values: [BigNumberish, BigNumberish, BigNumberish, BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "hft", values?: undefined): string; encodeFunctionData(functionFragment: "lastClaimed", values: [AddressLike]): string; encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "signerAddress", values?: undefined): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; encodeFunctionData(functionFragment: "updateKillswitch", values: [boolean]): string; encodeFunctionData(functionFragment: "updateSigner", values: [AddressLike]): string; encodeFunctionData(functionFragment: "withdrawAllHFT", values?: undefined): string; encodeFunctionData(functionFragment: "withdrawHFT", values: [BigNumberish]): string; decodeFunctionResult(functionFragment: "claimHFT", data: BytesLike): Result; decodeFunctionResult(functionFragment: "hft", data: BytesLike): Result; decodeFunctionResult(functionFragment: "lastClaimed", data: BytesLike): Result; decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "signerAddress", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateKillswitch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateSigner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "withdrawAllHFT", data: BytesLike): Result; decodeFunctionResult(functionFragment: "withdrawHFT", data: BytesLike): Result; } export declare namespace ClaimHFTEvent { type InputTuple = [ sender: AddressLike, amount: BigNumberish, nonce: BigNumberish ]; type OutputTuple = [sender: string, amount: bigint, nonce: bigint]; interface OutputObject { sender: string; amount: bigint; nonce: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpdateKillswitchEvent { type InputTuple = [killswitch: boolean]; type OutputTuple = [killswitch: boolean]; interface OutputObject { killswitch: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpdateSignerEvent { type InputTuple = [newSigner: AddressLike, oldSigner: AddressLike]; type OutputTuple = [newSigner: string, oldSigner: string]; interface OutputObject { newSigner: string; oldSigner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace WithdrawHFTEvent { type InputTuple = [ hft: AddressLike, recipient: AddressLike, amount: BigNumberish ]; type OutputTuple = [hft: string, recipient: string, amount: bigint]; interface OutputObject { hft: string; recipient: string; amount: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface IClaimer extends BaseContract { connect(runner?: ContractRunner | null): IClaimer; waitForDeployment(): Promise; interface: IClaimerInterface; 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; claimHFT: TypedContractMethod<[ amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike ], [ void ], "nonpayable">; hft: TypedContractMethod<[], [string], "view">; lastClaimed: TypedContractMethod<[arg0: AddressLike], [bigint], "view">; nonces: TypedContractMethod<[arg0: AddressLike], [bigint], "view">; owner: TypedContractMethod<[], [string], "view">; renounceOwnership: TypedContractMethod<[], [void], "view">; signerAddress: TypedContractMethod<[], [string], "view">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; updateKillswitch: TypedContractMethod<[ killswitch: boolean ], [ void ], "nonpayable">; updateSigner: TypedContractMethod<[ _signer: AddressLike ], [ void ], "nonpayable">; withdrawAllHFT: TypedContractMethod<[], [void], "nonpayable">; withdrawHFT: TypedContractMethod<[ amount: BigNumberish ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "claimHFT"): TypedContractMethod<[ amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "hft"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "lastClaimed"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "nonces"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "view">; getFunction(nameOrSignature: "signerAddress"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "updateKillswitch"): TypedContractMethod<[killswitch: boolean], [void], "nonpayable">; getFunction(nameOrSignature: "updateSigner"): TypedContractMethod<[_signer: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "withdrawAllHFT"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "withdrawHFT"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">; getEvent(key: "ClaimHFT"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "UpdateKillswitch"): TypedContractEvent; getEvent(key: "UpdateSigner"): TypedContractEvent; getEvent(key: "WithdrawHFT"): TypedContractEvent; filters: { "ClaimHFT(address,uint256,uint256)": TypedContractEvent; ClaimHFT: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "UpdateKillswitch(bool)": TypedContractEvent; UpdateKillswitch: TypedContractEvent; "UpdateSigner(address,address)": TypedContractEvent; UpdateSigner: TypedContractEvent; "WithdrawHFT(address,address,uint256)": TypedContractEvent; WithdrawHFT: TypedContractEvent; }; }