Search
Duplicate
Try Notion
create
DESCRIPTION
Proposes to create a new role with specific permissions
PERMISSIONS (VOTE/CREATION/SUDO)
PROPOSAL TYPE
CreateRoleProposal
Subcommand Path
sekaid tx customgov proposal role
The CLI command, create, is utilized to raise a governance proposal for creating a new role. The command accepts the following arguments and flags:
Args
$ROLE_SID: The string identifier of the new role.
$ROLE_DESCRIPTION: The description of the new role.
Flags
$TITLE: The title of the proposal.
$DESCRIPTION: The proposal’s description.
$WHITELIST_PERMS: A comma-separated list of permission IDs to be whitelisted for the role (e.g., "1,2,3"). These permission IDs should be integer values.
$BLACKLIST_PERMS: A comma-separated list of permission IDs to be blacklisted for the role (e.g., "4,5,6"). These permission IDs should be integer values.
Bash
Copy
sekaid tx customgov proposal role create \ --from=$SIGNER $FLAGS_TX \ --title=$TITLE --description=$DESCRIPTION \ --whitelist-perms=$WHITELIST_PERMS \ --blacklist-perms=$BLACKLIST_PERMS \ $ROLE_SID $ROLE_DESCRIPTION