feat(IAToken): add UNDERLYING_ASSET_ADDRESS function

This commit is contained in:
Pierrick Turelier 2021-03-15 21:42:33 +01:00
parent 3d3dfc01ba
commit b7aed31f79
No known key found for this signature in database
GPG Key ID: 15DA5D5479E9B10B

View File

@ -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);
}