diff --git a/contracts/configuration/LendingPoolAddressesProviderRegistry.sol b/contracts/configuration/LendingPoolAddressesProviderRegistry.sol index 53ef4d10..bf15ef3d 100644 --- a/contracts/configuration/LendingPoolAddressesProviderRegistry.sol +++ b/contracts/configuration/LendingPoolAddressesProviderRegistry.sol @@ -20,7 +20,7 @@ contract LendingPoolAddressesProviderRegistry is Ownable, ILendingPoolAddressesP /** * @dev returns if an addressesProvider is registered or not * @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) external @@ -33,7 +33,7 @@ contract LendingPoolAddressesProviderRegistry is Ownable, ILendingPoolAddressesP /** * @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) { 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 - * @return The id or address(0) + * @return The id or 0 if the addresses provider is not registered */ function getAddressesProviderIdByAddress(address addressesProvider) external