/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import {Contract, ContractTransaction, EventFilter, Signer} from 'ethers'; import {Listener, Provider} from 'ethers/providers'; import {Arrayish, BigNumber, BigNumberish, Interface} from 'ethers/utils'; import {TransactionOverrides, TypedEventDescription, TypedFunctionDescription} from '.'; interface InitializableAdminUpgradeabilityProxyInterface extends Interface { functions: { admin: TypedFunctionDescription<{encode([]: []): string}>; changeAdmin: TypedFunctionDescription<{ encode([newAdmin]: [string]): string; }>; implementation: TypedFunctionDescription<{encode([]: []): string}>; initialize: TypedFunctionDescription<{ encode([_logic, _admin, _data]: [string, string, Arrayish]): string; }>; upgradeTo: TypedFunctionDescription<{ encode([newImplementation]: [string]): string; }>; upgradeToAndCall: TypedFunctionDescription<{ encode([newImplementation, data]: [string, Arrayish]): string; }>; }; events: { AdminChanged: TypedEventDescription<{ encodeTopics([previousAdmin, newAdmin]: [null, null]): string[]; }>; Upgraded: TypedEventDescription<{ encodeTopics([implementation]: [string | null]): string[]; }>; }; } export class InitializableAdminUpgradeabilityProxy extends Contract { connect(signerOrProvider: Signer | Provider | string): InitializableAdminUpgradeabilityProxy; attach(addressOrName: string): InitializableAdminUpgradeabilityProxy; deployed(): Promise; on(event: EventFilter | string, listener: Listener): InitializableAdminUpgradeabilityProxy; once(event: EventFilter | string, listener: Listener): InitializableAdminUpgradeabilityProxy; addListener( eventName: EventFilter | string, listener: Listener ): InitializableAdminUpgradeabilityProxy; removeAllListeners(eventName: EventFilter | string): InitializableAdminUpgradeabilityProxy; removeListener(eventName: any, listener: Listener): InitializableAdminUpgradeabilityProxy; interface: InitializableAdminUpgradeabilityProxyInterface; functions: { admin(overrides?: TransactionOverrides): Promise; changeAdmin(newAdmin: string, overrides?: TransactionOverrides): Promise; implementation(overrides?: TransactionOverrides): Promise; 'initialize(address,address,bytes)'( _logic: string, _admin: string, _data: Arrayish, overrides?: TransactionOverrides ): Promise; 'initialize(address,bytes)'( _logic: string, _data: Arrayish, overrides?: TransactionOverrides ): Promise; upgradeTo( newImplementation: string, overrides?: TransactionOverrides ): Promise; upgradeToAndCall( newImplementation: string, data: Arrayish, overrides?: TransactionOverrides ): Promise; }; admin(overrides?: TransactionOverrides): Promise; changeAdmin(newAdmin: string, overrides?: TransactionOverrides): Promise; implementation(overrides?: TransactionOverrides): Promise; 'initialize(address,address,bytes)'( _logic: string, _admin: string, _data: Arrayish, overrides?: TransactionOverrides ): Promise; 'initialize(address,bytes)'( _logic: string, _data: Arrayish, overrides?: TransactionOverrides ): Promise; upgradeTo( newImplementation: string, overrides?: TransactionOverrides ): Promise; upgradeToAndCall( newImplementation: string, data: Arrayish, overrides?: TransactionOverrides ): Promise; filters: { AdminChanged(previousAdmin: null, newAdmin: null): EventFilter; Upgraded(implementation: string | null): EventFilter; }; estimate: { admin(): Promise; changeAdmin(newAdmin: string): Promise; implementation(): Promise; initialize(_logic: string, _admin: string, _data: Arrayish): Promise; upgradeTo(newImplementation: string): Promise; upgradeToAndCall(newImplementation: string, data: Arrayish): Promise; }; }