
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 to the socket, which hands it to the wallet in the same transaction, and the call returns its id alongside the collateral delta. Adding to an existing position needs no ownership at all. 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