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. │
│ update-provider-staking-reward-share │
│ Update staking reward share for a node │
│ provider. │
╰─────────────── ──────────────────────────────────────────────────────────────╯
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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported │
│ formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and│
│ milliseconds since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from │
│ now. │
│ --save-tx Always save transaction to file, even if it is │
│ fully signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│* -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. │
│ -ecrp, --extra-compute-request-price=VALUE │
│ Extra compute request price in USD. │
│ -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 │
╰──────────────────────────────────────────────────────────────────────── ─────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported │
│ formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and│
│ milliseconds since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from │
│ now. │
│ --save-tx Always save transaction to file, even if it is │
│ fully signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│* -n, --name=TEXT Name of the tag │
│ -scup, --scu-price=VALUE SCU price in USD per day. │
│ -esp, --extra-storage-price=VALUE │
│ Extra storage price in USD per day. │
│ -ecrp, --extra-compute-request-price=VALUE │
│ Extra compute request price in USD. │
│ -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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│* -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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail │
│ if applied after the given time (UTC). │
│ Supported formats: yyyy-MM-dd HH:mm, │
│ yyyy-MM-dd'T'HH:mm and milliseconds since │
│ 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail │
│ if applied after the given number of seconds │
│ from now. │
│ --save-tx Always save transaction to file, even if it │
│ is fully signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│* -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 │
│ (MiB/s) (default: 20) │
│ -mn, --max-nodes=INT Maximum number of nodes in the cluster │
│ (default: 9223372036854775807) │
│ -h, --help Show this message and exit │
╰────────────────────────────────────────────────────────── ───────────────────╯
The add cluster command (pmc economy add-cluster) propose creating a new cluster that can hold nodes with containers
holding blockchains.
To add a cluster, you must provide:
- The name of the cluster
- The name of the voter set
- The pubkeys of the providers to be included in the cluster
- The name of the governor
- The tag to use for reward calculations
- The cluster units
- The extra storage
economy list clusters
Usage: pmc economy list-clusters [OPTIONS]
List all clusters that are tracked by economy chain
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -i, --interactive Prompt for item to show details for │
│ -h, --help Show this message and exit │
╰──────────────────────────────────────────────── ─────────────────────────────╯
The cluster list command (pmc economy list-clusters) lists all the clusters that are managed through Economy Chain.
economy change cluster tag
Usage: pmc economy change-cluster-tag [OPTIONS]
Change the tag of a 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported │
│ formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and│
│ milliseconds since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from │
│ now. │
│ --save-tx Always save transaction to file, even if it is │
│ fully signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│* -cn, --cluster-name=TEXT Name of the cluster │
│* -tn, --tag-name=TEXT Name of the tag │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The change cluster tag command (pmc economy change-cluster-tag) proposes the system to change the tag for a cluster.
economy cluster creations status
Usage: pmc economy cluster-creation-status [OPTIONS]
Get cluster creation status
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│* -n, --name=TEXT Name of the cluster to get creation status │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The cluster creation status command (pmc economy cluster-creation-status) shows the status of a cluster's creation
progress.
economy version
Usage: pmc economy version [OPTIONS]
Shows economy chain version
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The version command (pmc economy version) shows the version of the Economy Chain running on a network.
economy metrics
Usage: pmc economy metrics [OPTIONS]
Economy metrics for a provider
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰────────────────────────────────────────────────────────────────────────── ───╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported │
│ formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and │
│ milliseconds since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default:│
│ /opt/chromaway/postchain) │
│* -pk, --pubkey=PUBKEY Public key │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The metrics command (pmc economy metrics) gets metrics for a provider.
economy get constants
Usage: pmc economy get-constants [OPTIONS]
Get economy chain constants
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The constants command (pmc economy constants) gets information about constants used for reward calculations.
economy update system provider constants
Usage: pmc economy update-system-provider-constants [OPTIONS]
Update system provider economy chain constants
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ --total-cost-system-providers=TEXT │
│ Total cost system providers in USD │
│ --system-provider-fee-share=TEXT │
│ System provider fee share │
│ --system-provider-risk-share=TEXT │
│ System provider risk share │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The update system provider constants command (pmc economy update-system-provider-constants) updates constants managed
by the system providers.
economy update constants
Usage: pmc economy update-constants [OPTIONS]
Update economy chain constants
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if│
│ applied after the given time (UTC). Supported │
│ formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm │
│ and milliseconds since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if│
│ applied after the given number of seconds from │
│ now. │
│ --save-tx Always save transaction to file, even if it is │
│ fully signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│ --min-lease-time=INT Number of weeks as minimum for a lease │
│ --max-lease-time=INT Number of weeks as maximum for a lease │
│ --staking-reward-rate=TEXT Staking reward rate │
│ --staking-reward-fee-share=TEXT │
│ Staking reward fee share (deprecated since EC │
│ version 64) │
│ --chromia-foundation-fee-share=TEXT │
│ Chromia foundation fee share │
│ --resource-pool-margin-fee-share=TEXT │
│ Resource pool margin fee share │
│ --dapp-provider-risk-share=TEXT │
│ Dapp provider risk share │
│ --schedule-at=VALUE Set the time (UTC) to apply this proposal. │
│ Supported formats: yyyy-MM-dd HH:mm, │
│ yyyy-MM-dd'T'HH:mm and milliseconds since 1970 │
│ (unix/epoch time) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The update constants command (pmc economy update-constants) proposes an update of one or more constants.
economy auth descriptor evm swap
Usage: pmc economy auth-descriptor-evm-swap [OPTIONS]
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
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported │
│ formats: yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and │
│ milliseconds since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully│
│ signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│ --account-id=ID Account id of the account to be updated. │
│* --evm-address=ADDRESS EVM address │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The auth descriptor evm swap command (pmc economy auth-descriptor-evm-swap) replaces the primary authentication
descriptor signer of an FT4 provider account with the EVM address derived from the supplied MetaMask private key. Set
the authentication flags to both Transfer (T) and Account (A). Additionally, link the account to an externally owned
account (EOA) using the corresponding EVM address.
economy update price oracle rates
Usage: pmc economy update-price-oracle-rates [OPTIONS]
Create a proposal to update price oracle token prices. Multiple tokens can be
added/updated in each proposal.
Example:
pmc economy update-price-oracle-rates --token-rates '["symbol": "CHR",
"name": "Chromia", "price": "12.34"]' --token-rates '["symbol": "tCHR",
"name": "Test Chromia", "price": "34.56"]'
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│* --token-rates=VALUE GTV formatted token with rate and possible name. Each │
│ proposal can contain multiple token updates. │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The update price oracle rates command (pmc economy update-price-oracle-rates) creates a proposal to update price
oracle token prices. Multiple tokens can be added or updated in each proposal.
economy proposal
Usage: pmc economy proposal [OPTIONS] COMMAND [ARGS]...
Interact with existing proposals
╭─ Options ─────────────────────────────────────── ────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ info Gets information of a given proposal │
│ list List all proposals that you can vote on │
│ revoke Revoke/remove a proposal submitted by you │
│ vote Providers decide if proposed changes should be applied. Use this │
│ function to vote yes or no to a proposal. │
╰─────────────────────────────────────────────────────────── ──────────────────╯
The proposal command (pmc economy proposal) consists of the sub-commands to interact with proposals.
economy proposal info
Usage: pmc economy proposal info [OPTIONS]
Gets information of a given proposal
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ --id=INT Id of the proposal │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The proposal info command (pmc economy proposal info) gets information about a given proposal.
economy proposal list
Usage: pmc economy proposal list [OPTIONS]
List all proposals that you can vote on
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│ --from=VALUE List proposals from date (YYYY-MM-DD) (default: │
│ 1970-01-01) │
│ --to=VALUE List proposals to date (YYYY-MM-DD) (default: │
│ 9999-12-31) │
│ --all Include all proposals, including ones you can not vote│
│ on │
│ --pending Only include proposals that are still pending │
│ -i, --interactive Prompt for item to show details for │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The proposal list command (pmc economy proposal list) lists all proposals.
economy proposal revoke
Usage: pmc economy proposal revoke [OPTIONS]
Revoke/remove a proposal submitted by you
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail if │
│ applied after the given time (UTC). Supported formats:│
│ yyyy-MM-dd HH:mm, yyyy-MM-dd'T'HH:mm and milliseconds │
│ since 1970 (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail if │
│ applied after the given number of seconds from now. │
│ --save-tx Always save transaction to file, even if it is fully │
│ signed │
│ --target=PATH Path where transaction file should be saved (default: │
│ /opt/chromaway/postchain) │
│* --id=INT Id of the proposal │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────── ──────────╯
The proposal revoke command (pmc economy proposal revoke) lets you withdraw your proposal.
economy proposal vote
Usage: pmc economy proposal vote [OPTIONS]
Providers decide if proposed changes should be applied. Use this function to
vote yes or no to a proposal.
╭─ 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 │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail │
│ if applied after the given time (UTC). │
│ Supported formats: yyyy-MM-dd HH:mm, │