- Archived multiple non-EVM adapters (Algorand, Hedera, Tron, TON, Cosmos, Solana) and compliance contracts (IndyVerifier) to `archive/solidity/contracts/`. - Updated documentation to reflect the historical status of archived components. - Adjusted `foundry.toml` and `README.md` for clarity on historical dependencies and configurations. - Enhanced Makefile and package.json scripts for improved contract testing and building processes. - Removed obsolete contracts (AlltraCustomBridge, CommodityCCIPBridge, ISO4217WCCIPBridge, VaultBridgeAdapter) from the main directory. - Updated implementation reports to indicate archived status for various components.
52 lines
1.8 KiB
Bash
Executable File
52 lines
1.8 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# List all remaining smart contracts that need Mainnet deployment
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
echo "=== Remaining Smart Contracts for Ethereum Mainnet Deployment ==="
|
|
|
|
# Color codes
|
|
|
|
# Load environment variables
|
|
if [ -f .env ]; then
|
|
source .env 2>/dev/null || true
|
|
fi
|
|
|
|
log_info "1. CCIP Integration Contracts"
|
|
echo " - CCIPLogger.sol (Ethereum receiver)"
|
|
echo " Location: contracts/ccip-integration/CCIPLogger.sol"
|
|
echo " Deployment: Hardhat script"
|
|
echo " Script: scripts/ccip-deployment/deploy-ccip-logger.js"
|
|
echo " Status: Not deployed"
|
|
|
|
log_info "2. WETH Bridge Contracts"
|
|
echo " - CCIPWETH9Bridge.sol"
|
|
echo " Location: contracts/ccip/CCIPWETH9Bridge.sol"
|
|
echo " Deployment: Foundry script"
|
|
echo " Script: script/DeployCCIPWETH9Bridge.s.sol"
|
|
echo " Status: Not deployed"
|
|
echo " - CCIPWETH10Bridge.sol"
|
|
echo " Location: contracts/ccip/CCIPWETH10Bridge.sol"
|
|
echo " Deployment: Foundry script"
|
|
echo " Script: script/DeployCCIPWETH10Bridge.s.sol"
|
|
echo " Status: Not deployed"
|
|
|
|
log_info "3. Note: WETH9 and WETH10"
|
|
echo " - WETH9: Predeployed at 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
|
echo " - WETH10: Predeployed at 0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f"
|
|
echo " - Status: Already exist on Mainnet (no deployment needed)"
|
|
|
|
log_info "4. CCIPTxReporter"
|
|
echo " - Historical Chain-138 sender"
|
|
echo " Source archive: archive/solidity/contracts/ccip-integration/CCIPTxReporter.sol"
|
|
echo " Status: Not part of the active Mainnet deployment set"
|
|
echo " Note: Use CHAIN138_CCIP_REPORTER for the existing deployment if this flow is still needed"
|
|
|
|
log_warn "Summary:"
|
|
echo " Total contracts for Mainnet: 3"
|
|
echo " 1. CCIPLogger (Hardhat)"
|
|
echo " 2. CCIPWETH9Bridge (Foundry)"
|
|
echo " 3. CCIPWETH10Bridge (Foundry)"
|