A$150

Flash loan arbitrage bot on Polygon

I want this!

Flash loan arbitrage bot on Polygon

A$150


***** VIDEO OF THE FULL STARTUP SEQUENCE - https://youtu.be/idRqy-OiGO8 *****



Here's a work in progress. This bot is functioning but NOT intended to be a finished product. It is a solid foundation to save you thousands of hours of holding yourself back from smashing your computer. As the code currently stands, it is over 2000 lines. I will dump it whole into an AI to generate the following sales pitch:

This code is a comprehensive arbitrage bot for Polygon (MATIC) network that detects and executes arbitrage opportunities across multiple decentralized exchanges (DEXs). Here's a detailed analysis:

Key Features:

  1. Multi-DEX Support:
    • Supports Quickswap, SushiSwap, Uniswap V3, Balancer, and ParaSwap
    • Handles both V2 and V3 style exchanges differently
    • Automatic liquidity checking for pairs
  2. Flash Loan Arbitrage:
    • Uses AAVE flash loans for capital-efficient arbitrage
    • Calculates profitability after accounting for flash loan fees (0.05%)
  3. Advanced Configuration:
    • Extensive config options via .env file
    • Multiple RPC endpoints with failover
    • Gas price monitoring and limits
    • Simulation mode for testing
  4. Risk Management:
    • Minimum profit thresholds
    • Minimum liquidity requirements
    • Emergency pause functionality
    • Gas price caps
  5. Monitoring & Logging:
    • Comprehensive logging system
    • Trade history tracking
    • Contract balance monitoring

Technical Implementation:

  1. Core Components:
    • Rate limiter to avoid RPC rate limits
    • Provider management with failover
    • Token price feeds (Chainlink + CoinGecko)
    • Pair discovery and caching
  2. Arbitrage Detection:
    • Two-leg arbitrage (A→B→A)
    • Triangular arbitrage (A→B→C→A)
    • Profit calculation including all fees
  3. Execution Flow:
    • Finds opportunities
    • Prepares flash loan parameters
    • Executes transactions with proper gas management

Usage Notes:

  1. Environment Variables:
    • Requires RPC_URL, PRIVATE_KEY, CONTRACT_ADDRESS
    • Many optional parameters for fine-tuning
  2. Safety Features:
    • Simulation mode recommended for testing
    • Explicit owner checks
    • Contract validation
  3. Maintenance:
    • Automatically saves trade history
    • Graceful shutdown handling

Potential Improvements:

  1. Add more DEX integrations
  2. Implement more sophisticated pricing algorithms
  3. Add health monitoring for the bot itself
  4. Implement more advanced gas estimation
  5. Add Telegram/Discord notifications

This is a production-grade arbitrage bot that handles all aspects from opportunity discovery to execution, with proper risk management and monitoring. The code is well-structured and includes comprehensive error handling.

Would you like me to explain any specific part in more detail or suggest modifications for particular use cases?

This response is AI-generated, for reference only.


Back to the human:

You will leverage your paid AI subscription and your coding knowledge to build from this. You will need to deploy a smart contract, which an AI would easily write for you based around this bot's functionality.


Please only purchase if you know what your looking at.


Below is an example log output of the bot initializing.



C:\botv3>node gem3004.js

[2025-04-30T16:20:16.488Z] [WARN] Address checksum was incorrect but fixable: 0x5ed4491da9f3382a1b508a2ad5ed6e9b657cb8dd normalized to 0x5eD4491dA9F3382a1B508A2ad5ed6e9b657cB8dd

[2025-04-30T16:20:16.505Z] [WARN] Address checksum was incorrect but fixable: 0x0A6513e40db6EB1b1654144101D1B27d42DA9969 normalized to 0x0a6513E40DB6eB1b1654144101d1b27d42da9969

[2025-04-30T16:20:16.509Z] [WARN] Address checksum was incorrect but fixable: 0xDE31F2FC68db7e59A8A0A2Addb57E3C32B0Edf09 normalized to 0xde31f2fC68Db7e59A8A0A2aDDb57e3c32b0EDf09

[2025-04-30T16:20:16.514Z] [WARN] Address checksum was incorrect but fixable: 0x1b02dA8Cb0d097eB8D57A175B88c7D8b47997506 normalized to 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506

[2025-04-30T16:20:16.525Z] [WARN] Address checksum was incorrect but fixable: 0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39 normalized to 0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39

[2025-04-30T16:20:16.528Z] [WARN] Address checksum was incorrect but fixable: 0xd6df932a45c0f255f85145f286ea0b292b21c90b normalized to 0xD6DF932A45C0f255f85145f286eA0b292B21C90B

[2025-04-30T16:20:16.530Z] [WARN] Address checksum was incorrect but fixable: 0x172370d5cd63279efa6d502dab29171933a610af normalized to 0x172370d5Cd63279eFa6d502DAB29171933a610AF

[2025-04-30T16:20:16.531Z] [WARN] Address checksum was incorrect but fixable: 0x0b3f868e0be5597d5db7feb59e1cadbb0fdda50a normalized to 0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a

[2025-04-30T16:20:16.532Z] [WARN] Address checksum was incorrect but fixable: 0xb33eaad8d922b1083446dc23f610c2567fb5180f normalized to 0xb33EaAd8d922B1083446DC23f610c2567fB5180f

[2025-04-30T16:20:16.533Z] [WARN] Address checksum was incorrect but fixable: 0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3 normalized to 0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3

[2025-04-30T16:20:16.535Z] [WARN] Address checksum was incorrect but fixable: 0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39 normalized to 0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39

[2025-04-30T16:20:16.536Z] [WARN] Address checksum was incorrect but fixable: 0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39 normalized to 0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39

[2025-04-30T16:20:16.537Z] [WARN] Address checksum was incorrect but fixable: 0xd6df932a45c0f255f85145f286ea0b292b21c90b normalized to 0xD6DF932A45C0f255f85145f286eA0b292B21C90B

[2025-04-30T16:20:16.538Z] [WARN] Address checksum was incorrect but fixable: 0xd6df932a45c0f255f85145f286ea0b292b21c90b normalized to 0xD6DF932A45C0f255f85145f286eA0b292B21C90B

[2025-04-30T16:20:16.538Z] [WARN] Address checksum was incorrect but fixable: 0x172370d5cd63279efa6d502dab29171933a610af normalized to 0x172370d5Cd63279eFa6d502DAB29171933a610AF

