> For the complete documentation index, see [llms.txt](https://steakhouse.financial/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://steakhouse.financial/docs/products/zh/infrastructure/box-vaults.md).

# Box 金库

Box Vaults 是 Steakhouse Financial 的 ERC-4626 子金库架构，用于在白名单策略和资金模块之间进行模块化、非托管的资本分配。每个 Box 金库通过适配器连接到父级 Morpho Vault V2，借助带时间锁的管理员操作和 Aragon DAO 守护者否决权来执行风险控制，并包含结构化的关闭与收尾机制。资金模块目前支持 Aave v3 和 Morpho Blue。Box 智能合约已通过 ChainSecurity 和 Cantina 的审计。

## 概述

* 持有单一基础资产（例如 USDC），并发行 ERC-4626 份额。
* 分配到白名单中的 ERC-20 代币和已批准的借贷模块。
* 使用时间锁、守护者否决权和关闭控制来保护用户。
* 在收尾期间支持无需许可的清算操作。

## 架构

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

父级 Vault V2 通过一个充当喂入端的适配器分配到 Box。Box 份额由该适配器持有，因此 Vault V2 份额持有人仍然是 Box 持仓的经济所有者。

## 治理与去中心化

Box 的结构设计使风险关键操作带有时间锁，并可被守护者否决。在 Steakhouse 部署中，守护者通常由代表 Vault V2 份额持有人的 Aragon DAO 控制，因此用户可以否决排队中的变更、触发关闭，或在需要时恢复系统。

{% @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" %}

## 关闭与收尾

关闭是核心的去中心化保障。守护者（通常由 Aragon DAO 控制）可以在治理认为分配或资金活动不安全时停止新的存款。这会立即冻结新的资金流入，同时给份额持有人时间作出反应。如果守护者认为问题已解决，则可以在收尾开始前恢复到正常状态。

一旦预热期结束，Box 进入收尾阶段。此时，任何人都可以帮助清算仓位并将系统返回到基础资产，因此提现不再依赖受信任的操作员。即使在压力条件下，这也使退出路径保持无需许可。

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

* **正常：** 分配和资金活动照常运行。
* **关闭：** 存款立即停止；守护者仍可恢复。
* **收尾：** 仓位可以无需许可地被清算，以返回基础资产。

## 资金模块

Box 可以通过模块化资金适配器集成借贷协议。当前支持的模块有 **Aave v3** 和 **Morpho Blue**。仅添加由 Box 拥有、预先审查过的模块，并且每个模块都配置为只使用白名单中的抵押品和债务资产。

## 风险考量

* **滑点风险：** 交换受滑点控制约束，但市场影响仍可能降低价值。
* **预言机风险：** 代币定价依赖预言机；不准确的价格可能影响分配。
* **流动性风险：** Box 的赎回取决于可用流动性或收尾。
* **治理风险：** 时间锁和守护者否决权可降低风险，但治理仍需要积极参与。

## 审计与源码

* ChainSecurity 审计（2025 年 12 月）： [2025-12-16-chainsecurity.pdf](https://github.com/Steakhouse-Financial/box/blob/52ab8b9f20184c5882448df7be31701df1cf6f39/audits/2025-12-16-chainsecurity.pdf)
* Cantina 审计（2026 年 1 月）： [2026-01-06-cantina.pdf](https://github.com/Steakhouse-Financial/box/blob/52ab8b9f20184c5882448df7be31701df1cf6f39/audits/2026-01-06-cantina.pdf)

## 技术参考

关于实现细节（角色、时间锁、滑点计算以及资金模块接口），请参阅技术深度解析：

* [Box Vaults：技术参考](/docs/products/zh/infrastructure/box-vaults/box-vaults-technical.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
