/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../../common"; export interface ModuleAuthConvenienceInterface extends Interface { getFunction( nameOrSignature: | "SET_IMAGE_HASH_TYPE_HASH" | "ipfsRoot" | "ipfsRootBytes32" | "isValidSignature(bytes32,bytes)" | "isValidSignature(bytes,bytes)" | "signatureRecovery" | "supportsInterface" | "updateIPFSRoot" | "updateImageHash" | "updateImageHashAndIPFS" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: "IPFSRootUpdated" | "ImageHashUpdated" ): EventFragment; encodeFunctionData( functionFragment: "SET_IMAGE_HASH_TYPE_HASH", values?: undefined ): string; encodeFunctionData(functionFragment: "ipfsRoot", values?: undefined): string; encodeFunctionData( functionFragment: "ipfsRootBytes32", values?: undefined ): string; encodeFunctionData( functionFragment: "isValidSignature(bytes32,bytes)", values: [BytesLike, BytesLike] ): string; encodeFunctionData( functionFragment: "isValidSignature(bytes,bytes)", values: [BytesLike, BytesLike] ): string; encodeFunctionData( functionFragment: "signatureRecovery", values: [BytesLike, BytesLike] ): string; encodeFunctionData( functionFragment: "supportsInterface", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "updateIPFSRoot", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "updateImageHash", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "updateImageHashAndIPFS", values: [BytesLike, BytesLike] ): string; decodeFunctionResult( functionFragment: "SET_IMAGE_HASH_TYPE_HASH", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "ipfsRoot", data: BytesLike): Result; decodeFunctionResult( functionFragment: "ipfsRootBytes32", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isValidSignature(bytes32,bytes)", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isValidSignature(bytes,bytes)", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "signatureRecovery", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "supportsInterface", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "updateIPFSRoot", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "updateImageHash", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "updateImageHashAndIPFS", data: BytesLike ): Result; } export namespace IPFSRootUpdatedEvent { export type InputTuple = [_hash: BytesLike]; export type OutputTuple = [_hash: string]; export interface OutputObject { _hash: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace ImageHashUpdatedEvent { export type InputTuple = [newImageHash: BytesLike]; export type OutputTuple = [newImageHash: string]; export interface OutputObject { newImageHash: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface ModuleAuthConvenience extends BaseContract { connect(runner?: ContractRunner | null): ModuleAuthConvenience; waitForDeployment(): Promise; interface: ModuleAuthConvenienceInterface; 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; SET_IMAGE_HASH_TYPE_HASH: TypedContractMethod<[], [string], "view">; ipfsRoot: TypedContractMethod<[], [string], "view">; ipfsRootBytes32: TypedContractMethod<[], [string], "view">; "isValidSignature(bytes32,bytes)": TypedContractMethod< [_hash: BytesLike, _signatures: BytesLike], [string], "view" >; "isValidSignature(bytes,bytes)": TypedContractMethod< [_data: BytesLike, _signatures: BytesLike], [string], "view" >; signatureRecovery: TypedContractMethod< [_digest: BytesLike, _signature: BytesLike], [ [bigint, bigint, string, string, bigint] & { threshold: bigint; weight: bigint; imageHash: string; subdigest: string; checkpoint: bigint; } ], "view" >; supportsInterface: TypedContractMethod< [_interfaceID: BytesLike], [boolean], "view" >; updateIPFSRoot: TypedContractMethod<[_hash: BytesLike], [void], "nonpayable">; updateImageHash: TypedContractMethod< [_imageHash: BytesLike], [void], "nonpayable" >; updateImageHashAndIPFS: TypedContractMethod< [_imageHash: BytesLike, _ipfsRoot: BytesLike], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "SET_IMAGE_HASH_TYPE_HASH" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "ipfsRoot" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "ipfsRootBytes32" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "isValidSignature(bytes32,bytes)" ): TypedContractMethod< [_hash: BytesLike, _signatures: BytesLike], [string], "view" >; getFunction( nameOrSignature: "isValidSignature(bytes,bytes)" ): TypedContractMethod< [_data: BytesLike, _signatures: BytesLike], [string], "view" >; getFunction( nameOrSignature: "signatureRecovery" ): TypedContractMethod< [_digest: BytesLike, _signature: BytesLike], [ [bigint, bigint, string, string, bigint] & { threshold: bigint; weight: bigint; imageHash: string; subdigest: string; checkpoint: bigint; } ], "view" >; getFunction( nameOrSignature: "supportsInterface" ): TypedContractMethod<[_interfaceID: BytesLike], [boolean], "view">; getFunction( nameOrSignature: "updateIPFSRoot" ): TypedContractMethod<[_hash: BytesLike], [void], "nonpayable">; getFunction( nameOrSignature: "updateImageHash" ): TypedContractMethod<[_imageHash: BytesLike], [void], "nonpayable">; getFunction( nameOrSignature: "updateImageHashAndIPFS" ): TypedContractMethod< [_imageHash: BytesLike, _ipfsRoot: BytesLike], [void], "nonpayable" >; getEvent( key: "IPFSRootUpdated" ): TypedContractEvent< IPFSRootUpdatedEvent.InputTuple, IPFSRootUpdatedEvent.OutputTuple, IPFSRootUpdatedEvent.OutputObject >; getEvent( key: "ImageHashUpdated" ): TypedContractEvent< ImageHashUpdatedEvent.InputTuple, ImageHashUpdatedEvent.OutputTuple, ImageHashUpdatedEvent.OutputObject >; filters: { "IPFSRootUpdated(bytes32)": TypedContractEvent< IPFSRootUpdatedEvent.InputTuple, IPFSRootUpdatedEvent.OutputTuple, IPFSRootUpdatedEvent.OutputObject >; IPFSRootUpdated: TypedContractEvent< IPFSRootUpdatedEvent.InputTuple, IPFSRootUpdatedEvent.OutputTuple, IPFSRootUpdatedEvent.OutputObject >; "ImageHashUpdated(bytes32)": TypedContractEvent< ImageHashUpdatedEvent.InputTuple, ImageHashUpdatedEvent.OutputTuple, ImageHashUpdatedEvent.OutputObject >; ImageHashUpdated: TypedContractEvent< ImageHashUpdatedEvent.InputTuple, ImageHashUpdatedEvent.OutputTuple, ImageHashUpdatedEvent.OutputObject >; }; }