Add Oracle Aggregator and CCIP Integration
- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
This commit is contained in:
232
docs/deployment/MAINNET_CONTRACTS_LIST.md
Normal file
232
docs/deployment/MAINNET_CONTRACTS_LIST.md
Normal file
@@ -0,0 +1,232 @@
|
||||
# Ethereum Mainnet Deployed Contracts - Complete List
|
||||
|
||||
**Date**: 2025-12-11
|
||||
**Status**: Active Deployments
|
||||
|
||||
---
|
||||
|
||||
## 📋 Deployed Contracts Summary
|
||||
|
||||
**Total Deployed**: 2 contracts
|
||||
**Total Pre-deployed (Canonical)**: 2 contracts
|
||||
**Total Pending**: 1 contract
|
||||
|
||||
---
|
||||
|
||||
## ✅ Deployed Contracts (New Deployments)
|
||||
|
||||
### 1. CCIPWETH9Bridge
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Address** | `0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6` |
|
||||
| **Status** | ✅ Deployed |
|
||||
| **Verified** | ✅ Verified |
|
||||
| **Contract File** | `contracts/ccip/CCIPWETH9Bridge.sol` |
|
||||
| **Deployment Method** | Foundry (`forge script`) |
|
||||
| **Deployment Date** | Previously deployed |
|
||||
| **Etherscan** | [View on Etherscan](https://etherscan.io/address/0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6) |
|
||||
| **Constructor Args** | Router: `0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D`<br>WETH9: `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`<br>LINK: `0x514910771AF9Ca656af840dff83E8264EcF986CA` |
|
||||
|
||||
**Purpose**: Cross-chain bridge for WETH9 tokens using Chainlink CCIP
|
||||
|
||||
---
|
||||
|
||||
### 2. CCIPWETH10Bridge
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Address** | `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` |
|
||||
| **Status** | ✅ Deployed |
|
||||
| **Verified** | ✅ Verified |
|
||||
| **Contract File** | `contracts/ccip/CCIPWETH10Bridge.sol` |
|
||||
| **Deployment Method** | Foundry (`forge script`) |
|
||||
| **Deployment Date** | Previously deployed |
|
||||
| **Etherscan** | [View on Etherscan](https://etherscan.io/address/0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e) |
|
||||
| **Constructor Args** | Router: `0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D`<br>WETH10: `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f`<br>LINK: `0x514910771AF9Ca656af840dff83E8264EcF986CA` |
|
||||
|
||||
**Purpose**: Cross-chain bridge for WETH10 tokens using Chainlink CCIP
|
||||
|
||||
---
|
||||
|
||||
## 📦 Pre-deployed Contracts (Canonical Mainnet)
|
||||
|
||||
These contracts exist on Mainnet at their canonical addresses and were not deployed by this project.
|
||||
|
||||
### 3. WETH9
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Address** | `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` |
|
||||
| **Status** | ✅ Pre-deployed (Canonical) |
|
||||
| **Type** | Standard WETH9 implementation |
|
||||
| **Etherscan** | [View on Etherscan](https://etherscan.io/address/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) |
|
||||
| **Note** | Used by CCIPWETH9Bridge |
|
||||
|
||||
---
|
||||
|
||||
### 4. WETH10
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Address** | `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f` |
|
||||
| **Status** | ✅ Pre-deployed (Canonical) |
|
||||
| **Type** | Enhanced WETH10 with flash loans |
|
||||
| **Etherscan** | [View on Etherscan](https://etherscan.io/address/0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f) |
|
||||
| **Note** | Used by CCIPWETH10Bridge |
|
||||
|
||||
---
|
||||
|
||||
## ⏳ Pending Deployments
|
||||
|
||||
### 5. CCIPLogger
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Status** | ⏳ Pending |
|
||||
| **Contract File** | `contracts/ccip-integration/CCIPLogger.sol` |
|
||||
| **Deployment Method** | Hardhat (requires OpenZeppelin) |
|
||||
| **Deployment Command** | `npm run deploy:logger:mainnet` |
|
||||
| **Dependencies** | CCIP Router: `0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D` |
|
||||
| **Note** | Uses Hardhat/OpenZeppelin dependencies, not Foundry |
|
||||
|
||||
**Purpose**: Receives and logs Chain-138 transactions via Chainlink CCIP
|
||||
|
||||
---
|
||||
|
||||
## 🔗 Related Infrastructure
|
||||
|
||||
### CCIP Router (Chainlink Official)
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Address** | `0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D` |
|
||||
| **Type** | Chainlink CCIP Router |
|
||||
| **Status** | ✅ Official Chainlink deployment |
|
||||
| **Etherscan** | [View on Etherscan](https://etherscan.io/address/0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D) |
|
||||
| **Used By** | CCIPWETH9Bridge, CCIPWETH10Bridge, CCIPLogger |
|
||||
|
||||
---
|
||||
|
||||
### LINK Token (Chainlink Official)
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Address** | `0x514910771AF9Ca656af840dff83E8264EcF986CA` |
|
||||
| **Type** | ERC20 Token (LINK) |
|
||||
| **Status** | ✅ Official Chainlink deployment |
|
||||
| **Etherscan** | [View on Etherscan](https://etherscan.io/address/0x514910771AF9Ca656af840dff83E8264EcF986CA) |
|
||||
| **Used By** | CCIPWETH9Bridge, CCIPWETH10Bridge (for CCIP fees) |
|
||||
|
||||
---
|
||||
|
||||
## 📊 Contract Relationships
|
||||
|
||||
```
|
||||
Ethereum Mainnet
|
||||
├── CCIP Router (0x80226fc0...)
|
||||
│ └── Used by all CCIP contracts
|
||||
├── LINK Token (0x51491077...)
|
||||
│ └── Used for CCIP fees
|
||||
├── WETH9 (0xC02aaA39...)
|
||||
│ └── Used by CCIPWETH9Bridge
|
||||
├── WETH10 (0xf4BB2e28...)
|
||||
│ └── Used by CCIPWETH10Bridge
|
||||
├── CCIPWETH9Bridge (0x3304b747...)
|
||||
│ ├── Uses: CCIP Router, WETH9, LINK
|
||||
│ └── Purpose: Cross-chain WETH9 transfers
|
||||
├── CCIPWETH10Bridge (0x8078A096...)
|
||||
│ ├── Uses: CCIP Router, WETH10, LINK
|
||||
│ └── Purpose: Cross-chain WETH10 transfers
|
||||
└── CCIPLogger (Pending)
|
||||
├── Uses: CCIP Router
|
||||
└── Purpose: Log Chain-138 transactions
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ✅ Verification Status
|
||||
|
||||
| Contract | Address | Verified | Action Needed |
|
||||
|----------|---------|----------|---------------|
|
||||
| CCIPWETH9Bridge | `0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6` | ✅ | ✅ Complete |
|
||||
| CCIPWETH10Bridge | `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` | ✅ | ✅ Complete |
|
||||
| WETH9 | `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` | ✅ | Already verified (canonical) |
|
||||
| WETH10 | `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f` | ✅ | Already verified (canonical) |
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Verification Commands
|
||||
|
||||
### Verify CCIPWETH9Bridge
|
||||
|
||||
```bash
|
||||
CONSTRUCTOR_ARGS=$(cast abi-encode "constructor(address,address,address)" \
|
||||
0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D \
|
||||
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 \
|
||||
0x514910771AF9Ca656af840dff83E8264EcF986CA)
|
||||
|
||||
forge verify-contract \
|
||||
--chain-id 1 \
|
||||
--num-of-optimizations 200 \
|
||||
--watch \
|
||||
--constructor-args "$CONSTRUCTOR_ARGS" \
|
||||
0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6 \
|
||||
contracts/ccip/CCIPWETH9Bridge.sol:CCIPWETH9Bridge \
|
||||
$ETHERSCAN_API_KEY
|
||||
```
|
||||
|
||||
### Verify CCIPWETH10Bridge
|
||||
|
||||
```bash
|
||||
CONSTRUCTOR_ARGS=$(cast abi-encode "constructor(address,address,address)" \
|
||||
0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D \
|
||||
0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f \
|
||||
0x514910771AF9Ca656af840dff83E8264EcF986CA)
|
||||
|
||||
forge verify-contract \
|
||||
--chain-id 1 \
|
||||
--num-of-optimizations 200 \
|
||||
--watch \
|
||||
--constructor-args "$CONSTRUCTOR_ARGS" \
|
||||
0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e \
|
||||
contracts/ccip/CCIPWETH10Bridge.sol:CCIPWETH10Bridge \
|
||||
$ETHERSCAN_API_KEY
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 Environment Variables
|
||||
|
||||
Add these to `.env`:
|
||||
|
||||
```bash
|
||||
# Mainnet Contract Addresses
|
||||
CCIPWETH9BRIDGE_MAINNET=0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6
|
||||
CCIPWETH10BRIDGE_MAINNET=0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e
|
||||
|
||||
# Pre-deployed (canonical)
|
||||
WETH9_MAINNET=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
|
||||
WETH10_MAINNET=0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f
|
||||
|
||||
# CCIP Infrastructure
|
||||
CCIP_MAINNET_ROUTER=0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D
|
||||
CCIP_MAINNET_LINK_TOKEN=0x514910771AF9Ca656af840dff83E8264EcF986CA
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔗 Quick Links
|
||||
|
||||
- **CCIPWETH9Bridge**: https://etherscan.io/address/0x3304b747E565a97ec8AC220b0B6A1f6ffDB837e6
|
||||
- **CCIPWETH10Bridge**: https://etherscan.io/address/0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e
|
||||
- **WETH9**: https://etherscan.io/address/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
|
||||
- **WETH10**: https://etherscan.io/address/0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f
|
||||
- **CCIP Router**: https://etherscan.io/address/0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D
|
||||
- **LINK Token**: https://etherscan.io/address/0x514910771AF9Ca656af840dff83E8264EcF986CA
|
||||
- **Verify Contracts**: https://etherscan.io/myverify_address
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: 2025-12-11
|
||||
|
||||
Reference in New Issue
Block a user