mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
add comment for getDebtTokenAddress function
This commit is contained in:
parent
d135c25b39
commit
35bff4bea2
|
@ -116,6 +116,12 @@ library ReserveLogic {
|
||||||
return cumulated;
|
return cumulated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dev returns an address of the debt token used for particular interest rate mode on asset.
|
||||||
|
* @param reserve the reserve object
|
||||||
|
* @param interest rate mode - STABLE or VARIABLE from ReserveLogic.InterestRateMode enum
|
||||||
|
* @return an address of the corresponding debt token from reserve configuration
|
||||||
|
**/
|
||||||
function getDebtTokenAddress(ReserveLogic.ReserveData storage reserve, uint256 interestRateMode)
|
function getDebtTokenAddress(ReserveLogic.ReserveData storage reserve, uint256 interestRateMode)
|
||||||
internal
|
internal
|
||||||
view
|
view
|
||||||
|
|
Loading…
Reference in New Issue
Block a user