Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- Update submodule references for explorer-monorepo and smom-dbis-138 to latest commits. - Modify CI workflow to include shellcheck installation and enforce error severity for script checks. - Update contract addresses in configuration and documentation to reflect the new canonical addresses for CCIPWETH9Bridge and CCIP Router. - Revise integration test documentation to align with updated contract addresses and deployment statuses. Made-with: Cursor
54 lines
4.6 KiB
Markdown
54 lines
4.6 KiB
Markdown
# Smart Contracts — Simple Inventory
|
|
|
|
**Chain:** 138 (SMOM-DBIS-138)
|
|
**Explorer:** https://explorer.d-bis.org
|
|
**Last updated:** 2026-02-12
|
|
|
|
---
|
|
|
|
## Inventory
|
|
|
|
| Contract | Address | Status | Next step |
|
|
|----------|---------|--------|-----------|
|
|
| **WETH9** | `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` | ✅ Deployed (genesis) | Confirm on Blockscout |
|
|
| **WETH10** | `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f` | ✅ Deployed (genesis) | Confirm on Blockscout |
|
|
| **Multicall** | `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` | ✅ Deployed (genesis) | Confirm on Blockscout |
|
|
| **Oracle Aggregator** | `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` | ✅ Deployed | Confirm on Blockscout (same slot as Multicall?) |
|
|
| **Oracle Proxy** | `0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6` | ✅ Deployed | Confirm + verify (MetaMask price feed) |
|
|
| **CCIP Router** | `0x42DAb7b888Dd382bD5Adcf9E038dBF1fD03b4817` | ✅ Deployed | Confirm + verify |
|
|
| **CCIP Sender** | `0x105F8A15b819948a89153505762444Ee9f324684` | ✅ Deployed | Verify on Blockscout |
|
|
| **CCIPWETH9Bridge** | `0xcacfd227A040002e49e2e01626363071324f820a` | ✅ Deployed | Use for sendCrossChain; verify |
|
|
| **CCIPWETH10Bridge** | `0xe0E93247376aa097dB308B92e6Ba36bA015535D0` | ✅ Deployed | Confirm + verify |
|
|
| **LINK** | `0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03` | ✅ Deployed | Confirm (CCIP fees) |
|
|
| **CompliantUSDT (cUSDT)** | `0x93E66202A11B1772E55407B32B44e5Cd8eda7f22` | ✅ Deployed | Confirm + verify |
|
|
| **CompliantUSDC (cUSDC)** | `0xf22258f57794CC8E06237084b353Ab30fFfa640b` | ✅ Deployed | Confirm + verify |
|
|
| **TokenRegistry** | `0x91Efe92229dbf7C5B38D422621300956B55870Fa` | ✅ Deployed | Confirm + verify |
|
|
| **TokenFactory** | `0xEBFb5C60dE5f7C4baae180CA328D3BB39E1a5133` | ✅ Deployed | Confirm + verify |
|
|
| **Price Feed Keeper** | `0xD3AD6831aacB5386B8A25BB8D8176a6C8a026f04` | ✅ Deployed | Confirm + verify |
|
|
| **MerchantSettlementRegistry** | `0x16D9A2cB94A0b92721D93db4A6Cd8023D3338800` | ✅ Deployed | Confirm + verify |
|
|
| **WithdrawalEscrow** | `0xe77cb26eA300e2f5304b461b0EC94c8AD6A7E46D` | ✅ Deployed | Confirm + verify |
|
|
| **CCIPWETH9Bridge (old)** | `0x89dd12025bfCD38A168455A44B400e913ED33BE2` | ⛔ Deprecated | Do not use; use `0xcacfd...` above |
|
|
| **AddressMapper** | `0x439Fcb2d2ab2f890DCcAE50461Fa7d978F9Ffe1A` | ✅ Deployed 2026-02-12 | Confirm on Blockscout |
|
|
| **MirrorManager** | `0x6eD905A30c552a6e003061A38FD52A5A427beE56` | ✅ Deployed 2026-02-12 | Confirm on Blockscout |
|
|
| **Trustless bridge** | LOCKBOX138 (deployed), INBOX_ETH, BOND_MANAGER, etc. | ⏳ Mainnet stack when needed | Chain 138: Lockbox138 only; rest mainnet |
|
|
| **Phased core** | UniversalAssetRegistry, GovernanceController, UniversalCCIPBridge, BridgeOrchestrator | ✅ Deployed 2026-02-11 | See CONTRACT_ADDRESSES_REFERENCE |
|
|
| **CREATE2 / deterministic** | CREATE2Factory, MirrorRegistry, AlltraAdapter | ✅ Deployed 2026-02-11 | See CONTRACT_ADDRESSES_REFERENCE |
|
|
| **Dodo / swap** | DODO_PMM, ENHANCED_SWAP_ROUTER, etc. | ⏳ Not deployed | Deploy when integrating Dodo/swap |
|
|
| **Firefly** | (auto-deployed by Firefly) | ⏳ By Firefly | No action; VMID 6200 |
|
|
|
|
---
|
|
|
|
## Next steps
|
|
|
|
**Full next steps, operator checklist, and all recommendations:** [CONTRACT_NEXT_STEPS_AND_RECOMMENDATIONS_COMPLETE](CONTRACT_NEXT_STEPS_AND_RECOMMENDATIONS_COMPLETE.md).
|
|
|
|
1. **Confirm on-chain** — Run `./scripts/verify/check-contracts-on-chain-138.sh` (36 addresses) or open each address at https://explorer.d-bis.org/address/<ADDRESS>.
|
|
2. **Verify source on Blockscout** — Use [BLOCKSCOUT_VERIFICATION_GUIDE](../08-monitoring/BLOCKSCOUT_VERIFICATION_GUIDE.md) and `scripts/verify/run-contract-verification-with-proxy.sh`.
|
|
3. **Do not use deprecated bridge** — Use **CCIPWETH9Bridge** at `0xcacfd227A040002e49e2e01626363071324f820a` only.
|
|
4. **If deploying more contracts** — Use **`--with-gas-price 1000000000`** for all `forge script`/`forge create` on Chain 138. Phased core: [CONTRACTS_TO_DEPLOY](CONTRACTS_TO_DEPLOY.md), [CONTRACT_DEPLOYMENT_RUNBOOK](../03-deployment/CONTRACT_DEPLOYMENT_RUNBOOK.md). RPC: Set `RPC_URL_138` in `smom-dbis-138/.env` (e.g. `http://192.168.11.211:8545` or `https://rpc-core.d-bis.org`). Set `PRIVATE_KEY` there too.
|
|
5. **Quick RPC check** — `cast code <ADDRESS> --rpc-url https://rpc-core.d-bis.org` (non-empty = present).
|
|
|
|
---
|
|
|
|
**See also:** [CONTRACT_NEXT_STEPS_AND_RECOMMENDATIONS_COMPLETE](CONTRACT_NEXT_STEPS_AND_RECOMMENDATIONS_COMPLETE.md) | [CONTRACT_ADDRESSES_REFERENCE](CONTRACT_ADDRESSES_REFERENCE.md) | [CONTRACT_INVENTORY_AND_VERIFICATION](CONTRACT_INVENTORY_AND_VERIFICATION.md) | [CONTRACTS_TO_DEPLOY](CONTRACTS_TO_DEPLOY.md)
|