CrossPoolOracleHook
Cross-pool price oracle for manipulation protection
How it works
The hook reads the Reference Pool's price on every swap in the Protected Pool. If the swap's price impact can't be explained by market-wide movement in the reference pool, the fee increases or the swap is blocked entirely. No external oracle needed.
Demo Guide
Try a small swap (base fee), then a larger swap (elevated fee), and finally a large swap after moving the reference pool. The Event Log shows when dynamic fees or the circuit breaker are applied.
ENS Resolver
Mainnet lookupConnected wallet: Not connected
Reference Pool
USDC / WETH
Loading...
Protected Pool
NEW / WETH
Loading...
Swap
Connect wallet to swap on the protected pool
Hook Events
No recent events. Swap on the protected pool to generate events.
Sepolia testnet | HackMoney 2026