| title | Pattern: Private Intent-Based Vaults | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| status | ready | ||||||||||||||||
| maturity | testnet | ||||||||||||||||
| type | standard | ||||||||||||||||
| layer | hybrid | ||||||||||||||||
| last_reviewed | 2026-06-18 | ||||||||||||||||
| works-best-when |
|
||||||||||||||||
| avoid-when |
|
||||||||||||||||
| context | both | ||||||||||||||||
| context_differentiation |
|
||||||||||||||||
| crops_profile |
|
||||||||||||||||
| crops_context |
|
||||||||||||||||
| post_quantum |
|
||||||||||||||||
| standards |
|
||||||||||||||||
| related_patterns |
|
||||||||||||||||
| open_source_implementations |
|
Allow institutional and DeFi actors to express trading or allocation intents that a vault executes privately: strategy parameters, order flow, and risk exposure stay hidden while deposited assets remain transparently custodied and redeemable. Auditors receive scoped disclosure; the public sees only aggregate state.
- Vault contract (ERC-20 wrapper) holds deposits transparently and exposes a redeem path for LPs and auditors.
- Encrypted intent: signed envelope containing target allocation, yield strategy, or hedging goal. Encrypted to the solver or to a confidential-computation substrate.
- Solver or strategy engine runs off-chain or inside a confidential runtime, converting intents into an execution plan.
- Confidential-computation substrate provides the privacy guarantee for the strategy. Options: Fully Homomorphic Encryption coprocessor, Trusted Execution Environment, or a privacy L2 with private notes.
- Execution layer: trades and allocations run on a privacy L2 or on a Fully Homomorphic Encryption runtime so order flow does not appear publicly.
- Audit and disclosure layer: viewing keys and attestation-logged scoped disclosure (EAS) let regulators and LPs verify execution authenticity without revealing strategy composition.
- Optional key-management module for encrypted strategy data and for solver credentials.
- [user] Deposit assets into the vault; on-chain state records the deposit transparently.
- [user] Submit a signed encrypted intent (for example, a target allocation or hedging rule) to the solver or substrate.
- [prover] Solver or confidential runtime decrypts or partially computes the intent and produces an execution plan without exposing parameters.
- [operator] Vault executes the plan privately on a privacy L2 or a Fully Homomorphic Encryption runtime; order flow stays hidden.
- [contract] Settlement updates aggregate vault state on-chain; individual positions and strategy details remain private.
- [auditor] Regulator or LP verifies correctness via a viewing key or an attestation-logged disclosure, without seeing strategy composition.
Guarantees:
- Strategy logic, parameters, and order flow stay hidden from the public and from competitors.
- Vault asset balances and aggregate performance remain auditable on-chain.
- Intents are cryptographically signed; solvers cannot alter user intent without detection.
- Scoped disclosure lets regulators verify execution authenticity without revealing strategy composition.
Threat model:
- Confidentiality of the chosen substrate (Fully Homomorphic Encryption, enclave, privacy L2). A substrate breach exposes strategy data in bulk.
- Solver correctness and key hygiene. A compromised solver can leak intent content or front-run the execution plan.
- Misconfigured access control on viewing keys or attestation logs can turn scoped disclosure into public disclosure.
- Solver liveness. A single solver becomes a censorship chokepoint; multiple competing solvers mitigate.
- Timing and ordering metadata at the execution layer can leak strategy signals even when content is hidden; compose with private transaction broadcasting.
- Confidential computation adds latency and cost compared with transparent vault execution.
- Operational complexity: off-chain solver, encrypted intent pipeline, and privacy substrate together create a larger attack surface than a transparent vault.
- Auditor onboarding requires careful viewing-key or attestation scope design to avoid over-disclosure.
- Composability with public DeFi is limited while assets sit inside the privacy substrate; an exit step is required for public venues.
- A fund deposits a stablecoin into a private vault. It submits a signed encrypted intent: "allocate 60 per cent to an ETH yield strategy and 40 per cent to staked T-Bills." The solver decrypts the intent inside a Fully Homomorphic Encryption runtime, produces an execution plan, and the vault executes trades privately on a privacy L2. On-chain, only total AUM and aggregate performance are visible. An auditor later verifies correctness via an attestation-logged disclosure without seeing strategy composition.