Added loadHardcodedPools() method to bypass archive RPC requirements when testing on local Anvil forks. This enables rapid development and testing without needing expensive archive node access. Features: - 5 hardcoded pools from Arbitrum mainnet (SushiSwap, Camelot) - Token pairs: WETH/USDC, WETH/USDT, WETH/WBTC, WETH/ARB - Proper token decimals validation (WETH=18, USDC/USDT=6, WBTC=8, ARB=18) - Falls back to RPC discovery if hardcoded pools fail - Zero configuration required for testing Pools loaded: - SushiSwap WETH/USDC: 1000 WETH / 2M USDC - SushiSwap WETH/USDT: 800 WETH / 1.6M USDT - SushiSwap WETH/WBTC: 500 WETH / 15 WBTC - Camelot WETH/USDC: 1200 WETH / 2.4M USDC - Camelot WETH/ARB: 600 WETH / 800k ARB This unblocks local testing and allows MEV Bot V2 to run successfully on Anvil without requiring archive RPC access for pool discovery. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 KiB
16 KiB