[2025-04-30T16:20:16.539Z] [WARN] Address checksum was incorrect but fixable: 0x0b3f868e0be5597d5db7feb59e1cadbb0fdda50a normalized to 0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a

[2025-04-30T16:20:16.539Z] [WARN] Address checksum was incorrect but fixable: 0xb33eaad8d922b1083446dc23f610c2567fb5180f normalized to 0xb33EaAd8d922B1083446DC23f610c2567fB5180f

[2025-04-30T16:20:16.540Z] [WARN] Address checksum was incorrect but fixable: 0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3 normalized to 0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3

[2025-04-30T16:20:16.541Z] [WARN] Address checksum was incorrect but fixable: 0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39 normalized to 0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39

[2025-04-30T16:20:16.541Z] [WARN] Address checksum was incorrect but fixable: 0xd6df932a45c0f255f85145f286ea0b292b21c90b normalized to 0xD6DF932A45C0f255f85145f286eA0b292B21C90B

[2025-04-30T16:20:16.542Z] [WARN] Address checksum was incorrect but fixable: 0x172370d5cd63279efa6d502dab29171933a610af normalized to 0x172370d5Cd63279eFa6d502DAB29171933a610AF

[2025-04-30T16:20:16.543Z] [WARN] Address checksum was incorrect but fixable: 0x0b3f868e0be5597d5db7feb59e1cadbb0fdda50a normalized to 0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a

[2025-04-30T16:20:16.543Z] [WARN] Address checksum was incorrect but fixable: 0xb33eaad8d922b1083446dc23f610c2567fb5180f normalized to 0xb33EaAd8d922B1083446DC23f610c2567fB5180f

[2025-04-30T16:20:16.544Z] [WARN] Address checksum was incorrect but fixable: 0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3 normalized to 0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3

[2025-04-30T16:20:16.546Z] >>> Bot starting execution...

[2025-04-30T16:20:16.567Z] Loaded 0 previous trade logs from trades.json

[2025-04-30T16:20:16.567Z] >>> Creating ArbitrageBot instance...

[2025-04-30T16:20:16.568Z] Starting Arbitrage Bot Version: 3.10.16-updated

[2025-04-30T16:20:16.569Z] Initialized RateLimiter: 5.00 calls/sec (min delay: 200ms)

[2025-04-30T16:20:16.570Z] Initialized provider with RPC 1/3: https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:20:16.688Z] Permit2 potentially configured at 0x000000000022D473030F116dDEE9F6B43aC78BA3. Will verify in initialize().

[2025-04-30T16:20:16.689Z] 🤖 Bot Wallet: 0x252a84e155b6B754dCfb7634d011440D81E99a59

[2025-04-30T16:20:16.690Z] 📈 Arbitrage Contract: 0x5eD4491dA9F3382a1B508A2ad5ed6e9b657cB8dd

[2025-04-30T16:20:16.690Z] 🔐 Permit2 Contract: 0x000000000022D473030F116dDEE9F6B43aC78BA3

[2025-04-30T16:20:16.691Z] 📡 Initial RPC: https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:20:16.691Z] 🔄 Simulation Mode: false

[2025-04-30T16:20:16.691Z] 🚨 Emergency Pause: false

[2025-04-30T16:20:16.692Z] >>> ArbitrageBot instance created.

[2025-04-30T16:20:16.692Z] >>> Starting bot run loop...

[2025-04-30T16:20:16.693Z] >>> Entering main run loop.

[2025-04-30T16:20:16.694Z] 🚀 Initializing Arbitrage Bot...

[2025-04-30T16:20:16.696Z] --- Validating Environment Variables ---

[2025-04-30T16:20:16.696Z] ✅ RPC_URL found.

[2025-04-30T16:20:16.697Z] ✅ PRIVATE_KEY found.

[2025-04-30T16:20:16.697Z] ✅ CONTRACT_ADDRESS found.

[2025-04-30T16:20:16.697Z] ✅ CONTRACT_ADDRESS: 0x5eD4491dA9F3382a1B508A2ad5ed6e9b657cB8dd

[2025-04-30T16:20:16.698Z] ✅ PRIVATE_KEY format seems valid.

[2025-04-30T16:20:16.698Z] ✅ RPC URLs configured: https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le, https://polygon-rpc.com, https://rpc.ankr.com/polygon

[2025-04-30T16:20:16.699Z] [WARN] ⚠️ SIMULATION_MODE=false. Bot is in LIVE mode. Ensure thorough testing before live execution.

[2025-04-30T16:20:16.699Z] ✅ Slippage Tolerance: 150 BPS (1.5%)

[2025-04-30T16:20:16.699Z] ✅ Min Profit Threshold: 0.01 (in loaned token)

[2025-04-30T16:20:16.700Z] ✅ Loan Amount: 100000 (in loaned token)

[2025-04-30T16:20:16.700Z] ----------------------------------------

[2025-04-30T16:20:16.700Z] Environment variables validated successfully.

[2025-04-30T16:20:17.814Z] Provider health check OK: Block 70945390 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:20:18.190Z] ✅ Connected to Polygon Mainnet (Chain ID: 137) at block 70945390

[2025-04-30T16:20:18.191Z] Validating contract bytecode at 0x5eD4491dA9F3382a1B508A2ad5ed6e9b657cB8dd...

[2025-04-30T16:20:19.004Z] ✅ Contract bytecode exists at 0x5eD4491dA9F3382a1B508A2ad5ed6e9b657cB8dd

[2025-04-30T16:20:19.979Z] ✅ Contract owner verified: 0x252a84e155b6B754dCfb7634d011440D81E99a59

[2025-04-30T16:20:20.790Z] Wallet MATIC balance: 7.3434 MATIC

[2025-04-30T16:20:20.791Z] 🔄 Loading/Refreshing trading pairs (Min Liquidity: $10000)...

[2025-04-30T16:20:20.792Z] --- Checking DEX Configurations (QUICKSWAP, SUSHI, UNISWAP_V3, BALANCER, PARASWAP) ---

[2025-04-30T16:20:20.794Z] ✅ QUICKSWAP: Config OK.

[2025-04-30T16:20:20.795Z] ✅ SUSHI: Config OK.

[2025-04-30T16:20:20.795Z] ✅ UNISWAP_V3: Config OK.

[2025-04-30T16:20:20.796Z] ✅ BALANCER: Config OK.

[2025-04-30T16:20:20.797Z] ✅ PARASWAP: Config OK.

[2025-04-30T16:20:20.797Z] ----------------------------------------

