LP Exit and Convert Tool
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 Exit and Convert Tool lets you exit liquidity pool positions and convert the resulting tokens into a single output token in one batched transaction. Instead of removing liquidity, swapping each token separately, and managing multiple approvals, you add your LP positions, specify the output token, and execute a one-click exit-and-convert operation. The tool removes your liquidity from the pool, collects both tokens and any earned fees, then swaps both tokens (if needed) into the specified output token, all in a single transaction with slippage protection. This is essential for LPs who want to exit positions and consolidate their holdings without manual steps.
HOW TO USE
Connect your EVM wallet and select the network. Enter the exit and convert router contract that supports your positions. In the input area, list each LP position you want to exit using the format: contract,tokenId. Enter the output token address you want to receive after the conversion. Set your slippage tolerance to protect against price changes during the swap. Click "Add positions" to load them, then click "Check position" to verify that you own each LP token—the tool checks ownership. Review the status, then click "Exit & convert" to execute the transaction. The tool removes your liquidity, collects the tokens, and converts them to the output token.
TECHNICAL MECHANISM
The tool first verifies ownership of each LP position by calling ownerOf(tokenId) for NFT-based positions or balanceOf() for LP tokens. It then uses the exit router contract to perform the batched operation: (1) removing liquidity from each position via the DEX's NonfungiblePositionManager (burning the LP token and collecting the underlying tokens and fees), (2) aggregating the withdrawn tokens, (3) swapping both tokens into the specified output token using a DEX router (e.g., Uniswap V3 SwapRouter) with slippage protection, and (4) sending the output token to the user's wallet. The tool uses receipt.effectiveGasPrice for accurate gas reporting and applies slippage protection to ensure the conversion executes within the user's tolerance.
WHAT IT CANNOT SEE
This tool cannot exit positions that are not owned by the connected wallet—ownership is verified before proceeding. It relies on the DEX contracts supporting the specific exit and conversion interface; positions in pools that do not support the required interfaces or use non-standard LP tokens are not supported. The tool cannot guarantee that the conversion will be profitable—it may result in slippage 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
Exiting an LP position may have tax implications and may result in realized gains or losses. Ensure you understand the exit strategy before executing. The exit router 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.