This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

LP Position Migrator

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

LP Position Migrator lets you migrate a liquidity pool (LP) position from one pool to another—for example, from a Uniswap V3 pool to a different fee tier or from one DEX to another—in a single batched transaction. Instead of manually removing liquidity, swapping tokens, and adding liquidity to the target pool in separate transactions, you configure the source and target pools, specify your position (token ID), and execute a one-click migration. The tool reads your LP position details—token amounts, tick range, and fees—then handles the entire migration process: removing liquidity, swapping tokens if needed, and adding liquidity to the target pool. This is essential for LPs who want to optimize yield, move to better fee tiers, or migrate to new DEX versions without incurring multiple gas fees.

HOW TO USE

Connect your EVM wallet and select the network. Enter the source pool address (e.g., your current Uniswap V3 pool), the target pool address, and your LP token ID. Set your slippage tolerance to protect against price changes during the migration. Click "Check position" to verify ownership and view your position details—the tool displays the token pair, fee tier, tick range, and liquidity amount. Review the details, then click "Migrate position" to execute the migration. The tool removes your liquidity from the source pool, optionally swaps tokens to match the target pool's ratio, and adds liquidity to the target pool in one batched transaction.

TECHNICAL MECHANISM

The tool first verifies ownership of the LP position by calling ownerOf(tokenId) on the NonfungiblePositionManager contract (for Uniswap V3). It then reads the position details using positions(tokenId) to get token0, token1, fee, tick range, liquidity, and owed fees. The migration is performed via a migration contract (or router) that supports the specific route—this typically involves: (1) calling withdrawToken() or burn() to remove liquidity from the source pool and collect fees, (2) using a swap router to convert one token to another if the target pool has a different ratio, and (3) calling mint() or addLiquidity() to deposit into the target pool. The tool uses receipt.effectiveGasPrice for accurate gas reporting and applies slippage protection to ensure the migration executes within the user's tolerance.

WHAT IT CANNOT SEE

This tool cannot migrate positions that are not owned by the connected wallet—ownership is verified before proceeding. It relies on the DEX contracts supporting the specific migration interface and route; positions in pools with non-standard LP tokens or pools that do not support the migration interface are not supported. The tool cannot guarantee that the migration will be profitable—it may result in lower yields or impermanent loss. It also cannot avoid slippage entirely; slippage protection is applied but cannot guarantee execution if market conditions move against the user.

PLEASE NOTE

Migrating an LP position may have tax implications and may result in changes to your position's fee tier and tick range. Ensure the target pool is the one you intend to migrate to. The migration contract must be trusted; verify its security and audit status before use. This tool is for EVM chains only and does not support non-EVM networks.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.