Documentation ¶
Index ¶
- Constants
- func GetBindNameCmd() *cobra.Command
- func GetDeleteNameCmd() *cobra.Command
- func GetModifyNameCmd() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetRootNameProposalCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
- func QueryParamsCmd() *cobra.Command
- func ResolveNameCommand() *cobra.Command
- func ReverseLookupCommand() *cobra.Command
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 ¶
GetBindNameCmd is the CLI command for binding a name to an address.
func GetDeleteNameCmd ¶
GetDeleteNameCmd is the CLI command for deleting a bound name.
func GetModifyNameCmd ¶ added in v1.16.0
func GetQueryCmd ¶
GetQueryCmd is the top-level command for name CLI queries.
func GetRootNameProposalCmd ¶ added in v1.8.0
GetRootNameProposalCmd returns a command for registration with the gov module
func QueryParamsCmd ¶
QueryParamsCmd returns the command handler for name parameter querying.
func ResolveNameCommand ¶
ResolveNameCommand returns the command handler for resolving the address for a given name.
func ReverseLookupCommand ¶
ReverseLookupCommand returns the command handler for finding all names that point to an address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.