# Version 2 of our smart contracts

**What’s New in Version 2?**

* **Gasless Trades** – Users can now execute trades without needing to pay gas fees in the native token. This eliminates the requirement to hold native tokens for transactions, improving accessibility and user profitability.
* **Permit2 Integration** – This version implements **Permit2**, a more secure and cost-efficient alternative to the traditional allowance system, reducing approval costs and enhancing security.
* **Unified approval address and executor** – In **Version 2**, approvals are now simplified with a **single address**—the **Unizen Router**.

  * No more handling approvals across multiple smart contracts (`v1`, `v2`, `v3`).
  * Users only need to approve the **Unizen Router** once, streamlining the trading experience.
  * This reduces complexity for integrators and improves efficiency for end users.

  With this update, managing approvals is easier, faster, and more consistent across all trades.
* **Optimized Gas Usage** – Internal improvements have reduced overall gas costs, making transactions more efficient.
* **Enhanced Fee Flexibility** – Version 2 provides better handling of integrator fees, allowing for more customization and adaptability.
* **New chains** - you will be able to swap on newly added chains like Unichain and Berachain.

#### **Migration & Adoption**

We **strongly recommend** using Version 2 of the smart contract:

* **New Integrators:** If you are integrating for the first time, you should use **Version 2** from the start.
* **Existing Integrators:** If you are currently using the previous version, we highly encourage you to **migrate** to Version 2. The migration process is straightforward and will allow you to take full advantage of the new features.

By upgrading, you ensure better efficiency, lower costs, and improved user experience for your platform.


---

# 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.unizen.io/api-introduction/version-2-of-our-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.
