fix: red-team.sh and export-attacks.py use Base Sepolia addresses labeled as mainnet (#794)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-15 06:48:16 +00:00
parent 4f24d6201f
commit 7618309db5
3 changed files with 7 additions and 3 deletions

View file

@ -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"