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

18 lines
569 B
Solidity
Raw Normal View History

// 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
**/
interface ILendingPoolAddressesProviderRegistry {
2020-07-13 08:54:08 +00:00
function getAddressesProvidersList() external view returns (address[] memory);
2020-07-13 08:54:08 +00:00
function isAddressesProviderRegistered(address _provider) external view returns (uint256);
2020-07-13 08:54:08 +00:00
function registerAddressesProvider(address _provider, uint256 _id) external;
function unregisterAddressesProvider(address _provider) external;
}