cmd

package
v0.11.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: Apache-2.0 Imports: 57 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGenesisAccountCmd

func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command

AddGenesisAccountCmd returns add-genesis-account cobra Command.

func AddGenesisCLPAdminCmd

func AddGenesisCLPAdminCmd(defaultNodeHome string) *cobra.Command

func AddGenesisValidatorCmd

func AddGenesisValidatorCmd(defaultNodeHome string) *cobra.Command

func GetMigrationCallback

func GetMigrationCallback(version string) types.MigrationCallback

GetMigrationCallback returns a MigrationCallback for a given version.

func GetMigrationVersions

func GetMigrationVersions() []string

GetMigrationVersions get all migration version in a sorted slice.

func Migrate

func Migrate(appState types.AppMap, clientCtx client.Context) types.AppMap

Migrate migrates exported state from v0.39 to a v0.40 genesis state.

func MigrateGenesisDataCmd

func MigrateGenesisDataCmd() *cobra.Command

MigrateGenesisDataCmd returns a command to execute genesis state migration.

func NewRootCmd

func NewRootCmd() (*cobra.Command, params.EncodingConfig)

func SetGenesisDenomWhitelist

func SetGenesisDenomWhitelist(defaultNodeHome string) *cobra.Command

func SetGenesisOracleAdminCmd

func SetGenesisOracleAdminCmd(defaultNodeHome string) *cobra.Command

SetGenesisOracleAdminCmd set the admin address can update the whitelist validators

func SetGenesisWhitelisterAdminCmd

func SetGenesisWhitelisterAdminCmd(defaultNodeHome string) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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