Deposit collateral
Deposit collateral

Fluid · Acts onchain

Deposits collateral into a Fluid vault position, creating one when the position is zero. The vault's operate is called with a positive collateral delta; native ETH is sent by value, ERC-20 collateral is approved first. Position zero mints a new position NFT and the call returns its id alongside the collateral delta. Set the amount to max to deposit the full balance held. Reach for it to open a position and coil the returned id into a borrow in the same transaction, or to add margin when the position read shows LTV drifting toward the liquidation threshold.

On other protocols · 2