/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ 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 INonceHolderInterface extends Interface { getFunction( nameOrSignature: | "getDeploymentNonce" | "getMinNonce" | "getRawNonce" | "getValueUnderNonce" | "increaseMinNonce" | "incrementDeploymentNonce" | "incrementMinNonceIfEquals" | "isNonceUsed" | "setValueUnderNonce" | "validateNonceUsage" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ValueSetUnderNonce"): EventFragment; encodeFunctionData( functionFragment: "getDeploymentNonce", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "getMinNonce", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "getRawNonce", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "getValueUnderNonce", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "increaseMinNonce", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "incrementDeploymentNonce", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "incrementMinNonceIfEquals", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isNonceUsed", values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "setValueUnderNonce", values: [BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "validateNonceUsage", values: [AddressLike, BigNumberish, boolean] ): string; decodeFunctionResult( functionFragment: "getDeploymentNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getMinNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getRawNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getValueUnderNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "increaseMinNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "incrementDeploymentNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "incrementMinNonceIfEquals", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isNonceUsed", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setValueUnderNonce", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "validateNonceUsage", data: BytesLike ): Result; } export namespace ValueSetUnderNonceEvent { export type InputTuple = [ accountAddress: AddressLike, key: BigNumberish, value: BigNumberish ]; export type OutputTuple = [ accountAddress: string, key: bigint, value: bigint ]; export interface OutputObject { accountAddress: string; key: bigint; value: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface INonceHolder extends BaseContract { connect(runner?: ContractRunner | null): INonceHolder; waitForDeployment(): Promise; interface: INonceHolderInterface; 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; getDeploymentNonce: TypedContractMethod< [_address: AddressLike], [bigint], "view" >; getMinNonce: TypedContractMethod<[_address: AddressLike], [bigint], "view">; getRawNonce: TypedContractMethod<[_address: AddressLike], [bigint], "view">; getValueUnderNonce: TypedContractMethod< [_key: BigNumberish], [bigint], "view" >; increaseMinNonce: TypedContractMethod< [_value: BigNumberish], [bigint], "nonpayable" >; incrementDeploymentNonce: TypedContractMethod< [_address: AddressLike], [bigint], "nonpayable" >; incrementMinNonceIfEquals: TypedContractMethod< [_expectedNonce: BigNumberish], [void], "nonpayable" >; isNonceUsed: TypedContractMethod< [_address: AddressLike, _nonce: BigNumberish], [boolean], "view" >; setValueUnderNonce: TypedContractMethod< [_key: BigNumberish, _value: BigNumberish], [void], "nonpayable" >; validateNonceUsage: TypedContractMethod< [_address: AddressLike, _key: BigNumberish, _shouldBeUsed: boolean], [void], "view" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "getDeploymentNonce" ): TypedContractMethod<[_address: AddressLike], [bigint], "view">; getFunction( nameOrSignature: "getMinNonce" ): TypedContractMethod<[_address: AddressLike], [bigint], "view">; getFunction( nameOrSignature: "getRawNonce" ): TypedContractMethod<[_address: AddressLike], [bigint], "view">; getFunction( nameOrSignature: "getValueUnderNonce" ): TypedContractMethod<[_key: BigNumberish], [bigint], "view">; getFunction( nameOrSignature: "increaseMinNonce" ): TypedContractMethod<[_value: BigNumberish], [bigint], "nonpayable">; getFunction( nameOrSignature: "incrementDeploymentNonce" ): TypedContractMethod<[_address: AddressLike], [bigint], "nonpayable">; getFunction( nameOrSignature: "incrementMinNonceIfEquals" ): TypedContractMethod<[_expectedNonce: BigNumberish], [void], "nonpayable">; getFunction( nameOrSignature: "isNonceUsed" ): TypedContractMethod< [_address: AddressLike, _nonce: BigNumberish], [boolean], "view" >; getFunction( nameOrSignature: "setValueUnderNonce" ): TypedContractMethod< [_key: BigNumberish, _value: BigNumberish], [void], "nonpayable" >; getFunction( nameOrSignature: "validateNonceUsage" ): TypedContractMethod< [_address: AddressLike, _key: BigNumberish, _shouldBeUsed: boolean], [void], "view" >; getEvent( key: "ValueSetUnderNonce" ): TypedContractEvent< ValueSetUnderNonceEvent.InputTuple, ValueSetUnderNonceEvent.OutputTuple, ValueSetUnderNonceEvent.OutputObject >; filters: { "ValueSetUnderNonce(address,uint256,uint256)": TypedContractEvent< ValueSetUnderNonceEvent.InputTuple, ValueSetUnderNonceEvent.OutputTuple, ValueSetUnderNonceEvent.OutputObject >; ValueSetUnderNonce: TypedContractEvent< ValueSetUnderNonceEvent.InputTuple, ValueSetUnderNonceEvent.OutputTuple, ValueSetUnderNonceEvent.OutputObject >; }; }