Repay
Repay

Exactly · Acts onchain

Repays the wallet's floating debt in an Exactly market from the socket's balance. The debt with interest accrued to this block 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 floating debt and nothing beyond it is pulled. Fixed-rate debt is repaid per maturity with repay at maturity. Where the Auditor answers to a firewall, as Base's does, the market serves only the accounts that firewall allows, and a call from any other account reverts. Reach for it to clear debt before withdrawing collateral or exiting a market, 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.

On other protocols · 8