mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
Add user stable borrow rate
This commit is contained in:
parent
075fc2b08a
commit
d52d1263f2
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user