# iZiSwap V2 model

iZiSwap V2 is an automated liquidity protocol powered by a constant product formula, implemented through a system of non-upgradeable smart contracts on the blockchain. It eliminates the need for trusted intermediaries, emphasizing decentralization, censorship resistance, and security.

Any user can become a liquidity provider (LP) for a pool by depositing an equivalent value of each underlying token. In return, they receive pool tokens representing their share of the total pool reserves, which can be redeemed for the underlying assets at any time.

iZiSwap V2 has been deployed on Base, Linea, Scroll, and Mantle now, and will be extended to more chains in future.

AMM model

In the AMM model, pairs within the pool serve as automated market makers. They facilitate token swaps based on the "constant product" formula, x \* y = k, ensuring that the product (k) of a pair’s reserve balances (x and y) remains unchanged through trades. This invariant property ensures that larger trades, relative to reserves, execute at exponentially worse rates than smaller ones.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcu1x2tOlFK39eQfzRcCgAUKyMRJ8yNH4Da9K2NY_Nmq66Qok0HooDBwTkZG62IU63Slqp2jfMt8rhy_4HiDJ12JuZOGr_uX6egvvG8NCaR_w_-dgu03fmc-EQuMchzZYsE4ETL_m0pl5pPk_v0Xx2QCQOv?key=dpBSFQAKDKljF1w2k807og" alt=""><figcaption></figcaption></figure>

<br>


---

# 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.izumi.finance/product/iziswap/iziswap-v2-model.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.
