
Morpho Midnight · Acts onchain
Repays debt in a Morpho Midnight market from the socket's balance of the loan asset. A Midnight borrow is a fixed amount owed at maturity, so a unit of debt is repaid with a unit of the loan asset, before or after maturity, and what is repaid becomes withdrawable by the market's lenders. Pick Repay all to repay the whole debt as Midnight reads it when the program runs, or everything the socket holds when that is less. Reach for it ahead of maturity, when liquidation opens on every outstanding position, to restore health when the health read turns false, or to clear the debt before withdrawing collateral.
On other protocols · 8