Files
proxmox/docs/archive/tests/ETHERSCAN_VERIFICATION_CORRECT_ARGS.md
defiQUG cb47cce074 Complete markdown files cleanup and organization
- Organized 252 files across project
- Root directory: 187 → 2 files (98.9% reduction)
- Moved configuration guides to docs/04-configuration/
- Moved troubleshooting guides to docs/09-troubleshooting/
- Moved quick start guides to docs/01-getting-started/
- Moved reports to reports/ directory
- Archived temporary files
- Generated comprehensive reports and documentation
- Created maintenance scripts and guides

All files organized according to established standards.
2026-01-06 01:46:25 -08:00

2.6 KiB

Etherscan Verification - Correct Constructor Arguments

Contract: 0x89dd12025bfCD38A168455A44B400e913ED33BE2
Network: Chain 138 (NOT Ethereum Mainnet)
Status: ⚠️ Contract is on Chain 138, not Ethereum Mainnet!


🔍 Critical Discovery

The contract 0x89dd12025bfCD38A168455A44B400e913ED33BE2 was deployed on Chain 138, not Ethereum Mainnet!

Deployment Details:

  • Chain ID: 138
  • Transaction Hash: 0x0e760fe6593fb0a7ea7e10f4813b57f346f1565d3a8f412cef6aaf0cdd863f5a
  • Block Number: 0x101fd (66,205)
  • Deployer: 0x4a666f96fc8764181194447a7dfdb7d471b301c8

Correct Constructor Arguments

From the deployment broadcast file:

  1. CCIP Router: 0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D
  2. WETH9: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  3. Fee Token: 0x514910771AF9Ca656af840dff83E8264EcF986CA

📋 Encoded Constructor Arguments

ABI-Encoded Constructor Arguments:

00000000000000000000000080226fc0ee2b096224eeac085bb9a8cba1146f7d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca

For Etherscan (with 0x prefix):

0x00000000000000000000000080226fc0ee2b096224eeac085bb9a8cba1146f7d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca

⚠️ Important Note

This contract is on Chain 138, NOT Ethereum Mainnet!

If you're trying to verify on Etherscan (Ethereum Mainnet), you need to:

  1. Deploy the contract to Ethereum Mainnet first
  2. Then verify it on Etherscan

For Chain 138 verification, use Blockscout:


🔧 Verification on Chain 138 (Blockscout)

cd /home/intlc/projects/smom-dbis-138
forge verify-contract \
  0x89dd12025bfCD38A168455A44B400e913ED33BE2 \
  contracts/ccip/CCIPWETH9Bridge.sol:CCIPWETH9Bridge \
  --verifier blockscout \
  --verifier-url https://explorer.d-bis.org/api \
  --constructor-args $(cast abi-encode "constructor(address,address,address)" "0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D" "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" "0x514910771AF9Ca656af840dff83E8264EcF986CA") \
  --num-of-optimizations 200 \
  --chain-id 138 \
  --rpc-url http://192.168.11.250:8545

📄 Source Code

Use the flattened contract from:

  • docs/CCIPWETH9Bridge_flattened.sol

Last Updated: $(date)
Status: ⚠️ Contract is on Chain 138, verify on Blockscout, not Etherscan!