About
DETOX HOOK – a revolutionary Uniswap V4 Hook that transforms toxic arbitrage extraction into sustainable LP earnings, creating the first on-chain MEV protection system that benefits liquidity providers instead of sophisticated bots.
THE PROBLEM: MEV bots extract $1B+ annually from Uniswap pools while LPs suffer impermanent loss. When pools become mispriced vs global markets, sophisticated arbitrageurs capture profits, leaving LPs with depleted reserves.
OUR SOLUTION: DetoxHook monitors every swap against real-time Pyth Network oracle prices. When traders attempt swaps at prices significantly better than global market rates (indicating arbitrage extraction), the hook intelligently intervenes to:
- Capture 70% of arbitrage profit through dynamic fee adjustment
- Instantly donate 80% of captured value to LPs via PoolManager.donate()
- Allow normal swaps unaffected – only opportunistic arbitrage pays the toll
- Maintain fair pricing without off-chain intervention
PERMISSIONLESS ACCESS: Every liquidity provider in the Uniswap V4 ecosystem can initialize a pool attaching DetoxHook and thereby reap its benefits. No gatekeeping, no special permissions – just deploy a pool with our hook address and start earning from MEV instead of losing to it.
THE PYTH ADVANTAGE: This system is only possible with Pyth's unique capabilities: 🔥 Real-time data queried within the same transaction (400ms updates) 🔥 Confidence intervals ensuring price reliability before triggering fees 🔥 Freshness validation preventing stale data from creating false arbitrage 🔥 Institutional-grade data from 90+ first-party providers
LIVE RESULTS: Deployed on Arbitrum Sepolia at 0x444F320aA27e73e1E293c14B22EfBDCbce0e0088 with 2 active ETH/USDC pools. Real Pyth integration working with <500ms oracle latency.
Game theory aligned: arbitrageurs still profit (30% of opportunity), LPs get boosted returns (15-25% increase), protocols capture sustainable revenue, and regular traders enjoy fairer prices with reduced sandwich risk.
This represents the future of fair DeFi – where advanced oracle technology enables MEV protection that benefits everyone, not just the bots.
Prizes
- Blockscout · Big Blockscout Explorer Pool Prize · Big Blockscout Explorer Pool Prize
- Pyth Network · Most Innovative use of Pyth pull oracle (Price Feeds) · 1st place
- ETHGlobal · ETHGlobal · 🏆 ETHGlobal Prague 2025 Finalist
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






