LP Position Merger
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
LP Position Merger lets you merge multiple concentrated liquidity positions into a single unified position at a target tick range. Instead of managing several separate positions—each with its own tick range, token amounts, and fees—you can consolidate them into one position for simpler management and potentially better fee capture. The tool reads the details of each source position, removes liquidity from all of them, and re-adds the combined liquidity at the target tick range in a single batched transaction. This is essential for LPs who want to simplify their portfolio, reduce gas costs for future adjustments, or consolidate liquidity for better returns.
HOW TO USE
Connect your EVM wallet and select the network. Enter the NonfungiblePositionManager contract address (e.g., Uniswap V3). In the input area, list the LP token IDs you want to merge (one per line). Set the target lower and upper tick values for the merged position. Set your slippage tolerance. Click "Check positions" to verify that you own each position and view their current tick ranges. Review the details, then click "Merge positions" to execute the merge transaction. The tool removes liquidity from all source positions and adds it to the single target position at the specified tick range.
TECHNICAL MECHANISM
The tool first verifies ownership of each LP position by calling ownerOf(tokenId) on the NonfungiblePositionManager contract. It then reads each position's details using positions(tokenId) to get token0, token1, fee, tickLower, tickUpper, liquidity, and owed fees. The merge is performed by calling the merge() function on a compatible router or the position manager itself, which handles the following in a single batched transaction: (1) burn() for each source position to remove liquidity and collect fees, (2) aggregate the withdrawn tokens and calculate the proportional distribution for the target range, and (3) mint() once to add all liquidity at the target tick range. The tool uses receipt.effectiveGasPrice for accurate gas reporting and applies slippage protection to ensure the merge executes within the user's tolerance.
WHAT IT CANNOT SEE
This tool cannot merge positions that are not owned by the connected wallet—ownership is verified before proceeding. It relies on the DEX contracts supporting the specific merge interface; positions in pools that do not support this interface or use non-standard LP tokens are not supported. The tool cannot guarantee that the merge will be profitable—consolidating may reduce or increase fee capture depending on market conditions. It also cannot avoid slippage entirely; slippage protection is applied but cannot guarantee execution if market conditions move against the user. Gas costs scale with the number of positions merged, which can be significant.
PLEASE NOTE
Merging positions may have tax implications and may result in changes to your overall fee capture. Ensure the target tick range is appropriate for current market conditions. The position manager 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.