Returns the maximum borrow of a given asset considering a target borrow utilisation ratio. Returns 0 if cannot borrow anything more.
bigint max asset amount
user loan
price of asset borrowing 14 d.p.
borrow factor of asset borrowing 4 d.p.
the utilisation ratio that you are targeting 4 d.p.
Generated using TypeDoc
Returns the maximum borrow of a given asset considering a target borrow utilisation ratio. Returns 0 if cannot borrow anything more.
Returns
bigint max asset amount