/* 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 ModuleIPFSInterface extends Interface { getFunction( nameOrSignature: "ipfsRoot" | "ipfsRootBytes32" | "updateIPFSRoot" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "IPFSRootUpdated"): EventFragment; encodeFunctionData(functionFragment: "ipfsRoot", values?: undefined): string; encodeFunctionData( functionFragment: "ipfsRootBytes32", values?: undefined ): string; encodeFunctionData( functionFragment: "updateIPFSRoot", values: [BytesLike] ): string; decodeFunctionResult(functionFragment: "ipfsRoot", data: BytesLike): Result; decodeFunctionResult( functionFragment: "ipfsRootBytes32", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "updateIPFSRoot", 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 interface ModuleIPFS extends BaseContract { connect(runner?: ContractRunner | null): ModuleIPFS; waitForDeployment(): Promise; interface: ModuleIPFSInterface; 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; ipfsRoot: TypedContractMethod<[], [string], "view">; ipfsRootBytes32: TypedContractMethod<[], [string], "view">; updateIPFSRoot: TypedContractMethod<[_hash: BytesLike], [void], "nonpayable">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "ipfsRoot" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "ipfsRootBytes32" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "updateIPFSRoot" ): TypedContractMethod<[_hash: BytesLike], [void], "nonpayable">; getEvent( key: "IPFSRootUpdated" ): TypedContractEvent< IPFSRootUpdatedEvent.InputTuple, IPFSRootUpdatedEvent.OutputTuple, IPFSRootUpdatedEvent.OutputObject >; filters: { "IPFSRootUpdated(bytes32)": TypedContractEvent< IPFSRootUpdatedEvent.InputTuple, IPFSRootUpdatedEvent.OutputTuple, IPFSRootUpdatedEvent.OutputObject >; IPFSRootUpdated: TypedContractEvent< IPFSRootUpdatedEvent.InputTuple, IPFSRootUpdatedEvent.OutputTuple, IPFSRootUpdatedEvent.OutputObject >; }; }