aave-protocol-v2/contracts/interfaces/ILendingPoolAddressesProvider.sol

45 lines
1.5 KiB
Solidity
Raw Normal View History

// 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
*/
interface ILendingPoolAddressesProvider {
//events
event LendingPoolUpdated(address indexed newAddress);
2020-09-16 12:09:42 +00:00
event AaveAdminUpdated(address indexed newAddress);
event LendingPoolConfiguratorUpdated(address indexed newAddress);
event LendingPoolCollateralManagerUpdated(address indexed newAddress);
event EthereumAddressUpdated(address indexed newAddress);
event PriceOracleUpdated(address indexed newAddress);
event LendingRateOracleUpdated(address indexed newAddress);
event ProxyCreated(bytes32 id, address indexed newAddress);
2020-07-13 08:54:08 +00:00
function getLendingPool() external view returns (address);
function setLendingPoolImpl(address pool) external;
2020-07-13 08:54:08 +00:00
function getLendingPoolConfigurator() external view returns (address);
function setLendingPoolConfiguratorImpl(address configurator) external;
function getLendingPoolCollateralManager() external view returns (address);
function setLendingPoolCollateralManager(address manager) external;
2020-07-13 08:54:08 +00:00
2020-09-16 12:09:42 +00:00
function getAaveAdmin() external view returns (address);
2020-07-13 08:54:08 +00:00
2020-09-16 12:09:42 +00:00
function setAaveAdmin(address aaveAdmin) external;
2020-07-13 08:54:08 +00:00
function getPriceOracle() external view returns (address);
function setPriceOracle(address priceOracle) external;
2020-07-13 08:54:08 +00:00
function getLendingRateOracle() external view returns (address);
function setLendingRateOracle(address lendingRateOracle) external;
2020-07-13 08:54:08 +00:00
}