> 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.
