Documentation ¶
Index ¶
- Constants
- func AddAccountDataFlagsToCmd(cmd *cobra.Command)
- func GetAccountAttributeCmd() *cobra.Command
- func GetAccountDataCmd() *cobra.Command
- func GetAttributeAccountsCmd() *cobra.Command
- func GetAttributeParamsCmd() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func ListAccountAttributesCmd() *cobra.Command
- func NewAddAccountAttributeCmd() *cobra.Command
- func NewDeleteAccountAttributeCmd() *cobra.Command
- func NewDeleteDistinctAccountAttributeCmd() *cobra.Command
- func NewSetAccountDataCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
- func NewUpdateAccountAttributeCmd() *cobra.Command
- func NewUpdateAccountAttributeExpirationCmd() *cobra.Command
- func NewUpdateParamsCmd() *cobra.Command
- func ReadAccountDataFlags(flagSet *flag.FlagSet) (string, error)
- func ScanAccountAttributesCmd() *cobra.Command
Constants ¶
const ( // FlagValue is a flag name for defining a value. FlagValue = "value" // FlagFile is a flag name for defining a file. FlagFile = "file" // FlagDelete is a flag name for deleting something. FlagDelete = "delete" // AccountDataFlagsUse is a use string for the mutually exclusive account data flags. AccountDataFlagsUse = "{" + flagValueUse + "|" + flagFileUse + "|" + flagDeleteUse + "}" )
Variables ¶
This section is empty.
Functions ¶
func AddAccountDataFlagsToCmd ¶ added in v1.16.0
AddAccountDataFlagsToCmd adds flags to a command for providing account data. See also: ReadAccountDataFlags
func GetAccountAttributeCmd ¶
GetAccountAttributeCmd gets all account attributes by name.
func GetAccountDataCmd ¶ added in v1.16.0
GetAccountDataCmd gets data for an account
func GetAttributeAccountsCmd ¶ added in v1.15.0
GetAttributeAccountsCmd gets account addresses with attribute name
func GetAttributeParamsCmd ¶
GetAttributeParamsCmd returns the command handler for name parameter querying.
func GetQueryCmd ¶
GetQueryCmd is the top-level command for attribute CLI queries.
func ListAccountAttributesCmd ¶
ListAccountAttributesCmd gets all account attributes.
func NewAddAccountAttributeCmd ¶
NewAddAccountAttributeCmd creates a command for adding an account attributes.
func NewDeleteAccountAttributeCmd ¶
NewDeleteAccountAttributeCmd creates a command for removing account attributes.
func NewDeleteDistinctAccountAttributeCmd ¶ added in v1.5.0
NewDeleteDistinctAccountAttributeCmd creates a command for removing account attributes with specific name value.
func NewSetAccountDataCmd ¶ added in v1.16.0
NewSetAccountDataCmd creates a command for setting account data.
func NewUpdateAccountAttributeCmd ¶ added in v1.5.0
NewUpdateAccountAttributeCmd creates a command for adding an account attributes.
func NewUpdateAccountAttributeExpirationCmd ¶ added in v1.16.0
NewUpdateAccountAttributeExpirationCmd creates a command for updating account attributes expirations
func NewUpdateParamsCmd ¶ added in v1.19.0
NewUpdateParamsCmd creates a command to update the attribute module's params via governance proposal.
func ReadAccountDataFlags ¶ added in v1.16.0
ReadAccountDataFlags parses the account data flags and returns the desired account data value. See also: AddAccountDataFlagsToCmd
func ScanAccountAttributesCmd ¶
ScanAccountAttributesCmd gets account attributes by name suffix.
Types ¶
This section is empty.