cli

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagType   = "type"
	FlagData   = "data"
	FlagBlkNum = "blknum"
)

Change flags

Variables

This section is empty.

Functions

func GetCmdQueryChange

func GetCmdQueryChange(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryChange implements the query change command.

func GetCmdQueryChanges

func GetCmdQueryChanges(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryChanges implements a query changes command.

func GetCmdQueryParam

func GetCmdQueryParam(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryChange implements the query change command.

func GetCmdQueryParams

func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryChange implements the query change command.

func GetCmdSubmitChange

func GetCmdSubmitChange(cdc *codec.Codec) *cobra.Command

GetCmdSubmitChange implements submitting a change transaction command.

func GetCmdVote

func GetCmdVote(cdc *codec.Codec) *cobra.Command

GetCmdVote implements creating a new approve command.

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

func QueryActiveChanges

func QueryActiveChanges(cliCtx context.CLIContext, queryRoute string) (changes types.Changes, err error)

func QueryChange

func QueryChange(cliCtx context.CLIContext, queryRoute string, changeID uint64) (change types.Change, err error)

func QueryChanges

func QueryChanges(cliCtx context.CLIContext, queryRoute string, page, limit int, strChangeStatus string) (matchingChanges types.Changes, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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