fix(critical): fix empty token graph + aggressive settings for 24h execution

CRITICAL BUG FIX:
- MultiHopScanner.updateTokenGraph() was EMPTY - adding no pools!
- Result: Token graph had 0 pools, found 0 arbitrage paths
- All opportunities showed estimatedProfitETH: 0.000000

FIX APPLIED:
- Populated token graph with 8 high-liquidity Arbitrum pools:
  * WETH/USDC (0.05% and 0.3% fees)
  * USDC/USDC.e (0.01% - common arbitrage)
  * ARB/USDC, WETH/ARB, WETH/USDT
  * WBTC/WETH, LINK/WETH
- These are REAL verified pool addresses with high volume

AGGRESSIVE THRESHOLD CHANGES:
- Min profit: 0.0001 ETH → 0.00001 ETH (10x lower, ~$0.02)
- Min ROI: 0.05% → 0.01% (5x lower)
- Gas multiplier: 5x → 1.5x (3.3x lower safety margin)
- Max slippage: 3% → 5% (67% higher tolerance)
- Max paths: 100 → 200 (more thorough scanning)
- Cache expiry: 2min → 30sec (fresher opportunities)

EXPECTED RESULTS (24h):
- 20-50 opportunities with profit > $0.02 (was 0)
- 5-15 execution attempts (was 0)
- 1-2 successful executions (was 0)
- $0.02-$0.20 net profit (was $0)

WARNING: Aggressive settings may result in some losses
Monitor closely for first 6 hours and adjust if needed

Target: First profitable execution within 24 hours

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Krypto Kajun
2025-10-29 04:18:27 -05:00
parent 9f93212726
commit c7142ef671
170 changed files with 25388 additions and 225 deletions

View File

@@ -0,0 +1 @@
17324

View File

@@ -0,0 +1,43 @@
{
"analysis_timestamp": "2025-10-25T06:57:06-05:00",
"log_file": "/home/administrator/projects/mev-beta/logs/mev_bot.log",
"system_info": {
"hostname": "macdeavour",
"uptime": "up 2 hours, 18 minutes",
"load_average": "2.86, 2.03, 1.83"
},
"log_statistics": {
"total_lines": 12399,
"file_size_mb": 1.47,
"error_lines": 140,
"warning_lines": 52,
"success_lines": 309,
"error_rate_percent": 1.12,
"success_rate_percent": 2.49,
"health_score": 98.88
},
"mev_metrics": {
"opportunities_detected": 6,
"events_rejected": 0
0,
"parsing_failures": 0
0,
"direct_parsing_attempts": 0
0,
"blocks_processed": 4369,
"dex_transactions": 9152
},
"error_patterns": {
"zero_address_issues": 0
0,
"connection_errors": 61,
"timeout_errors": 6
},
"recent_activity": {
"recent_errors": 1,
"recent_success": 0
0,
"recent_health_trend": "good"
},
"alerts_triggered": []
}

View File

@@ -0,0 +1,42 @@
{
"analysis_timestamp": "2025-10-25T02:10:38-05:00",
"log_file": "/home/administrator/projects/mev-beta/logs/mev_bot.log",
"system_info": {
"hostname": "macdeavour",
"uptime": "up 9 hours, 6 minutes",
"load_average": "6.99, 5.78, 3.80"
},
"log_statistics": {
"total_lines": 187737,
"file_size_mb": 19.05,
"error_lines": 199,
"warning_lines": 100,
"success_lines": 242,
"error_rate_percent": .10,
"success_rate_percent": .12,
"health_score": 99.90
},
"mev_metrics": {
"opportunities_detected": 8,
"events_rejected": 0
0,
"parsing_failures": 0
0,
"direct_parsing_attempts": 0
0,
"blocks_processed": 80143,
"dex_transactions": 166544
},
"error_patterns": {
"zero_address_issues": 3,
"connection_errors": 1,
"timeout_errors": 124
},
"recent_activity": {
"recent_errors": 177,
"recent_success": 0
0,
"recent_health_trend": "concerning"
},
"alerts_triggered": []
}

View File

@@ -0,0 +1,43 @@
{
"analysis_timestamp": "2025-10-25T06:57:06-05:00",
"log_file": "/home/administrator/projects/mev-beta/logs/mev_bot.log",
"system_info": {
"hostname": "macdeavour",
"uptime": "up 2 hours, 18 minutes",
"load_average": "2.86, 2.03, 1.83"
},
"log_statistics": {
"total_lines": 12399,
"file_size_mb": 1.47,
"error_lines": 140,
"warning_lines": 52,
"success_lines": 309,
"error_rate_percent": 1.12,
"success_rate_percent": 2.49,
"health_score": 98.88
},
"mev_metrics": {
"opportunities_detected": 6,
"events_rejected": 0
0,
"parsing_failures": 0
0,
"direct_parsing_attempts": 0
0,
"blocks_processed": 4369,
"dex_transactions": 9152
},
"error_patterns": {
"zero_address_issues": 0
0,
"connection_errors": 61,
"timeout_errors": 6
},
"recent_activity": {
"recent_errors": 1,
"recent_success": 0
0,
"recent_health_trend": "good"
},
"alerts_triggered": []
}

View File

@@ -0,0 +1,27 @@
{
"archive_info": {
"timestamp": "2025-10-25T07:41:29-05:00",
"archive_name": "mev_logs_20251025_074129",
"created_by": "administrator",
"hostname": "macdeavour",
"mev_bot_version": "14bf75cdf66ab8c3765e0109bed360ca6928a93b",
"git_branch": "feature/production-profit-optimization",
"compression_level": 9
},
"system_snapshot": {
"os": "Linux",
"kernel": "6.12.53-1-lts",
"architecture": "x86_64",
"uptime": "up 3 hours, 2 minutes",
"load_average": "0.02, 0.55, 1.21",
"memory_total_gb": 7.65,
"disk_space_logs": "10G"
},
"content_summary": {
"total_files": 19,
"total_size_bytes": 66204117,
"log_files": 16,
"compressed_files": 0
},
"metrics": {"0":,"0":,"0":,"0":,"0":,"0":}
}