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

# Technical Stuff

Ante Vaults is currently deployed on the following chains:

| Chain            | ChainId |
| ---------------- | ------- |
| Ethereum Mainnet | 1       |
| Base Mainnet     | 8453    |

The setup for deploying an Ante Vault is as follows:

1. The vault is a multisig Safe deployed using Safe's Safe Proxy Factory (v1.4.1) and owned by the user.

| Chain   | Safe Proxy Factory                                                        |
| ------- | ------------------------------------------------------------------------- |
| Mainnet | <https://etherscan.io/address/0x4e1dcf7ad4e460cfd30791ccc4f9c8a4f820ec67> |
| Base    | <https://basescan.org/address/0x4e1dcf7ad4e460cfd30791ccc4f9c8a4f820ec67> |

2. The Vault deploys the Main Guardian contract (also a Safe multisig), which is owned by Guardian Proxies.
   1. The Guardian Proxies are 1 of 1 Safe multisigs, each of which is owned by an address set by the Holder.
3. The following modules are employed to give the Ante Vault the functionalities that we're currently using:
   1. Scope Guard\
      <https://github.com/gnosisguild/zodiac-guard-scope/blob/main/contracts/ScopeGuard.sol>\
      Scope Guard sets a permission structure on the Guardians of the Guardian Proxies and restricts the Guardian from removing themselves, or executing arbitrary transactions on the Main Guardian contract. They can only call the Guardian Role module with a specific transaction that initiates the handoff.
   2. Delay\
      <https://github.com/gnosisguild/zodiac-modifier-delay/blob/main/contracts/Delay.sol>\
      Delay is a Safe module that adds a time delay for transactions that are sent. This is used in an Ante Vault for the grace period when a handoff has started, queueing the transaction for the contract. Once the delay is over, it enables the Recovery Role.
   3. Roles\
      <https://github.com/gnosisguild/zodiac-modifier-roles/blob/main/packages/evm/contracts/Roles.sol>
      1. Recovery Role\
         Set on the vault once the delay module has completed, this holds the permissions for token transfers from the Vault. The permissions are given to the Recipient and Guardian proxies. The transaction can only have funds sent to the Recipient by limiting it to a specific signature.
      2. Guardian Manager Role\
         Set on the Main Guardian contract, this allows for the Holder to be able to manage the Main Guardian owners and threshold for voting.
      3. Guardian Role\
         This allows only the Main Guardian contract to submit a transaction to the Delay module, but only after the Dead Man Switch (DMS) contract has allowed it to by passing the check-in period.
   4. Dead Man's Switch (DMS)\
      <https://etherscan.io/address/0xb3EEC2e74F6bEF3Fd7362459eB39BD75C5aBCC52#code>\
      [basescan.org/address/0x89E583A67B5FA1B39b8CE7E77654071c3a34cc48](http://basescan.org/address/0x89E583A67B5FA1B39b8CE7E77654071c3a34cc48)\
      \&#xNAN;**(Coming soon: link to GitHub)**\
      The Dead Man Switch module, written by Ante Labs (`DMS.sol`), handles the check-in intervals for the holder of the Vault. The holder has to execute a transaction every X timeframe in order to signal liveliness. If there is no check in before the check in interval passes, then the holder is considered unable to access their wallet, and Guardian is allowed to submit a transaction to start the handoff.


---

# 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.ante.org/technical-stuff.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.
