/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../../common"; export interface ModuleUpdateInterface extends Interface { getFunction( nameOrSignature: "supportsInterface" | "updateImplementation" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ImplementationUpdated"): EventFragment; encodeFunctionData( functionFragment: "supportsInterface", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "updateImplementation", values: [AddressLike] ): string; decodeFunctionResult( functionFragment: "supportsInterface", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "updateImplementation", data: BytesLike ): Result; } export namespace ImplementationUpdatedEvent { export type InputTuple = [newImplementation: AddressLike]; export type OutputTuple = [newImplementation: string]; export interface OutputObject { newImplementation: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface ModuleUpdate extends BaseContract { connect(runner?: ContractRunner | null): ModuleUpdate; waitForDeployment(): Promise; interface: ModuleUpdateInterface; 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; supportsInterface: TypedContractMethod< [_interfaceID: BytesLike], [boolean], "view" >; updateImplementation: TypedContractMethod< [_implementation: AddressLike], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "supportsInterface" ): TypedContractMethod<[_interfaceID: BytesLike], [boolean], "view">; getFunction( nameOrSignature: "updateImplementation" ): TypedContractMethod<[_implementation: AddressLike], [void], "nonpayable">; getEvent( key: "ImplementationUpdated" ): TypedContractEvent< ImplementationUpdatedEvent.InputTuple, ImplementationUpdatedEvent.OutputTuple, ImplementationUpdatedEvent.OutputObject >; filters: { "ImplementationUpdated(address)": TypedContractEvent< ImplementationUpdatedEvent.InputTuple, ImplementationUpdatedEvent.OutputTuple, ImplementationUpdatedEvent.OutputObject >; ImplementationUpdated: TypedContractEvent< ImplementationUpdatedEvent.InputTuple, ImplementationUpdatedEvent.OutputTuple, ImplementationUpdatedEvent.OutputObject >; }; }