cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

default values

Functions

func BuildCreateValidatorWithVRFMsg

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

func NewCreateValidatorWithVRFCmd

func NewCreateValidatorWithVRFCmd(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
	VrfPubKey cryptotypes.PubKey
}

Jump to

Keyboard shortcuts

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