[2025-04-30T16:20:20.799Z] Using valid DEXes for quoting: QUICKSWAP, SUSHI, UNISWAP_V3, BALANCER, PARASWAP

[2025-04-30T16:20:22.079Z] ✅ Valid V2 pair: QUICKSWAP DAI/USDC Addr: 0xf04adBF75cDFc5eD26eeA4bbbb991DB002036Bdd (Est. Liq: $288671)

[2025-04-30T16:20:23.458Z] ✅ Valid V2 pair: SUSHI DAI/USDC Addr: 0xCD578F016888B57F1b1e3f887f392F0159E26747 (Est. Liq: $197577)

[2025-04-30T16:20:24.731Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 100) Addr: 0x5645dCB64c059aa11212707fbf4E7F984440a8Cf (Est. Liq: $911803162452545)

[2025-04-30T16:20:25.976Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 500) Addr: 0x5f69C2ec01c22843f8273838d570243fd1963014 (Est. Liq: $50021935299974)

[2025-04-30T16:20:27.287Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 3000) Addr: 0x257d365f7870742C87Bb3a8A53a609979908799A (Est. Liq: $23631695767)

[2025-04-30T16:20:28.668Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 10000) Addr: 0xFd0693F146Eae257586E0dc63205f090e31a3584 (Est. Liq: $400500634)

[2025-04-30T16:20:28.669Z] ✅ Assumed valid ParaSwap pair: DAI/USDC

[2025-04-30T16:20:33.176Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 100) Addr: 0xf369277650aD6654f25412ea8BFBD5942733BaBC (Est. Liq: $790019497152921)

[2025-04-30T16:20:34.526Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 500) Addr: 0xe023d2Bd6a787b4D31494770FC9bAdC5726fCaae (Est. Liq: $1021475394)

[2025-04-30T16:20:35.704Z] ✅ Valid Uniswap V3 pool: DAI/USDC (Fee: 3000) Addr: 0x02765EB2283a5c644C2bEf51911e2f9039FC225B (Est. Liq: $7725568716)

[2025-04-30T16:20:36.667Z] Zero liquidity in Uniswap V3 pool: DAI/USDC (Fee: 10000) at 0x9ff305a8566B6096232563b7D2A5374b5E971A77

[2025-04-30T16:20:36.668Z] ✅ Assumed valid ParaSwap pair: DAI/USDC

[2025-04-30T16:20:38.063Z] ✅ Valid V2 pair: QUICKSWAP DAI/USDT Addr: 0x59153f27eeFE07E5eCE4f9304EBBa1DA6F53CA88 (Est. Liq: $794307)

[2025-04-30T16:20:39.397Z] ✅ Valid V2 pair: SUSHI DAI/USDT Addr: 0x3B31Bb4b6bA4f67F4EF54e78bCb0AAa4f53DC7fF (Est. Liq: $14525)

[2025-04-30T16:20:44.572Z] ✅ Assumed valid ParaSwap pair: DAI/USDT

[2025-04-30T16:20:45.950Z] ✅ Valid V2 pair: QUICKSWAP USDC/USDT Addr: 0x2cF7252e74036d1Da831d11089D326296e64a728 (Est. Liq: $633127)

[2025-04-30T16:20:47.035Z] ✅ Valid V2 pair: SUSHI USDC/USDT Addr: 0x4B1F1e2435A9C96f7330FAea190Ef6A7C8D70001 (Est. Liq: $360065)

[2025-04-30T16:20:48.351Z] ✅ Valid Uniswap V3 pool: USDC/USDT (Fee: 100) Addr: 0xDaC8A8E6DBf8c690ec6815e0fF03491B2770255D (Est. Liq: $1010374656)

[2025-04-30T16:20:49.738Z] ✅ Valid Uniswap V3 pool: USDC/USDT (Fee: 500) Addr: 0x3F5228d0e7D75467366be7De2c31D0d098bA2C23 (Est. Liq: $74348165)

[2025-04-30T16:20:51.030Z] ✅ Valid Uniswap V3 pool: USDC/USDT (Fee: 3000) Addr: 0x24555B1E26407b8b56621da41F175c5E2B80f1b8 (Est. Liq: $4276179)

[2025-04-30T16:20:52.359Z] ✅ Assumed valid ParaSwap pair: USDC/USDT

[2025-04-30T16:20:56.198Z] ✅ Valid Uniswap V3 pool: USDC/USDT (Fee: 100) Addr: 0x31083a78E11B18e450fd139F9ABEa98CD53181B7 (Est. Liq: $3707619318)

[2025-04-30T16:20:57.465Z] ✅ Valid Uniswap V3 pool: USDC/USDT (Fee: 500) Addr: 0xEE95696f77693aF4F9B93850A9f48B4AD8E7a30A (Est. Liq: $58293728)

[2025-04-30T16:20:58.688Z] ✅ Valid Uniswap V3 pool: USDC/USDT (Fee: 3000) Addr: 0x1Cb770fC7C7367c6aD5E88D32072b7f4bf881304 (Est. Liq: $3596012)

[2025-04-30T16:20:59.855Z] ✅ Assumed valid ParaSwap pair: USDC/USDT

[2025-04-30T16:21:02.713Z] ✅ Valid Uniswap V3 pool: USDC/USDC (Fee: 100) Addr: 0xD36ec33c8bed5a9F7B6630855f1533455b98a418 (Est. Liq: $15915873188)

[2025-04-30T16:21:03.813Z] ✅ Valid Uniswap V3 pool: USDC/USDC (Fee: 500) Addr: 0xd9abECB39a5885d1E531eD3599aDfed620E2fC8a (Est. Liq: $502010363)

[2025-04-30T16:21:05.119Z] ✅ Valid Uniswap V3 pool: USDC/USDC (Fee: 3000) Addr: 0x36F1f5D1fafB4B34bc42A39f06e5685d59A86166 (Est. Liq: $162792)

[2025-04-30T16:21:06.398Z] ✅ Valid Uniswap V3 pool: USDC/USDC (Fee: 10000) Addr: 0x780aF82446b5D494DB41F7cb732d07fEa8d431e6 (Est. Liq: $158384)

[2025-04-30T16:21:06.399Z] ✅ Assumed valid ParaSwap pair: USDC/USDC

[2025-04-30T16:21:08.773Z] Fetched Chainlink price for WETH: $1758.5100

[2025-04-30T16:21:08.774Z] ✅ Valid V2 pair: QUICKSWAP WETH/DAI Addr: 0x4A35582a710E1F4b2030A3F826DA20BfB6703C09 (Est. Liq: $62916)

