Merge branch 'feat/176-getmarketid-view' into 'master'

- Added `view` to getMarketId()

Closes #176

See merge request aave-tech/protocol-v2!199
This commit is contained in:
The-3D 2020-11-30 08:40:45 +00:00
commit e25594ca7d
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 ProxyCreated(bytes32 id, address indexed newAddress);
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy); 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; 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 * @dev Returns the id of the Aave market to which this contracts points to
* @return The market id * @return The market id
**/ **/
function getMarketId() external override returns (string memory) { function getMarketId() external view override returns (string memory) {
return _marketId; return _marketId;
} }