/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, BaseContract, ContractTransaction, Overrides, PayableOverrides, CallOverrides, } from "ethers"; import { BytesLike } from "@ethersproject/bytes"; import { Listener, Provider } from "@ethersproject/providers"; import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; interface ProxyAdminInterface extends ethers.utils.Interface { functions: { "changeProxyAdmin(address,address)": FunctionFragment; "getProxyAdmin(address)": FunctionFragment; "getProxyImplementation(address)": FunctionFragment; "owner()": FunctionFragment; "renounceOwnership()": FunctionFragment; "transferOwnership(address)": FunctionFragment; "upgrade(address,address)": FunctionFragment; "upgradeAndCall(address,address,bytes)": FunctionFragment; }; encodeFunctionData( functionFragment: "changeProxyAdmin", values: [string, string] ): string; encodeFunctionData( functionFragment: "getProxyAdmin", values: [string] ): string; encodeFunctionData( functionFragment: "getProxyImplementation", values: [string] ): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData( functionFragment: "renounceOwnership", values?: undefined ): string; encodeFunctionData( functionFragment: "transferOwnership", values: [string] ): string; encodeFunctionData( functionFragment: "upgrade", values: [string, string] ): string; encodeFunctionData( functionFragment: "upgradeAndCall", values: [string, string, BytesLike] ): string; decodeFunctionResult( functionFragment: "changeProxyAdmin", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getProxyAdmin", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getProxyImplementation", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult( functionFragment: "renounceOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "transferOwnership", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "upgrade", data: BytesLike): Result; decodeFunctionResult( functionFragment: "upgradeAndCall", data: BytesLike ): Result; events: { "OwnershipTransferred(address,address)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; } export type OwnershipTransferredEvent = TypedEvent< [string, string] & { previousOwner: string; newOwner: string } >; export class ProxyAdmin extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; listeners, EventArgsObject>( eventFilter?: TypedEventFilter ): Array>; off, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; on, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; once, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; removeListener, EventArgsObject>( eventFilter: TypedEventFilter, listener: TypedListener ): this; removeAllListeners, EventArgsObject>( eventFilter: TypedEventFilter ): this; listeners(eventName?: string): Array; off(eventName: string, listener: Listener): this; on(eventName: string, listener: Listener): this; once(eventName: string, listener: Listener): this; removeListener(eventName: string, listener: Listener): this; removeAllListeners(eventName?: string): this; queryFilter, EventArgsObject>( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; interface: ProxyAdminInterface; functions: { changeProxyAdmin( proxy: string, newAdmin: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getProxyAdmin(proxy: string, overrides?: CallOverrides): Promise<[string]>; getProxyImplementation( proxy: string, overrides?: CallOverrides ): Promise<[string]>; owner(overrides?: CallOverrides): Promise<[string]>; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgrade( proxy: string, implementation: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgradeAndCall( proxy: string, implementation: string, data: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; changeProxyAdmin( proxy: string, newAdmin: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getProxyAdmin(proxy: string, overrides?: CallOverrides): Promise; getProxyImplementation( proxy: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgrade( proxy: string, implementation: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgradeAndCall( proxy: string, implementation: string, data: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; callStatic: { changeProxyAdmin( proxy: string, newAdmin: string, overrides?: CallOverrides ): Promise; getProxyAdmin(proxy: string, overrides?: CallOverrides): Promise; getProxyImplementation( proxy: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; renounceOwnership(overrides?: CallOverrides): Promise; transferOwnership( newOwner: string, overrides?: CallOverrides ): Promise; upgrade( proxy: string, implementation: string, overrides?: CallOverrides ): Promise; upgradeAndCall( proxy: string, implementation: string, data: BytesLike, overrides?: CallOverrides ): Promise; }; filters: { "OwnershipTransferred(address,address)"( previousOwner?: string | null, newOwner?: string | null ): TypedEventFilter< [string, string], { previousOwner: string; newOwner: string } >; OwnershipTransferred( previousOwner?: string | null, newOwner?: string | null ): TypedEventFilter< [string, string], { previousOwner: string; newOwner: string } >; }; estimateGas: { changeProxyAdmin( proxy: string, newAdmin: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getProxyAdmin(proxy: string, overrides?: CallOverrides): Promise; getProxyImplementation( proxy: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgrade( proxy: string, implementation: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgradeAndCall( proxy: string, implementation: string, data: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; populateTransaction: { changeProxyAdmin( proxy: string, newAdmin: string, overrides?: Overrides & { from?: string | Promise } ): Promise; getProxyAdmin( proxy: string, overrides?: CallOverrides ): Promise; getProxyImplementation( proxy: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; renounceOwnership( overrides?: Overrides & { from?: string | Promise } ): Promise; transferOwnership( newOwner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgrade( proxy: string, implementation: string, overrides?: Overrides & { from?: string | Promise } ): Promise; upgradeAndCall( proxy: string, implementation: string, data: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; }