cmd

package
v0.15.0-rc.2.accounts Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 65 Imported by: 0

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