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

# Contracts

These contracts are deployed on ValueChain. External bridge contracts are on the named source networks, not on ValueChain.

`SoDexTokenQuery` exposes configuration; it is not a deposit destination. Use [Sponsored Withdrawal](/documentation/for-developers/api-reference/mirror-api/sponsored-withdrawal.md) for permit encoding and signing against `SoDexTokenCallForPermit` and `SoDexTokenWithdrawer`.

## Core contracts

| Contract                | Mainnet                                      |
| ----------------------- | -------------------------------------------- |
| SoDexTokenPortal        | `0x07E28Aa1BB34A625c94870476b24213AB4d2E7C8` |
| SoDexTokenCustody       | `0xB37295d1ea21E65b76dCB2E85e035eE0dBFC70CB` |
| SoDexTokenWithdrawer    | `0x441BDb33C7d6DC49f627a42c3d71671D50DC2e94` |
| SoDexTokenCaller        | `0x478FeC6b6EAD70D0e03BEeBa15027Aa6D51180Ab` |
| SoDexTokenOracle        | `0x5ff862b9c4Cd81AfbED068062C156E6C7289E4A5` |
| SoDexTokenCallForPermit | `0x890B7D142841065E64E5f94a455876e6352A7801` |
| SoDexTokenQuery         | `0xFcacAac4cD08F6664b1ddE698c9d5d29C3675E70` |

## Token bridge contracts

These contracts are on the named external networks. Supported directions vary by asset even when routes share a bridge contract. Check `allowDeposit` and `allowWithdraw` in [Asset Configuration](/documentation/for-developers/api-reference/mirror-api/asset-configuration.md) before using a route.

### Base (`BASE_ETH`, chain ID 8453)

| Contract       | Address                                      |
| -------------- | -------------------------------------------- |
| bridge         | `0xCC7322A2f9f82251dA51584B1a89915dBc02185B` |
| accountFactory | `0xe5C7bbeEFb207BaA5BddbbDf14eb846D0a11223f` |
| bridgeQuery    | `0x6227C1A1108AcC2D278982d5516F01d2d4c5Fc89` |

### Ethereum (`ETH`, chain ID 1)

| Contract       | Address                                      |
| -------------- | -------------------------------------------- |
| bridge         | `0xCC7322A2f9f82251dA51584B1a89915dBc02185B` |
| accountFactory | `0xe5C7bbeEFb207BaA5BddbbDf14eb846D0a11223f` |
| bridgeQuery    | `0x6227C1A1108AcC2D278982d5516F01d2d4c5Fc89` |

## SoDEX Vault

These contracts are deployed on ValueChain.

| Contract        | Mainnet                                      |
| --------------- | -------------------------------------------- |
| strategyFactory | `0x507fCA0D4A62fccc705a34420B86B7F733c03d1d` |
| vaultFactory    | `0x047Da5E77Ca07aA4E1D1e1651f047F49a96Fc7b6` |
| vsMAG7.SLP      | `0x368788EFa75Ee0BC3ce8B4D1a920197Af2e30876` |
