Kriya Docs
  • Overview
    • What is Kriya?
      • Kriya Suite : HLD
    • Why Sui?
    • FAQs
    • Legal Disclaimer
  • Get funds on SUI
    • Bridge
    • Withdraw from CEX (Cede Store)
    • Buy SUI with Fiat (Transak)
    • P2P escrow from Eth (Heroswap)
  • Kriya x Sui Wallet Campaign
  • Migrating liquidity to v3
  • Kriya Swap
    • Swap Tutorial
      • Trade
        • Market Order
        • Limit Order
        • Dollar Cost Averaging (Coming Soon)
      • Provide Liquidity
    • Swap Architecture
      • Router Mechanism
      • Supported Pool Types
    • Swap Fee Structure
  • Kriya Strategy Vaults
    • Leverage Lending Vaults
      • Concept - Leverage Lending
      • Vault Tutorial
    • CLMM LP Optimizer Vaults
      • Vault Strategy - Auto Rebalancing and Compounding
      • Vault Tutorial
    • Deepbook MM Vaults (Coming Soon)
    • KLP Vaults (Coming Soon)
    • 1-click Automation Strats (Deprecated)
      • Concept - Leverage Lending
      • Strat Tutorial
  • Kriya Degen Corner
    • Sui Sniffer
    • No Code Token Launch on Sui
      • Tutorial to launch a coin
    • Airdrop to Sui Communities
  • Kriya Perpetuals
    • Perpetual Tutorial
      • Place Trade
      • Understanding Open Orders
      • Understanding Open Positions
    • How to get Early Access
    • Protocol Configs and Fees
      • Trading Limits
      • Listed Markets
      • Maker / Taker Fee
    • Perpetual Architecture
      • Margining and Liquidation
        • Custom Mark Price Oracle
      • Matching and Settlement
        • Order Types
        • Orderbook Tech Design
      • Funding Rate
      • Insurance Fund
    • Market Maker Program
  • Kriya OTC (Coming Soon)
    • Introduction and Use Case
    • User Guide
      • Creating an RFQ
        • Option RFQ example
      • Escrow Assets for RFQ
      • Respond to RFQ
      • Settlement
    • Protocol Architecture
      • Privacy
      • On-chain negotiation
    • MMs Get Access
  • Reward Programs
    • Suinami LP Campaign
    • Chakra Season 1 🧘‍♂️
    • Chakra Season 2 🧘‍♀️
    • Chakra Season 3 (Coming Soon)
    • Partner Campaigns
    • Galxe and Zealy
    • DoubleUp
    • Referral Program (Coming Soon)
    • Sui Overflow Hackathon
  • For Developers
    • Smart Contracts
    • Kriya Swap SDK
    • Kriya Perps
      • Run your own MM Bot
      • Run your own Liquidator Bot
      • Public Functions for Liveness
  • About
    • Audit Reports
    • Socials and Community
      • Discord
      • Blog
      • Twitter
    • Brand Assets
    • Careers
Powered by GitBook
On this page
  • Why migrate?
  • How to migrate?
  • How does migration work?

Migrating liquidity to v3

Guide to Migrating Liquidity from Kriya v2 Pools to v3 Pools with 1-Click Migration PTBs

PreviousKriya x Sui Wallet CampaignNextKriya Swap

Last updated 9 months ago

Why migrate?

With the introduction of v3 pools on Kriya Finance, migrating your liquidity from v2 to v3 pools ensures that you continue to earn rewards and benefit from the new concentrated liquidity features.

We’ve made migration a simple 1-click process via Sui PTBs. All LPs are advised to migrate their capital to the new pools to continue earning yield.

How to migrate?

Tutorial video:

OR Here is a step-by-step guide to help you migrate your liquidity effortlessly:

  • Head to to view your current positions and their details.

  • Next to some of your LP positions, you will see a ‘Migrate’ button. This button appears for positions that are 'Withdrawable' (staked or unstaked) and have a corresponding v3 pool. For positions that are locked, you will be able to withdraw/migrate after the lock period has expired.

  • Click on the ‘Migrate’ button next to the LP position you want to move to v3.

  • A confirmation popup will appear. Verify the details and click on ‘Migrate’.

  • Sign the transaction in your wallet and that’s it! Your v3 positions should reflect in your portfolio now.

How does migration work?

When you click on ‘Migrate,’ the following steps occur automatically to ensure a seamless transition:

  • Withdraw from v2 Pool:

    • Check Lock Status:

      • If your LP token is unstaked, it proceeds directly to the withdraw step.

      • If your LP token is staked, the system checks if the current date is beyond the ‘locked until’ date. If yes, it moves ahead to the next step.

    • Claim Rewards: Any unclaimed rewards from your v2 position are claimed.

    • Unstake LP Token: The LP token is unstaked from the v2 farm.

    • Withdraw: Tokens are withdrawn from the v2 LP pool.

  • Token Optimization: The system identifies the tokens required to create a v3 position in the same pair within a broad price range.

  • Token Swap: Tokens are swapped to attain the optimal ratio for the v3 pool.

  • LP in v3 Pool: The tokens are deposited into the v3 pool.

  • Receive v3 LP NFT: The v3 LP NFT is sent to your wallet, representing your new position.

Users don’t need to manually claim rewards and then migrate. By default, ‘migrate’ means ‘claim all, unstake, withdraw, and LP again.’

Note: The broad price range for the migrated v3 LP position differs from pair to pair:

  • For uncorrelated pairs (0.3% fee tier), an LP position is created within ±50% of the current price.

  • For stable pairs (0.01% fee tier), an LP position is created within ±1% of the current peg price.

Any residual amount left during LP migration is refunded back to the user’s wallet in the same transaction.

Kriya Portfolio
6MB
Untitled_design.mp4
Portfolio
Migration Popup