Qwoyn Studios
Search
K

Groups Module (CLI)

The following set of tutorials assumes the user is familiar with the qwoynd command-line interface.

Transaction Subcommands

Group transaction subcommands
Usage:
qwoynd tx group [flags]
qwoynd tx group [command]
Available Commands:
create-group Create a group which is an aggregation of member accounts with associated weights and an administrator account.
create-group-policy Create a group policy which is an account associated with a group and a decision policy. Note, the '--from' flag is ignored as it is implied from [admin].
create-group-with-policy Create a group with policy which is an aggregation of member accounts with associated weights, an administrator account and decision policy.
draft-proposal Generate a draft proposal json file. The generated proposal json contains only one message (skeleton).
exec Execute a proposal
leave-group Remove member from the group
submit-proposal Submit a new proposal
update-group-admin Update a group's admin
update-group-members Update a group's members. Set a member's weight to "0" to delete it.
update-group-metadata Update a group's metadata
update-group-policy-admin Update a group policy admin
update-group-policy-decision-policy Update a group policy's decision policy
update-group-policy-metadata Update a group policy metadata
vote Vote on a proposal
withdraw-proposal Withdraw a submitted proposal

Query Subcommands

Querying commands for the group module
Usage:
qwoynd query group [flags]
qwoynd query group [command]
Available Commands:
group-info Query for group info by group id
group-members Query for group members by group id with pagination flags
group-policies-by-admin Query for group policies by admin account address with pagination flags
group-policies-by-group Query for group policies by group id with pagination flags
group-policy-info Query for group policy info by account address of group policy
groups Query for groups present in the state
groups-by-admin Query for groups by admin account address with pagination flags
groups-by-member Query for groups by member address with pagination flags
proposal Query for proposal by id
proposals-by-group-policy Query for proposals by account address of group policy with pagination flags
tally-result Query tally result of proposal
vote Query for vote by proposal id and voter account address
votes-by-proposal Query for votes by proposal id with pagination flags
votes-by-voter Query for votes by voter account address with pagination flags