- Added view to getMarketId()

This commit is contained in:
eboado 2020-11-30 09:23:31 +01:00
parent 495eed33ca
commit 18ce2b3637
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ interface ILendingPoolAddressesProvider {
event ProxyCreated(bytes32 id, address indexed newAddress);
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);
function getMarketId() external returns (string memory);
function getMarketId() external view returns (string memory);
function setMarketId(string calldata marketId) external;

View File

@ -36,7 +36,7 @@ contract LendingPoolAddressesProvider is Ownable, ILendingPoolAddressesProvider
* @dev Returns the id of the Aave market to which this contracts points to
* @return The market id
**/
function getMarketId() external override returns (string memory) {
function getMarketId() external view override returns (string memory) {
return _marketId;
}