aave-protocol-v2/types/LendingPoolAddressesProvider.d.ts

613 lines
20 KiB
TypeScript
Raw Normal View History

2020-08-24 08:48:55 +00:00
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import {ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction} from 'ethers';
import {Contract, ContractTransaction, Overrides, CallOverrides} from '@ethersproject/contracts';
import {BytesLike} from '@ethersproject/bytes';
import {Listener, Provider} from '@ethersproject/providers';
import {FunctionFragment, EventFragment, Result} from '@ethersproject/abi';
interface LendingPoolAddressesProviderInterface extends ethers.utils.Interface {
functions: {
'getLendingPool()': FunctionFragment;
'getLendingPoolConfigurator()': FunctionFragment;
'getLendingPoolLiquidationManager()': FunctionFragment;
'getLendingPoolManager()': FunctionFragment;
'getLendingRateOracle()': FunctionFragment;
'getPriceOracle()': FunctionFragment;
'owner()': FunctionFragment;
'renounceOwnership()': FunctionFragment;
'setLendingPoolConfiguratorImpl(address)': FunctionFragment;
'setLendingPoolImpl(address)': FunctionFragment;
'setLendingPoolLiquidationManager(address)': FunctionFragment;
'setLendingPoolManager(address)': FunctionFragment;
'setLendingRateOracle(address)': FunctionFragment;
'setPriceOracle(address)': FunctionFragment;
'transferOwnership(address)': FunctionFragment;
};
encodeFunctionData(functionFragment: 'getLendingPool', values?: undefined): string;
encodeFunctionData(functionFragment: 'getLendingPoolConfigurator', values?: undefined): string;
encodeFunctionData(
functionFragment: 'getLendingPoolLiquidationManager',
values?: undefined
): string;
encodeFunctionData(functionFragment: 'getLendingPoolManager', values?: undefined): string;
encodeFunctionData(functionFragment: 'getLendingRateOracle', values?: undefined): string;
encodeFunctionData(functionFragment: 'getPriceOracle', values?: undefined): string;
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
encodeFunctionData(functionFragment: 'setLendingPoolConfiguratorImpl', values: [string]): string;
encodeFunctionData(functionFragment: 'setLendingPoolImpl', values: [string]): string;
encodeFunctionData(
functionFragment: 'setLendingPoolLiquidationManager',
values: [string]
): string;
encodeFunctionData(functionFragment: 'setLendingPoolManager', values: [string]): string;
encodeFunctionData(functionFragment: 'setLendingRateOracle', values: [string]): string;
encodeFunctionData(functionFragment: 'setPriceOracle', values: [string]): string;
encodeFunctionData(functionFragment: 'transferOwnership', values: [string]): string;
decodeFunctionResult(functionFragment: 'getLendingPool', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'getLendingPoolConfigurator', data: BytesLike): Result;
decodeFunctionResult(
functionFragment: 'getLendingPoolLiquidationManager',
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: 'getLendingPoolManager', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'getLendingRateOracle', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'getPriceOracle', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'setLendingPoolConfiguratorImpl', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'setLendingPoolImpl', data: BytesLike): Result;
decodeFunctionResult(
functionFragment: 'setLendingPoolLiquidationManager',
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: 'setLendingPoolManager', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'setLendingRateOracle', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'setPriceOracle', data: BytesLike): Result;
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
events: {
'EthereumAddressUpdated(address)': EventFragment;
'LendingPoolConfiguratorUpdated(address)': EventFragment;
'LendingPoolLiquidationManagerUpdated(address)': EventFragment;
'LendingPoolManagerUpdated(address)': EventFragment;
'LendingPoolUpdated(address)': EventFragment;
'LendingRateOracleUpdated(address)': EventFragment;
'OwnershipTransferred(address,address)': EventFragment;
'PriceOracleUpdated(address)': EventFragment;
'ProxyCreated(bytes32,address)': EventFragment;
};
getEvent(nameOrSignatureOrTopic: 'EthereumAddressUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'LendingPoolConfiguratorUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'LendingPoolLiquidationManagerUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'LendingPoolManagerUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'LendingPoolUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'LendingRateOracleUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'PriceOracleUpdated'): EventFragment;
getEvent(nameOrSignatureOrTopic: 'ProxyCreated'): EventFragment;
}
export class LendingPoolAddressesProvider 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: LendingPoolAddressesProviderInterface;
functions: {
getLendingPool(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'getLendingPool()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
getLendingPoolConfigurator(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'getLendingPoolConfigurator()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
getLendingPoolLiquidationManager(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'getLendingPoolLiquidationManager()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
getLendingPoolManager(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'getLendingPoolManager()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
getLendingRateOracle(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'getLendingRateOracle()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
getPriceOracle(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'getPriceOracle()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
owner(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
'owner()'(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
renounceOwnership(overrides?: Overrides): Promise<ContractTransaction>;
'renounceOwnership()'(overrides?: Overrides): Promise<ContractTransaction>;
setLendingPoolConfiguratorImpl(
configurator: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingPoolConfiguratorImpl(address)'(
configurator: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingPoolImpl(pool: string, overrides?: Overrides): Promise<ContractTransaction>;
'setLendingPoolImpl(address)'(
pool: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingPoolLiquidationManager(
manager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingPoolLiquidationManager(address)'(
manager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingPoolManager(
lendingPoolManager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingPoolManager(address)'(
lendingPoolManager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingRateOracle(
lendingRateOracle: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingRateOracle(address)'(
lendingRateOracle: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setPriceOracle(priceOracle: string, overrides?: Overrides): Promise<ContractTransaction>;
'setPriceOracle(address)'(
priceOracle: string,
overrides?: Overrides
): Promise<ContractTransaction>;
transferOwnership(newOwner: string, overrides?: Overrides): Promise<ContractTransaction>;
'transferOwnership(address)'(
newOwner: string,
overrides?: Overrides
): Promise<ContractTransaction>;
};
getLendingPool(overrides?: CallOverrides): Promise<string>;
'getLendingPool()'(overrides?: CallOverrides): Promise<string>;
getLendingPoolConfigurator(overrides?: CallOverrides): Promise<string>;
'getLendingPoolConfigurator()'(overrides?: CallOverrides): Promise<string>;
getLendingPoolLiquidationManager(overrides?: CallOverrides): Promise<string>;
'getLendingPoolLiquidationManager()'(overrides?: CallOverrides): Promise<string>;
getLendingPoolManager(overrides?: CallOverrides): Promise<string>;
'getLendingPoolManager()'(overrides?: CallOverrides): Promise<string>;
getLendingRateOracle(overrides?: CallOverrides): Promise<string>;
'getLendingRateOracle()'(overrides?: CallOverrides): Promise<string>;
getPriceOracle(overrides?: CallOverrides): Promise<string>;
'getPriceOracle()'(overrides?: CallOverrides): Promise<string>;
owner(overrides?: CallOverrides): Promise<string>;
'owner()'(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: Overrides): Promise<ContractTransaction>;
'renounceOwnership()'(overrides?: Overrides): Promise<ContractTransaction>;
setLendingPoolConfiguratorImpl(
configurator: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingPoolConfiguratorImpl(address)'(
configurator: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingPoolImpl(pool: string, overrides?: Overrides): Promise<ContractTransaction>;
'setLendingPoolImpl(address)'(pool: string, overrides?: Overrides): Promise<ContractTransaction>;
setLendingPoolLiquidationManager(
manager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingPoolLiquidationManager(address)'(
manager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingPoolManager(
lendingPoolManager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingPoolManager(address)'(
lendingPoolManager: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setLendingRateOracle(
lendingRateOracle: string,
overrides?: Overrides
): Promise<ContractTransaction>;
'setLendingRateOracle(address)'(
lendingRateOracle: string,
overrides?: Overrides
): Promise<ContractTransaction>;
setPriceOracle(priceOracle: string, overrides?: Overrides): Promise<ContractTransaction>;
'setPriceOracle(address)'(
priceOracle: string,
overrides?: Overrides
): Promise<ContractTransaction>;
transferOwnership(newOwner: string, overrides?: Overrides): Promise<ContractTransaction>;
'transferOwnership(address)'(
newOwner: string,
overrides?: Overrides
): Promise<ContractTransaction>;
callStatic: {
getLendingPool(overrides?: CallOverrides): Promise<string>;
'getLendingPool()'(overrides?: CallOverrides): Promise<string>;
getLendingPoolConfigurator(overrides?: CallOverrides): Promise<string>;
'getLendingPoolConfigurator()'(overrides?: CallOverrides): Promise<string>;
getLendingPoolLiquidationManager(overrides?: CallOverrides): Promise<string>;
'getLendingPoolLiquidationManager()'(overrides?: CallOverrides): Promise<string>;
getLendingPoolManager(overrides?: CallOverrides): Promise<string>;
'getLendingPoolManager()'(overrides?: CallOverrides): Promise<string>;
getLendingRateOracle(overrides?: CallOverrides): Promise<string>;
'getLendingRateOracle()'(overrides?: CallOverrides): Promise<string>;
getPriceOracle(overrides?: CallOverrides): Promise<string>;
'getPriceOracle()'(overrides?: CallOverrides): Promise<string>;
owner(overrides?: CallOverrides): Promise<string>;
'owner()'(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
'renounceOwnership()'(overrides?: CallOverrides): Promise<void>;
setLendingPoolConfiguratorImpl(configurator: string, overrides?: CallOverrides): Promise<void>;
'setLendingPoolConfiguratorImpl(address)'(
configurator: string,
overrides?: CallOverrides
): Promise<void>;
setLendingPoolImpl(pool: string, overrides?: CallOverrides): Promise<void>;
'setLendingPoolImpl(address)'(pool: string, overrides?: CallOverrides): Promise<void>;
setLendingPoolLiquidationManager(manager: string, overrides?: CallOverrides): Promise<void>;
'setLendingPoolLiquidationManager(address)'(
manager: string,
overrides?: CallOverrides
): Promise<void>;
setLendingPoolManager(lendingPoolManager: string, overrides?: CallOverrides): Promise<void>;
'setLendingPoolManager(address)'(
lendingPoolManager: string,
overrides?: CallOverrides
): Promise<void>;
setLendingRateOracle(lendingRateOracle: string, overrides?: CallOverrides): Promise<void>;
'setLendingRateOracle(address)'(
lendingRateOracle: string,
overrides?: CallOverrides
): Promise<void>;
setPriceOracle(priceOracle: string, overrides?: CallOverrides): Promise<void>;
'setPriceOracle(address)'(priceOracle: string, overrides?: CallOverrides): Promise<void>;
transferOwnership(newOwner: string, overrides?: CallOverrides): Promise<void>;
'transferOwnership(address)'(newOwner: string, overrides?: CallOverrides): Promise<void>;
};
filters: {
EthereumAddressUpdated(newAddress: string | null): EventFilter;
LendingPoolConfiguratorUpdated(newAddress: string | null): EventFilter;
LendingPoolLiquidationManagerUpdated(newAddress: string | null): EventFilter;
LendingPoolManagerUpdated(newAddress: string | null): EventFilter;
LendingPoolUpdated(newAddress: string | null): EventFilter;
LendingRateOracleUpdated(newAddress: string | null): EventFilter;
OwnershipTransferred(previousOwner: string | null, newOwner: string | null): EventFilter;
PriceOracleUpdated(newAddress: string | null): EventFilter;
ProxyCreated(id: null, newAddress: string | null): EventFilter;
};
estimateGas: {
getLendingPool(overrides?: CallOverrides): Promise<BigNumber>;
'getLendingPool()'(overrides?: CallOverrides): Promise<BigNumber>;
getLendingPoolConfigurator(overrides?: CallOverrides): Promise<BigNumber>;
'getLendingPoolConfigurator()'(overrides?: CallOverrides): Promise<BigNumber>;
getLendingPoolLiquidationManager(overrides?: CallOverrides): Promise<BigNumber>;
'getLendingPoolLiquidationManager()'(overrides?: CallOverrides): Promise<BigNumber>;
getLendingPoolManager(overrides?: CallOverrides): Promise<BigNumber>;
'getLendingPoolManager()'(overrides?: CallOverrides): Promise<BigNumber>;
getLendingRateOracle(overrides?: CallOverrides): Promise<BigNumber>;
'getLendingRateOracle()'(overrides?: CallOverrides): Promise<BigNumber>;
getPriceOracle(overrides?: CallOverrides): Promise<BigNumber>;
'getPriceOracle()'(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
'owner()'(overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(overrides?: Overrides): Promise<BigNumber>;
'renounceOwnership()'(overrides?: Overrides): Promise<BigNumber>;
setLendingPoolConfiguratorImpl(configurator: string, overrides?: Overrides): Promise<BigNumber>;
'setLendingPoolConfiguratorImpl(address)'(
configurator: string,
overrides?: Overrides
): Promise<BigNumber>;
setLendingPoolImpl(pool: string, overrides?: Overrides): Promise<BigNumber>;
'setLendingPoolImpl(address)'(pool: string, overrides?: Overrides): Promise<BigNumber>;
setLendingPoolLiquidationManager(manager: string, overrides?: Overrides): Promise<BigNumber>;
'setLendingPoolLiquidationManager(address)'(
manager: string,
overrides?: Overrides
): Promise<BigNumber>;
setLendingPoolManager(lendingPoolManager: string, overrides?: Overrides): Promise<BigNumber>;
'setLendingPoolManager(address)'(
lendingPoolManager: string,
overrides?: Overrides
): Promise<BigNumber>;
setLendingRateOracle(lendingRateOracle: string, overrides?: Overrides): Promise<BigNumber>;
'setLendingRateOracle(address)'(
lendingRateOracle: string,
overrides?: Overrides
): Promise<BigNumber>;
setPriceOracle(priceOracle: string, overrides?: Overrides): Promise<BigNumber>;
'setPriceOracle(address)'(priceOracle: string, overrides?: Overrides): Promise<BigNumber>;
transferOwnership(newOwner: string, overrides?: Overrides): Promise<BigNumber>;
'transferOwnership(address)'(newOwner: string, overrides?: Overrides): Promise<BigNumber>;
};
populateTransaction: {
getLendingPool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'getLendingPool()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getLendingPoolConfigurator(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'getLendingPoolConfigurator()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getLendingPoolLiquidationManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'getLendingPoolLiquidationManager()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getLendingPoolManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'getLendingPoolManager()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getLendingRateOracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'getLendingRateOracle()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getPriceOracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'getPriceOracle()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
'owner()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(overrides?: Overrides): Promise<PopulatedTransaction>;
'renounceOwnership()'(overrides?: Overrides): Promise<PopulatedTransaction>;
setLendingPoolConfiguratorImpl(
configurator: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
'setLendingPoolConfiguratorImpl(address)'(
configurator: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
setLendingPoolImpl(pool: string, overrides?: Overrides): Promise<PopulatedTransaction>;
'setLendingPoolImpl(address)'(
pool: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
setLendingPoolLiquidationManager(
manager: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
'setLendingPoolLiquidationManager(address)'(
manager: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
setLendingPoolManager(
lendingPoolManager: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
'setLendingPoolManager(address)'(
lendingPoolManager: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
setLendingRateOracle(
lendingRateOracle: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
'setLendingRateOracle(address)'(
lendingRateOracle: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
setPriceOracle(priceOracle: string, overrides?: Overrides): Promise<PopulatedTransaction>;
'setPriceOracle(address)'(
priceOracle: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
transferOwnership(newOwner: string, overrides?: Overrides): Promise<PopulatedTransaction>;
'transferOwnership(address)'(
newOwner: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
};
}