- Fixes misc comments on LendingPoolAddressesProviderRegistry.

This commit is contained in:
eboado 2020-10-28 11:56:10 +01:00
parent 763220c2b9
commit a9a863fcb4

View File

@ -20,7 +20,7 @@ contract LendingPoolAddressesProviderRegistry is Ownable, ILendingPoolAddressesP
/** /**
* @dev returns if an addressesProvider is registered or not * @dev returns if an addressesProvider is registered or not
* @param provider the addresses provider * @param provider the addresses provider
* @return true if the addressesProvider is registered, false otherwise * @return The id of the addresses provider or 0 if the addresses provider not registered
**/ **/
function isAddressesProviderRegistered(address provider) function isAddressesProviderRegistered(address provider)
external external
@ -33,7 +33,7 @@ contract LendingPoolAddressesProviderRegistry is Ownable, ILendingPoolAddressesP
/** /**
* @dev returns the list of active addressesProviders * @dev returns the list of active addressesProviders
* @return the list of addressesProviders * @return the list of addressesProviders, potentially containing address(0) elements
**/ **/
function getAddressesProvidersList() external override view returns (address[] memory) { function getAddressesProvidersList() external override view returns (address[] memory) {
address[] memory addressesProvidersList = _addressesProvidersList; address[] memory addressesProvidersList = _addressesProvidersList;
@ -91,7 +91,7 @@ contract LendingPoolAddressesProviderRegistry is Ownable, ILendingPoolAddressesP
/** /**
* @dev Returns the id on an `addressesProvider` or address(0) if not registered * @dev Returns the id on an `addressesProvider` or address(0) if not registered
* @return The id or address(0) * @return The id or 0 if the addresses provider is not registered
*/ */
function getAddressesProviderIdByAddress(address addressesProvider) function getAddressesProviderIdByAddress(address addressesProvider)
external external