cmd

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Apache-2.0 Imports: 61 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOverwrite defines a flag to overwrite an existing genesis JSON file.
	FlagOverwrite = "overwrite"

	// FlagSeed defines a flag to initialize the private validator key from a specific seed.
	FlagRecover = "recover"

	// FlagDefaultBondDenom defines the default denom to use in the genesis file.
	FlagDefaultBondDenom = "default-denom"
)

Variables

This section is empty.

Functions

func InitCmd added in v0.9.0

func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command

InitCmd returns a command that initializes all files needed for Tendermint and the respective application.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new root command for fairyringd. It is called once in the main function.

func ProvideClientContext added in v0.7.0

func ProvideClientContext(
	appCodec codec.Codec,
	interfaceRegistry codectypes.InterfaceRegistry,
	txConfig client.TxConfig,
	legacyAmino *codec.LegacyAmino,
) client.Context

func ProvideGovKeeper added in v0.7.0

func ProvideGovKeeper() govkeeper.Keeper

This is a hack for root.go, needs to be reverted eventually.

func ProvideKeyring added in v0.7.0

func ProvideKeyring(clientCtx client.Context, addressCodec address.Codec) (clientv2keyring.Keyring, error)

func ProvideStakingKeeper added in v0.7.0

func ProvideStakingKeeper() stakingkeeper.Keeper

This is a hack for root.go, needs to be reverted eventually.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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