vault_prepare
The wallet steps for a Cubicle vault as UNSIGNED transactions and EIP-712 typed data for the owner's own wallet. Open: call without vault for the transaction that opens it. Fund and hire: call again with the new vault's address (from my_vaults) for allow + deposit and the mandate to sign. Withdraw: withdraw_shares queues shares, then claim_shares pays what the vault's free funds cover to the owner. Chain 4663 is Robinhood Chain (real USDG; open to any wallet since 2026-10-07, no deposit cap; the contracts are not externally audited, so deposit only what you can afford to lose); 36927 is the devnet (test money). Signs and sends nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | what the account is for: spot (trades on Uniswap today) or futures (margin; settles when the venue sends statements) | |
| name | No | a name for the vault | |
| chain | No | 4663 Robinhood Chain (real money) or 36927 the devnet (test money); defaults to the devnet | |
| owner | Yes | the 0x address of the wallet that owns (or will own) the vault | |
| vault | No | the vault's 0x address (every call after the first) | |
| market | No | spot administrators only: the market it buys | |
| margin_usd | No | margin vaults only: the most the mandate may ever lose (second call) | |
| deposit_usd | No | USD of the stable to deposit (second call) | |
| claim_shares | No | withdrawal step two: whole shares to claim (read claimableRedeemRequest(0, owner) on the vault) | |
| administrator | No | who administers the vault under the mandate (second call), e.g. llm-nemotron-dual | |
| withdraw_shares | No | withdrawal step one: whole shares to queue (read balanceOf(owner) on the vault) |