add governor part of the main deployment routine
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
2063923f8d
commit
bc905d9f15
@ -88,6 +88,20 @@ STINKY_TOKEN_SYMBOL=
|
|||||||
GHOST_TOKEN_NAME=
|
GHOST_TOKEN_NAME=
|
||||||
GHOST_TOKEN_SYMBOL=
|
GHOST_TOKEN_SYMBOL=
|
||||||
|
|
||||||
|
################################# Governor values ###################################
|
||||||
|
## Default values for governor smart contract. ##
|
||||||
|
## extension - number of blocks to be extended if late quorum occured. ##
|
||||||
|
## delay - number of blocks before proposal becomes active. ##
|
||||||
|
## period - number of blocks for proposal to be voted on. ##
|
||||||
|
## threshold - number of votes required in order for a voter to become a proposer. ##
|
||||||
|
## fraction - percentage of supply, where denominator is 100 ##
|
||||||
|
#####################################################################################
|
||||||
|
GOVERNOR_VOTE_EXTENSION=
|
||||||
|
GOVERNOR_VOTING_DELAY=
|
||||||
|
GOVERNOR_VOTING_PERIOD=
|
||||||
|
GOVERNOR_PROPOSAL_THRESHOLD=
|
||||||
|
GOVERNOR_QUORUM_FRACTION=
|
||||||
|
|
||||||
## Initial ghosted supply on gatekeeper
|
## Initial ghosted supply on gatekeeper
|
||||||
INITIAL_GHOSTED_SUPPLY=
|
INITIAL_GHOSTED_SUPPLY=
|
||||||
|
|
||||||
|
|||||||
13
deployer.sh
13
deployer.sh
@ -25,9 +25,10 @@ usage() {
|
|||||||
echo "8) StakingDistributor"
|
echo "8) StakingDistributor"
|
||||||
echo "9) BondingCalculator"
|
echo "9) BondingCalculator"
|
||||||
echo "10) Gatekeeper"
|
echo "10) Gatekeeper"
|
||||||
echo "11) AfterPartyFirst"
|
echo "11) Governor"
|
||||||
echo "12) AfterPartySecond"
|
echo "12) AfterPartyFirst"
|
||||||
echo "13) AfterPartyThird"
|
echo "13) AfterPartySecond"
|
||||||
|
echo "14) AfterPartyThird"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,10 +109,12 @@ for i in $(seq $START $END); do
|
|||||||
elif [ "10" == "$i" ]; then
|
elif [ "10" == "$i" ]; then
|
||||||
CONTRACT="Gatekeeper"
|
CONTRACT="Gatekeeper"
|
||||||
elif [ "11" == "$i" ]; then
|
elif [ "11" == "$i" ]; then
|
||||||
CONTRACT="AfterPartyFirst"
|
CONTRACT="Governor"
|
||||||
elif [ "12" == "$i" ]; then
|
elif [ "12" == "$i" ]; then
|
||||||
CONTRACT="AfterPartySecond"
|
CONTRACT="AfterPartyFirst"
|
||||||
elif [ "13" == "$i" ]; then
|
elif [ "13" == "$i" ]; then
|
||||||
|
CONTRACT="AfterPartySecond"
|
||||||
|
elif [ "14" == "$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