cmd

package
v0.0.0-...-84f1937 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: GPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
	Commit  string
)

Functions

func Execute

func Execute()

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns the root command.

func SetPrefixes

func SetPrefixes(accountAddressPrefix string)

Types

type Config

type Config struct {
	KeystorePath        string   `json:"keystorePath"`
	MultisigAccountName string   `json:"MultisigAccountName"`
	SubAccountNameList  []string `json:"subAccountNameList"`
	ToAddress           string   `json:"toAddress"`
	Endpoint            string   `json:"endpoint"`
	Prefix              string   `json:"prefix"`
	GasPrice            string   `json:"gasPrice"`
	Amount              string   `json:"amount"`
	Threshold           int64    `json:"threshold"`
}

type EncodingConfig

type EncodingConfig struct {
	InterfaceRegistry types.InterfaceRegistry
	Marshaler         codec.Codec
	TxConfig          client.TxConfig
	Amino             *codec.LegacyAmino
}

EncodingConfig specifies the concrete encoding types to use for a given app. This is provided for compatibility between protobuf and amino implementations.

func MakeEncodingConfig

func MakeEncodingConfig() EncodingConfig

MakeEncodingConfig creates an EncodingConfig for testing

Jump to

Keyboard shortcuts

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