diff --git a/contracts/protocols/aave.sol b/contracts/protocols/aave.sol index 9b36cce..f5c6ed5 100644 --- a/contracts/protocols/aave.sol +++ b/contracts/protocols/aave.sol @@ -104,6 +104,7 @@ contract AaveHelpers is DSMath { uint totalFeesETH; uint availableBorrowsETH; uint currentLiquidationThreshold; + uint ltv; uint healthFactor; } @@ -147,7 +148,7 @@ contract AaveHelpers is DSMath { uint totalFeesETH, uint availableBorrowsETH, uint currentLiquidationThreshold, - , + uint ltv, uint healthFactor ) = aave.getUserAccountData(user); @@ -158,6 +159,7 @@ contract AaveHelpers is DSMath { totalFeesETH, availableBorrowsETH, currentLiquidationThreshold, + ltv, healthFactor ); }