# Box Vaults

Box Vaults are Steakhouse Financial's ERC-4626 child vault architecture for modular, non-custodial capital allocation across whitelisted strategies and funding modules. Each Box vault connects to a parent Morpho Vault V2 through an adapter, enforces risk controls via timelocked curator actions and an Aragon DAO guardian veto, and includes a structured shutdown and winddown mechanism. Funding modules currently support Aave v3 and Morpho Blue. The Box smart contracts have been audited by ChainSecurity and Cantina.

## Overview

* Holds a single base asset (e.g., USDC) and issues ERC-4626 shares.
* Allocates into whitelisted ERC-20 tokens and approved lending modules.
* Uses timelocks, a guardian veto, and shutdown controls to protect users.
* Enables permissionless unwind operations during winddown.

## Architecture

{% @mermaid/diagram content="flowchart LR
VaultV2\[Morpho Vault V2] --> Adapter\[BoxAdapter / BoxAdapterCached]
Adapter --> Box\[Box Vault]
Box --> Tokens\[Whitelisted Tokens]
Box --> Funding\[Funding Modules]" %}

The parent Vault V2 allocates into Box via an adapter that acts as the feeder. Box shares are held by the adapter, so Vault V2 share holders remain the economic owners of Box positions.

## Governance and decentralization

Box is structured so that risk-critical actions are timelocked and can be vetoed by a guardian. In Steakhouse deployments, the guardian is typically controlled by an Aragon DAO representing Vault V2 share holders, so users can veto queued changes, trigger shutdowns, or recover the system when needed.

{% @mermaid/diagram content="flowchart LR
Shareholders\[Vault V2 Share Holders] --> DAO\[Aragon DAO]
DAO --> Guardian\[Box Guardian]
Curator\[Curator] --> Timelock\[Timelock Queue]
Timelock --> Box\[Box]
Guardian --> Box" %}

## Shutdown and winddown

Shutdown is the core decentralization safeguard. A guardian (typically controlled by the Aragon DAO) can halt new deposits if governance believes allocations or funding activity are unsafe. This immediately freezes new intake while giving share holders time to respond. If the guardian agrees the issue is resolved, they can recover back to normal before winddown begins.

Once the warmup period elapses, Box enters winddown. At that point, anyone can help unwind positions and return the system to the base asset, so withdrawals no longer depend on trusted operators. This makes exit paths permissionless even in stressed conditions.

{% @mermaid/diagram content="stateDiagram-v2
\[*] --> Normal
Normal --> Shutdown: guardian/curator triggers
Shutdown --> Normal: guardian recovers (before warmup)
Shutdown --> Winddown: shutdownWarmup elapsed
Winddown --> \[*]" %}

* **Normal:** allocations and funding activity operate as usual.
* **Shutdown:** deposits halt immediately; guardian can still recover.
* **Winddown:** positions can be unwound permissionlessly to return to the base asset.

## Funding modules

Box can integrate lending protocols through modular funding adapters. Today the supported modules are **Aave v3** and **Morpho Blue**. Only Box-owned, pre-vetted modules are added, and each module is configured to use only whitelisted collateral and debt assets.

## Risk considerations

* **Slippage risk:** swaps are bounded by slippage controls, but market impact can still reduce value.
* **Oracle risk:** token pricing depends on oracles; inaccurate prices can affect allocations.
* **Liquidity risk:** Box redemptions depend on available liquidity or winddown.
* **Governance risk:** timelocks and guardian vetoes reduce risk, but governance still requires active participation.

## Audit and source

* ChainSecurity audit (Dec 2025): [2025-12-16-chainsecurity.pdf](https://github.com/Steakhouse-Financial/box/blob/52ab8b9f20184c5882448df7be31701df1cf6f39/audits/2025-12-16-chainsecurity.pdf)
* Cantina audit (Jan 2026): [2026-01-06-cantina.pdf](https://github.com/Steakhouse-Financial/box/blob/52ab8b9f20184c5882448df7be31701df1cf6f39/audits/2026-01-06-cantina.pdf)

## Technical reference

For implementation details (roles, timelocks, slippage math, and funding module interfaces), see the technical deep dive:

* [Box Vaults: Technical Reference](/docs/products/infrastructure/box-vaults/box-vaults-technical.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://steakhouse.financial/docs/products/infrastructure/box-vaults.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
