mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Added view
to getMarketId()
This commit is contained in:
parent
495eed33ca
commit
18ce2b3637
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user