# Changelog

## clmm - package version 11

1. **Fix and upgrade**
   1. Upgraded the integer-mate dependency package.
   2. Added emergency functions for pool restoration.
   3. New function added for refined pool status management
2. **Impact & Required Actions**

   All System
3. **Urgent Actions for All Dependent Protocols:**

   Migrate to **new contract interfaces**.

***

## clmm - package version 10

1. **New Features & Mandatory Requirements**
   1. **Flash loan features**
      1. a new methods allow user flash loan asset from clmm pool liquidity. [Flash loan](/cetus-developer-docs/developer/via-clmm-contract/features-available/flash-loan.md)
   2. **New max rewards amount of pool**&#x20;
      1. extend max rewards amount from 3 to 5.
2. **New Flash Loan Interfaces**
   1. **Primary Method:**&#x20;
      1. pool.flash\_load(CLMM contract)
      2. pool.flash\_loan\_with\_partner(CLMM contract)
      3. pool.repay\_flash\_loan(CLMM contract)
      4. pool.repay\_flash\_loan\_with\_partner(CLMM contract)
3. **Key Mechanism Update**
   1. max rewards amount update to 5.
4. **Event System Upgrade**
   1. **New** `FlashLoanEvent`
      1. record user flash loan action.
5. **Impact & Required Actions**
   1. **Vault System**
6. **Urgent Actions for All Dependent Protocols:**
   1. Migrate to **new contract interfaces**.

***

## clmm - package version 9

1. **New Features & Mandatory Requirements**
   1. **Liquidity Initialization Rule**
      1. All newly created liquidity pools **must be initialized with liquidity** at the time of creation. [Create Pool](/cetus-developer-docs/developer/via-clmm-contract/features-available/create-pool.md)
2. **New Pool Creation Interfaces**
   1. **Primary Method:** `pool_creator.create_pool_v2` (CLMM contract)
   2. **Alternative Method:** `pool_creator_v2.create_pool_v2` (Integrate contract)
3. **Deprecated Functions**
   1. **Immediately Discontinued Methods:**
      1. `factory.create_pool_with_liquidity`
      2. `pool_creator.create_pool_v2_by_creation_cap`
   2. **Replacement:** Use `pool_creator.create_pool_v2_with_creation_cap` instead
4. **Key Mechanism Update – PoolCreationCap**
   1. **Governance & Control:**
      1. **Token issuers** gain control over pool creation by holding **TreasuryCap**.
   2. **Core Rules:**
      1. Only **one PoolCreationCap** can be minted per token.
      2. **Restricted pools** must register a **quote coin** and **tick spacing** (currently supports **SUI-200**).
5. **Event System Upgrade**
   1. **New `CollectRewardV2Event`**
      1. Introduces **a new reward type identifier**.
      2. Supports **precise tracking of liquidity mining rewards**.
6. **Impact & Required Actions**
   1. **Mandatory Upgrades for the Following Systems**
      1. **Vault System**
      2. **Stablecoin Liquidity Mining Module**
      3. **LP Burn Functionality**
7. **Urgent Actions for All Dependent Protocols:**
   1. Migrate to **new contract interfaces**.
   2. Adapt to **PoolCreationCap governance mechanism**.
   3. Update **reward event handling logic**.


---

# 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://cetus-1.gitbook.io/cetus-developer-docs/developer/via-clmm-contract/changelog.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.
