################################# # DAO BOUNTY: 01/04/2019 ################################# ## https://dxdao.daostack.io/dashboard/ ## ## DESCRIPTION: ## Dao bounty after second audit ## ## Run in rinkeby: ## PK= ENV_PATH=./env_vars/2019-05-07__dxDao_mainnet_test.conf yarn migrate --network rinkeby --reset | 2>&1 | tee deployment-rinkeby.txt ## ## Run in mainnet: ## PK= ENV_PATH=./env_vars/2019-05-07__dxDao_mainnet_test.conf yarn migrate --network mainnet --reset | 2>&1 | tee deployment-mainnet.txt # Gas Price used for Deployuing the contracts # 10 GWei (default) GAS_PRICE_GWEI=8 # Basic DAO Data ## For the default values, see: ## src/config/dao.js ## Default values: ## Token name: dxDAO ## Token Symbol: DXD ## Token CAP: No CAP ## Organizarion Name: dxDAO # TOKEN_NAME='dxDaoDemo' # ORGANIZATION_NAME='dxDaoDemo' # Periods ## For the default values, see: ## src/config/timePeriods.js ## Overrides: # Time Zone # GMT+0 TIME_ZONE='Etc/GMT' ## T&C # https://ipfs.io/ipfs/QmPD3i1VfMe8nZtV8VAWG6kMxfBT1wUhVi8C82FqJ6eWvo AGREEMENT_HASH=QmPD3i1VfMe8nZtV8VAWG6kMxfBT1wUhVi8C82FqJ6eWvo # Periods ## Initial distribution: ## Locking ETH and Whitelisted Tokens, registering to have your REP against your locked MGN, also Bidding with GEN INITIAL_DISTRIBUTION_START='2019-05-07 09:00' INITIAL_DISTRIBUTION_END='2019-05-07 14:30' ## Claiming period for REP for Locked MGN CLAIMING_MGN_START='2019-05-07 11:00' CLAIMING_MGN_END='2019-05-07 14:30' ## Redeem period REDEEM_START='2019-05-07 14:30:01' ## Governance period start: GOVERNANCE_START='2019-05-07 15:00' # Locking contracts config ## For the actual value, see: ## src/config/bootstrap.js ## Overrided config: ## MAX_LOCKING_PERIOD = 30 days = 30*24*60*60 = 2592000 ## NUMBERS_OF_GEN_AUCTIONS=10 ## - Locking period = INITIAL_DISTRIBUTION_END - INITIAL_DISTRIBUTION_START ## - Since the locking period is 14 days ## - Auctions will last = 14*24/10 = 33,6 hours NUMBERS_OF_GEN_AUCTIONS=10 MAX_LOCKING_PERIOD=2592000 ## Intial REP distribution ## For the actual amounts, see: ## src/config/initalRepDistribution.js ## ## TOTAL: 1M ## 30% Lock whitelisted tokens ## 8% Lock Eth ## 10% GEN Auctions ## 50% Locked MGN holding ## 2% Contributions ## Voting (Genesis Protocol) ## For the actual value, see: ## src/config/voting.js ## Note that there's different voting parameters: ## - dutchX: Affects Generic Scheme, which modifies the DutchX ## - contributionReward: Affects the Contribution Reward Scheme ## - admin: Affects the Scheme Registrar ## Overrided config: ## - No override, uses the defaults # Price Oracle implementation: # FixedPriceOracle: Uses the fixed price oracle # WhitelistPriceOracle: Uses the DutchX price oracle for the price, and it's own list for the # whitelisted tokens # DutchXPriceOracle (default): Uses the MGN contract from DutchX (TokenFRTProxy) PRICE_ORACLE_IMPL=WhitelistPriceOracle # MGN Implementation: # TokenFRTProxy (default): Uses the real MGN contract from DutchX # MgnBasicMock: Uses a mock MGN contract, were any user can mint to himself # MgnOwnableMock: Uses a mock MGN contract, were only an owner can mint MGN_IMPL=MgnOwnableMock # In case of MgnOwnableMock transfer ownership to MGN_IMPL_OWNER=0xb1f919db227048a1a45883138b9d12b9ef03df25 # Don't transfer if falsy # Use Wallet.sol instead of DutchX #USE_MOCK_DX=true # Or provide an address (DutchXProxy) USE_MOCK_DX=0xa1d9922dcf52cb15c68bfac7273daa538b766533 # Use dx-contracts from networks-dev.json as opposed to networks.json # true: Uses the addresses from networks-dev.json in DutchX (instead of networks.json) # false (default): Uses the DutchX (the addresses defined in networks.json) #USE_DEV_CONTRACTS=false