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() *cobra.Command
- func MsgUpdateGroupPolicyMetadataCmd() *cobra.Command
- func MsgVoteCmd() *cobra.Command
- func MsgWithdrawProposalCmd() *cobra.Command
- func NewCmdDraftProposal() *cobra.Command
- func QueryCmd(name string) *cobra.Command
- func QueryGroupInfoCmd() *cobra.Command
- func QueryGroupMembersCmd() *cobra.Command
- func QueryGroupPoliciesByAdminCmd() *cobra.Command
- func QueryGroupPoliciesByGroupCmd() *cobra.Command
- func QueryGroupPolicyInfoCmd() *cobra.Command
- func QueryGroupsByAdminCmd() *cobra.Command
- func QueryGroupsByMemberCmd() *cobra.Command
- func QueryProposalCmd() *cobra.Command
- func QueryProposalsByGroupPolicyCmd() *cobra.Command
- func QueryTallyResultCmd() *cobra.Command
- func QueryVoteByProposalVoterCmd() *cobra.Command
- func QueryVotesByProposalCmd() *cobra.Command
- func QueryVotesByVoterCmd() *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.
func MsgCreateGroupPolicyCmd ¶
MsgCreateGroupPolicyCmd creates a CLI command for Msg/CreateGroupPolicy.
func MsgCreateGroupWithPolicyCmd ¶
MsgCreateGroupWithPolicyCmd creates a CLI command for Msg/CreateGroupWithPolicy.
func MsgExecCmd ¶
MsgExecCmd creates a CLI command for Msg/MsgExec.
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/MsgUpdateGroupPolicyMetadata.
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.
func QueryGroupInfoCmd ¶
QueryGroupInfoCmd creates a CLI command for Query/GroupInfo.
func QueryGroupMembersCmd ¶
QueryGroupMembersCmd creates a CLI command for Query/GroupMembers.
func QueryGroupPoliciesByAdminCmd ¶
QueryGroupPoliciesByAdminCmd creates a CLI command for Query/GroupPoliciesByAdmin.
func QueryGroupPoliciesByGroupCmd ¶
QueryGroupPoliciesByGroupCmd creates a CLI command for Query/GroupPoliciesByGroup.
func QueryGroupPolicyInfoCmd ¶
QueryGroupPolicyInfoCmd creates a CLI command for Query/GroupPolicyInfo.
func QueryGroupsByAdminCmd ¶
QueryGroupsByAdminCmd creates a CLI command for Query/GroupsByAdmin.
func QueryGroupsByMemberCmd ¶
QueryGroupsByMemberCmd creates a CLI command for Query/GroupsByMember.
func QueryProposalCmd ¶
QueryProposalCmd creates a CLI command for Query/Proposal.
func QueryProposalsByGroupPolicyCmd ¶
QueryProposalsByGroupPolicyCmd creates a CLI command for Query/ProposalsByGroupPolicy.
func QueryTallyResultCmd ¶
QueryVotesByProposalCmd creates a CLI command for Query/TallyResult.
func QueryVoteByProposalVoterCmd ¶
QueryVoteByProposalVoterCmd creates a CLI command for Query/VoteByProposalVoter.
func QueryVotesByProposalCmd ¶
QueryVotesByProposalCmd creates a CLI command for Query/VotesByProposal.
func QueryVotesByVoterCmd ¶
QueryVotesByVoterCmd creates a CLI command for Query/VotesByVoter.
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,omitempty"` }
CLIProposal defines a Msg-based group proposal for CLI purposes.