Documentation ¶
Index ¶
- Constants
- func MsgCreateGroupCmd() *cobra.Command
- func MsgCreateGroupPolicyCmd() *cobra.Command
- func MsgCreateGroupWithPolicyCmd() *cobra.Command
- func MsgExecCmd() *cobra.Command
- func MsgLeaveGroupCmd() *cobra.Command
- func MsgSubmitProposalCmd() *cobra.Command
- func MsgUpdateGroupAdminCmd() *cobra.Command
- func MsgUpdateGroupMembersCmd() *cobra.Command
- func MsgUpdateGroupMetadataCmd() *cobra.Command
- func MsgUpdateGroupPolicyAdminCmd() *cobra.Command
- func MsgUpdateGroupPolicyDecisionPolicyCmd(ac address.Codec) *cobra.Command
- func MsgUpdateGroupPolicyMetadataCmd() *cobra.Command
- func MsgVoteCmd() *cobra.Command
- func MsgWithdrawProposalCmd() *cobra.Command
- func NewCmdDraftProposal() *cobra.Command
- func TxCmd(name string, ac address.Codec) *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.
func MsgCreateGroupPolicyCmd ¶
MsgCreateGroupPolicyCmd creates a CLI command for Msg/CreateGroupPolicy.
func MsgCreateGroupWithPolicyCmd ¶
MsgCreateGroupWithPolicyCmd creates a CLI command for Msg/CreateGroupWithPolicy.
func MsgLeaveGroupCmd ¶
MsgLeaveGroupCmd creates a CLI command for Msg/LeaveGroup.
func MsgSubmitProposalCmd ¶
MsgSubmitProposalCmd creates a CLI command for Msg/SubmitProposal.
func MsgUpdateGroupAdminCmd ¶
MsgUpdateGroupAdminCmd creates a CLI command for Msg/UpdateGroupAdmin.
func MsgUpdateGroupMembersCmd ¶
MsgUpdateGroupMembersCmd creates a CLI command for Msg/UpdateGroupMembers.
func MsgUpdateGroupMetadataCmd ¶
MsgUpdateGroupMetadataCmd creates a CLI command for Msg/UpdateGroupMetadata.
func MsgUpdateGroupPolicyAdminCmd ¶
MsgUpdateGroupPolicyAdminCmd creates a CLI command for Msg/UpdateGroupPolicyAdmin.
func MsgUpdateGroupPolicyDecisionPolicyCmd ¶
MsgUpdateGroupPolicyDecisionPolicyCmd creates a CLI command for Msg/UpdateGroupPolicyDecisionPolicy.
func MsgUpdateGroupPolicyMetadataCmd ¶
MsgUpdateGroupPolicyMetadataCmd creates a CLI command for Msg/UpdateGroupPolicyMetadata.
func MsgWithdrawProposalCmd ¶
MsgWithdrawProposalCmd creates a CLI command for Msg/WithdrawProposal.
func NewCmdDraftProposal ¶ added in v0.46.2
NewCmdDraftProposal let a user generate a draft proposal.
Types ¶
type Proposal ¶ added in v0.46.2
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.