This checklist describes how to activate the Terminus contract so that projects can start using it for decentralized authorization.
-
export DAO_NETWORK=matic -
export DAO_OWNER=<path to keystore file for owner account> -
export DAO_OWNER_ADDRESS=$(jq -r .address $DAO_OWNER) -
export GAS_PRICE="300 gwei" -
export CONFIRMATIONS=5 -
export WETH=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619 -
export TERMINUS_DIAMOND=0x062BEc5e84289Da2CD6147E0e4DA402B33B8f796 -
export TERMINUS_POOL_BASE_PRICE=10000000000000000
- Set pool base price:
dao terminus set-pool-base-price \
--network $DAO_NETWORK \
--address $TERMINUS_DIAMOND \
--sender $DAO_OWNER \
--gas-price "$GAS_PRICE" \
--confirmations $CONFIRMATIONS \
--new-base-price $TERMINUS_POOL_BASE_PRICE-
Check pool base price:
dao terminus pool-base-price --network $DAO_NETWORK --address $TERMINUS_DIAMOND -
Pool base price should be same as
$TERMINUS_POOL_BASE_PRICE -
Set up payment token:
dao terminus set-payment-token \
--network $DAO_NETWORK \
--address $TERMINUS_DIAMOND \
--sender $DAO_OWNER \
--gas-price "$GAS_PRICE" \
--confirmations $CONFIRMATIONS \
--new-payment-token $WETH-
Check payment token:
dao terminus payment-token --network $DAO_NETWORK --address $TERMINUS_DIAMOND -
Payment token should be same as
$WETH