Withdraw

Withdraw on Chamber

Base
Base

Acts onchain

Withdraws from a Chamber (dHEDGE) vault by burning its vault tokens for a share of everything it holds. The vault pays the burned tokens' portion of each of its assets to the socket in kind, after any exit fee, unwinding leveraged positions through its own swapper; each asset's payout must stay within a small tolerance of its oracle value or the withdrawal reverts. The withdrawal fails while the socket's exit cooldown from its last deposit is still running. All burns every vault token held. Reach for it to leave a vault when its token price or your position crosses a line you drew, following it with swaps of the assets received.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Chamber · 4

On other protocols · 21