
Fluid · Acts onchain
Withdraws collateral from a Fluid vault position. The live supply is read and compared with the amount: less than the supply withdraws that much, while at least the supply, or max, closes the collateral leg exactly with interest included. The vault refuses a withdrawal that pushes the position past its max LTV. The call returns the deltas applied. Reach for it to free collateral after a repay earlier in the transaction, or to pull the exact amount a following swap or deposit needs.
On other protocols · 2