Repay borrow

Repay borrow on Moonwell

Base
Base

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.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Moonwell · 17