make gatekeeper part of the deployment strategy
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
6e6b64a61b
commit
439fe17371
@ -84,6 +84,9 @@ STINKY_TOKEN_SYMBOL=
|
|||||||
GHOST_TOKEN_NAME=
|
GHOST_TOKEN_NAME=
|
||||||
GHOST_TOKEN_SYMBOL=
|
GHOST_TOKEN_SYMBOL=
|
||||||
|
|
||||||
|
## Initial ghosted supply on gatekeeper
|
||||||
|
INITIAL_GHOSTED_SUPPLY=
|
||||||
|
|
||||||
SEPOLIA_TEST_RPC_URL=
|
SEPOLIA_TEST_RPC_URL=
|
||||||
SEPOLIA_TEST_API_KEY=
|
SEPOLIA_TEST_API_KEY=
|
||||||
SEPOLIA_TEST_ENDPOINT=
|
SEPOLIA_TEST_ENDPOINT=
|
||||||
|
15
deployer.sh
15
deployer.sh
@ -3,7 +3,7 @@ set -e
|
|||||||
AVAILIABLE_NETWORKS=(anvil-localnet sepolia-testnet hoodi-testnet)
|
AVAILIABLE_NETWORKS=(anvil-localnet sepolia-testnet hoodi-testnet)
|
||||||
NETWORK="${AVAILIABLE_NETWORKS[0]}"
|
NETWORK="${AVAILIABLE_NETWORKS[0]}"
|
||||||
START=1
|
START=1
|
||||||
END=12
|
END=13
|
||||||
VERIFY_NEEDED="--verify"
|
VERIFY_NEEDED="--verify"
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
@ -24,9 +24,10 @@ usage() {
|
|||||||
echo "7) BondDepository"
|
echo "7) BondDepository"
|
||||||
echo "8) StakingDistributor"
|
echo "8) StakingDistributor"
|
||||||
echo "9) BondingCalculator"
|
echo "9) BondingCalculator"
|
||||||
echo "10) AfterPartyFirst"
|
echo "10) Gatekeeper"
|
||||||
echo "11) AfterPartySecond"
|
echo "11) AfterPartyFirst"
|
||||||
echo "12) AfterPartyThird"
|
echo "12) AfterPartySecond"
|
||||||
|
echo "13) AfterPartyThird"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,10 +106,12 @@ for i in $(seq $START $END); do
|
|||||||
elif [ "9" == "$i" ]; then
|
elif [ "9" == "$i" ]; then
|
||||||
CONTRACT="BondingCalculator"
|
CONTRACT="BondingCalculator"
|
||||||
elif [ "10" == "$i" ]; then
|
elif [ "10" == "$i" ]; then
|
||||||
CONTRACT="AfterPartyFirst"
|
CONTRACT="Gatekeeper"
|
||||||
elif [ "11" == "$i" ]; then
|
elif [ "11" == "$i" ]; then
|
||||||
CONTRACT="AfterPartySecond"
|
CONTRACT="AfterPartyFirst"
|
||||||
elif [ "12" == "$i" ]; then
|
elif [ "12" == "$i" ]; then
|
||||||
|
CONTRACT="AfterPartySecond"
|
||||||
|
elif [ "13" == "$i" ]; then
|
||||||
CONTRACT="AfterPartyThird"
|
CONTRACT="AfterPartyThird"
|
||||||
else
|
else
|
||||||
echo "No contract found for index $i"
|
echo "No contract found for index $i"
|
||||||
|
Loading…
Reference in New Issue
Block a user