cli

package
v1.19.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOwner is the flag for the owner address of a name record.
	FlagOwner = "owner"

	// FlagGovProposal is the flag to specify that the command should be run as a gov proposal
	FlagGovProposal = "gov-proposal"

	// FlagUnrestricted is the flag for creating unrestricted names
	FlagUnrestricted = "unrestrict"
)

Variables

This section is empty.

Functions

func GetBindNameCmd

func GetBindNameCmd() *cobra.Command

GetBindNameCmd is the CLI command for binding a name to an address.

func GetDeleteNameCmd

func GetDeleteNameCmd() *cobra.Command

GetDeleteNameCmd is the CLI command for deleting a bound name.

func GetGovRootNameCmd added in v1.19.0

func GetGovRootNameCmd() *cobra.Command

GetRootNameProposalCmd returns a command for registration with the gov module

func GetModifyNameCmd added in v1.16.0

func GetModifyNameCmd() *cobra.Command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd is the top-level command for name CLI queries.

func GetUpdateNameParamsCmd added in v1.19.0

func GetUpdateNameParamsCmd() *cobra.Command

GetUpdateNameParamsCmd creates a command to update the name module's params via governance proposal.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd is the top-level command for name CLI transactions.

func QueryParamsCmd

func QueryParamsCmd() *cobra.Command

QueryParamsCmd returns the command handler for name parameter querying.

func ResolveNameCommand

func ResolveNameCommand() *cobra.Command

ResolveNameCommand returns the command handler for resolving the address for a given name.

func ReverseLookupCommand

func ReverseLookupCommand() *cobra.Command

ReverseLookupCommand returns the command handler for finding all names that point to an address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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