From b7aed31f79e17a1cffc1e9f26cd97a963a2bbfbf Mon Sep 17 00:00:00 2001 From: Pierrick Turelier Date: Mon, 15 Mar 2021 21:42:33 +0100 Subject: [PATCH] feat(IAToken): add UNDERLYING_ASSET_ADDRESS function --- contracts/interfaces/IAToken.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contracts/interfaces/IAToken.sol b/contracts/interfaces/IAToken.sol index 3a6ac663..cf0ea261 100644 --- a/contracts/interfaces/IAToken.sol +++ b/contracts/interfaces/IAToken.sol @@ -99,4 +99,9 @@ interface IAToken is IERC20, IScaledBalanceToken, IInitializableAToken { * @dev Returns the address of the incentives controller contract **/ function getIncentivesController() external view returns (IAaveIncentivesController); + + /** + * @dev Returns the address of the underlying asset of this aToken (E.g. WETH for aWETH) + **/ + function UNDERLYING_ASSET_ADDRESS() external view returns (address); }