cli

package
v0.0.0-...-a6871c7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

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.

This command is being handled better here, not converting to autocli

func MsgCreateGroupPolicyCmd

func MsgCreateGroupPolicyCmd() *cobra.Command

MsgCreateGroupPolicyCmd creates a CLI command for Msg/CreateGroupPolicy.

This command is being handled better here, not converting to autocli

func MsgCreateGroupWithPolicyCmd

func MsgCreateGroupWithPolicyCmd() *cobra.Command

MsgCreateGroupWithPolicyCmd creates a CLI command for Msg/CreateGroupWithPolicy.

This command is being handled better here, not converting to autocli

func MsgSubmitProposalCmd

func MsgSubmitProposalCmd() *cobra.Command

MsgSubmitProposalCmd creates a CLI command for Msg/SubmitProposal.

This command is being handled better here, not converting to autocli

func MsgUpdateGroupMembersCmd

func MsgUpdateGroupMembersCmd() *cobra.Command

MsgUpdateGroupMembersCmd creates a CLI command for Msg/UpdateGroupMembers.

This command is being handled better here, not converting to autocli

func MsgUpdateGroupPolicyDecisionPolicyCmd

func MsgUpdateGroupPolicyDecisionPolicyCmd() *cobra.Command

MsgUpdateGroupPolicyDecisionPolicyCmd creates a CLI command for Msg/UpdateGroupPolicyDecisionPolicy.

This command is being handled better here, not converting to autocli

func NewCmdDraftProposal

func NewCmdDraftProposal() *cobra.Command

NewCmdDraftProposal let a user generate a draft proposal.

func TxCmd

func TxCmd(name string) *cobra.Command

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

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.

Jump to

Keyboard shortcuts

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