What this does
This plug reads a named Morpho market's available liquidity and returns whether it meets a required amount computed from a debt figure and a multiplier. It asks the caller for the market, the debt, and the multiplier_definition scaling factor. It runs on demand whenever the caller executes it, composing the Get Market Liquidity and Check Required Amount plugs inline. Checking market liquidity by hand or against a stale total risks acting on a market that cannot cover the required borrow.
Actions · 4




Related plugs · 8