Documentation ¶
Index ¶
- Constants
- Variables
- func BuildCreateValidatorMsg(clientCtx client.Context, config TxCreateValidatorConfig, txBldr tx.Factory, ...) (tx.Factory, sdk.Msg, error)
- func CmdApproveDisableValidator() *cobra.Command
- func CmdCreateValidator() *cobra.Command
- func CmdDisableValidator() *cobra.Command
- func CmdEnableValidator() *cobra.Command
- func CmdListDisabledValidator() *cobra.Command
- func CmdListLastValidatorPower() *cobra.Command
- func CmdListProposedDisableValidator() *cobra.Command
- func CmdListRejectedNode() *cobra.Command
- func CmdListValidator() *cobra.Command
- func CmdProposeDisableValidator() *cobra.Command
- func CmdRejectDisableValidator() *cobra.Command
- func CmdShowDisabledValidator() *cobra.Command
- func CmdShowLastValidatorPower() *cobra.Command
- func CmdShowProposedDisableValidator() *cobra.Command
- func CmdShowRejectedNode() *cobra.Command
- func CmdShowValidator() *cobra.Command
- func CreateValidatorMsgFlagSet(ipDefault string) (fs *flag.FlagSet)
- func FlagSetPublicKey() *flag.FlagSet
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- type TxCreateValidatorConfig
Constants ¶
View Source
const ( FlagAddress = "address" FlagPubKey = "pubkey" FlagMoniker = "moniker" FlagIdentity = "identity" FlagWebsite = "website" FlagDetails = "details" FlagNodeID = "node-id" FlagIP = "ip" FlagState = "state" FlagGenesisFormat = "genesis-format" FlagInfo = "info" )
Variables ¶
Functions ¶
func BuildCreateValidatorMsg ¶
func BuildCreateValidatorMsg(clientCtx client.Context, config TxCreateValidatorConfig, txBldr tx.Factory, generateOnly bool) (tx.Factory, sdk.Msg, error)
BuildCreateValidatorMsg makes a new MsgCreateValidator.
func CmdApproveDisableValidator ¶ added in v0.10.0
func CmdCreateValidator ¶ added in v0.6.0
func CmdDisableValidator ¶ added in v0.10.0
func CmdEnableValidator ¶ added in v0.10.0
func CmdListDisabledValidator ¶ added in v0.10.0
func CmdListLastValidatorPower ¶ added in v0.6.0
func CmdListProposedDisableValidator ¶ added in v0.10.0
func CmdListRejectedNode ¶ added in v0.11.0
func CmdListValidator ¶ added in v0.6.0
func CmdProposeDisableValidator ¶ added in v0.10.0
func CmdRejectDisableValidator ¶ added in v0.11.0
func CmdShowDisabledValidator ¶ added in v0.10.0
func CmdShowLastValidatorPower ¶ added in v0.6.0
func CmdShowProposedDisableValidator ¶ added in v0.10.0
func CmdShowRejectedNode ¶ added in v0.11.0
func CmdShowValidator ¶ added in v0.6.0
func CreateValidatorMsgFlagSet ¶ added in v0.6.0
Return the flagset, particular flags, and a description of defaults this is anticipated to be used with the gen-tx.
func FlagSetPublicKey ¶ added in v0.6.0
FlagSetPublicKey Returns the flagset for Public Key related operations.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module.
Types ¶
type TxCreateValidatorConfig ¶ added in v0.6.0
type TxCreateValidatorConfig struct { ChainID string NodeID string Moniker string PubKey cryptotypes.PubKey IP string Website string Details string Identity string }
func PrepareConfigForTxCreateValidator ¶ added in v0.6.0
func PrepareConfigForTxCreateValidator(flagSet *flag.FlagSet, moniker, nodeID, chainID string, valPubKey cryptotypes.PubKey) (TxCreateValidatorConfig, error)
Source Files ¶
- flags.go
- query.go
- query_disabled_validator.go
- query_last_validator_power.go
- query_proposed_disable_validator.go
- query_rejected_node.go
- query_validator.go
- tx.go
- tx_approve_disable_validator.go
- tx_create_validator.go
- tx_disable_validator.go
- tx_enable_validator.go
- tx_propose_disable_validator.go
- tx_reject_disable_node.go
Click to show internal directories.
Click to hide internal directories.