What this does
This plug reads a Morpho Blue position and checks whether moving it from a current market to a target market clears refinancing constraints. It asks the caller for the current market, the target market, minimum_apr_delta, minimum_health_factor, and liquidity_multiplier. It runs rate-delta, health-factor, and liquidity checks over both markets and returns meets_refinance_constraints as true only when all conditions hold together, alongside the debt, supply, and oracle figures. Evaluating these thresholds by hand or against a stale oracle price risks approving a refinance that fails one of the checks at execution time.
Actions · 18


















Related plugs · 8