[2025-04-30T16:21:09.872Z] ✅ Valid V2 pair: SUSHI WETH/DAI Addr: 0x6FF62bfb8c12109E8000935A6De54daD83a4f39f (Est. Liq: $72974)

[2025-04-30T16:21:13.819Z] ✅ Valid Uniswap V3 pool: WETH/DAI (Fee: 3000) Addr: 0x6baD0f9a89Ca403bb91d253D385CeC1A2b6eca97 (Est. Liq: $151117)

[2025-04-30T16:21:15.194Z] ✅ Assumed valid ParaSwap pair: WETH/DAI

[2025-04-30T16:21:16.409Z] ✅ Valid V2 pair: QUICKSWAP WETH/USDC Addr: 0x853Ee4b2A13f8a742d64C8F088bE7bA2131f670d (Est. Liq: $1860462)

[2025-04-30T16:21:17.793Z] ✅ Valid V2 pair: SUSHI WETH/USDC Addr: 0x34965ba0ac2451A34a0471F04CCa3F990b8dea27 (Est. Liq: $410511)

[2025-04-30T16:21:19.073Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 100) Addr: 0x04537F43f6adD7b1b60CAb199c7a910024eE0594 (Est. Liq: $1263394)

[2025-04-30T16:21:20.510Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 500) Addr: 0x45dDa9cb7c25131DF268515131f647d726f50608 (Est. Liq: $53188044065)

[2025-04-30T16:21:21.879Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 3000) Addr: 0x0e44cEb592AcFC5D3F09D996302eB4C499ff8c10 (Est. Liq: $4763399446)

[2025-04-30T16:21:23.365Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 10000) Addr: 0xBD934A7778771A7E2D9bf80596002a214D8C9304 (Est. Liq: $330429567)

[2025-04-30T16:21:23.366Z] ✅ Assumed valid Balancer pair: WETH/USDC (Pool ID: 0x03cd19...)

[2025-04-30T16:21:23.366Z] ✅ Assumed valid ParaSwap pair: WETH/USDC

[2025-04-30T16:21:24.688Z] ✅ Valid V2 pair: QUICKSWAP WETH/USDC Addr: 0x7bAF833f82BB1971f99A5a5d84bED1d5D0dEDD70 (Est. Liq: $19258)

[2025-04-30T16:21:27.649Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 100) Addr: 0x80CdADE01Ff626B7CcE4772E3C2d56db14f384fA (Est. Liq: $600736)

[2025-04-30T16:21:28.902Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 500) Addr: 0xA4D8c89f0c20efbe54cBa9e7e7a7E509056228D9 (Est. Liq: $68823963763)

[2025-04-30T16:21:30.378Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 3000) Addr: 0x19C5505638383337D2972Ce68B493aD78E315147 (Est. Liq: $19041176522)

[2025-04-30T16:21:31.733Z] ✅ Valid Uniswap V3 pool: WETH/USDC (Fee: 10000) Addr: 0x12bD7Ae45ACF2504BED144Eabc6FF5bBEbd91563 (Est. Liq: $2618760)

[2025-04-30T16:21:31.734Z] ✅ Assumed valid Balancer pair: WETH/USDC (Pool ID: 0x03cd19...)

[2025-04-30T16:21:31.734Z] ✅ Assumed valid ParaSwap pair: WETH/USDC

[2025-04-30T16:21:33.106Z] ✅ Valid V2 pair: QUICKSWAP WETH/USDT Addr: 0xF6422B997c7F54D1c6a6e103bcb1499EeA0a7046 (Est. Liq: $123526)

[2025-04-30T16:21:34.759Z] ✅ Valid V2 pair: SUSHI WETH/USDT Addr: 0xc2755915a85C6f6c1C0F3a86ac8C058F11Caa9C9 (Est. Liq: $104093)

[2025-04-30T16:21:40.103Z] ✅ Assumed valid ParaSwap pair: WETH/USDT

[2025-04-30T16:21:41.677Z] [WARN] Operation 'ChainlinkPrice(WBTC)' attempt 1/2 failed: could not decode result data . Retrying in 1000ms...

[2025-04-30T16:21:43.232Z] [ERROR] Operation 'ChainlinkPrice(WBTC)' failed after 2 attempts: could not decode result data

[2025-04-30T16:21:43.233Z] [WARN] Chainlink price fetch failed for WBTC (0xde31f2fC68Db7e59A8A0A2aDDb57e3c32b0EDf09): could not decode result data (value="0x", info={ "method": "latestRoundData", "signature": "latestRoundData()" }, code=BAD_DATA, version=6.13.5). Trying CoinGecko.

[2025-04-30T16:21:43.234Z] Querying CoinGecko: https://api.coingecko.com/api/v3/simple/price?ids=wrapped-bitcoin&vs_currencies=usd

[2025-04-30T16:21:44.157Z] Fetched CoinGecko price for WBTC (wrapped-bitcoin): $93570.0000

[2025-04-30T16:21:46.199Z] Zero liquidity in Uniswap V3 pool: WBTC/DAI (Fee: 100) at 0xD0Fe750D4DAD55cb927fa094b535cE6fd5177b5d

[2025-04-30T16:21:47.733Z] Zero liquidity in Uniswap V3 pool: WBTC/DAI (Fee: 500) at 0x5e575a7050CA806248E8F4341601847Fde52D9BA

[2025-04-30T16:21:49.077Z] ✅ Valid Uniswap V3 pool: WBTC/DAI (Fee: 3000) Addr: 0xd0beb9570bC3d2AF7FA461dFD3c75cC3a34f95e2 (Est. Liq: $32843220994)

[2025-04-30T16:21:49.988Z] Zero liquidity in Uniswap V3 pool: WBTC/DAI (Fee: 10000) at 0xF147E3760Fe6Ed404BbB5eADE7632A8AB2888c2e

[2025-04-30T16:21:49.989Z] ✅ Assumed valid ParaSwap pair: WBTC/DAI

[2025-04-30T16:21:51.523Z] ✅ Valid V2 pair: QUICKSWAP WBTC/USDC Addr: 0xF6a637525402643B0654a54bEAd2Cb9A83C8B498 (Est. Liq: $352854)

[2025-04-30T16:21:55.342Z] ✅ Valid Uniswap V3 pool: WBTC/USDC (Fee: 500) Addr: 0xeEF1A9507B3D505f0062f2be9453981255b503c8 (Est. Liq: $417448636)

