cmd

package
v1.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 65 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 NewGetStuckTransfersCmd added in v0.12.0

func NewGetStuckTransfersCmd() *cobra.Command

func NewIBCDiagCmd added in v0.12.0

func NewIBCDiagCmd() *cobra.Command

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

type EventInfo added in v0.12.0

type EventInfo struct {
	Type           string
	TxHash         string
	Attributes     []string
	RealAttributes []abcitypes.EventAttribute
}

func FilterEvents added in v0.12.0

func FilterEvents(
	txs []*coretypes.ResultTx,
	typeFilter func(string) bool,
) []*EventInfo

func (*EventInfo) GetAttribute added in v0.12.0

func (ev *EventInfo) GetAttribute(key string) string

type FungibleTokenPacketData added in v0.12.0

type FungibleTokenPacketData struct {
	Denom    string
	Amount   string
	Sender   string
	Receiver string
}

type Transfer added in v0.12.0

type Transfer struct {
	TxHash         string
	PacketSequence string
	PacketData     FungibleTokenPacketData
}

Jump to

Keyboard shortcuts

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