> For the complete documentation index, see [llms.txt](https://docs.rome.builders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/vaults.md).

# 金库

将 USDC 存入一个私密金库，其费率由 Rome 在 devnet 上设定并注资。

这些 **USDC 金库** 将 USDC 兑换为其份额代币， **vUSDC**。份额是你可以通过该金库再兑换回 USDC 的代币。你将它们持有在你的 **私有余额** 中，作为称为以下内容的加密记录： **票据**。它们以 USDC 计价的价值按以下速度增长： **每年 2%** 在 Solana devnet 上。这是从金库启动时开始的简单增长，不计复利。Rome 设定此费率，并用 devnet 代币为其支付。该费率并未在链上强制执行，Rome 也可以更改它。devnet 金库不会出借你的资金。其费率遵循已发布的时间表，而不是来自放贷的收益。

## 你的金库余额

金库页面会显示在当前费率下你的份额值多少 USDC。你无需进行交易，你的份额价值也会增长。每份份额会变得更值 USDC；你不会收到单独的付款。

存入会按金库报价将 USDC 兑换为份额。取出会将份额再兑换回 USDC。报价会显示你将兑换的数量。在要求你签名之前，应用会将其与 Rome 服务器发布的费率计划进行核对。

## 存入

连接 Solflare 并 [设置或解锁你的私有账户](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/swaps.md#unlock-and-back-up).

1. 打开 **金库** 并选择 USDC 金库。
2. 在 **存入**，选择 **钱包** 或 **私有余额** 作为来源。
3. 输入不超过 10 USDC 上限的金额。
4. 选择 **存入** 以获取报价。卡片会显示该报价的有效时长。再次选择 **存入** 并在 Solflare 中批准交易。

从钱包发起时，USDC 付款是公开的，而收到的份额是私密的。观察者可以看到你的地址将 USDC 存入了金库。公开付款和已发布的费率使他们能够推算收到的份额。

从私有余额发起时，金额会保持加密。你的地址和金库地址仍然可见。应用可能会先准备一张恰好包含你支付金额的票据，就像进行一次 [私密兑换](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/swaps.md#pay-from-your-private-balance)一样。这可能需要单独的钱包批准。

## 取出

打开 **金库** 并选择 USDC 金库。在 **取出**，输入你想接收的 USDC 金额。应用会计算需要兑换多少私有份额。选择 **取出** 以请求报价并查看报价金额。然后再次选择 **取出** 并在 Solflare 中批准它。与私密兑换一样，应用可能会先准备一张精确金额的票据，这可能需要单独批准。USDC 会到达你的 **私有余额**.

若要将其接收至公开钱包，请继续使用 **转到钱包**。该单独提取会在 Solana 上显示目的地址、代币和金额。

**所有** 会按单次操作上限允许的最大额度选择你的金库余额。超过上限的余额需要多次操作才能提取。

## Devnet 上限与可用性

每次存入的上限为 **10 USDC**。每次取出的上限为 **10 USDC**。这些都是针对单次操作的限制。

每次操作都必须由一张可用票据覆盖，该票据持有金库的资金。如果没有票据覆盖所请求的金额，应用会要求你尝试更小的金额。当金库不可用时，其操作按钮会被禁用。取出取决于 Rome 的金库服务可用，并持有足够的资金来覆盖你的金额。Rome 会为 devnet 金库持续注资。没有其他方式可以将份额兑换回 USDC。

金库交易通过 Rome 的托管程序结算，就像 [兑换](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/swaps.md) 一样。存入可以来自任一来源支付；取出则始终从你的私有余额中消耗份额。Rome 可以看到其报价金额，而 Helius 的托管证明器可以看到证明输入。另请参阅 [什么是私密](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/what-is-private.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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/vaults.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
