
Moonwell · Acts onchain
Repays the wallet's debt in a Moonwell market from the socket's balance. The market accrues interest and the live debt is read first: an amount below it is repaid exactly, while an amount at or above it, or the Repay all option, repays the whole debt with interest included and nothing beyond it is pulled. Reach for it to clear debt before redeeming collateral, to restore the account's liquidity when a read says it is running out, or to settle the borrow after an earlier swap has produced the asset.