> For the complete documentation index, see [llms.txt](https://docs.enoxswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enoxswap.com/developers/contracts.md). Agents can also search and read this documentation through its [MCP server](https://docs.enoxswap.com/~gitbook/mcp).

# Contracts

{% hint style="warning" %}
**Verify before you approve.** Compare any address you see in a wallet prompt with the table below. Open the contract on the block explorer and confirm the source code is **verified**.
{% endhint %}

## EnoxSwap (aggregator)

The same address is used on all four networks.

| Network      | Chain ID | Address                                      |
| ------------ | -------- | -------------------------------------------- |
| BNB Chain    | 56       | `0x696875C8E273b97573fA59a9F5f508BA2F28553a` |
| Base         | 8453     | `0x696875C8E273b97573fA59a9F5f508BA2F28553a` |
| Polygon      | 137      | `0x696875C8E273b97573fA59a9F5f508BA2F28553a` |
| Arbitrum One | 42161    | `0x696875C8E273b97573fA59a9F5f508BA2F28553a` |

## PaymentRouter (Pay and Donate)

| Network      | Chain ID | Address                                      |
| ------------ | -------- | -------------------------------------------- |
| BNB Chain    | 56       | `0x73b3842968d449b7759e02841aD68ca5C05b175f` |
| Base         | 8453     | `0xB228b16cD308B7cd1F8215145b8ff2fB58A3AC63` |
| Polygon      | 137      | `0xB228b16cD308B7cd1F8215145b8ff2fB58A3AC63` |
| Arbitrum One | 42161    | `0xB228b16cD308B7cd1F8215145b8ff2fB58A3AC63` |

The PaymentRouter is a separate contract that calls EnoxSwap exactly like any other dApp would. It does not modify EnoxSwap.

## Block explorers

| Network      | Explorer                  |
| ------------ | ------------------------- |
| BNB Chain    | <https://bscscan.com>     |
| Base         | <https://basescan.org>    |
| Polygon      | <https://polygonscan.com> |
| Arbitrum One | <https://arbiscan.io>     |

## Source code and ABI

Solidity sources: `EnoxSwap.sol` (Solidity ^0.8.19, MIT) and `PaymentRouter.sol` (Solidity ^0.8.0, MIT). ABIs are published alongside the sources as `EnoxSwap.abi.json` and `PaymentRouter.abi.json`.

{% hint style="info" %}
Every contract should have a green **Contract Source Code Verified** check on its explorer page, and the source there should match the repository. If it does not, do not use it.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.enoxswap.com/developers/contracts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
