ILendingPoolAddressesProvider
Also available on Github.
ILendingPoolAddressesProvider.sol
1
// SPDX-License-Identifier: agpl-3.0
2
pragma solidity 0.6.12;
3
4
/**
5
* @title LendingPoolAddressesProvider contract
6
* @dev Main registry of addresses part of or connected to the protocol, including permissioned roles
7
* - Acting also as factory of proxies and admin of those, so with right to change its implementations
8
* - Owned by the Aave Governance
9
* @author Aave
10
**/
11
interface ILendingPoolAddressesProvider {
12
event MarketIdSet(string newMarketId);
13
event LendingPoolUpdated(address indexed newAddress);
14
event ConfigurationAdminUpdated(address indexed newAddress);
15
event EmergencyAdminUpdated(address indexed newAddress);
16
event LendingPoolConfiguratorUpdated(address indexed newAddress);
17
event LendingPoolCollateralManagerUpdated(address indexed newAddress);
18
event PriceOracleUpdated(address indexed newAddress);
19
event LendingRateOracleUpdated(address indexed newAddress);
20
event ProxyCreated(bytes32 id, address indexed newAddress);
21
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);
22
23
function getMarketId() external view returns (string memory);
24
25
function setMarketId(string calldata marketId) external;
26
27
function setAddress(bytes32 id, address newAddress) external;
28
29
function setAddressAsProxy(bytes32 id, address impl) external;
30
31
function getAddress(bytes32 id) external view returns (address);
32
33
function getLendingPool() external view returns (address);
34
35
function setLendingPoolImpl(address pool) external;
36
37
function getLendingPoolConfigurator() external view returns (address);
38
39
function setLendingPoolConfiguratorImpl(address configurator) external;
40
41
function getLendingPoolCollateralManager() external view returns (address);
42
43
function setLendingPoolCollateralManager(address manager) external;
44
45
function getPoolAdmin() external view returns (address);
46
47
function setPoolAdmin(address admin) external;
48
49
function getEmergencyAdmin() external view returns (address);
50
51
function setEmergencyAdmin(address admin) external;
52
53
function getPriceOracle() external view returns (address);
54
55
function setPriceOracle(address priceOracle) external;
56
57
function getLendingRateOracle() external view returns (address);
58
59
function setLendingRateOracle(address lendingRateOracle) external;
60
}
61
Copied!
Last modified 1yr ago
Copy link