What this does
This plug refinances a Morpho Blue borrow position from market 0x3a85...ee49 into market 0x09dc...631c, both at 86% LLTV, via a fee-free flash loan that repays the old debt, withdraws collateral, resupplies it, and reborrows in the new market. It asks the caller for minimum_apr_delta, minimum_health_factor, and liquidity_multiplier. It fires only when the composed Check Refinancing Constraints plug confirms the rate gap, health floor, and scaled liquidity all pass. Running this by hand across two markets or on a stale rate risks an under-collateralized or non-improving move.
Actions · 11











Related plugs · 8