LP Range Rebalancer
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 Range Rebalancer lets you rebalance a concentrated liquidity position by adjusting its tick range—narrowing or widening the range to better match current market conditions. Instead of manually removing liquidity, waiting for a favorable price, and re-adding liquidity at a new range in separate transactions, you configure the new tick range and execute a single batched rebalancing transaction. The tool reads your current LP position details—token pair, fee tier, tick range, and liquidity—then removes liquidity from the current range and re-adds it at the new range in one operation. This is essential for LPs who want to optimize their yield by keeping their range active and capturing more fees.
HOW TO USE
Connect your EVM wallet and select the network. Enter the pool address (e.g., Uniswap V3 pool) and your LP token ID. Set the new lower and upper tick values for your desired range. Set your slippage tolerance to protect against price changes during the rebalancing. Click "Check position" to verify ownership and view your current position details—the tool displays the token pair, fee tier, current tick range, and liquidity. Review the details, then click "Rebalance range" to execute the rebalancing transaction. The tool removes your liquidity from the current tick range and re-adds it at the new tick range, updating your position.
TECHNICAL MECHANISM
The tool first verifies ownership of the LP position by calling ownerOf(tokenId) on the NonfungiblePositionManager contract. It then reads the position details using positions(tokenId) to get token0, token1, fee, tickLower, tickUpper, liquidity, and owed fees. The rebalancing is performed via a rebalancing contract or router that supports the specific operation—this typically involves: (1) calling withdrawToken() or burn() to remove liquidity from the current tick range and collect fees, (2) optionally swapping tokens to adjust the ratio if the new range requires it, and (3) calling mint() or addLiquidity() to deposit into the new tick range. The tool uses receipt.effectiveGasPrice for accurate gas reporting and applies slippage protection to ensure the rebalancing executes within the user's tolerance.
WHAT IT CANNOT SEE
This tool cannot rebalance positions that are not owned by the connected wallet—ownership is verified before proceeding. It relies on the DEX contracts supporting the specific rebalancing interface; positions in pools that do not support the rebalancing interface or use non-standard LP tokens are not supported. The tool cannot guarantee that the rebalancing will be profitable—narrowing the range can increase fees but also increases impermanent loss risk. It also cannot avoid slippage entirely; slippage protection is applied but cannot guarantee execution if market conditions move against the user.
PLEASE NOTE
Rebalancing an LP position may have tax implications and may result in changes to your position's tick range. Ensure the new tick range is appropriate for current market conditions. The rebalancing 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.