From 911f692e8ca387e9ece63e3b61121f3cadbf8ff9 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Mon, 1 Jun 2020 21:22:46 +0530 Subject: [PATCH] Added ltv in aave resolver --- contracts/protocols/aave.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ); }