[2025-04-30T16:21:56.685Z] ✅ Valid Uniswap V3 pool: WBTC/USDC (Fee: 3000) Addr: 0x847b64f9d3A95e977D157866447a5C0A5dFa0Ee5 (Est. Liq: $24643489)

[2025-04-30T16:21:57.802Z] ✅ Valid Uniswap V3 pool: WBTC/USDC (Fee: 10000) Addr: 0x4f78a9B3015704c1152327E14963F54E4a63c28A (Est. Liq: $495000)

[2025-04-30T16:21:57.802Z] ✅ Assumed valid ParaSwap pair: WBTC/USDC

[2025-04-30T16:22:01.073Z] Zero liquidity in Uniswap V3 pool: WBTC/USDC (Fee: 100) at 0x3F6CFB3e592F218F426F3457828779349FEa6389

[2025-04-30T16:22:02.320Z] ✅ Valid Uniswap V3 pool: WBTC/USDC (Fee: 500) Addr: 0x32FAE204835e08b9374493d6B4628FD1F87DD045 (Est. Liq: $89938784)

[2025-04-30T16:22:03.445Z] ✅ Valid Uniswap V3 pool: WBTC/USDC (Fee: 3000) Addr: 0xe6Ba22265AeFe9dC392F544437ACCe2AEdF8ef36 (Est. Liq: $73136314)

[2025-04-30T16:22:04.297Z] Zero liquidity in Uniswap V3 pool: WBTC/USDC (Fee: 10000) at 0x644e0Dca0bef70Ba31600e69992E502F9Be69332

[2025-04-30T16:22:04.297Z] ✅ Assumed valid ParaSwap pair: WBTC/USDC

[2025-04-30T16:22:07.637Z] Zero liquidity in Uniswap V3 pool: WBTC/USDT (Fee: 100) at 0x9B236400f0Bd56d7885b945982142aB23f4C0EE4

[2025-04-30T16:22:08.996Z] ✅ Valid Uniswap V3 pool: WBTC/USDT (Fee: 500) Addr: 0xa1cfb393607d1a6888D273b762832ed14C8b56b1 (Est. Liq: $23064102)

[2025-04-30T16:22:10.279Z] ✅ Valid Uniswap V3 pool: WBTC/USDT (Fee: 3000) Addr: 0x33016DF701b323c33cc027146c6a9e0997B2a923 (Est. Liq: $75469877)

[2025-04-30T16:22:11.632Z] ✅ Valid Uniswap V3 pool: WBTC/USDT (Fee: 10000) Addr: 0x8Fc5e02d85891BA2855af1904dfc5cf1d82e4a44 (Est. Liq: $550029)

[2025-04-30T16:22:11.633Z] ✅ Assumed valid ParaSwap pair: WBTC/USDT

[2025-04-30T16:22:12.997Z] Querying CoinGecko: https://api.coingecko.com/api/v3/simple/price?ids=chainlink&vs_currencies=usd

[2025-04-30T16:22:14.019Z] Fetched CoinGecko price for LINK (chainlink): $14.0600

[2025-04-30T16:22:14.020Z] ✅ Valid V2 pair: QUICKSWAP LINK/WETH Addr: 0x5cA6CA6c3709E1E6CFe74a50Cf6B2B6BA2Dadd67 (Est. Liq: $168984)

[2025-04-30T16:22:15.435Z] ✅ Valid V2 pair: SUSHI LINK/WETH Addr: 0x74D23F21F780CA26B47Db16B0504F2e3832b9321 (Est. Liq: $106192)

[2025-04-30T16:22:16.237Z] Zero liquidity in Uniswap V3 pool: LINK/WETH (Fee: 100) at 0x2Dfd17C7081BCaCa2563B3F98B11b2e35cf0E432

[2025-04-30T16:22:17.557Z] ✅ Valid Uniswap V3 pool: LINK/WETH (Fee: 500) Addr: 0x3dC10D7Bfb94eeB009203E84a653E5764F71771d (Est. Liq: $75884)

[2025-04-30T16:22:18.998Z] ✅ Valid Uniswap V3 pool: LINK/WETH (Fee: 3000) Addr: 0x3e31AB7f37c048FC6574189135D108df80F0ea26 (Est. Liq: $599808)

[2025-04-30T16:22:20.483Z] ✅ Assumed valid ParaSwap pair: LINK/WETH

[2025-04-30T16:22:24.412Z] Zero liquidity in Uniswap V3 pool: LINK/USDC (Fee: 100) at 0x199892d638e35644dD896CC3b8dCb3C5c51aF130

[2025-04-30T16:22:26.199Z] ✅ Valid Uniswap V3 pool: LINK/USDC (Fee: 500) Addr: 0x22177148e681A6ca5242c9888Ace170EE7eC47BD (Est. Liq: $428686203)

[2025-04-30T16:22:27.534Z] ✅ Valid Uniswap V3 pool: LINK/USDC (Fee: 3000) Addr: 0x94Ab9E4553fFb839431E37CC79ba8905f45BfBeA (Est. Liq: $234063697957)

[2025-04-30T16:22:28.823Z] ✅ Valid Uniswap V3 pool: LINK/USDC (Fee: 10000) Addr: 0x060429579800BcE3dC818902da0321912F30Edf0 (Est. Liq: $9277895)

[2025-04-30T16:22:28.823Z] ✅ Assumed valid ParaSwap pair: LINK/USDC

[2025-04-30T16:22:34.637Z] Zero liquidity in Uniswap V3 pool: AAVE/DAI (Fee: 10000) at 0xe5c7e972542Ce10d77683c84D1ceE2028E0C782E

[2025-04-30T16:22:34.637Z] ✅ Assumed valid ParaSwap pair: AAVE/DAI

[2025-04-30T16:22:36.666Z] Fetched Chainlink price for WMATIC: $0.2320

[2025-04-30T16:22:41.786Z] ✅ Valid Uniswap V3 pool: AAVE/WMATIC (Fee: 3000) Addr: 0xa9077cDB3D13F45B8B9d87C43E11bCe0e73d8631 (Est. Liq: $22169)

[2025-04-30T16:22:43.136Z] ✅ Assumed valid ParaSwap pair: AAVE/WMATIC

[2025-04-30T16:22:44.496Z] Querying CoinGecko: https://api.coingecko.com/api/v3/simple/price?ids=curve-dao-token&vs_currencies=usd

[2025-04-30T16:22:45.432Z] Fetched CoinGecko price for CRV (curve-dao-token): $0.6656

