removed borrow and suppy util

This commit is contained in:
Thrilok Kumar 2020-05-02 01:23:16 +05:30
parent b87f05d34f
commit 91987cc265

View File

@ -108,8 +108,7 @@ contract Helpers is DSMath{
uint tokenPrice; uint tokenPrice;
uint supplyBalance; uint supplyBalance;
uint borrowBalance; uint borrowBalance;
uint supplyUtil; uint tokenUtil;
uint borrowUtil;
} }
} }
@ -128,8 +127,7 @@ contract Resolver is Helpers {
solo.getMarketPrice(id).value, solo.getMarketPrice(id).value,
tokenBal.sign ? tokenBal.value : 0, tokenBal.sign ? tokenBal.value : 0,
!tokenBal.sign ? tokenBal.value : 0, !tokenBal.sign ? tokenBal.value : 0,
wmul(totalPar.supply, rateIndex.supply), wdiv(wmul(totalPar.borrow, rateIndex.borrow), wmul(totalPar.supply, rateIndex.supply))
wmul(totalPar.borrow, rateIndex.borrow)
); );
} }
return tokensData; return tokensData;