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

DEX Impermanent Loss Overlay

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
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

DEX Impermanent Loss Overlay monitors the current DEX liquidity pool page, reads the token pair, pool reserves, and current price from the chain, and calculates the impermanent loss projection for the current position. The tool overlays a visual indicator directly on the page showing the IL risk level and projected loss for various price change scenarios — typically -50%, -25%, -10%, +10%, +25%, +50%, and +100%. Each scenario is color-coded based on risk level, making it easy to quickly assess the potential downside of providing liquidity.

WHERE IT RUNS

This userscript runs inside major DEX platforms including Uniswap, SushiSwap, 1inch, and PancakeSwap in your browser, powered by the free BotGentz extension. It operates entirely on the page you are viewing — it reads the pool state from the page and optionally reads on-chain data through your wallet provider. The tool is read-only and only displays information, never signing transactions or moving funds.

HOW TO USE

Install the BotGentz extension, then install this userscript from the BotGentz catalogue. Navigate to a liquidity pool page on Uniswap, SushiSwap, 1inch, or PancakeSwap. Connect your wallet (MetaMask or any EVM-compatible wallet) — the tool uses your wallet to read on-chain pool data. Configure your settings — toggle the overlay on/off, choose the overlay position (top-right, bottom-left, or bottom-right), customize the IL scenarios (as a JSON array of percentage changes), enable or disable risk color coding, and set the refresh interval. Click "Start Monitoring" to begin. The tool will display an overlay on the page with the impermanent loss projection for your current position. Click "Refresh Now" to manually update the overlay.

HOW IT WORKS UNDER THE HOOD

The tool extracts the token pair and current price from the page's DOM. It then reads pool reserves from the chain (simulated here for demonstration) and calculates the current price ratio. The impermanent loss for each scenario is calculated using the formula: IL = (2 * sqrt(priceChange)) / (1 + priceChange) - 1, where priceChange is the ratio of the new price to the current price. This formula calculates the loss in value of the LP position compared to simply holding the tokens, expressed as a percentage. The results are displayed for each scenario, with risk color coding applied when enabled — green for low risk, yellow for moderate, orange for high, and red for severe loss. The overlay is rendered as a fixed-position DOM element that updates at the configured interval.

THE PANEL

The tool runs in the BotGentz panel, a draggable floating interface that stays on top of the page. You can drag the panel by its header, collapse it to a small bubble, and resize it. The panel remembers its position per site, so it stays where you left it when you return to the DEX. Press Escape to close the panel when you are done. The panel includes a wallet connection button, settings for overlay visibility, position, IL scenarios, risk color coding, and refresh interval, plus start/stop monitoring and manual refresh buttons.

PLEASE NOTE

This tool requires the free BotGentz extension and a real EVM wallet extension (MetaMask or similar) already installed in your browser. The tool works on EVM chains only — Ethereum, Polygon, Arbitrum, Optimism, BSC, and other EVM chains are supported. The tool is read-only and never signs transactions or moves funds. The impermanent loss projections are estimates based on current pool state and do not account for future trading activity, fee accumulation, or price manipulation. DEX platforms frequently update their interfaces — if the tool stops working, check for an updated version or report the issue. Always verify IL projections against your own risk tolerance before providing liquidity.

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.