cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: GPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

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

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