> 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/bloom/compliance.md).

# 合规模型

Bloom 在未修改的情况下运行 Plume 的 Arc 框架。合规性由 **代币合约本身强制执行** ——而不是由任何链下审核、排序器过滤器或场所政策来执行。这正是它可移植性的原因：规则会随代币一起传递到任何执行路径，并在两条钱包通道中生效。

## 执行架构

```
ArcToken._update（每次转账/铸造/销毁）
   └─ RestrictionsRouter（每条链一个，模块类型注册表）
        ├─ TRANSFER_RESTRICTION → WhitelistRestrictions（每个代币）
        ├─ YIELD_RESTRICTION    → YieldBlacklistRestrictions（每个代币）
        └─ GLOBAL_SANCTIONS     →（槽位已存在；尚未部署全局模块）
```

* **WhitelistRestrictions** ——白名单。只要 `transfersAllowed` 为 false（受限模式）时，任一方不在名单上的转账将以具类型错误 `TransferRestricted()` (`0xe827105e`）。该检查在代币内部对每一次余额变动都会运行——EVM 钱包转账、Solana 签名转账、店面销售以及初始流动性迁移都通过同一道门禁。除发行方自身的管理权限外，没有任何绕行路径。
* **YieldBlacklistRestrictions** ——将地址排除在收益分配之外；其按比例应得份额会保留在代币合约中。
* **GLOBAL\_SANCTIONS** ——路由器支持适用于每个代币的全链模块（例如制裁名单）。目前尚未部署任何此类模块；该槽位自然适合作为链级运维的部署位置。

## 诚实表述的信任模型

**白名单标志是发行方的链下决策。** KYC/AML 发生在发行方的流程中（其供应商、其规则）；链上仅记录并强制执行 *结果* — `isWhitelisted(addr)`. [入驻与审核](https://docs.rome.builders/zh/rome-shang-de-ying-yong/bloom.md) 是围绕该决策的机制——投资者如何申请、发行方如何决定，以及它留下的审计轨迹——但它不会改变这一模型：仍然由发行方拍板，链上仍然只是一个布尔值，并且任何地方都没有文档。这就是 Plume 上采用的 Arc 框架自身模型。它是有意 *不* 一种链上身份系统：没有身份声明，没有链上证明，也没有关于某个地址属于谁的加密证明。承载可验证链上身份的标准（例如 ERC-3643）为了这一特性而付出明显更重的转账成本；Arc 则以更轻量的机制换取由发行方持有的信任。Bloom 诚实地呈现这一点，而不是暗示更多。

## 发行方权限（类似转让代理）

`ArcToken.initialize` 将向导驱动器授予所有角色：

| 角色                                              | 权限                                    |
| ----------------------------------------------- | ------------------------------------- |
| `ADMIN_ROLE` / `DEFAULT_ADMIN_ROLE`             | 链接/替换限制模块，管理角色                        |
| `MINTER_ROLE` / `BURNER_ROLE`                   | 供应管理                                  |
| `YIELD_MANAGER_ROLE` / `YIELD_DISTRIBUTOR_ROLE` | 设置收益代币，执行分配                           |
| `UPGRADER_ROLE`                                 | 通过 UUPS 升级代币（由发行方持有；若需通过工厂中介升级，则授予工厂） |
| 白名单模块 `WHITELIST_ADMIN_ROLE`                    | 添加/移除地址，切换受限模式                        |

值得注意的后果： **丢失的投资者钱包** 只能通过发行方操作找回（将替代地址加入白名单，并在需要时依据其法律流程使用铸造/销毁/升级权限——Arc 没有内置的强制转移原语）。因此，发行方的密钥保管是合规姿态的一部分；应用的角色查看器会让每项权限的持有人清晰可见。

## Rome 带来了什么——以及 registerToken 保留了什么

Solana 钱包用户会显示为 **合成 EVM 地址** （由其 Solana 公钥派生）。对合规层而言，它们就是普通地址：发行方将其加入白名单，门禁对其进行检查，收益也会到达它们——同一份白名单横跨两种钱包世界。托管影响见 [LANES.md](https://docs.rome.builders/zh/rome-shang-de-ying-yong/bloom/lanes.md).

由于 Rome 对每笔交易中的账户数量设限，代币会分批部署，并通过 `ArcTokenFactoryV2.registerToken` 来获得工厂状态，而不是一次性 `createToken`。这些保护措施完整保留了上游安全模型：代币必须是规范代理（codehash），其实现必须在工厂白名单中（codehash），调用者必须持有该代币的 `ADMIN_ROLE`，且注册仅能进行一次。分批路径不会削弱合规面的任何内容。


---

# 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/bloom/compliance.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.
