# 4. Smart Contracts

SwapMOS operates through a set of decentralized smart contracts deployed on the **ClubMOS Blockchain**. These contracts power token swaps, liquidity pools, and protocol-level operations in a transparent and non-custodial manner.

All contracts are publicly verifiable on **MOSScan**, ensuring full transparency.

***

### Mainnet Smart Contracts

The following contracts are deployed on the **ClubMOS Mainnet** and are used for live trading and liquidity provision on SwapMOS.

| Contract Name          | Address                                      | Explorer Link                                                                |
| ---------------------- | -------------------------------------------- | ---------------------------------------------------------------------------- |
| **WMOS (Wrapped MOS)** | `0x9e826e03FE2e780bDeea217c74210B60F0035A5A` | <https://www.mosscan.com/address/0x9e826e03FE2e780bDeea217c74210B60F0035A5A> |
| **SwapMOS Token**      | `0x8E8EB3c784323f3e562BE54e30B4785A9902173B` | <https://www.mosscan.com/address/0x8E8EB3c784323f3e562BE54e30B4785A9902173B> |
| **SwapMOS Factory**    | `0x33AE852023ddD85E27CC818bc9b45d2f98056e0a` | <https://www.mosscan.com/address/0x33AE852023ddD85E27CC818bc9b45d2f98056e0a> |
| **SwapMOS Router**     | `0x1c924596D1814bcCC51d1c4D3aF3aCb71291f77F` | <https://www.mosscan.com/address/0x1c924596D1814bcCC51d1c4D3aF3aCb71291f77F> |

### Testnet Smart Contracts

The following contracts are deployed on the **ClubMOS Testnet** and are intended for testing, development, and experimentation purposes.

| Contract Name          | Address                                      | Explorer Link                                                                    |
| ---------------------- | -------------------------------------------- | -------------------------------------------------------------------------------- |
| **WMOS (Wrapped MOS)** | `0x8E8EB3c784323f3e562BE54e30B4785A9902173B` | <https://testnet.mosscan.com/address/0x8E8EB3c784323f3e562BE54e30B4785A9902173B> |
| **SwapMOS Token**      | `0x4067b6E6453671FdAf2c444FD8d86575B2235BF2` | <https://testnet.mosscan.com/address/0x4067b6E6453671FdAf2c444FD8d86575B2235BF2> |
| **SwapMOS Factory**    | `0x0c0f7a4CE4d2Ab6249196F95c8853852FcD159FB` | <https://testnet.mosscan.com/address/0x0c0f7a4CE4d2Ab6249196F95c8853852FcD159FB> |
| **SwapMOS Router**     | `0xE3A73Eb86AD3ebD50f72128fc549969221a64644` | <https://testnet.mosscan.com/address/0xE3A73Eb86AD3ebD50f72128fc549969221a64644> |

***

### Contract Descriptions

#### SwapMOS Factory

The Factory contract is responsible for:

* Creating new liquidity pools
* Managing pool addresses
* Ensuring uniqueness of token pairs

***

#### SwapMOS Router

The Router contract:

* Handles all swap operations
* Manages adding and removing liquidity
* Acts as the main interface between users and pools

***

#### WMOS (Wrapped MOS)

WMOS is the wrapped version of the native **MOS** coin, enabling:

* Compatibility with CRC-20 smart contracts
* Participation in swaps and liquidity pools

***

#### SwapMOS Token

The SwapMOS Token is the native protocol token used for:

* Ecosystem utilities
* Future incentives and governance
* Platform-level integrations

***

### Important Notes

* Always verify contract addresses before interacting
* Use **Testnet contracts** for development and testing only
* Mainnet contracts involve real assets and transactions
* SwapMOS smart contracts are **non-custodial** and permissionless


---

# 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://clubmos.gitbook.io/swapmos/4.-smart-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.
