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