mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
25 lines
814 B
Solidity
25 lines
814 B
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity ^0.6.12;
|
|
|
|
/**
|
|
* @title ILendingPoolAddressesProvider interface
|
|
* @notice provides the interface to fetch the LendingPoolCore address
|
|
**/
|
|
interface ILendingPoolAddressesProviderRegistry {
|
|
event AddressesProviderRegistered(address indexed newAddress);
|
|
event AddressesProviderUnregistered(address indexed newAddress);
|
|
|
|
function getAddressesProvidersList() external view returns (address[] memory);
|
|
|
|
function isAddressesProviderRegistered(address provider) external view returns (uint256);
|
|
|
|
function getAddressesProviderIdByAddress(address addressesProvider)
|
|
external
|
|
view
|
|
returns (uint256);
|
|
|
|
function registerAddressesProvider(address provider, uint256 id) external;
|
|
|
|
function unregisterAddressesProvider(address provider) external;
|
|
}
|