
What this does
This plug reads a Morpho Blue position in a current market and tests whether refinancing it into a target market passes rate, health, and liquidity checks. It asks the caller for the current_market, the target_market, a minimum_apr_delta, a minimum_health_factor, and a liquidity_multiplier. It fires whenever called, converting borrow shares to a debt amount and returning a flag true only when all three checks pass. Reading these constraints by hand or against a stale oracle price risks approving a refinance that fails the health or liquidity floor.
Actions · 18


















Related plugs · 8
Not ready to run as it stands: it waits on values or a position of your own.