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

# Contract Addresses

Below is the DerpDEX contract deployed on zkSync Era, Base and opBNB that responsible for deploying and managing the creation of new instances of trading pairs or liquidity pools.

### **Core**

<table data-full-width="false"><thead><tr><th width="186">Contract</th><th>Factory</th></tr></thead><tbody><tr><td><code>zkSync</code></td><td><a href="https://explorer.zksync.io/address/0x52A1865eb6903BC777A02Ae93159105015CA1517"><code>0x52A1865eb6903BC777A02Ae93159105015CA1517</code></a></td></tr><tr><td><code>Base</code></td><td><a href="https://basescan.org/address/0xedDef4273518b137CDbcB3a7FA1C6a688303dFe2"><code>0xedDef4273518b137CDbcB3a7FA1C6a688303dFe2</code></a></td></tr><tr><td>opBNB</td><td><a href="https://opbnbscan.com/address/0xb91331Ea9539ee881e3A45191076c454E482dAc7?p=1&#x26;tab=Contract"><code>0xb91331Ea9539ee881e3A45191076c454E482dAc7</code></a></td></tr></tbody></table>

### **Periphery**

Periphery contracts extends the capabilities of the main contract. It provide functionalities that enhance user experience, enable specific use cases, and improve the overall utility of the smart contract system. By understanding and effectively utilizing periphery contracts, developers can create more robust and versatile smart contract applications.

#### zkSync

<table><thead><tr><th width="254">Contract</th><th>Mainnet</th></tr></thead><tbody><tr><td><code>SwapRouter</code></td><td><a href="https://explorer.zksync.io/address/0x3de80D2d9dCa6F6357C77EF89ee1f7Db3Bba3c3f"><code>0x3de80D2d9dCa6F6357C77EF89ee1f7Db3Bba3c3f</code></a></td></tr><tr><td><code>PositionManager</code></td><td><a href="https://explorer.zksync.io/address/0x7F4cB0666B700dF62E7fD0aB30e7C354Aa0A1890"><code>0x7F4cB0666B700dF62E7fD0aB30e7C354Aa0A1890</code></a></td></tr><tr><td><code>NFTDescriptor</code></td><td><a href="https://explorer.zksync.io/address/0xA1E4b0a4FcF829d725F0267840eeB0ce18749BF5"><code>0xA1E4b0a4FcF829d725F0267840eeB0ce18749BF5</code></a></td></tr><tr><td><code>TickLens</code></td><td><a href="https://explorer.zksync.io/address/0xc5A4875617A4935f2f063B050b66925DDd1FB2C0"><code>0xc5A4875617A4935f2f063B050b66925DDd1FB2C0</code></a></td></tr><tr><td><code>QuoterV2</code></td><td><a href="https://explorer.zksync.io/address/0x48237655EFC513a79409882643eC987591dd6a81"><code>0x48237655EFC513a79409882643eC987591dd6a81</code></a></td></tr><tr><td><code>V3Migrator</code></td><td><a href="https://explorer.zksync.io/address/0xb1ef06BCC2A8F63597d5779c00D72b2ae4bb592C"><code>0xb1ef06BCC2A8F63597d5779c00D72b2ae4bb592C</code></a></td></tr><tr><td><code>nftDescriptorLibrary</code></td><td><a href="https://explorer.zksync.io/address/0x69B41D94DA0a3415dAb6b80d3Bb501BE5bafb03A"><code>0x69B41D94DA0a3415dAb6b80d3Bb501BE5bafb03A</code></a></td></tr></tbody></table>

#### Base Chain

<table data-full-width="false"><thead><tr><th width="236">Contract</th><th>Mainnet</th></tr></thead><tbody><tr><td><code>NonfungiblePositionManager</code></td><td><a href="https://basescan.org/address/0xAb20a869E43b7Fe99b7aA785a70A0F454e28E6c2"><code>0xAb20a869E43b7Fe99b7aA785a70A0F454e28E6c2</code></a></td></tr><tr><td><code>PositionDescriptor</code></td><td><a href="https://basescan.org/address/0xf15351918733F1B0EB0ec6b0Ee8073dCa28480c8"><code>0xf15351918733F1B0EB0ec6b0Ee8073dCa28480c8</code></a></td></tr><tr><td><code>SwapRouter</code></td><td><a href="https://basescan.org/address/0xC9fdf5CE4C657ed8289A7D9D1107Ea7D55dbd53F"><code>0xC9fdf5CE4C657ed8289A7D9D1107Ea7D55dbd53F</code></a></td></tr><tr><td><code>TickLens</code></td><td><a href="https://basescan.org/address/0x7eEF21C85CaD7aF0DAb712568bdB862349D3DDe3"><code>0x7eEF21C85CaD7aF0DAb712568bdB862349D3DDe3</code></a></td></tr><tr><td><code>QuoterV2</code></td><td><a href="https://basescan.org/address/0x777Dc769bb69F3fd12846a928193765847F234Af"><code>0x777Dc769bb69F3fd12846a928193765847F234Af</code></a></td></tr><tr><td><code>UniversalRouter</code></td><td><a href="https://basescan.org/address/0xd068aa2be5f7605abbfc766aa870bdaa430e6d4c"><code>0xd068aa2be5f7605abbfc766aa870bdaa430e6d4c</code></a></td></tr></tbody></table>

#### opBNB

<table data-full-width="false"><thead><tr><th width="236">Contract</th><th>Mainnet</th></tr></thead><tbody><tr><td><code>NonfungiblePositionManager</code></td><td><a href="https://opbnbscan.com/address/0x777Dc769bb69F3fd12846a928193765847F234Af"><code>0x777Dc769bb69F3fd12846a928193765847F234Af</code></a></td></tr><tr><td><code>PositionDescriptor</code></td><td><a href="https://opbnbscan.com/address/0x7eEF21C85CaD7aF0DAb712568bdB862349D3DDe3"><code>0x7eEF21C85CaD7aF0DAb712568bdB862349D3DDe3</code></a></td></tr><tr><td><code>SwapRouter</code></td><td><a href="https://opbnbscan.com/address/0xe36ABD2f6512fE90b7c9Ed920565bCCE7E86eE0d"><code>0xe36ABD2f6512fE90b7c9Ed920565bCCE7E86eE0d</code></a></td></tr><tr><td><code>TickLens</code></td><td><a href="https://opbnbscan.com/address/0xDDC120d43f79F5F47316916834DF814ed4989F97"><code>0xDDC120d43f79F5F47316916834DF814ed4989F97</code></a></td></tr><tr><td><code>QuoterV2</code></td><td><a href="https://opbnbscan.com/address/0xd068aA2be5F7605ABbFC766AA870bDAa430E6d4C"><code>0xd068aA2be5F7605ABbFC766AA870bDAa430E6d4C</code></a></td></tr><tr><td><code>UniversalRouter</code></td><td><a href="https://opbnbscan.com/address/0x21D85aF6eb573ec3a08017A0c0515a8d70DafF4D"><code>0x21D85aF6eb573ec3a08017A0c0515a8d70DafF4D</code></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, and the optional `goal` query parameter:

```
GET https://derpdex.gitbook.io/home/contracts/contract-addresses.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
