mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
Merge pull request #13 from InstaDApp/aave-resolver
Add user stable borrow rate to Aave v2
This commit is contained in:
commit
4244aa80b5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user