Withdraw position

Withdraw position on Arcadia

Base
Base

Acts onchain

Withdraws a liquidity position from an Arcadia Account to its owner. The owner calls withdraw and the account sends the NFT to the owner with safeTransferFrom, in the shape its version takes; a Plug account accepts it. A Margin account refuses a withdrawal that leaves its collateral value below its debt plus its creditor's minimum margin. An asset manager that rebalances the position re-mints it under a fresh id, so the id offered is the one the account holds now. Every withdrawal restarts the account's five-minute cool-down, during which the Factory refuses to transfer the account. An account serves its owner alone, so the verb is the owner's own call: on an account the wallet owns the wallet sends it itself, and on an account the Plug account owns, which every account a creation composed with other writes opened is, it runs in the Plug account's program. Reach for it to take a range out of an account to close, move or manage it directly, composing the manager's own decrease and collect after it.

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 Arcadia · 7

On other protocols · 2