What this does
This plug computes borrow capacity by taking the loan to value ratio as a WAD proportion of a collateral value. It asks the caller for collateral_value and lltv, both supplied at execution time. It fires whenever it is called, producing a single figure with no market reads or conditions. Computing this by hand or with a stale lltv or collateral value yields a borrow capacity that misstates what a position can safely draw.
Actions · 3



Related plugs · 8