/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "../../../common.js"; export interface IInitializableProxyInterface extends Interface { getFunction( nameOrSignature: | "admin" | "changeAdmin" | "implementation" | "initializeProxy" | "proxyDescription" | "upgradeToAndCall", ): FunctionFragment; encodeFunctionData(functionFragment: "admin", values?: undefined): string; encodeFunctionData( functionFragment: "changeAdmin", values: [AddressLike], ): string; encodeFunctionData( functionFragment: "implementation", values?: undefined, ): string; encodeFunctionData( functionFragment: "initializeProxy", values: [string, AddressLike, AddressLike, BytesLike], ): string; encodeFunctionData( functionFragment: "proxyDescription", values?: undefined, ): string; encodeFunctionData( functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike], ): string; decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result; decodeFunctionResult( functionFragment: "changeAdmin", data: BytesLike, ): Result; decodeFunctionResult( functionFragment: "implementation", data: BytesLike, ): Result; decodeFunctionResult( functionFragment: "initializeProxy", data: BytesLike, ): Result; decodeFunctionResult( functionFragment: "proxyDescription", data: BytesLike, ): Result; decodeFunctionResult( functionFragment: "upgradeToAndCall", data: BytesLike, ): Result; } export interface IInitializableProxy extends BaseContract { connect(runner?: ContractRunner | null): IInitializableProxy; waitForDeployment(): Promise; interface: IInitializableProxyInterface; 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; admin: TypedContractMethod<[], [string], "view">; changeAdmin: TypedContractMethod< [newAdmin: AddressLike], [void], "nonpayable" >; implementation: TypedContractMethod<[], [string], "view">; initializeProxy: TypedContractMethod< [ _description: string, newAdmin: AddressLike, newImplementation: AddressLike, data: BytesLike, ], [void], "payable" >; proxyDescription: TypedContractMethod<[], [string], "view">; upgradeToAndCall: TypedContractMethod< [newImplementation: AddressLike, data: BytesLike], [void], "payable" >; getFunction( key: string | FunctionFragment, ): T; getFunction( nameOrSignature: "admin", ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "changeAdmin", ): TypedContractMethod<[newAdmin: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "implementation", ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "initializeProxy", ): TypedContractMethod< [ _description: string, newAdmin: AddressLike, newImplementation: AddressLike, data: BytesLike, ], [void], "payable" >; getFunction( nameOrSignature: "proxyDescription", ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "upgradeToAndCall", ): TypedContractMethod< [newImplementation: AddressLike, data: BytesLike], [void], "payable" >; filters: {}; }