From 439fe1737109a3abb4eeaff0d7bd3cf1229d3779 Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Wed, 23 Jul 2025 22:28:44 +0300 Subject: [PATCH] make gatekeeper part of the deployment strategy Signed-off-by: Uncle Fatso --- .env.template | 3 +++ deployer.sh | 15 +++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.env.template b/.env.template index b9d3a47..7f7f8a4 100644 --- a/.env.template +++ b/.env.template @@ -84,6 +84,9 @@ STINKY_TOKEN_SYMBOL= GHOST_TOKEN_NAME= GHOST_TOKEN_SYMBOL= +## Initial ghosted supply on gatekeeper +INITIAL_GHOSTED_SUPPLY= + SEPOLIA_TEST_RPC_URL= SEPOLIA_TEST_API_KEY= SEPOLIA_TEST_ENDPOINT= diff --git a/deployer.sh b/deployer.sh index 25ef77a..b40f0bd 100644 --- a/deployer.sh +++ b/deployer.sh @@ -3,7 +3,7 @@ set -e AVAILIABLE_NETWORKS=(anvil-localnet sepolia-testnet hoodi-testnet) NETWORK="${AVAILIABLE_NETWORKS[0]}" START=1 -END=12 +END=13 VERIFY_NEEDED="--verify" usage() { @@ -24,9 +24,10 @@ usage() { echo "7) BondDepository" echo "8) StakingDistributor" echo "9) BondingCalculator" - echo "10) AfterPartyFirst" - echo "11) AfterPartySecond" - echo "12) AfterPartyThird" + echo "10) Gatekeeper" + echo "11) AfterPartyFirst" + echo "12) AfterPartySecond" + echo "13) AfterPartyThird" exit 1 } @@ -105,10 +106,12 @@ for i in $(seq $START $END); do elif [ "9" == "$i" ]; then CONTRACT="BondingCalculator" elif [ "10" == "$i" ]; then - CONTRACT="AfterPartyFirst" + CONTRACT="Gatekeeper" elif [ "11" == "$i" ]; then - CONTRACT="AfterPartySecond" + CONTRACT="AfterPartyFirst" elif [ "12" == "$i" ]; then + CONTRACT="AfterPartySecond" + elif [ "13" == "$i" ]; then CONTRACT="AfterPartyThird" else echo "No contract found for index $i"