> For the complete documentation index, see [llms.txt](https://docs.solv.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solv.finance/onchain-security/solv-guard.md).

# Solv Guard

Solv Guard is an intermediary layer that adding an extra security mechanism on top of smart contracts. It can be customized for individual trading strategies and asset pools, allowing tailored permission controls and restrictions for asset managers.

## Mechanism

Solv Guard is built on top of the Smart Contract Wallet “Safe”, which inherently has multi-signature capabilities. Solv Guard’s key role is to constrain the multi-sig functionality of Safe within a specified scope.

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

Solv Guard configures a Vault Guardian for each Vault, specifying the target address and permissions for that target address. The Safe and Solv Guard then work together to verify the validity of any transaction.

<figure><img src="/files/1oU7xuFzlWrsbVS6hOd5" alt=""><figcaption></figcaption></figure>

As shown in the diagram, three key elements need to be configured for the Vault’s permissions:

* Specifying the allowed contracts
* Defining the allowed function operations
* Specifying if the contract functions require ACL verification.

<figure><img src="/files/8aqisdWJ1IWs6ggpw8bq" alt=""><figcaption></figcaption></figure>

Using Uniswap as an example, if an asset manager wants to perform market-making on Uniswap, Solv Guard should configure:

1. Restrictions on who has the authority to invest and redeem the funds.
2. Restrictions on the smart contract addresses where funds can be sent, allowing only the specific Uniswap contract address(es) for liquidity provision.
3. Permitted LP pool contracts and authorized token addresses (e.g., ETH, USDT) for providing liquidity, while preventing interaction with other tokens.

The asset manager could also invest the funds in other assets like U.S. Treasuries or use them for contract trading. Solv Guard already supports authorization integrations with protocols like Uniswap V3, GMX V2, Compound, Lido, Ethena, PancakeSwap, and more.

## Governance Mechanism

To ensure security and upgradeability, Solv Guard has a governance mechanism separated from the operation mechanism. The Solv Vault Guardian is responsible for execution, while the Governor controls governance powers, which can be managed by the community and asset managers. This includes features like Time Lock to ensure user transparency and choice.

The Governor has broad powers, including upgrading the Guardian, adding or removing authorizations, managing native token transfers and whitelisted addresses, transferring Governor powers, and permanently disabling the governance rights.

The benefit of this approach is that even if there are issues with the Guardian, the Governor can still take timely remedial measures to maximize the protection of user assets.

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


---

# 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:

```
GET https://docs.solv.finance/onchain-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.
