mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
489 lines
16 KiB
TypeScript
489 lines
16 KiB
TypeScript
|
/* 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 ILendingPoolAddressesProviderInterface extends ethers.utils.Interface {
|
||
|
functions: {
|
||
|
'getLendingPool()': FunctionFragment;
|
||
|
'getLendingPoolConfigurator()': FunctionFragment;
|
||
|
'getLendingPoolLiquidationManager()': FunctionFragment;
|
||
|
'getLendingPoolManager()': FunctionFragment;
|
||
|
'getLendingRateOracle()': FunctionFragment;
|
||
|
'getPriceOracle()': FunctionFragment;
|
||
|
'setLendingPoolConfiguratorImpl(address)': FunctionFragment;
|
||
|
'setLendingPoolImpl(address)': FunctionFragment;
|
||
|
'setLendingPoolLiquidationManager(address)': FunctionFragment;
|
||
|
'setLendingPoolManager(address)': FunctionFragment;
|
||
|
'setLendingRateOracle(address)': FunctionFragment;
|
||
|
'setPriceOracle(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: '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;
|
||
|
|
||
|
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: '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;
|
||
|
|
||
|
events: {};
|
||
|
}
|
||
|
|
||
|
export class ILendingPoolAddressesProvider 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: ILendingPoolAddressesProviderInterface;
|
||
|
|
||
|
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;
|
||
|
}>;
|
||
|
|
||
|
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>;
|
||
|
};
|
||
|
|
||
|
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>;
|
||
|
|
||
|
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>;
|
||
|
|
||
|
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>;
|
||
|
|
||
|
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>;
|
||
|
};
|
||
|
|
||
|
filters: {};
|
||
|
|
||
|
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>;
|
||
|
|
||
|
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>;
|
||
|
};
|
||
|
|
||
|
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>;
|
||
|
|
||
|
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>;
|
||
|
};
|
||
|
}
|