# Deployed Contracts - Final Status **Date**: $(date) **Status**: ✅ **CORE CONTRACTS DEPLOYED** --- ## 📋 Contract Deployment Summary ### ✅ Pre-Deployed in Genesis (ChainID 138) The following contracts were **pre-deployed** in the genesis.json file when ChainID 138 was initialized: - **WETH9**: `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` (pre-deployed in genesis) - **WETH10**: `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f` (pre-deployed in genesis) - **Multicall**: `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` (pre-deployed) - **CREATE2Factory**: Pre-deployed addresses in genesis **Note**: These contracts do not need deployment - they were initialized with the chain at genesis. The addresses shown in broadcast files are from test deployments or different contract instances. --- ## ✅ Newly Deployed Contracts ### 1. Oracle Contract (For MetaMask Price Feeds) ✅ **Purpose**: Provides ETH/USD price feeds for MetaMask integration - **Aggregator**: `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` - **Proxy**: `0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` - **Description**: ETH/USD Price Feed - **Heartbeat**: 60 seconds - **Deviation Threshold**: 50 basis points - **Status**: ✅ Deployed and ready **MetaMask Integration**: - Use Proxy address: `0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` - This address provides Chainlink-compatible price feed data - Can be added to MetaMask token list for ETH/USD pricing ### 2. CCIP Infrastructure ✅ **CCIP Router**: - **Address**: `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` - **Fee Token**: `0x514910771AF9Ca656af840dff83E8264EcF986CA` (LINK) - **Base Fee**: 1000000000000000 wei - **Data Fee Per Byte**: 100000000 wei - **Status**: ✅ Deployed **CCIP Sender**: - **Address**: `0x105F8A15b819948a89153505762444Ee9f324684` - **Router**: `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` - **Status**: ✅ Deployed --- ## 📊 Contract Address Reference | Contract | Address | Status | Notes | |----------|---------|--------|-------| | **Oracle Aggregator** | `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` | ✅ Deployed | Price feed aggregator | | **Oracle Proxy** | `0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` | ✅ Deployed | **Use for MetaMask** | | **CCIP Router** | `0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` | ✅ Deployed | Cross-chain router | | **CCIP Sender** | `0x105F8A15b819948a89153505762444Ee9f324684` | ✅ Deployed | Cross-chain sender | | **Multicall** | `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` | ✅ Pre-deployed | Genesis allocation | | **WETH9** | `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` | ✅ Pre-deployed | Genesis allocation | | **WETH10** | `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f` | ✅ Pre-deployed | Genesis allocation | --- ## 🎯 MetaMask Integration ### Oracle Contract for Price Feeds The Oracle Proxy contract is deployed and ready for MetaMask integration: 1. **Contract Address**: `0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` 2. **Contract Type**: Chainlink-compatible Aggregator Proxy 3. **Price Feed**: ETH/USD 4. **Decimals**: 8 5. **Update Frequency**: 60 seconds (heartbeat) ### Next Steps for MetaMask: 1. **Configure Oracle Publisher Service**: - Update Oracle Publisher service (VMID 3500) with Oracle address - Configure to publish ETH/USD price updates - Set update interval to match heartbeat (60 seconds) 2. **Create MetaMask Token List**: - Create token list JSON with Oracle Proxy address - Configure for ChainID 138 - Add to MetaMask custom network configuration 3. **Test Price Feed**: - Verify Oracle Publisher is updating prices - Test MetaMask can read price from Oracle contract - Verify price updates are timely and accurate --- ## ⏳ Pending Deployments The following contracts can be deployed after Oracle is confirmed working: - **Price Feed Keeper**: Requires Oracle Price Feed address - **Reserve System**: Requires Keeper address - **Financial Tokenization**: Requires Reserve System --- ## 📝 Service Configuration ### Services Requiring Contract Addresses: 1. **Oracle Publisher Service** (VMID 3500): - `ORACLE_ADDRESS=0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` - `AGGREGATOR_ADDRESS=0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` 2. **CCIP Monitor Service** (VMID 3501): - `CCIP_ROUTER_ADDRESS=0x8078A09637e47Fa5Ed34F626046Ea2094a5CDE5e` - `CCIP_SENDER_ADDRESS=0x105F8A15b819948a89153505762444Ee9f324684` 3. **Keeper Service** (VMID 3502): - `ORACLE_PRICE_FEED=0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` - (Keeper contract to be deployed) --- ## ✅ Deployment Status - ✅ **Network**: Operational (Block 46,636+, Chain ID 138) - ✅ **RPC Access**: Fixed and working - ✅ **Oracle Contract**: Deployed - ✅ **CCIP Router**: Deployed - ✅ **CCIP Sender**: Deployed - ✅ **WETH9/WETH10**: Pre-deployed in genesis - ⏳ **Keeper Contract**: Pending (requires Oracle confirmation) - ⏳ **Reserve System**: Pending (requires Keeper) --- **Last Updated**: $(date) **Status**: ✅ **Core contracts deployed. WETH9/WETH10 confirmed pre-deployed in genesis.**