diff --git a/STATE.md b/STATE.md index 9348391..5420a2f 100644 --- a/STATE.md +++ b/STATE.md @@ -44,3 +44,4 @@ - [2026-03-15] evolve.sh does not write `note` field — schema drift between hand-written and evolved entries (#719): auto-generate note "Evolved from (run gen)" for every admitted entry - [2026-03-15] No-op varCounter assignment before false branch in processExecIf (#655) - [2026-03-15] Old-format CIDs are warned but still silently dropped from the pool (#801): legacy CID warning made explicit (migration not supported), CID format contract documented in comment +- [2026-03-15] red-team.sh and export-attacks.py use Base Sepolia addresses labeled as mainnet (#794): replace Sepolia SWAP_ROUTER and V3_FACTORY with correct Base mainnet addresses; add Basescan source-link comments diff --git a/scripts/harb-evaluator/export-attacks.py b/scripts/harb-evaluator/export-attacks.py index 3a0c391..292aa6e 100755 --- a/scripts/harb-evaluator/export-attacks.py +++ b/scripts/harb-evaluator/export-attacks.py @@ -33,7 +33,8 @@ from pathlib import Path # ── Constants (must match red-team.sh and AttackRunner.s.sol) ────────────────── WETH_ADDR = "0x4200000000000000000000000000000000000006" -SWAP_ROUTER_ADDR = "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4" +# Base mainnet SwapRouter02 — https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481 +SWAP_ROUTER_ADDR = "0x2626664c2603336E57B271c5C0b26F421741e481" # Base mainnet NonfungiblePositionManager — https://basescan.org/address/0x03a520B32c04bf3beef7BEb72E919cF822Ed34F3 NPM_ADDR = "0x03a520B32c04bf3beef7BEb72E919cF822Ed34F3" diff --git a/scripts/harb-evaluator/red-team.sh b/scripts/harb-evaluator/red-team.sh index 8aae354..4eb999c 100755 --- a/scripts/harb-evaluator/red-team.sh +++ b/scripts/harb-evaluator/red-team.sh @@ -38,8 +38,10 @@ RECENTER_PK=0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a # ── Infrastructure constants ─────────────────────────────────────────────────── WETH=0x4200000000000000000000000000000000000006 -SWAP_ROUTER=0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4 -V3_FACTORY=0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24 +# Base mainnet SwapRouter02 — https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481 +SWAP_ROUTER=0x2626664c2603336E57B271c5C0b26F421741e481 +# Base mainnet Uniswap V3 Factory — https://basescan.org/address/0x33128a8fC17869897dcE68Ed026d694621f6FDfD +V3_FACTORY=0x33128a8fC17869897dcE68Ed026d694621f6FDfD # Base mainnet NonfungiblePositionManager — https://basescan.org/address/0x03a520B32c04bf3beef7BEb72E919cF822Ed34F3 NPM=0x03a520B32c04bf3beef7BEb72E919cF822Ed34F3 POOL_FEE=10000