test(swap-detection): add automated swap detection and analysis tools
- Add auto_test_swaps.sh for monitoring live Arbitrum mainnet - Add fetch_swaps.sh for capturing recent swap transactions - Add analyze_detected_swaps.py for parsing and analyzing swap data - Add comprehensive test results documentation Test Results: - Successfully detected 91 swaps from live mainnet - Identified 33 unique liquidity pools - Validated UniswapV2 and UniswapV3 event detection - Confirmed transaction data capture accuracy Key Features: - Real-time monitoring with 3-second polling - UniswapV2/V3 swap event signature filtering - Transaction impersonation for Anvil replay (blocked by archive RPC) - Comprehensive analytics and reporting Known Limitations: - Anvil replay requires archive RPC access - WebSocket connection to Anvil not functional - Recommendation: Deploy to testnet for full E2E testing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -72,3 +72,9 @@ grafana-data/
|
||||
*.tar
|
||||
*.tar.gz
|
||||
*.zip
|
||||
|
||||
# Swap detection test data
|
||||
detected_swaps.jsonl
|
||||
swap_replay.log
|
||||
replayed_swaps.log
|
||||
anvil_fresh.log
|
||||
|
||||
Reference in New Issue
Block a user