/* 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 TransparentUpgradeableProxyInterface extends Interface { getFunction( nameOrSignature: | "admin" | "changeAdmin" | "implementation" | "upgradeTo" | "upgradeToAndCall" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "AdminChanged" | "Upgraded"): EventFragment; encodeFunctionData(functionFragment: "admin", values?: undefined): string; encodeFunctionData( functionFragment: "changeAdmin", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "implementation", values?: undefined ): string; encodeFunctionData( functionFragment: "upgradeTo", values: [AddressLike] ): 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: "upgradeTo", data: BytesLike): Result; decodeFunctionResult( functionFragment: "upgradeToAndCall", data: BytesLike ): Result; } export namespace AdminChangedEvent { export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike]; export type OutputTuple = [previousAdmin: string, newAdmin: string]; export interface OutputObject { previousAdmin: string; newAdmin: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace UpgradedEvent { export type InputTuple = [implementation: AddressLike]; export type OutputTuple = [implementation: string]; export interface OutputObject { implementation: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface TransparentUpgradeableProxy extends BaseContract { connect(runner?: ContractRunner | null): TransparentUpgradeableProxy; waitForDeployment(): Promise; interface: TransparentUpgradeableProxyInterface; 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], "nonpayable">; changeAdmin: TypedContractMethod< [newAdmin: AddressLike], [void], "nonpayable" >; implementation: TypedContractMethod<[], [string], "nonpayable">; upgradeTo: TypedContractMethod< [newImplementation: AddressLike], [void], "nonpayable" >; upgradeToAndCall: TypedContractMethod< [newImplementation: AddressLike, data: BytesLike], [void], "payable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "admin" ): TypedContractMethod<[], [string], "nonpayable">; getFunction( nameOrSignature: "changeAdmin" ): TypedContractMethod<[newAdmin: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "implementation" ): TypedContractMethod<[], [string], "nonpayable">; getFunction( nameOrSignature: "upgradeTo" ): TypedContractMethod< [newImplementation: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "upgradeToAndCall" ): TypedContractMethod< [newImplementation: AddressLike, data: BytesLike], [void], "payable" >; getEvent( key: "AdminChanged" ): TypedContractEvent< AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject >; getEvent( key: "Upgraded" ): TypedContractEvent< UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject >; filters: { "AdminChanged(address,address)": TypedContractEvent< AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject >; AdminChanged: TypedContractEvent< AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject >; "Upgraded(address)": TypedContractEvent< UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject >; Upgraded: TypedContractEvent< UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject >; }; }