scenario a.md
Scenario A: Manage Your Own Vaults
You're managing DCVs for yourself — treasury, own product, or direct client use. The technical surface is small: one off-chain prerequisite (KYC + whitelisting), a handful of on-chain calls, and the Public API for reporting.
This scenario is organized in the order you'll actually do things:
- Prerequisites: KYC & Whitelisting — how your wallet gets on the on-chain whitelist.
- Deploying a Vault — a single transaction against a Vault Deployer.
- Deposits — adding capital to an existing vault.
- Instant Withdrawals — single-transaction withdrawals covered by liquid balance.
- Scheduled Withdrawals — the three-step flow for larger amounts.
- Strategy Assignment — signing an EIP‑712 message to assign a strategy to a fresh vault.
- Reading Vault Data — using the Public API (and the on-chain ERC‑4626 interface) for reporting.
Throughout, code examples are in TypeScript with viem. The same operations work equally well from ethers.js, foundry-cast, Python web3, or any Ethereum tooling — the contracts are standard.
Canonical addresses and method signatures are in Reference.