# Solv Guard

Solv Guard是位于底层资产和用户资产之间的中间层，在智能合约之上添加了额外的安全机制。它可以针对个人交易策略和资产池进行定制，从而为资产管理者提供量身定制的权限控制和限制。

### 运行机制

Solv Guard构建在智能合约钱包“[Safe](https://safe.global/)”之上，该钱包本质上具有多重签名功能。 Solv Guard的关键作用是将Safe的多重签名功能限制在特定范围内。

<figure><img src="/files/KWOD6fiK7kThSFIl3Y5l" alt=""><figcaption></figcaption></figure>

Solv Guard为每个资产金库配置一个Vault Guardian，指定目标地址以及该目标地址的权限。然后，Safe和Solv Guard共同验证任何交易的有效性。

<figure><img src="/files/kTxfhg44EdVlqTjcOlku" alt=""><figcaption></figcaption></figure>

如图所示，金库的权限需要配置三个关键要素：

* 指定允许的合同
* 定义允许的函数操作
* 指定合约函数是否需要ACL验证

<figure><img src="/files/rXaMJqCvHnmRFrAKvrCu" alt=""><figcaption></figcaption></figure>

以Uniswap为例，如果资产管理机构想要在Uniswap上做市，Solv Guard需要配置：

1. 对有权投入和赎回资金的对象进行白名单限制。
2. 对可以发送资金的智能合约地址进行限制，仅允许特定的Uniswap合约地址提供流动性。
3. 白名单LP池合约和授权代币地址 (例如 ETH、USDT) 用于提供流动性，同时防止与其他代币交互。

资产管理人还可以将资金投资于美国国债等其他资产或将其用于合约交易。 Solv Guard已经支持与 Uniswap V3、GMX V2、Compound、Lido、Ethena、PancakeSwap等协议的授权集成。

### 治理机制

为了保证安全性和可升级性，Solv Guard采用与运行机制分离的治理机制。 Solv Vault Guardian负责执行，Governor掌握治理权，可由社区和资产管理者管理。这包括时间锁等功能，以确保用户透明度和选择权。

Governor拥有广泛的权力，包括升级Guardian、添加或删除授权、管理原生代币转移和白名单地址、转移治理权限以及永久禁用治理权。

这种做法的好处是，即使Guardian出现问题，Governor仍然可以及时采取补救措施，最大限度地保护用户资产。

<figure><img src="/files/aqM05q0I3R7yRls85Vfu" alt=""><figcaption></figcaption></figure>


---

# 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://www.docszh.com/solv-docs/security/solv-guard.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.
