Documentation ¶
Index ¶
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec, childCmds []*cobra.Command) *cobra.Command
- func QueryEvidenceCmd(cdc *codec.Codec) func(*cobra.Command, []string) error
- func QueryParamsCmd(cdc *codec.Codec) *cobra.Command
- func SubmitEvidenceCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQueryCmd ¶
GetQueryCmd returns the CLI command with all evidence module query commands mounted.
func GetTxCmd ¶
GetTxCmd returns a CLI command that has all the native evidence module tx commands mounted. In addition, it mounts all childCmds, implemented by outside modules, under a sub-command. This allows external modules to implement custom Evidence types and Handlers while having the ability to create and sign txs containing them all from a single root command.
func QueryEvidenceCmd ¶
QueryEvidenceCmd returns the command handler for evidence querying. Evidence can be queried for by hash or paginated evidence can be returned.
func QueryParamsCmd ¶ added in v0.38.0
QueryParamsCmd returns the command handler for evidence parameter querying.
Types ¶
This section is empty.