cli

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOwner is the flag for the owner address of a name record.
	FlagOwner = "owner"
	// FlagDescription is the flag for a description.
	FlagDescription = "description"
	// FlagTitle is the flag for a title.
	FlagTitle = "title"
	// FlagDeposit is the flag for a deposit.
	FlagDeposit string = "deposit"
	// FlagMetadata is the flag for a deposit.
	FlagMetadata string = "metadata"
)
View Source
const FlagGovProposal = "gov-proposal"

The flag to specify that the command should be ran as a gov proposal

View Source
const FlagUnrestricted = "unrestrict"

The flag for creating unrestricted names

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 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 GetRootNameProposalCmd added in v1.8.0

func GetRootNameProposalCmd() *cobra.Command

GetRootNameProposalCmd returns a command for registration with the gov module

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