[2025-04-30T16:22:48.947Z] Zero liquidity in Uniswap V3 pool: CRV/USDC (Fee: 500) at 0x91381a2B11aa4D230A96f5783a41a9d9f0469dBa

[2025-04-30T16:22:51.396Z] ✅ Assumed valid ParaSwap pair: CRV/USDC

[2025-04-30T16:22:53.011Z] Querying CoinGecko: https://api.coingecko.com/api/v3/simple/price?ids=sushi&vs_currencies=usd

[2025-04-30T16:22:53.566Z] Fetched CoinGecko price for SUSHI (sushi): $0.6399

[2025-04-30T16:22:57.563Z] Zero liquidity in Uniswap V3 pool: SUSHI/DAI (Fee: 10000) at 0x04685dAeC3F4f8DE4bEbEe2ce6e38E6BAdDab1FC

[2025-04-30T16:22:57.564Z] ✅ Assumed valid ParaSwap pair: SUSHI/DAI

[2025-04-30T16:22:58.882Z] ✅ Valid V2 pair: QUICKSWAP UNI/WETH Addr: 0xF7135272a5584Eb116f5a77425118a8B4A2ddfDb (Est. Liq: $13232)

[2025-04-30T16:23:01.307Z] Zero liquidity in Uniswap V3 pool: UNI/WETH (Fee: 500) at 0xB5Bf6B58a64C070c9A95C43644a90B07AD03e0a7

[2025-04-30T16:23:02.521Z] ✅ Valid Uniswap V3 pool: UNI/WETH (Fee: 3000) Addr: 0x357faF5843c7FD7fb4E34FBEabDAc16eabE8a5bc (Est. Liq: $6559663)

[2025-04-30T16:23:03.863Z] ✅ Assumed valid ParaSwap pair: UNI/WETH

[2025-04-30T16:23:11.230Z] ✅ Assumed valid ParaSwap pair: BAL/WMATIC

[2025-04-30T16:23:14.489Z] Zero liquidity in Uniswap V3 pool: LINK/USDT (Fee: 100) at 0x7692e6899DB9787603353B2BC2841FA3d999b8a6

[2025-04-30T16:23:18.179Z] ✅ Assumed valid ParaSwap pair: LINK/USDT

[2025-04-30T16:23:22.583Z] ✅ Valid Uniswap V3 pool: AAVE/USDT (Fee: 500) Addr: 0x6E6C3ecA437624cb3BB74c1903195DE93d7e31b6 (Est. Liq: $40659229)

[2025-04-30T16:23:24.273Z] ✅ Valid Uniswap V3 pool: AAVE/USDT (Fee: 3000) Addr: 0x20fB28b6209eD80eeE40894BAA9a199C07B03e55 (Est. Liq: $23598797508)

[2025-04-30T16:23:25.515Z] ✅ Valid Uniswap V3 pool: AAVE/USDT (Fee: 10000) Addr: 0x948989E14111d072F592D3309a6e3b1654F5D783 (Est. Liq: $25843)

[2025-04-30T16:23:25.515Z] ✅ Assumed valid ParaSwap pair: AAVE/USDT

[2025-04-30T16:23:28.064Z] ✅ Valid V2 pair: SUSHI CRV/WETH Addr: 0x396E655C309676cAF0acf4607a868e0CDed876dB (Est. Liq: $54854)

[2025-04-30T16:23:28.920Z] Zero liquidity in Uniswap V3 pool: CRV/WETH (Fee: 100) at 0x62a15D4Eb36EEFa6948f8F8eBcD106681eF49bc7

[2025-04-30T16:23:29.822Z] Zero liquidity in Uniswap V3 pool: CRV/WETH (Fee: 500) at 0xC48054895F205598B40Bc74fD234dfd03166D462

[2025-04-30T16:23:32.310Z] ✅ Assumed valid ParaSwap pair: CRV/WETH

[2025-04-30T16:23:35.895Z] Zero liquidity in Uniswap V3 pool: SUSHI/WETH (Fee: 100) at 0x8611013b5475a078c3415A15De796eA4BFF4749b

[2025-04-30T16:23:36.712Z] Zero liquidity in Uniswap V3 pool: SUSHI/WETH (Fee: 500) at 0x582D9E11a8a337d24D998FD69d0d9c0349b8a957

[2025-04-30T16:23:39.155Z] ✅ Assumed valid ParaSwap pair: SUSHI/WETH

[2025-04-30T16:23:43.351Z] Zero liquidity in Uniswap V3 pool: UNI/DAI (Fee: 500) at 0x46048A5cd6c19f5e32e616990789E61a05652d1E

[2025-04-30T16:23:45.491Z] Zero liquidity in Uniswap V3 pool: UNI/DAI (Fee: 10000) at 0x82FaBD8d39B0fc7aa91A6B060807a483e9b7391F

[2025-04-30T16:23:45.491Z] ✅ Assumed valid ParaSwap pair: UNI/DAI

[2025-04-30T16:23:49.602Z] ✅ Assumed valid ParaSwap pair: BAL/DAI

[2025-04-30T16:23:50.949Z] ✅ Valid V2 pair: QUICKSWAP WMATIC/WETH Addr: 0xadbF1854e5883eB8aa7BAf50705338739e558E5b (Est. Liq: $717133)

[2025-04-30T16:23:52.188Z] ✅ Valid V2 pair: SUSHI WMATIC/WETH Addr: 0xc4e595acDD7d12feC385E5dA5D43160e8A0bAC0E (Est. Liq: $1507211)

[2025-04-30T16:23:54.746Z] ✅ Valid Uniswap V3 pool: WMATIC/WETH (Fee: 500) Addr: 0x86f1d8390222A3691C28938eC7404A1661E618e0 (Est. Liq: $13053)

[2025-04-30T16:23:56.123Z] ✅ Valid Uniswap V3 pool: WMATIC/WETH (Fee: 3000) Addr: 0x167384319B41F7094e62f7506409Eb38079AbfF8 (Est. Liq: $24795)

[2025-04-30T16:23:57.463Z] ✅ Assumed valid ParaSwap pair: WMATIC/WETH

[2025-04-30T16:23:58.835Z] ✅ Valid V2 pair: QUICKSWAP WMATIC/WBTC Addr: 0xf6B87181BF250af082272E3f448eC3238746Ce3D (Est. Liq: $16142)

[2025-04-30T16:24:05.637Z] ✅ Assumed valid ParaSwap pair: WMATIC/WBTC

