aave-protocol-v2/types/InitializableUpgradeabilityProxy.d.ts
2020-08-24 10:48:55 +02:00

108 lines
2.9 KiB
TypeScript

/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import {ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction} from 'ethers';
import {
Contract,
ContractTransaction,
PayableOverrides,
CallOverrides,
} from '@ethersproject/contracts';
import {BytesLike} from '@ethersproject/bytes';
import {Listener, Provider} from '@ethersproject/providers';
import {FunctionFragment, EventFragment, Result} from '@ethersproject/abi';
interface InitializableUpgradeabilityProxyInterface extends ethers.utils.Interface {
functions: {
'initialize(address,bytes)': FunctionFragment;
};
encodeFunctionData(functionFragment: 'initialize', values: [string, BytesLike]): string;
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
events: {
'Upgraded(address)': EventFragment;
};
getEvent(nameOrSignatureOrTopic: 'Upgraded'): EventFragment;
}
export class InitializableUpgradeabilityProxy extends Contract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
on(event: EventFilter | string, listener: Listener): this;
once(event: EventFilter | string, listener: Listener): this;
addListener(eventName: EventFilter | string, listener: Listener): this;
removeAllListeners(eventName: EventFilter | string): this;
removeListener(eventName: any, listener: Listener): this;
interface: InitializableUpgradeabilityProxyInterface;
functions: {
initialize(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<ContractTransaction>;
'initialize(address,bytes)'(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<ContractTransaction>;
};
initialize(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<ContractTransaction>;
'initialize(address,bytes)'(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<ContractTransaction>;
callStatic: {
initialize(_logic: string, _data: BytesLike, overrides?: CallOverrides): Promise<void>;
'initialize(address,bytes)'(
_logic: string,
_data: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
Upgraded(implementation: string | null): EventFilter;
};
estimateGas: {
initialize(_logic: string, _data: BytesLike, overrides?: PayableOverrides): Promise<BigNumber>;
'initialize(address,bytes)'(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<BigNumber>;
};
populateTransaction: {
initialize(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<PopulatedTransaction>;
'initialize(address,bytes)'(
_logic: string,
_data: BytesLike,
overrides?: PayableOverrides
): Promise<PopulatedTransaction>;
};
}