2020-05-29 16:45:37 +00:00
|
|
|
// SPDX-License-Identifier: agpl-3.0
|
|
|
|
pragma solidity ^0.6.8;
|
|
|
|
|
|
|
|
/**
|
|
|
|
@title ILendingPoolAddressesProvider interface
|
2020-06-20 23:40:03 +00:00
|
|
|
@notice provides the interface to fetch the Aave protocol address
|
2020-05-29 16:45:37 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface ILendingPoolAddressesProvider {
|
2020-07-13 08:54:08 +00:00
|
|
|
function getLendingPool() external view returns (address);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function setLendingPoolImpl(address _pool) external;
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function getLendingPoolConfigurator() external view returns (address);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function setLendingPoolConfiguratorImpl(address _configurator) external;
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function getTokenDistributor() external view returns (address);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function setTokenDistributor(address _tokenDistributor) external;
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function getFeeProvider() external view returns (address);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function setFeeProviderImpl(address _feeProvider) external;
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function getLendingPoolLiquidationManager() external view returns (address);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function setLendingPoolLiquidationManager(address _manager) external;
|
|
|
|
|
|
|
|
function getLendingPoolManager() external view returns (address);
|
|
|
|
|
|
|
|
function setLendingPoolManager(address _lendingPoolManager) external;
|
|
|
|
|
|
|
|
function getPriceOracle() external view returns (address);
|
|
|
|
|
|
|
|
function setPriceOracle(address _priceOracle) external;
|
|
|
|
|
|
|
|
function getLendingRateOracle() external view returns (address);
|
|
|
|
|
|
|
|
function setLendingRateOracle(address _lendingRateOracle) external;
|
|
|
|
}
|