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. │
│ mint Manage voter set and proposals for minting │
│ proposal Interact with existing proposals │
│ set-provider-staking-account Set account to be used for providers staking.│
│ Existing staking is transferred to new │
│ account. │
╰─────────────────────────────────────────────────────────────────────────────╯
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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ 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 │
│ -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────── ─────────────────────────────╮
│ -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -pk, --pubkey=VALUE 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --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 │
│ --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 │
│ -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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --account-id=VALUE 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 main auth descriptor to evm address and link to eoa account
Usage: pmc economy update-main-auth-descriptor-to-evm-address-and-link-to-eoa-account
[OPTIONS]
This command will swap the main auth descriptor signer of an ft4 provider
account with the EVM address based on the provided metamask private key 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* --account-id=VALUE Account id of the account to be updated. │
│* --metamask-private-key-file=PATH Metamask private key file. │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The update main auth descriptor to evm address and link to eoa account command
(pmc economy update-main-auth-descriptor-to-evm-address-and-link-to-eoa-account
) updates the primary authentication
descriptor of an FT4 provider account by replacing the current signer with the EVM address derived from the provided
MetaMask private key. Additionally, it will configure the authentication flags to both T (Transfer) and A (Account) and
associate the account with an EOA (Externally Owned Account) using the specified 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* --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 mint
Usage: pmc economy mint [OPTIONS] COMMAND [ARGS]...
Manage voter set and proposals for minting
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ voter-set-create Creates the voter set with members to manage minting │
│ proposals. Operation can only be run once and adds the │
│ signer as first member. │
│ voter-set-info Show information of voter set │
│ voter-set-update Propose an update of the chromia foundation voter set │
│ propose Create a minting proposal │
╰──────────────────────────── ─────────────────────────────────────────────────╯
The mint command (pmc economy mint
) consists of the sub-commands to manage voter set and proposals for minting.
economy mint voter set create
Usage: pmc economy mint voter-set-create [OPTIONS]
Creates the voter set with members to manage minting proposals. Operation can
only be run once and adds the signer as first member.
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The mint voter set create command (pmc economy mint voter-set-create
) creates a voter set with members to manage
minting proposals. Operation can only be run once and adds the signer as first member.
economy mint voter set info
Usage: pmc economy mint voter-set-info [OPTIONS]
Show information of voter set
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The mint voter set info command (pmc economy mint voter-set-info
) gets information about a voter set.
economy mint voter set update
Usage: pmc economy mint voter-set-update [OPTIONS]
Propose an update of the chromia foundation voter set
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -t, --threshold=INT 0: supermajority of voters, specifically `n - (n - │
│ 1) / 3` (which is usually around 67%) -1: simple │
│ majority positive number: that many voters │
│ --add-member=VALUE Members pubkey(s) to add to voter set (default: []) │
│ --remove-member=VALUE Members pubkey(s) to remove from voter set (default:│
│ []) │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The mint voter set update command (pmc economy mint voter-set-update
) proposes an update of the Chromia foundation
voter set.
economy mint propose
Usage: pmc economy mint propose [OPTIONS]
Create a minting 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* --amount=INT Amount to min │
│* --account-id=TEXT Destination account id │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The mint propose command (pmc mint economy propose
) creates a minting 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* --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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────── ───────────╮
│* --id=INT Id of the proposal │
│ -y, --accept / -n, --reject Accept or reject this proposal │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The proposal vote command (pmc economy proposal vote
) enables providers to vote on whether the proposed configuration
changes suggested by another provider should be applied.
economy set-provider-staking-account
Usage: pmc economy set-provider-staking-account [OPTIONS]
Set account to be used for providers staking. Existing staking is transferred
to new account.
Transaction must be signed by provider, current and new staking account key.
╭─ 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 │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -pk, --pubkey=VALUE Provider public key │
│* --account-pk=VALUE Public key of new staking account │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The set provider staking account command (pmc economy set-provider-staking-account
) sets the account to be used for
provider staking. Any existing staked assets will be transferred to the new account.