cli

package
v0.0.0-...-df65111 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddressValidator = "validator"

	FlagMoniker         = "moniker"
	FlagIdentity        = "identity"
	FlagWebsite         = "website"
	FlagSecurityContact = "security-contact"
	FlagDetails         = "details"
)

Variables

This section is empty.

Functions

func FlagSetDescriptionCreate

func FlagSetDescriptionCreate() *flag.FlagSet

func GetCmdLeaveValidatorSet

func GetCmdLeaveValidatorSet(cdc *codec.Codec) *cobra.Command

GetCmdLeaveValidatorSet remove oneself from the validator set

func GetCmdProposeKick

func GetCmdProposeKick(cdc *codec.Codec) *cobra.Command

GetCmdProposeKick sends a new kick proposal to remove a validator

func GetCmdQueryApplications

func GetCmdQueryApplications(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryApplications queries the applications to become a validator

func GetCmdQueryKickProposals

func GetCmdQueryKickProposals(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryKickProposals queries the kick proposals to remove a validator

func GetCmdQueryParams

func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryParams queries the params

func GetCmdQueryValidator

func GetCmdQueryValidator(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidator queries information about a validator

func GetCmdQueryValidators

func GetCmdQueryValidators(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidators queries all validators

func GetCmdSubmitApplication

func GetCmdSubmitApplication(cdc *codec.Codec) *cobra.Command

GetCmdSubmitApplication sends a new application to become a validator

func GetCmdVoteApplication

func GetCmdVoteApplication(cdc *codec.Codec) *cobra.Command

GetCmdVoteApplication approves or rejects an application to become validator

func GetCmdVoteKickProposal

func GetCmdVoteKickProposal(cdc *codec.Codec) *cobra.Command

GetCmdVoteKickProposal approves or rejects a kick proposal

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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