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

DEX Price Impact Warning Overlay

Trading · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryTrading
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 Price Impact Warning Overlay is a critical trading tool that provides real-time price impact warnings for DEX swaps, helping you avoid unfavorable execution prices. When you're on a supported DEX (Uniswap, SushiSwap, 1inch, Curve, or Balancer) with a trade configured, the tool fetches the current pool reserves via eth_call to the pool contract (getReserves) and calculates the expected price impact using the constant product formula. The panel displays the price impact percentage, expected execution price, slippage estimate, and a color-coded risk assessment (Low, Low-Medium, Medium, High, Very High, Extreme). Visual warnings appear when price impact exceeds configurable thresholds, and desktop notifications alert you to high-impact trades. The panel includes a "Swap" button with the price impact prominently displayed for user awareness. All price impact history is tracked with visual charts for monitoring your trading patterns. WHERE IT RUNS This overlay operates on major DEX platforms including Uniswap (app.uniswap.org, uniswap.org), SushiSwap (sushi.com), 1inch (1inch.io), Curve (curve.fi), and Balancer (balancer.fi). It works in any browser that supports the BotGentz extension framework and has an EVM-compatible wallet extension installed. The panel activates automatically when you're on a supported DEX page with a trading pair selected. HOW TO USE Install the extension and connect your wallet. Navigate to any supported DEX and configure a swap—select your token pair and enter a trade amount. The tool automatically detects the token pair and trade amount from the page, fetches pool reserves, and calculates the price impact. The panel displays the price impact percentage, risk assessment, and slippage estimate. Configure your settings: set the warning threshold (default 2%)—the tool alerts when price impact exceeds this value; set the high impact threshold (default 5%) for prominent warnings; set the monitoring interval (default 5 seconds); and toggle notifications. The panel updates in real-time as you adjust your trade amount. If price impact exceeds your thresholds, the tool sends a notification and displays a prominent warning. Use the "Refresh" button to manually update data, "Save Settings" to apply changes, and "Copy Report" to export a summary. The panel provides a text-based historical chart showing price impact trends over time. MECHANISM: REAL-TIME PRICE IMPACT CALCULATION WITH CONSTANT PRODUCT FORMULA AND VISUAL WARNINGS The extension implements a real-time price impact calculator using the constant product formula (x*y=k) for Uniswap-style pools. For each trade, the tool queries the current pool reserves via eth_call to getReserves() (or equivalent for other DEXs), then calculates the expected price impact as ((reserve1/(reserve0 + amount)) - (reserve1/reserve0)) / (reserve1/reserve0) * 100. The calculation accounts for the user's trade amount in the input token, computing both the spot price and the execution price after the trade. The slippage estimate is derived from the price impact plus a small buffer for gas and front-running risk. The risk assessment engine categorizes the impact into six levels: Low (8%), each with a distinct color code and icon. The monitoring interval (default 5 seconds) ensures the price impact updates as the user adjusts their trade parameters. The tool caches reserve data to minimize RPC calls while maintaining freshness. All impact data is stored locally using GM_setValue, with a rolling history of up to 200 data points for trend analysis. The notification system uses GM_notification with a 1-minute cooldown to prevent notification spam. The tool is read-only and does not send any transactions. THE PANEL The overlay panel is fully draggable via its title bar and remembers its position per-site using GM_setValue. It snaps to the nearest edge when dragged within 40px of any screen boundary. The panel includes clear sections for price impact monitor (DEX name, chain, wallet address, gas price, token pair), trade analysis (trade amount, price impact percentage with color coding, risk assessment level with icon, slippage estimate), statistics (average impact, maximum impact, data points count), historical chart (text-based chart showing the last 20 readings with color-coded bars and recent readings with timestamps and impact levels), settings (warning threshold input, high impact threshold input, slippage tolerance input, monitoring interval input, notification toggle), and action buttons (Refresh, Save Settings, Copy Report, Clear History). The price impact is prominently displayed with color coding—green for low impact, yellow for medium, orange for high, red for very high, and dark red for extreme. The risk assessment section shows both the level and a detailed description. Pressing Escape temporarily dismisses the panel until you navigate to a new DEX page or manually reactivate. PLEASE NOTE This extension requires the free BotGentz framework extension to be installed and active. You must also have a real EVM-compatible wallet extension (such as MetaMask, WalletConnect, Coinbase Wallet, or Rabby) already installed in your browser—the overlay uses your wallet's RPC provider for eth_call queries. This tool is read-only—it does not send transactions; it only provides price impact warnings and information. The tool cannot calculate price impact for trades involving tokens with complex fee structures or rebasing mechanisms; depends on DEX price feeds which may be manipulated or delayed; cannot predict price impact for trades that are executed via aggregators with multi-hop routing; does not support non-EVM chains where DEX interfaces differ; cannot account for MEV or front-running that may affect actual execution price; does not support pools with dynamic fees or variable fees; cannot detect price impact for transactions that involve multiple steps; and does not support tokens with transfer taxes or reflection mechanisms. No private keys, wallet balances, browsing history, or trade data are ever collected, transmitted, or stored outside your local browser—all data is stored locally using GM_setValue. Price impact estimates are approximations—actual execution price may differ due to slippage, MEV, and market conditions. Always verify the expected execution price in your wallet before confirming any swap.

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.