[2025-04-30T16:24:06.975Z] ✅ Valid V2 pair: QUICKSWAP WMATIC/DAI Addr: 0xEEf611894CeaE652979C9D0DaE1dEb597790C6eE (Est. Liq: $16013)

[2025-04-30T16:24:12.102Z] ✅ Valid Uniswap V3 pool: WMATIC/DAI (Fee: 3000) Addr: 0xFE530931dA161232Ec76A7c3bEA7D36cF3811A0d (Est. Liq: $146158)

[2025-04-30T16:24:13.311Z] ✅ Assumed valid ParaSwap pair: WMATIC/DAI

[2025-04-30T16:24:14.547Z] ✅ Valid V2 pair: QUICKSWAP WMATIC/USDC Addr: 0x6e7a5FAFcec6BB1e78bAE2A1F0B612012BF14827 (Est. Liq: $809063)

[2025-04-30T16:24:15.974Z] ✅ Valid V2 pair: SUSHI WMATIC/USDC Addr: 0xcd353F79d9FADe311fC3119B841e1f456b54e858 (Est. Liq: $130594)

[2025-04-30T16:24:21.104Z] ✅ Assumed valid Balancer pair: WMATIC/USDC (Pool ID: 0x0297e3...)

[2025-04-30T16:24:21.104Z] ✅ Assumed valid ParaSwap pair: WMATIC/USDC

[2025-04-30T16:24:29.101Z] ✅ Assumed valid Balancer pair: WMATIC/USDC (Pool ID: 0x0297e3...)

[2025-04-30T16:24:29.101Z] ✅ Assumed valid ParaSwap pair: WMATIC/USDC

[2025-04-30T16:24:30.386Z] ✅ Valid V2 pair: QUICKSWAP WMATIC/USDT Addr: 0x604229c960e5CACF2aaEAc8Be68Ac07BA9dF81c3 (Est. Liq: $207464)

[2025-04-30T16:24:31.801Z] ✅ Valid V2 pair: SUSHI WMATIC/USDT Addr: 0x55FF76BFFC3Cdd9D5FdbBC2ece4528ECcE45047e (Est. Liq: $15076)

[2025-04-30T16:24:37.001Z] ✅ Assumed valid ParaSwap pair: WMATIC/USDT

[2025-04-30T16:24:38.268Z] ✅ Valid V2 pair: QUICKSWAP WBTC/WETH Addr: 0xdC9232E2Df177d7a12FdFf6EcBAb114E2231198D (Est. Liq: $424136)

[2025-04-30T16:24:39.742Z] ✅ Valid V2 pair: SUSHI WBTC/WETH Addr: 0xE62Ec2e799305E0D367b0Cc3ee2CdA135bF89816 (Est. Liq: $510170)

[2025-04-30T16:24:41.035Z] ✅ Valid Uniswap V3 pool: WBTC/WETH (Fee: 100) Addr: 0x960Fc6489C9b44Da6ba330883dc1898B75a7b27B (Est. Liq: $6792040696)

[2025-04-30T16:24:42.404Z] ✅ Valid Uniswap V3 pool: WBTC/WETH (Fee: 500) Addr: 0x50eaEDB835021E4A108B7290636d62E9765cc6d7 (Est. Liq: $4539311951484)

[2025-04-30T16:24:43.633Z] ✅ Valid Uniswap V3 pool: WBTC/WETH (Fee: 3000) Addr: 0xfe343675878100b344802A6763fd373fDeed07A4 (Est. Liq: $293392777697)

[2025-04-30T16:24:45.006Z] ✅ Valid Uniswap V3 pool: WBTC/WETH (Fee: 10000) Addr: 0x4f28EeF4dDe2BFA0BDB95A7EFE586c3654e6CF07 (Est. Liq: $32333665869)

[2025-04-30T16:24:45.006Z] ✅ Assumed valid ParaSwap pair: WBTC/WETH

[2025-04-30T16:24:45.007Z] Found 238 potential trading legs across QUICKSWAP, SUSHI, UNISWAP_V3, BALANCER, PARASWAP.

[2025-04-30T16:24:45.043Z] --- Trading Leg Summary ---

[2025-04-30T16:24:45.045Z] Total Legs: 238

[2025-04-30T16:24:45.046Z] Count by DEX: {"QUICKSWAP":32,"SUSHI":24,"UNISWAP_V3":104,"PARASWAP":70,"BALANCER":8}

[2025-04-30T16:24:45.048Z] --------------------------

[2025-04-30T16:24:45.049Z] --- Monitoring Contract Balances ---

[2025-04-30T16:24:45.358Z] Contract MATIC balance: 0.0 MATIC

[2025-04-30T16:24:50.672Z] ------------------------------------

[2025-04-30T16:24:50.673Z]

⚠️ --- Bot Ready --- ⚠️

[2025-04-30T16:24:50.674Z] Mode: LIVE

[2025-04-30T16:24:50.674Z] Wallet: 0x252a84e155b6B754dCfb7634d011440D81E99a59

[2025-04-30T16:24:50.674Z] Contract: 0x5eD4491dA9F3382a1B508A2ad5ed6e9b657cB8dd

[2025-04-30T16:24:50.674Z] Min Profit: 0.01 (Loan Token)

[2025-04-30T16:24:50.675Z] Slippage: 1.5%

[2025-04-30T16:24:50.675Z] ---------------------------------

[2025-04-30T16:24:50.675Z] ✅ Initialization Complete.

[2025-04-30T16:24:50.676Z] >>> Initialization successful. Starting scan cycles...

[2025-04-30T16:24:50.676Z]

=========== New Scan Cycle (2025-04-30T16:24:50.676Z) ===========

[2025-04-30T16:24:51.041Z] Provider health check OK: Block 70945519 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:24:51.042Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:24:51.043Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:24:51.044Z] Using cached trading pairs.

[2025-04-30T16:24:52.852Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:24:52.853Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:24:52.853Z] Using cached trading pairs.

[2025-04-30T16:24:52.855Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:24:52.855Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:24:52.855Z]

⏳ Waiting 2 seconds before next scan cycle...

[2025-04-30T16:24:54.772Z]

=========== New Scan Cycle (2025-04-30T16:24:54.772Z) ===========

[2025-04-30T16:24:55.064Z] Provider health check OK: Block 70945520 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:24:55.065Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:24:55.065Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:24:55.065Z] Using cached trading pairs.

[2025-04-30T16:24:56.890Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:24:56.891Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:24:56.892Z] Using cached trading pairs.

