2020-06-03 10:23:21 +00:00
|
|
|
/* Generated by ts-generator ver. 0.0.8 */
|
|
|
|
/* tslint:disable */
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
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 '.';
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
interface LendingPoolAddressesProviderInterface extends Interface {
|
|
|
|
functions: {
|
|
|
|
getAddress: TypedFunctionDescription<{
|
|
|
|
encode([_key]: [Arrayish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
getFeeProvider: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
getLendingPool: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
getLendingPoolConfigurator: TypedFunctionDescription<{
|
|
|
|
encode([]: []): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getLendingPoolLiquidationManager: TypedFunctionDescription<{
|
|
|
|
encode([]: []): string;
|
|
|
|
}>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
getLendingPoolManager: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
getLendingRateOracle: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
getPriceOracle: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
getTokenDistributor: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
owner: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
renounceOwnership: TypedFunctionDescription<{encode([]: []): string}>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
setFeeProviderImpl: TypedFunctionDescription<{
|
|
|
|
encode([_feeProvider]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setLendingPoolConfiguratorImpl: TypedFunctionDescription<{
|
|
|
|
encode([_configurator]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setLendingPoolImpl: TypedFunctionDescription<{
|
|
|
|
encode([_pool]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setLendingPoolLiquidationManager: TypedFunctionDescription<{
|
|
|
|
encode([_manager]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setLendingPoolManager: TypedFunctionDescription<{
|
|
|
|
encode([_lendingPoolManager]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setLendingRateOracle: TypedFunctionDescription<{
|
|
|
|
encode([_lendingRateOracle]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setPriceOracle: TypedFunctionDescription<{
|
|
|
|
encode([_priceOracle]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
setTokenDistributor: TypedFunctionDescription<{
|
|
|
|
encode([_tokenDistributor]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
transferOwnership: TypedFunctionDescription<{
|
|
|
|
encode([newOwner]: [string]): string;
|
|
|
|
}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
events: {
|
|
|
|
EthereumAddressUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
FeeProviderUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
LendingPoolConfiguratorUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
LendingPoolLiquidationManagerUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
LendingPoolManagerUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
LendingPoolUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
LendingRateOracleUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
OwnershipTransferred: TypedEventDescription<{
|
2020-07-13 08:54:08 +00:00
|
|
|
encodeTopics([previousOwner, newOwner]: [string | null, string | null]): string[];
|
2020-06-03 10:23:21 +00:00
|
|
|
}>;
|
|
|
|
|
|
|
|
PriceOracleUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
ProxyCreated: TypedEventDescription<{
|
|
|
|
encodeTopics([id, newAddress]: [null, string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
TokenDistributorUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([newAddress]: [string | null]): string[];
|
|
|
|
}>;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export class LendingPoolAddressesProvider extends Contract {
|
2020-07-13 08:54:08 +00:00
|
|
|
connect(signerOrProvider: Signer | Provider | string): LendingPoolAddressesProvider;
|
2020-06-03 10:23:21 +00:00
|
|
|
attach(addressOrName: string): LendingPoolAddressesProvider;
|
|
|
|
deployed(): Promise<LendingPoolAddressesProvider>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
on(event: EventFilter | string, listener: Listener): LendingPoolAddressesProvider;
|
|
|
|
once(event: EventFilter | string, listener: Listener): LendingPoolAddressesProvider;
|
|
|
|
addListener(eventName: EventFilter | string, listener: Listener): LendingPoolAddressesProvider;
|
|
|
|
removeAllListeners(eventName: EventFilter | string): LendingPoolAddressesProvider;
|
|
|
|
removeListener(eventName: any, listener: Listener): LendingPoolAddressesProvider;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
interface: LendingPoolAddressesProviderInterface;
|
|
|
|
|
|
|
|
functions: {
|
|
|
|
getAddress(_key: Arrayish): Promise<string>;
|
|
|
|
|
|
|
|
getFeeProvider(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPool(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPoolConfigurator(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPoolLiquidationManager(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPoolManager(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingRateOracle(): Promise<string>;
|
|
|
|
|
|
|
|
getPriceOracle(): Promise<string>;
|
|
|
|
|
|
|
|
getTokenDistributor(): Promise<string>;
|
|
|
|
|
|
|
|
owner(): Promise<string>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
renounceOwnership(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
setFeeProviderImpl(
|
|
|
|
_feeProvider: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingPoolConfiguratorImpl(
|
|
|
|
_configurator: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingPoolImpl(
|
|
|
|
_pool: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingPoolLiquidationManager(
|
|
|
|
_manager: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingPoolManager(
|
|
|
|
_lendingPoolManager: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingRateOracle(
|
|
|
|
_lendingRateOracle: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setPriceOracle(
|
|
|
|
_priceOracle: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setTokenDistributor(
|
|
|
|
_tokenDistributor: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
transferOwnership(
|
|
|
|
newOwner: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
};
|
|
|
|
|
|
|
|
getAddress(_key: Arrayish): Promise<string>;
|
|
|
|
|
|
|
|
getFeeProvider(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPool(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPoolConfigurator(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPoolLiquidationManager(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingPoolManager(): Promise<string>;
|
|
|
|
|
|
|
|
getLendingRateOracle(): Promise<string>;
|
|
|
|
|
|
|
|
getPriceOracle(): Promise<string>;
|
|
|
|
|
|
|
|
getTokenDistributor(): Promise<string>;
|
|
|
|
|
|
|
|
owner(): Promise<string>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
renounceOwnership(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
setFeeProviderImpl(
|
|
|
|
_feeProvider: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingPoolConfiguratorImpl(
|
|
|
|
_configurator: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
setLendingPoolImpl(_pool: string, overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
setLendingPoolLiquidationManager(
|
|
|
|
_manager: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingPoolManager(
|
|
|
|
_lendingPoolManager: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setLendingRateOracle(
|
|
|
|
_lendingRateOracle: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setPriceOracle(
|
|
|
|
_priceOracle: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
setTokenDistributor(
|
|
|
|
_tokenDistributor: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
transferOwnership(
|
|
|
|
newOwner: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
filters: {
|
|
|
|
EthereumAddressUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
|
|
|
FeeProviderUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
|
|
|
LendingPoolConfiguratorUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
LendingPoolLiquidationManagerUpdated(newAddress: string | null): EventFilter;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
LendingPoolManagerUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
|
|
|
LendingPoolUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
|
|
|
LendingRateOracleUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
OwnershipTransferred(previousOwner: string | null, newOwner: string | null): EventFilter;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
PriceOracleUpdated(newAddress: string | null): EventFilter;
|
|
|
|
|
|
|
|
ProxyCreated(id: null, newAddress: string | null): EventFilter;
|
|
|
|
|
|
|
|
TokenDistributorUpdated(newAddress: string | null): EventFilter;
|
|
|
|
};
|
|
|
|
|
|
|
|
estimate: {
|
|
|
|
getAddress(_key: Arrayish): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getFeeProvider(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getLendingPool(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getLendingPoolConfigurator(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getLendingPoolLiquidationManager(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getLendingPoolManager(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getLendingRateOracle(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getPriceOracle(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getTokenDistributor(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
owner(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
renounceOwnership(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setFeeProviderImpl(_feeProvider: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setLendingPoolConfiguratorImpl(_configurator: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setLendingPoolImpl(_pool: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setLendingPoolLiquidationManager(_manager: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setLendingPoolManager(_lendingPoolManager: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setLendingRateOracle(_lendingRateOracle: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setPriceOracle(_priceOracle: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
setTokenDistributor(_tokenDistributor: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
transferOwnership(newOwner: string): Promise<BigNumber>;
|
|
|
|
};
|
|
|
|
}
|