Skip to content

Migration LP positions to Carbon#2059

Draft
GrandSchtroumpf wants to merge 65 commits intomainfrom
issue-#1764
Draft

Migration LP positions to Carbon#2059
GrandSchtroumpf wants to merge 65 commits intomainfrom
issue-#1764

Conversation

@GrandSchtroumpf
Copy link
Collaborator

@GrandSchtroumpf GrandSchtroumpf commented Jan 26, 2026

fix #1764

How to test:

  1. Connect with Metamask
image
  1. Set your Tenderly network on Metamask. Tenderly should NOT be in SYNC
image image
  1. In Debug set the same Tenderly network but do not check "unchecked signer"

  2. In Debug, at the bottom, create a V2 position (Quote amount might not be taken into account, this is expected)

image
  1. Go under Portfolio / Migration. After Loading time, you should see your position
image
  1. Reload: you shouldn't have to wait to initial load time to see your positions

  2. Click "Migrate" to transform this position into a Carbon strategy

image
  1. Repeat 4, 5, 6, 7 with different parameters in the position (4) and amount of positions (5, 6)

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b6abb0
Status: ✅  Deploy successful!
Preview URL: https://66015e06.carbon-app-csq.pages.dev
Branch Preview URL: https://issue--1764.carbon-app-csq.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app-sei with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b6abb0
Status: ✅  Deploy successful!
Preview URL: https://efa2beaf.carbon-app-sei.pages.dev
Branch Preview URL: https://issue--1764.carbon-app-sei.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app-celo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b6abb0
Status: ✅  Deploy successful!
Preview URL: https://c6f95686.carbon-app-celo.pages.dev
Branch Preview URL: https://issue--1764.carbon-app-celo.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app-tac with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b6abb0
Status: ✅  Deploy successful!
Preview URL: https://0d991976.carbon-app-tac.pages.dev
Branch Preview URL: https://issue--1764.carbon-app-tac.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app-coti with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b6abb0
Status: ✅  Deploy successful!
Preview URL: https://318453e6.carbon-app-coti.pages.dev
Branch Preview URL: https://issue--1764.carbon-app-coti.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app-ton-tg with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b6abb0
Status: ✅  Deploy successful!
Preview URL: https://600e2fa7.carbon-app-ton-tg.pages.dev
Branch Preview URL: https://issue--1764.carbon-app-ton-tg.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying carbon-app-pnpm with  Cloudflare Pages  Cloudflare Pages

Latest commit: aca54a8
Status:🚫  Build failed.

View logs

@ashachaf
Copy link
Collaborator

ashachaf commented Feb 1, 2026

  • cache results
    when fetching the migration data, consider adding some cache so it can load somewhat faster.

  • incorrect pool fee
    seems that the value you display for fee is x10 higher than it actually is
    for this, when you show 3%, it is actually 0.3%

  • incorrect token decimals
    when displaying fees in usdc and usdt for example, you apply 18 decimals on the value instead of 6

  • incorrect token amounts in the new strategy
    some amm strategies include 2 values: 1) base position 2) fees
    it seems that the current process migrates the base position only and fees are sent to the user wallet.
    expected: both values should be used to create the new strategy on carbon

  • navigate to "strategy" page
    [optional - based on performance and load times for the migration page data]
    at the end of the transaction to migrate position, i expect to be redirect to the strategy page

@ashachaf
Copy link
Collaborator

ashachaf commented Feb 5, 2026

@ashachaf
Copy link
Collaborator

ashachaf commented Feb 15, 2026

  • educational text
    in order to enrich the information on the page and help educate the user on the process it offers, we would like to add this
image

text:

Upgrade your LP positions to Carbon DeFi

Move beyond shared pools with fixed parameters and turn passive positions into active, customizable strategies.

Import positions from supported DEXs, define your own price ranges, spreads, and liquidity distribution, and adjust your strategy as markets evolve — without the need to withdraw and redeploy.

Your liquidity, on your terms.

@ashachaf
Copy link
Collaborator

ashachaf commented Feb 19, 2026

  • update disclaimer text
image
  • Any unused funds will be sent back to your wallet
  • Fee on transfer (tax) or rebasing tokens are not supported

@ashachaf
Copy link
Collaborator

ashachaf commented Feb 22, 2026

  • notification transaction link
image

current: link to etherscan to view the transaction
updated: View Strategy(/strategy/{strategyId)

  • educational text
    current: This tool is for informational purposes only and operates under simplified conditions. It excludes gas fees, does not support fee on transfer (tax) or rebase tokens, and may lack accuracy or completeness. Bancor accepts no liability for its use.

updated: Import positions from supported DEXs, define your own price ranges, spreads, and liquidity distribution, and adjust your strategy as markets evolve — without the need to withdraw and redeploy.

@ashachaf
Copy link
Collaborator

ashachaf commented Feb 26, 2026

  • add checkbox in migration popup
    on the migration popup
    current: we show the "notice" text but the cta is always enabled and available.
    updated: add a checkbox to the "notice" text. when checkbox is not checked, the cta to migrate should be disabled. (this is mimicking the behavior we have on create strategy flows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to Carbon - add a function to support migrating positions to Carbon DeFi

2 participants