/* 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 ModuleNonceInterface extends Interface { getFunction(nameOrSignature: "nonce" | "readNonce"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "NonceChange"): EventFragment; encodeFunctionData(functionFragment: "nonce", values?: undefined): string; encodeFunctionData( functionFragment: "readNonce", values: [BigNumberish] ): string; decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result; decodeFunctionResult(functionFragment: "readNonce", data: BytesLike): Result; } export namespace NonceChangeEvent { export type InputTuple = [_space: BigNumberish, _newNonce: BigNumberish]; export type OutputTuple = [_space: bigint, _newNonce: bigint]; export interface OutputObject { _space: bigint; _newNonce: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface ModuleNonce extends BaseContract { connect(runner?: ContractRunner | null): ModuleNonce; waitForDeployment(): Promise; interface: ModuleNonceInterface; 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; nonce: TypedContractMethod<[], [bigint], "view">; readNonce: TypedContractMethod<[_space: BigNumberish], [bigint], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "nonce" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "readNonce" ): TypedContractMethod<[_space: BigNumberish], [bigint], "view">; getEvent( key: "NonceChange" ): TypedContractEvent< NonceChangeEvent.InputTuple, NonceChangeEvent.OutputTuple, NonceChangeEvent.OutputObject >; filters: { "NonceChange(uint256,uint256)": TypedContractEvent< NonceChangeEvent.InputTuple, NonceChangeEvent.OutputTuple, NonceChangeEvent.OutputObject >; NonceChange: TypedContractEvent< NonceChangeEvent.InputTuple, NonceChangeEvent.OutputTuple, NonceChangeEvent.OutputObject >; }; }