
Fluid · Acts onchain
Repays debt on a Fluid vault position. The live debt is read and compared with the amount: less than the debt repays that much, while at least the debt, or the Repay all option, closes the borrow leg exactly with interest included. Native debt is sent by value, ERC-20 debt is approved first. The call returns the deltas applied. Reach for it to clear debt before withdrawing collateral, to restore health when the position read shows LTV past a target, or to settle the borrow leg after a swap has produced the debt asset.
On other protocols · 5