refactor(archive): move historical contracts and adapters to archive directory
- 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.
This commit is contained in:
@@ -89,7 +89,7 @@ log_warn "Phase 1: Deploying independent contracts in parallel..."
|
||||
# Deploy Multicall, WETH9, and WETH10 in parallel
|
||||
{
|
||||
log_warn "Deploying Multicall..."
|
||||
MULTICALL_OUTPUT=$(forge script script/DeployMulticall.s.sol:DeployMulticall \
|
||||
MULTICALL_OUTPUT=$(forge_scoped script script/DeployMulticall.s.sol:DeployMulticall \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -104,7 +104,7 @@ MULTICALL_PID=$!
|
||||
|
||||
{
|
||||
log_warn "Deploying WETH9..."
|
||||
WETH9_OUTPUT=$(forge script script/DeployWETH.s.sol:DeployWETH \
|
||||
WETH9_OUTPUT=$(forge_scoped script script/DeployWETH.s.sol:DeployWETH \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -119,7 +119,7 @@ WETH9_PID=$!
|
||||
|
||||
{
|
||||
log_warn "Deploying WETH10..."
|
||||
WETH10_OUTPUT=$(forge script script/DeployWETH10.s.sol:DeployWETH10 \
|
||||
WETH10_OUTPUT=$(forge_scoped script script/DeployWETH10.s.sol:DeployWETH10 \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -143,7 +143,7 @@ source .env
|
||||
# Phase 2: CCIP Router (if needed)
|
||||
if [ -z "$CCIP_ROUTER" ] || [ "$CCIP_ROUTER" = "0x0000000000000000000000000000000000000000" ]; then
|
||||
log_warn "Phase 2: Deploying CCIP Router..."
|
||||
CCIP_ROUTER_OUTPUT=$(forge script script/DeployCCIPRouter.s.sol:DeployCCIPRouter \
|
||||
CCIP_ROUTER_OUTPUT=$(forge_scoped script script/DeployCCIPRouter.s.sol:DeployCCIPRouter \
|
||||
--sig "run(address,uint256,uint256)" \
|
||||
"$CCIP_FEE_TOKEN" \
|
||||
"1000000000000000" \
|
||||
@@ -171,7 +171,7 @@ if [ "${DEPLOY_BRIDGES:-true}" = "true" ] && [ -n "$CCIP_ROUTER" ] && [ -n "$WET
|
||||
{
|
||||
log_warn "Deploying CCIPWETH9Bridge..."
|
||||
export CCIP_ROUTER WETH9_ADDRESS CCIP_FEE_TOKEN
|
||||
BRIDGE9_OUTPUT=$(forge script script/DeployCCIPWETH9Bridge.s.sol:DeployCCIPWETH9Bridge \
|
||||
BRIDGE9_OUTPUT=$(forge_scoped script script/DeployCCIPWETH9Bridge.s.sol:DeployCCIPWETH9Bridge \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -187,7 +187,7 @@ if [ "${DEPLOY_BRIDGES:-true}" = "true" ] && [ -n "$CCIP_ROUTER" ] && [ -n "$WET
|
||||
{
|
||||
log_warn "Deploying CCIPWETH10Bridge..."
|
||||
export CCIP_ROUTER WETH10_ADDRESS CCIP_FEE_TOKEN
|
||||
BRIDGE10_OUTPUT=$(forge script script/DeployCCIPWETH10Bridge.s.sol:DeployCCIPWETH10Bridge \
|
||||
BRIDGE10_OUTPUT=$(forge_scoped script script/DeployCCIPWETH10Bridge.s.sol:DeployCCIPWETH10Bridge \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -212,7 +212,7 @@ log_warn "Phase 4: Deploying Oracle and MultiSig in parallel..."
|
||||
# Deploy Oracle (independent)
|
||||
{
|
||||
export ORACLE_DESCRIPTION ORACLE_HEARTBEAT ORACLE_DEVIATION_THRESHOLD
|
||||
ORACLE_OUTPUT=$(forge script script/DeployOracle.s.sol:DeployOracle \
|
||||
ORACLE_OUTPUT=$(forge_scoped script script/DeployOracle.s.sol:DeployOracle \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -241,7 +241,7 @@ if [ -z "$MULTISIG_OWNERS" ]; then
|
||||
else
|
||||
{
|
||||
export OWNERS="$MULTISIG_OWNERS"
|
||||
MULTISIG_OUTPUT=$(forge script script/DeployMultiSig.s.sol:DeployMultiSig \
|
||||
MULTISIG_OUTPUT=$(forge_scoped script script/DeployMultiSig.s.sol:DeployMultiSig \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast \
|
||||
--private-key "$PRIVATE_KEY" \
|
||||
@@ -279,4 +279,3 @@ log_success "MultiSig: ${MULTISIG_ADDRESS:-N/A}"
|
||||
log_success ""
|
||||
log_success "=== Parallel Deployment Complete ==="
|
||||
log_success "All addresses have been updated in .env file"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user