104 lines
2.6 KiB
Markdown
104 lines
2.6 KiB
Markdown
|
|
# Etherscan Verification - Ready to Submit
|
||
|
|
|
||
|
|
**Contract Address**: `0x89dd12025bfcd38a168455a44b400e913ed33be2`
|
||
|
|
**Verification Method**: SINGLE FILE / CONCATENATED METHOD
|
||
|
|
**Compiler Version**: `v0.8.20+commit.a1b79de6`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📋 Verification Form Fields
|
||
|
|
|
||
|
|
### Contract Address
|
||
|
|
```
|
||
|
|
0x89dd12025bfcd38a168455a44b400e913ed33be2
|
||
|
|
```
|
||
|
|
|
||
|
|
### Compiler Type
|
||
|
|
```
|
||
|
|
SINGLE FILE / CONCATENATED METHOD
|
||
|
|
```
|
||
|
|
|
||
|
|
### Compiler Version
|
||
|
|
```
|
||
|
|
v0.8.20+commit.a1b79de6
|
||
|
|
```
|
||
|
|
|
||
|
|
### Open Source License Type
|
||
|
|
```
|
||
|
|
MIT License (MIT)
|
||
|
|
```
|
||
|
|
|
||
|
|
### Optimization
|
||
|
|
- **Enabled**: ✅ Yes
|
||
|
|
- **Runs**: `200`
|
||
|
|
|
||
|
|
### Via IR
|
||
|
|
- **Try**: `No` first (Etherscan may not support via-ir)
|
||
|
|
- If that fails, try `Yes`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📝 Constructor Arguments
|
||
|
|
|
||
|
|
**ABI-Encoded Constructor Arguments**:
|
||
|
|
```
|
||
|
|
0x00000000000000000000000080226fc0ee2b096224eeac085bb9a8cba1146f7d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
|
||
|
|
```
|
||
|
|
|
||
|
|
**Decoded Arguments**:
|
||
|
|
1. `_ccipRouter`: `0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D`
|
||
|
|
2. `_weth9`: `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`
|
||
|
|
3. `_feeToken`: `0x514910771AF9Ca656af840dff83E8264EcF986CA`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📄 Flattened Contract Source Code
|
||
|
|
|
||
|
|
The flattened contract source code is in:
|
||
|
|
- **File**: `/tmp/flattened_contract.sol`
|
||
|
|
- **Lines**: 396 lines
|
||
|
|
- **Ready to paste**: Yes
|
||
|
|
|
||
|
|
**Note**: Copy the entire contents of `/tmp/flattened_contract.sol` and paste it into the Etherscan verification form.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🎯 Step-by-Step Instructions
|
||
|
|
|
||
|
|
1. **Go to Etherscan**:
|
||
|
|
- https://etherscan.io/address/0x89dd12025bfcd38a168455a44b400e913ed33be2#code
|
||
|
|
- Click **"Contract"** tab → **"Verify and Publish"**
|
||
|
|
|
||
|
|
2. **Fill in the form**:
|
||
|
|
- **Contract Address**: `0x89dd12025bfcd38a168455a44b400e913ed33be2`
|
||
|
|
- **Compiler Type**: `SINGLE FILE / CONCATENATED METHOD`
|
||
|
|
- **Compiler Version**: `v0.8.20+commit.a1b79de6`
|
||
|
|
- **License**: `MIT License (MIT)`
|
||
|
|
- **Optimization**: `Yes` (200 runs)
|
||
|
|
- **Via IR**: Try `No` first
|
||
|
|
|
||
|
|
3. **Paste Contract Code**:
|
||
|
|
- Copy the entire contents from `/tmp/flattened_contract.sol`
|
||
|
|
- Paste into the "Enter the Solidity Contract Code below" field
|
||
|
|
|
||
|
|
4. **Enter Constructor Arguments**:
|
||
|
|
- Paste the ABI-encoded constructor arguments
|
||
|
|
|
||
|
|
5. **Submit**:
|
||
|
|
- Click **"Verify and Publish"**
|
||
|
|
- Wait for verification (up to 45 seconds)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## ⚠️ Important Notes
|
||
|
|
|
||
|
|
- **If verification fails**: Try with `Via IR: Yes` if you tried `No` first
|
||
|
|
- **Timeout**: Up to 45 seconds for compilation
|
||
|
|
- **Remix compatibility**: If the contract compiles correctly in Remix, it should compile correctly on Etherscan
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Last Updated**: $(date)
|
||
|
|
**Status**: ✅ **READY TO VERIFY**
|
||
|
|
|