/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils, } from "ethers"; import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, } from "./common"; export interface PendleProxyAdminInterface extends utils.Interface { contractName: "PendleProxyAdmin"; 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 type OwnershipTransferredEventFilter = TypedEventFilter; export interface PendleProxyAdmin extends BaseContract { contractName: "PendleProxyAdmin"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: PendleProxyAdminInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>; listeners( eventFilter?: TypedEventFilter ): Array>; listeners(eventName?: string): Array; removeAllListeners( eventFilter: TypedEventFilter ): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; 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 ): OwnershipTransferredEventFilter; OwnershipTransferred( previousOwner?: string | null, newOwner?: string | null ): OwnershipTransferredEventFilter; }; 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; }; }