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

# Deployed Contracts

### KWENTA:

{% hint style="success" %}
Optimism token address: [0x920Cf626a271321C151D027030D5d08aF699456b](https://optimistic.etherscan.io/address/0x920Cf626a271321C151D027030D5d08aF699456b)
{% endhint %}

### Base Mainnet:

<table><thead><tr><th width="224">Contract</th><th>Address</th></tr></thead><tbody><tr><td>Smart Margin v3 Engine</td><td><a href="https://basescan.org/address/0xD1F129e0cDd3Cc5c65ea00041623841C3d709F83">0xD1F129e0cDd3Cc5c65ea00041623841C3d709F83</a></td></tr><tr><td>Smart Margin v3 Engine Proxy</td><td><a href="https://basescan.org/address/0xe331a7eeC851Ba702aA8BF43070a178451d6D28E">0xe331a7eeC851Ba702aA8BF43070a178451d6D28E</a></td></tr></tbody></table>

### Base Sepolia Testnet:

<table><thead><tr><th width="224">Contract</th><th>Address</th></tr></thead><tbody><tr><td>Smart Margin v3 Engine</td><td><a href="https://sepolia.basescan.org/address/0x33B725a1B2dE9178121D423D2A1c062C5452f310">0x33B725a1B2dE9178121D423D2A1c062C5452f310</a></td></tr><tr><td>Smart Margin v3 Engine Proxy</td><td><a href="https://sepolia.basescan.org/address/0xe5bB889B1f0B6B4B7384Bd19cbb37adBDDa941a6">0xe5bB889B1f0B6B4B7384Bd19cbb37adBDDa941a6</a></td></tr></tbody></table>

### Optimism Mainnet:

#### Smart Margin v2.1.0 (latest):

<table><thead><tr><th width="224">Contract</th><th>Address</th></tr></thead><tbody><tr><td>Smart Margin Account Factory</td><td><a href="https://optimistic.etherscan.io/address/0x8234F990b149Ae59416dc260305E565e5DAfEb54">0x8234F990b149Ae59416dc260305E565e5DAfEb54</a></td></tr><tr><td>Smart Margin Account Implementation</td><td><a href="https://optimistic.etherscan.io/address/0x83E13069aA457778ca349E0128927B417A2c2B3f#code">0x83E13069aA457778ca349E0128927B417A2c2B3f</a></td></tr><tr><td>Smart Margin Events</td><td><a href="https://optimistic.etherscan.io/address/0xB753d2EE5dcA1fF39A83CA3Ec500656c31Be940b">0xB753d2EE5dcA1fF39A83CA3Ec500656c31Be940b</a></td></tr><tr><td>Smart Margin Settings</td><td><a href="https://optimistic.etherscan.io/address/0x865dA103d126b3Be3599D84caB57109A861F5631#code">0x865dA103d126b3Be3599D84caB57109A861F5631</a></td></tr></tbody></table>

#### Token:

<table><thead><tr><th width="300">Contract</th><th width="546">Address</th></tr></thead><tbody><tr><td>SupplySchedule</td><td><a href="https://optimistic.etherscan.io/address/0x3e8b82326Ff5f2f10da8CEa117bD44343ccb9c26">0x3e8b82326Ff5f2f10da8CEa117bD44343ccb9c26</a></td></tr><tr><td>RewardEscrow v1</td><td><a href="https://optimistic.etherscan.io/address/0x1066A8eB3d90Af0Ad3F89839b974658577e75BE2">0x1066A8eB3d90Af0Ad3F89839b974658577e75BE2</a></td></tr><tr><td>StakingRewards v1</td><td><a href="https://optimistic.etherscan.io/address/0x6e56a5d49f775ba08041e28030bc7826b13489e0">0x6e56a5d49f775ba08041e28030bc7826b13489e0</a></td></tr><tr><td>vKwentaRedeemer</td><td><a href="https://optimistic.etherscan.io/address/0x8132EE584bCD6f8Eb1bea141DB7a7AC1E72917b9">0x8132EE584bCD6f8Eb1bea141DB7a7AC1E72917b9</a></td></tr><tr><td>Multiple Merkle Distributor</td><td><a href="https://optimistic.etherscan.io/address/0x2787cc20e5ecb4bf1bfb79eae284201027683179">0x2787cc20e5ecb4bf1bfb79eae284201027683179</a></td></tr><tr><td>Staking Rewards Notifier</td><td>0x03f6dC6e616AB3a367a1F2C26B8Bc146f632b451</td></tr><tr><td>RewardEscrowV2 Proxy</td><td>0xb2a20fCdc506a685122847b21E34536359E94C56</td></tr><tr><td>StakingRewardsV2 Proxy</td><td>0x61294940CE7cD1BDA10e349adC5B538B722CeB88</td></tr><tr><td>EscrowMigrator Proxy</td><td>0xC9aF789Ae606F69cF8Ed073A04eC92f2354b027d</td></tr><tr><td>RewardEscrowV2</td><td>0x15725a8159629ca9763deC4211e309c94d9f5CB0</td></tr><tr><td>StakingRewardsV2 </td><td>0x626e666c95f4a31439A9cA2d5ef757EA3d72A2fd</td></tr><tr><td>EscrowMigrator</td><td>0x10B04483d762Bd4F193F35600112ad52391004A7</td></tr></tbody></table>

#### Swaps:

<table><thead><tr><th width="224">Contract</th><th>Address</th></tr></thead><tbody><tr><td>SynthSwap (Swaps)</td><td><a href="https://optimistic.etherscan.io/address/0x6d6273f52b0C8eaB388141393c1e8cfDB3311De6">0x6d6273f52b0C8eaB388141393c1e8cfDB3311De6</a></td></tr></tbody></table>

### Optimism Görli Testnet:

#### Smart Margin v2.1.0 (latest):

<table><thead><tr><th width="224">Contract</th><th>Address</th></tr></thead><tbody><tr><td>Smart Margin Account Factory</td><td><a href="https://goerli-optimism.etherscan.io/address/0x30582eeE34719fe22b1B6c3b607636A3ab94522E">0x30582eeE34719fe22b1B6c3b607636A3ab94522E</a></td></tr><tr><td>Smart Margin Account Implementation</td><td><a href="https://goerli-optimism.etherscan.io/address/0x0fcef9608b9f7a8c57d53b98e78fa64b4d786a9f#contracts">0x0fCeF9608B9F7a8C57D53B98E78fA64b4D786a9F</a></td></tr><tr><td>Smart Margin Events</td><td><a href="https://goerli-optimism.etherscan.io/address/0xe32F27B27F4ea5f10f269b52223910bA83e2933C#code">0xe32F27B27F4ea5f10f269b52223910bA83e2933C</a></td></tr><tr><td>Smart Margin Settings</td><td><a href="https://goerli-optimism.etherscan.io/address/0x8B9CbD3da94c637c0652c680Abd3CF7f787aBAF4#code">0x8B9CbD3da94c637c0652c680Abd3CF7f787aBAF4</a></td></tr></tbody></table>


---

# 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.kwenta.io/developers/deployed-contracts.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.
