What this does
This plug computes borrow capacity from a supplied collateral value on Morpho by applying a loan to value ratio as a WAD scaled proportion. It asks the caller for collateral_value and lltv at execution time. It fires whenever the caller runs it with those two inputs, returning borrow_capacity as its output. Computing this by hand or against a stale lltv risks a borrow capacity figure that no longer matches the market's current parameters.
Actions · 3



Related plugs · 8