# Core - Routers

## Dolomite Margin - Core

[![GitHub](https://img.shields.io/badge/GitHub-dolomite--exchange%2Fdolomite--margin-lightgrey)](https://github.com/dolomite-exchange/dolomite-margin-modules)

The `Core` router contracts are officially deployed to the following networks (and can be modified via call to Dolomite Margin from the owner):

### **Arbitrum One**

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://arbiscan.io/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://arbiscan.io/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://arbiscan.io/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### **Base**

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://basescan.org/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://basescan.org/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://basescan.org/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### Berachain

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://berascan.com/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://berascan.com/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://berascan.com/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### Botanix

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://botanixscan.io/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://botanixscan.io/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://botanixscan.io/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### **Ethereum Mainnet**

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://etherscan.io/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://etherscan.io/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://etherscan.io/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### **Ink**

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://explorer.inkonchain.com/address/0xF579b345cdA0860668b857De10ABD62442133D0F">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://explorer.inkonchain.com/address/0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://explorer.inkonchain.com/address/0x7b61CbA306CfdB02493b94757143132B1b72Bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### **Mantle**

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://mantlescan.xyz/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://mantlescan.xyz/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://mantlescan.xyz/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### Polygon zkEVM

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://zkevm.polygonscan.com/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://zkevm.polygonscan.com/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://zkevm.polygonscan.com/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### Super Seed

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://explorer.superseed.xyz/address/0xF579b345cdA0860668b857De10ABD62442133D0F?tab=txs">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://explorer.superseed.xyz/address/0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://explorer.superseed.xyz/address/0x7b61CbA306CfdB02493b94757143132B1b72Bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>

### X Layer

<table><thead><tr><th width="327.3333333333333">Contract Name</th><th>Address</th></tr></thead><tbody><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/BorrowPositionRouter.sol">BorrowPositionRouter</a></td><td><a href="https://www.oklink.com/x-layer/address/0xf579b345cda0860668b857de10abd62442133d0f">0xF579b345cdA0860668b857De10ABD62442133D0F</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/DepositWithdrawalRouter.sol">DepositWithdrawalRouter</a></td><td><a href="https://www.oklink.com/x-layer/address/0xf8b2c637a68cf6a17b1df9f8992eebeff63d2dff">0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf</a></td></tr><tr><td><a href="https://github.com/dolomite-exchange/dolomite-margin-modules/blob/master/packages/base/contracts/routers/GenericTraderRouter.sol">GenericTraderRouter</a></td><td><a href="https://www.oklink.com/x-layer/address/0x7b61cba306cfdb02493b94757143132b1b72bc6b">0x7b61CbA306CfdB02493b94757143132B1b72Bc6b</a></td></tr></tbody></table>


---

# Agent Instructions: 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.dolomite.io/smart-contract-addresses/core-routers.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.
