Merge pull request #13 from InstaDApp/aave-resolver

Add user stable borrow rate to Aave v2
This commit is contained in:
Thrilok kumar 2021-03-29 03:46:42 +05:30 committed by GitHub
commit 4244aa80b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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