Changelog

Index all packages changelogs.

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

    2. New max rewards amount of pool

      1. extend max rewards amount from 3 to 5.

  2. New Flash Loan Interfaces

    1. Primary Method:

      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

  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.

Last updated