cmd

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 51 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 AddGenesisDelegationCmd

func AddGenesisDelegationCmd(defaultNodeHome string) *cobra.Command

AddGenesisDelegationCmd returns a command to add delegations to genesis.

func AddGenesisWasmMsgCmd

func AddGenesisWasmMsgCmd(defaultNodeHome string) *cobra.Command

func AddStakeReconciliationMigrateCmd added in v0.9.0

func AddStakeReconciliationMigrateCmd() *cobra.Command

func NewRootCmd

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

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

Types

type AddrMap added in v0.9.0

type AddrMap map[AddrString]Registration

type AddrString added in v0.9.0

type AddrString = string

type IneligibleRegistration added in v0.9.0

type IneligibleRegistration struct {
	NativeAddr string
	Reason     error
}

func (IneligibleRegistration) Print added in v0.9.0

func (i IneligibleRegistration) Print()

type Registration added in v0.9.0

type Registration struct {
	EthAddress    string `json:"eth_address"`
	NativeAddress string `json:"native_address"`
}

type Registrations added in v0.9.0

type Registrations []Registration

func (Registrations) EthAddrMap added in v0.9.0

func (r Registrations) EthAddrMap() AddrMap

Jump to

Keyboard shortcuts

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