feat(prod): complete production deployment with Podman containerization

- Migrate from Docker to Podman for enhanced security (rootless containers)
- Add production-ready Dockerfile with multi-stage builds
- Configure production environment with Arbitrum mainnet RPC endpoints
- Add comprehensive test coverage for core modules (exchanges, execution, profitability)
- Implement production audit and deployment documentation
- Update deployment scripts for production environment
- Add container runtime and health monitoring scripts
- Document RPC limitations and remediation strategies
- Implement token metadata caching and pool validation

This commit prepares the MEV bot for production deployment on Arbitrum
with full containerization, security hardening, and operational tooling.

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Krypto Kajun
2025-11-08 10:15:22 -06:00
parent 52d555ccdf
commit 8cba462024
55 changed files with 15523 additions and 4908 deletions

View File

@@ -222,13 +222,18 @@ func (er *ExchangeRegistry) GetAllExchangesMap() map[math.ExchangeType]*Exchange
// GetHighPriorityTokens returns high-priority tokens for scanning
func (er *ExchangeRegistry) GetHighPriorityTokens(limit int) []TokenInfo {
// Define high-priority tokens (ETH, USDC, USDT, WBTC, etc.)
// CRITICAL FIX: Use correct Arbitrum token addresses (not Ethereum/other chains)
highPriorityTokens := []TokenInfo{
{Address: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", Symbol: "WETH", Name: "Wrapped Ether", Decimals: 18},
{Address: "0xFF970A61D0f7e23A93789578a9F1fF23f7331277", Symbol: "USDC", Name: "USD Coin", Decimals: 6},
{Address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", Symbol: "USDC", Name: "USD Coin", Decimals: 6}, // FIXED: Correct Arbitrum USDC
{Address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9", Symbol: "USDT", Name: "Tether USD", Decimals: 6},
{Address: "0x2f2a2543B76A4166549F855b5b02C90Ea8b4b417", Symbol: "WBTC", Name: "Wrapped BTC", Decimals: 8},
{Address: "0x82e3A8F066a696Da855e363b7f374e5c8E4a79B9", Symbol: "LINK", Name: "ChainLink Token", Decimals: 18},
{Address: "0x3a283d9c08E4B7C5Ea6D7d3625b1aE0d89F9fA37", Symbol: "CRV", Name: "Curve DAO Token", Decimals: 18},
{Address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", Symbol: "WBTC", Name: "Wrapped BTC", Decimals: 8}, // FIXED: Correct Arbitrum WBTC
{Address: "0xf97f4df75117a78c1A5a0DBb814Af92458539FB4", Symbol: "LINK", Name: "ChainLink Token", Decimals: 18}, // FIXED: Correct Arbitrum LINK
{Address: "0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978", Symbol: "CRV", Name: "Curve DAO Token", Decimals: 18}, // FIXED: Correct Arbitrum CRV
{Address: "0x912CE59144191C1204E64559FE8253a0e49E6548", Symbol: "ARB", Name: "Arbitrum", Decimals: 18}, // ADDED: Arbitrum native token
{Address: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", Symbol: "DAI", Name: "Dai Stablecoin", Decimals: 18}, // ADDED: DAI
{Address: "0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a", Symbol: "GMX", Name: "GMX", Decimals: 18}, // ADDED: GMX
{Address: "0x9623063377AD1B27544C965cCd7342f7EA7e88C7", Symbol: "GRT", Name: "The Graph", Decimals: 18}, // ADDED: GRT
}
if limit > len(highPriorityTokens) {