mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
099532ee48
- Adapted style of LendingPoolAddressesProviderRegistry, adding public getter function in the process.
52 lines
1.7 KiB
Solidity
52 lines
1.7 KiB
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity ^0.6.8;
|
|
|
|
/**
|
|
@title ILendingPoolAddressesProvider interface
|
|
@notice provides the interface to fetch the Aave protocol address
|
|
*/
|
|
|
|
interface ILendingPoolAddressesProvider {
|
|
event LendingPoolUpdated(address indexed newAddress);
|
|
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);
|
|
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);
|
|
|
|
function setAddress(
|
|
bytes32 id,
|
|
address newAddress,
|
|
address impl
|
|
) external;
|
|
|
|
function getAddress(bytes32 id) external view returns (address);
|
|
|
|
function getLendingPool() external view returns (address);
|
|
|
|
function setLendingPoolImpl(address pool) external;
|
|
|
|
function getLendingPoolConfigurator() external view returns (address);
|
|
|
|
function setLendingPoolConfiguratorImpl(address configurator) external;
|
|
|
|
function getLendingPoolCollateralManager() external view returns (address);
|
|
|
|
function setLendingPoolCollateralManager(address manager) external;
|
|
|
|
function getAaveAdmin() external view returns (address);
|
|
|
|
function setAaveAdmin(address aaveAdmin) external;
|
|
|
|
function getPriceOracle() external view returns (address);
|
|
|
|
function setPriceOracle(address priceOracle) external;
|
|
|
|
function getLendingRateOracle() external view returns (address);
|
|
|
|
function setLendingRateOracle(address lendingRateOracle) external;
|
|
}
|