Add user stable borrow rate

This commit is contained in:
Mubaris NK 2021-03-28 16:14:29 +05:30
parent 075fc2b08a
commit d52d1263f2
No known key found for this signature in database
GPG Key ID: 9AC09AD0F8D68561

View File

@ -152,6 +152,7 @@ contract AaveHelpers is DSMath {
uint variableBorrowBalance;
uint supplyRate;
uint stableBorrowRate;
uint userStableBorrowRate;
uint variableBorrowRate;
bool isCollateral;
AaveTokenData aaveTokenData;
@ -230,7 +231,9 @@ contract AaveHelpers is DSMath {
tokenData.supplyBalance,
tokenData.stableBorrowBalance,
tokenData.variableBorrowBalance,
,,,,,
,,
tokenData.userStableBorrowRate,
,,
tokenData.isCollateral
) = aaveData.getUserReserveData(token, user);