cli

package
v0.4.0-dev.9 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagWithoutSEDAKeys defines a flag to skip generating and
	// uploading SEDA keys.
	FlagWithoutSEDAKeys = "without-seda-keys"
)

Variables

This section is empty.

Functions

func BuildCreateSEDAValidatorMsg

func BuildCreateSEDAValidatorMsg(clientCtx client.Context, config TxCreateValidatorConfig, txBldr tx.Factory, generateOnly bool, valCodec address.Codec) (tx.Factory, sdk.Msg, error)

func NewCreateValidatorCmd

func NewCreateValidatorCmd(ac address.Codec) *cobra.Command

func NewTxCmd

func NewTxCmd(valAddrCodec, ac address.Codec) *cobra.Command

NewTxCmd returns a root CLI command handler for all x/staking transaction commands.

Types

type TxCreateValidatorConfig

type TxCreateValidatorConfig struct {
	stakingcli.TxCreateValidatorConfig
	SEDAPubKeys []pubkeytypes.IndexedPubKey
}

Jump to

Keyboard shortcuts

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