cli

package
v0.53.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	FlagExec               = "exec"
	ExecTry                = "try"
	FlagGroupPolicyAsAdmin = "group-policy-as-admin"
)

Variables

This section is empty.

Functions

func MsgCreateGroupCmd

func MsgCreateGroupCmd() *cobra.Command

MsgCreateGroupCmd creates a CLI command for Msg/CreateGroup.

func MsgCreateGroupPolicyCmd

func MsgCreateGroupPolicyCmd() *cobra.Command

MsgCreateGroupPolicyCmd creates a CLI command for Msg/CreateGroupPolicy.

func MsgCreateGroupWithPolicyCmd

func MsgCreateGroupWithPolicyCmd() *cobra.Command

MsgCreateGroupWithPolicyCmd creates a CLI command for Msg/CreateGroupWithPolicy.

func MsgExecCmd

func MsgExecCmd() *cobra.Command

MsgExecCmd creates a CLI command for Msg/Exec.

func MsgLeaveGroupCmd

func MsgLeaveGroupCmd() *cobra.Command

MsgLeaveGroupCmd creates a CLI command for Msg/LeaveGroup.

func MsgSubmitProposalCmd

func MsgSubmitProposalCmd() *cobra.Command

MsgSubmitProposalCmd creates a CLI command for Msg/SubmitProposal.

func MsgUpdateGroupAdminCmd

func MsgUpdateGroupAdminCmd() *cobra.Command

MsgUpdateGroupAdminCmd creates a CLI command for Msg/UpdateGroupAdmin.

func MsgUpdateGroupMembersCmd

func MsgUpdateGroupMembersCmd() *cobra.Command

MsgUpdateGroupMembersCmd creates a CLI command for Msg/UpdateGroupMembers.

func MsgUpdateGroupMetadataCmd

func MsgUpdateGroupMetadataCmd() *cobra.Command

MsgUpdateGroupMetadataCmd creates a CLI command for Msg/UpdateGroupMetadata.

func MsgUpdateGroupPolicyAdminCmd

func MsgUpdateGroupPolicyAdminCmd() *cobra.Command

MsgUpdateGroupPolicyAdminCmd creates a CLI command for Msg/UpdateGroupPolicyAdmin.

func MsgUpdateGroupPolicyDecisionPolicyCmd

func MsgUpdateGroupPolicyDecisionPolicyCmd(ac address.Codec) *cobra.Command

MsgUpdateGroupPolicyDecisionPolicyCmd creates a CLI command for Msg/UpdateGroupPolicyDecisionPolicy.

func MsgUpdateGroupPolicyMetadataCmd

func MsgUpdateGroupPolicyMetadataCmd() *cobra.Command

MsgUpdateGroupPolicyMetadataCmd creates a CLI command for Msg/UpdateGroupPolicyMetadata.

func MsgVoteCmd

func MsgVoteCmd() *cobra.Command

MsgVoteCmd creates a CLI command for Msg/Vote.

func MsgWithdrawProposalCmd

func MsgWithdrawProposalCmd() *cobra.Command

MsgWithdrawProposalCmd creates a CLI command for Msg/WithdrawProposal.

func NewCmdDraftProposal added in v0.46.2

func NewCmdDraftProposal() *cobra.Command

NewCmdDraftProposal let a user generate a draft proposal.

func TxCmd

func TxCmd(name string, ac address.Codec) *cobra.Command

TxCmd returns a root CLI command handler for all x/group transaction commands.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL