Merge pull request #51 from PierrickGT/feat/iatoken_underlying_asset_address

feat(IAToken): add UNDERLYING_ASSET_ADDRESS function
This commit is contained in:
The-3D 2021-04-08 20:01:08 +02:00 committed by GitHub
commit d4c73f9b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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