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

22 lines
713 B
Solidity

// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.8;
/**
* @title ILendingPoolAddressesProvider interface
* @notice provides the interface to fetch the LendingPoolCore address
**/
interface ILendingPoolAddressesProviderRegistry {
//events
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 registerAddressesProvider(address _provider, uint256 _id) external;
function unregisterAddressesProvider(address _provider) external;
}