DefiLlama/yield-server

Borrow aggregator: FiRM protocol - negative liquidity

Closed this issue · 1 comments

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.

ty for reporting. fixed here 54e931a
for cdps we calc available liquidity as max debt ceiling - borrowed