Borrow aggregator: FiRM protocol - negative liquidity
Closed this issue · 1 comments
webmass commented
Hello
I noticed the liquidity is negative for some of the markets regarding the Inverse Finance - FiRM protocol.
It seems the calculation that is shown for the "available" column is the liquidity minus amount borrowed
instead of just the liquidity.
slasher125 commented
ty for reporting. fixed here 54e931a
for cdps we calc available liquidity as max debt ceiling - borrowed