economy
Usage: pmc economy [OPTIONS] COMMAND [ARGS]...
Economy Chain commands
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ list-tags List all existing tags │
│ add-tag Add a new tag │
│ update-tag Update an existing tag │
│ remove-tag Remove tag │
│ add-cluster Add a new cluster │
│ list-clusters List all clusters that are tracked by economy│
│ chain │
│ change-cluster-tag Change the tag of a cluster │
│ cluster-creation-status Get cluster creation status │
│ version Shows Economy Chain version │
│ metrics Economy metrics for a provider │
│ get-constants Get Economy Chain constants │
│ update-system-provider-constants │
│ Update system provider Economy Chain │
│ constants │
│ update-staking-constants Update staking Economy Chain constants which │
│ is required to be meet in order for providers│
│ to receive rewards. │
│ update-constants Update Economy Chain constants │
│ auth-descriptor-evm-swap This command will swap the main auth │
│ descriptor signer of an ft4 provider account │
│ with the provided EVM address and set the │
│ auth flags to both T (Transfer) and A │
│ (Account). It will also link the account to │
│ an EOA (external owned account) using the EVM│
│ address │
│ update-price-oracle-rates Create a proposal to update price oracle │
│ token prices. Multiple tokens can be │
│ added/updated in each proposal. │
│ proposal Interact with existing proposals │
│ set-provider-staking-account Set account to be used for providers staking.│
│ Existing staking is transferred to new │
│ account. │
│ claim-test-chr Claim tCHR on Chromia Testnet. Not available │
│ on Chromia Mainnet. │
╰─────────────────────────────────────────────────────────────────────────────╯
The economy command (pmc economy
) consists of sub-commands to interact with the Economy Chain. For example, create
tags and clusters and manage proposals.
economy list tags
Usage: pmc economy list-tags [OPTIONS]
List all existing tags
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The tag list command (pmc economy list-tags
) lists all tags.
economy add tag
Usage: pmc economy add-tag [OPTIONS]
Add a new tag
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -n, --name=TEXT Name of the new tag │
│* -scup, --scu-price=VALUE SCU price in USD per day. │
│* -esp, --extra-storage-price=VALUE Extra storage price in USD per day. │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The add tag command (pmc economy add-tag
) proposes creating a new tag containing information about SCU price and extra
storage price.
To add a tag, you must provide:
- The name of the tag
- The SCU price
- The extra storage price
economy update tag
Usage: pmc economy update-tag [OPTIONS]
Update an existing tag
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -n, --name=TEXT Name of the tag │
│ -scup, --scu-price=VALUE Updated SCU price in USD per day │
│ -esp, --extra-storage-price=VALUE │
│ Updated extra storage price in USD per day │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The update tag command (pmc economy update-tag
) proposes a tag update. To change a tag of an existing cluster, see the
change cluster tag command (pmc economy change-cluster-tag
).
economy remove tag
Usage: pmc economy remove-tag [OPTIONS]
Remove tag
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -n, --name=TEXT Name of the tag to be removed │
│ -h, --help Show this message and exit │
╰─────────────────────── ──────────────────────────────────────────────────────╯
The remove tag command (pmc economy remove-tag
) proposes the removal of a tag.
economy add cluster
Usage: pmc economy add-cluster [OPTIONS]
Add a new cluster
╭─ Configuration Properties ─ ─────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -n, --name=TEXT Name of the new cluster │
│* -vs, --voter-set=TEXT Cluster voter set │
│ -clu, --cluster-units=INT Cluster Units (minimum 1) (default: 1) │
│ -es, --extra-storage=INT Extra Storage (MiB) (default: 0) │
│* -g, --governor=TEXT Name of another voter set which can update │
│ this cluster. │
│* -t, --tag=TEXT Cluster tag │
│ --system-container-units=INT Number of container units to reserve for │
│ cluster system container (default: 4) │
│ --cu-cpu=INT Container unit CPU limit (percent of cpus, 10│
│ == 0.1 cpu(s), 150 == 1.5 cpu(s)) (default: │
│ 50) │
│ --cu-ram=INT Container unit RAM limit (MiB) (default: │
│ 2048) │
│ --cu-storage=INT Container unit storage limit (MiB) (default: │
│ 16384) │
│ --cu-io-read=INT Container unit storage I/O read limit (MiB/s)│
│ (default: 25) │
│ --cu-io-write=INT Container unit storage I/O write limit │