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

25 lines
813 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 {
event AddressesProviderRegistered(address indexed newAddress);
event AddressesProviderUnregistered(address indexed newAddress);
2020-07-13 08:54:08 +00:00
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;
2020-07-13 08:54:08 +00:00
function unregisterAddressesProvider(address provider) external;
2020-07-13 08:54:08 +00:00
}