commands

package
v0.1.1-0...-e8f1392 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2018 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VersionCmd prints the program's version to stderr and exits.
	VersionCmd = &cobra.Command{
		Use:   "version",
		Short: "Print clearchain's version",
		Run:   doVersionCmd,
	}
)

Functions

func BuildCreateAdminMsg

func BuildCreateAdminMsg(creator sdk.Address, entityName, entityType, pubKey string) (sdk.Msg, error)

BuildCreateAdminMsg makes a new CreateAdminMsg.

func GetCreateAdminTxCmd

func GetCreateAdminTxCmd(cdc *wire.Codec) *cobra.Command

GetCreateAdminTxCmd returns a CreateAdminTxCmd.

func GetCreateAssetAccountTxCmd

func GetCreateAssetAccountTxCmd(cdc *wire.Codec) *cobra.Command

GetCreateAssetAccountTxCmd returns a createAssetAccountTxCmd.

func GetCreateOperatorTxCmd

func GetCreateOperatorTxCmd(cdc *wire.Codec) *cobra.Command

GetCreateOperatorTxCmd returns a createOperatorTxCmd.

func GetExportPubCmd

func GetExportPubCmd(cdc *wire.Codec) *cobra.Command

Types

type Commander

type Commander struct {
	Cdc *wire.Codec
}

Jump to

Keyboard shortcuts

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