Returns the maximum reduce collateral of a given f asset considering a target borrow utilisation ratio. Returns 0 if no collateral in loan. Returns at most the collateral balance.
bigint max f asset amount
user loan
price of asset borrowing 14 d.p.
the utilisation ratio that you are targeting 4 d.p.
Generated using TypeDoc
Returns the maximum reduce collateral of a given f asset considering a target borrow utilisation ratio. Returns 0 if no collateral in loan. Returns at most the collateral balance.
Returns
bigint max f asset amount