2020-05-29 16:45:37 +00:00
|
|
|
// SPDX-License-Identifier: agpl-3.0
|
|
|
|
pragma solidity ^0.6.8;
|
|
|
|
|
|
|
|
/**
|
2020-07-13 08:54:08 +00:00
|
|
|
* @title ILendingPoolAddressesProvider interface
|
|
|
|
* @notice provides the interface to fetch the LendingPoolCore address
|
|
|
|
**/
|
2020-05-29 16:45:37 +00:00
|
|
|
|
|
|
|
interface ILendingPoolAddressesProviderRegistry {
|
2020-07-13 08:54:08 +00:00
|
|
|
function getAddressesProvidersList() external view returns (address[] memory);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function isAddressesProviderRegistered(address _provider) external view returns (uint256);
|
2020-05-29 16:45:37 +00:00
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
function registerAddressesProvider(address _provider, uint256 _id) external;
|
|
|
|
|
|
|
|
function unregisterAddressesProvider(address _provider) external;
|
|
|
|
}
|