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:

  1. Prerequisites: KYC & Whitelisting — how your wallet gets on the on-chain whitelist.
  2. Deploying a Vault — a single transaction against a Vault Deployer.
  3. Deposits — adding capital to an existing vault.
  4. Instant Withdrawals — single-transaction withdrawals covered by liquid balance.
  5. Scheduled Withdrawals — the three-step flow for larger amounts.
  6. Strategy Assignment — signing an EIP‑712 message to assign a strategy to a fresh vault.
  7. 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.