Documentation ¶
Index ¶
- Constants
- func MsgCreateGroupCmd() *cobra.Command
- func MsgCreateGroupPolicyCmd() *cobra.Command
- func MsgCreateGroupWithPolicyCmd() *cobra.Command
- func MsgSubmitProposalCmd() *cobra.Command
- func MsgUpdateGroupMembersCmd() *cobra.Command
- func MsgUpdateGroupPolicyDecisionPolicyCmd() *cobra.Command
- func NewCmdDraftProposal() *cobra.Command
- func TxCmd(name string) *cobra.Command
- type Proposal
Constants ¶
const ( FlagExec = "exec" ExecTry = "try" FlagGroupPolicyAsAdmin = "group-policy-as-admin" )
Variables ¶
This section is empty.
Functions ¶
func MsgCreateGroupCmd ¶
MsgCreateGroupCmd creates a CLI command for Msg/CreateGroup.
This command is being handled better here, not converting to autocli
func MsgCreateGroupPolicyCmd ¶
MsgCreateGroupPolicyCmd creates a CLI command for Msg/CreateGroupPolicy.
This command is being handled better here, not converting to autocli
func MsgCreateGroupWithPolicyCmd ¶
MsgCreateGroupWithPolicyCmd creates a CLI command for Msg/CreateGroupWithPolicy.
This command is being handled better here, not converting to autocli
func MsgSubmitProposalCmd ¶
MsgSubmitProposalCmd creates a CLI command for Msg/SubmitProposal.
This command is being handled better here, not converting to autocli
func MsgUpdateGroupMembersCmd ¶
MsgUpdateGroupMembersCmd creates a CLI command for Msg/UpdateGroupMembers.
This command is being handled better here, not converting to autocli
func MsgUpdateGroupPolicyDecisionPolicyCmd ¶
MsgUpdateGroupPolicyDecisionPolicyCmd creates a CLI command for Msg/UpdateGroupPolicyDecisionPolicy.
This command is being handled better here, not converting to autocli
func NewCmdDraftProposal ¶
NewCmdDraftProposal let a user generate a draft proposal.
Types ¶
type Proposal ¶
type Proposal struct { GroupPolicyAddress string `json:"group_policy_address"` // Messages defines an array of sdk.Msgs proto-JSON-encoded as Anys. Messages []json.RawMessage `json:"messages,omitempty"` Metadata string `json:"metadata"` Proposers []string `json:"proposers"` Title string `json:"title"` Summary string `json:"summary"` }
Proposal defines a Msg-based group proposal for CLI purposes.