> For the complete documentation index, see [llms.txt](https://autopilot-5.gitbook.io/autopilot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://autopilot-5.gitbook.io/autopilot/protocol/editor.md).

# Smart Contracts

### **Contracts on Base**

The following contracts make up the core infrastructure of Autopilot on **Base**. Together, they manage deposited locks, convert and distribute rewards, enforce deposit rules, and provide utility functions for the protocol’s automation layer.

**PermanentLocksPoolV1**\
`0xA7c68a960bA0F6726C4b7446004FE64969E2b4d4` 0xea0c988fe9455ac4854b7c1f895b2e7e431d4d1d\
Core contract that stores and manages deposited locks.

**SwapperV3**\
`0x9e8c653f9dda646c40cb81c0f24da8b0dd717970`\
Handles conversion of voting rewards into a single rewards token (USDC). Also processes protocol fees and referral rewards.

**DepositValidatorV1**\
`0xFB8E3eD6757b4CbD1ACdC28aB593b9a34717c071`\
Validates and restricts lock deposits based on specific criteria.

**Utils**\
`0x65D0DFc8D26D4741779bB606255720af8227F58C`\
Utility functions used by Autopilot bots.

**RewardsVault**\
`0x3D82030ed7E8A8DBEadBefE1dBCE38346727b990`\
Holds and distributes user rewards.

***

#### **Contracts on Optimism**

The following contracts make up the core infrastructure of **Autopilot on Velodrome (Optimism)**.\
Together, they manage deposited **veVELO locks**, automate voting and reward conversion, enforce deposit validation, and support the protocol’s multichain automation layer.

**PermanentLocksPoolV2 (Velodrome Edition)**\
`0x7291413170AF78A5Ae764d679efd335667AC4BC2`\
Core contract that stores and manages deposited **veVELO locks** and associated voting power.

**Swapper**\
`0x939AA860547cc68a1369aC7B5B0Af3e4625bE3Ca`\
Handles conversion of Velodrome voting rewards into **USDC**, while also processing **protocol fees** and **referral rewards**.

**DepositValidator**\
`0xfD8C38628dF8Ad79546DE36f88b97920bE629943`\
Validates and restricts **veVELO deposits** based on eligibility criteria such as minimum deposit amount and lock duration.

**Utils**\
`0x0f75e39f326f37889503aDb862D439Da19F5Ca3a`\
Provides utility functions used by Autopilot’s on-chain automation bots for execution and synchronization.

**RewardsVault**\
`0x33176a77A2feA0064B67266214c99dF65cDa7123`\
Holds and distributes **USDC rewards** to users in a transparent, on-chain manner.


---

# 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://autopilot-5.gitbook.io/autopilot/protocol/editor.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.