[2025-04-30T16:24:56.893Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:24:56.894Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:24:56.895Z]

⏳ Waiting 1 seconds before next scan cycle...

[2025-04-30T16:24:58.002Z]

=========== New Scan Cycle (2025-04-30T16:24:58.002Z) ===========

[2025-04-30T16:24:58.280Z] Provider health check OK: Block 70945521 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:24:58.281Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:24:58.282Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:24:58.282Z] Using cached trading pairs.

[2025-04-30T16:25:00.534Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:00.534Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:00.535Z] Using cached trading pairs.

[2025-04-30T16:25:00.536Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:00.536Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:00.536Z]

⏳ Waiting 3 seconds before next scan cycle...

[2025-04-30T16:25:03.444Z]

=========== New Scan Cycle (2025-04-30T16:25:03.444Z) ===========

[2025-04-30T16:25:03.939Z] Provider health check OK: Block 70945524 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:03.940Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:03.941Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:03.941Z] Using cached trading pairs.

[2025-04-30T16:25:05.554Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:05.555Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:05.555Z] Using cached trading pairs.

[2025-04-30T16:25:05.556Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:05.557Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:05.557Z]

⏳ Waiting 1 seconds before next scan cycle...

[2025-04-30T16:25:07.040Z]

=========== New Scan Cycle (2025-04-30T16:25:07.040Z) ===========

[2025-04-30T16:25:07.316Z] Provider health check OK: Block 70945526 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:07.316Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:07.317Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:07.317Z] Using cached trading pairs.

[2025-04-30T16:25:08.937Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:08.938Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:08.938Z] Using cached trading pairs.

[2025-04-30T16:25:08.939Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:08.940Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:08.940Z]

⏳ Waiting 2 seconds before next scan cycle...

[2025-04-30T16:25:11.036Z]

=========== New Scan Cycle (2025-04-30T16:25:11.036Z) ===========

[2025-04-30T16:25:11.251Z] Provider health check OK: Block 70945528 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:11.252Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:11.252Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:11.253Z] Using cached trading pairs.

[2025-04-30T16:25:12.868Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:12.868Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:12.869Z] Using cached trading pairs.

[2025-04-30T16:25:12.870Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:12.870Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:12.870Z]

⏳ Waiting 2 seconds before next scan cycle...

[2025-04-30T16:25:15.026Z]

=========== New Scan Cycle (2025-04-30T16:25:15.026Z) ===========

[2025-04-30T16:25:15.397Z] Provider health check OK: Block 70945530 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:15.398Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:15.398Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:15.399Z] Using cached trading pairs.

[2025-04-30T16:25:17.050Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:17.050Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:17.051Z] Using cached trading pairs.

[2025-04-30T16:25:17.052Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:17.052Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:17.052Z]

⏳ Waiting 3 seconds before next scan cycle...

[2025-04-30T16:25:19.835Z]

=========== New Scan Cycle (2025-04-30T16:25:19.835Z) ===========

[2025-04-30T16:25:20.100Z] Provider health check OK: Block 70945532 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:20.101Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:20.102Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:20.102Z] Using cached trading pairs.

[2025-04-30T16:25:22.181Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:22.182Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:22.182Z] Using cached trading pairs.

[2025-04-30T16:25:22.183Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:22.183Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:22.184Z]

⏳ Waiting 2 seconds before next scan cycle...

[2025-04-30T16:25:24.116Z]

=========== New Scan Cycle (2025-04-30T16:25:24.116Z) ===========

[2025-04-30T16:25:24.356Z] Provider health check OK: Block 70945534 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:24.357Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:24.357Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:24.357Z] Using cached trading pairs.

[2025-04-30T16:25:26.998Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:26.999Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:26.999Z] Using cached trading pairs.

[2025-04-30T16:25:27.000Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:27.001Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:27.002Z]

⏳ Waiting 3 seconds before next scan cycle...

[2025-04-30T16:25:29.667Z]

=========== New Scan Cycle (2025-04-30T16:25:29.667Z) ===========

[2025-04-30T16:25:29.963Z] Provider health check OK: Block 70945536 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:29.964Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:29.964Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:29.964Z] Using cached trading pairs.

[2025-04-30T16:25:32.709Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:32.710Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:32.710Z] Using cached trading pairs.

[2025-04-30T16:25:32.711Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:32.712Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:32.712Z]

⏳ Waiting 2 seconds before next scan cycle...

[2025-04-30T16:25:34.366Z]

=========== New Scan Cycle (2025-04-30T16:25:34.366Z) ===========

[2025-04-30T16:25:34.604Z] Provider health check OK: Block 70945538 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:34.605Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:34.606Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:34.606Z] Using cached trading pairs.

[2025-04-30T16:25:36.451Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:36.452Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:36.452Z] Using cached trading pairs.

[2025-04-30T16:25:36.454Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:36.454Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:36.454Z]

⏳ Waiting 2 seconds before next scan cycle...

[2025-04-30T16:25:38.313Z]

=========== New Scan Cycle (2025-04-30T16:25:38.313Z) ===========

[2025-04-30T16:25:38.520Z] Provider health check OK: Block 70945540 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:38.520Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:38.521Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

[2025-04-30T16:25:38.521Z] Using cached trading pairs.

[2025-04-30T16:25:40.984Z] Finished two-leg scan. Found 0 profitable opportunities meeting threshold.

[2025-04-30T16:25:40.984Z] 🔍 Searching for triangular arbitrage opportunities... Amount: 100000.0 WMATIC

[2025-04-30T16:25:40.985Z] Using cached trading pairs.

[2025-04-30T16:25:40.986Z] Finished triangular scan. Found 0 potential opportunities.

[2025-04-30T16:25:40.986Z] No profitable arbitrage opportunities found meeting criteria in this cycle.

[2025-04-30T16:25:40.986Z]

⏳ Waiting 1 seconds before next scan cycle...

[2025-04-30T16:25:42.361Z]

=========== New Scan Cycle (2025-04-30T16:25:42.361Z) ===========

[2025-04-30T16:25:42.699Z] Provider health check OK: Block 70945543 on https://polygon-mainnet.g.alchemy.com/v2/ec3vnKa9eTQBIKidY_nHjwxPyDShM3Le

[2025-04-30T16:25:42.700Z] Using WMATIC as loan asset. Amount: 100000

[2025-04-30T16:25:42.700Z] 🔍 Searching for two-leg arbitrage opportunities... Loan Amount: 100000.0 WMATIC

I want this!

A copy of the bot source code as described. Plus an environment variables template.

Size
30 KB
Copy product URL