cli

package
v0.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllIncentivesCmd

func GetAllIncentivesCmd() *cobra.Command

GetAllIncentivesCmd returns the cli-command that queries all incentives currently stored in the incentives module. This is essentially a wrapper around the module's QueryClient, as under-the-hood it constructs a request to a query-client served over a grpc-conn embedded in the clientCtx.

func GetIncentivesByTypeCmd

func GetIncentivesByTypeCmd() *cobra.Command

GetIncentivesByTypeCmd returns the cli-command that queries the incentives of a given type. This is essentially a wrapper around the module's QueryClient, as under-the-hood it constructs a request to a query-client served over a grpc-conn embedded in the clientCtx.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the parent command for all x/incentives cli query commands. The provided clientCtx should have, at a minimum, a verifier, CometBFT RPC client, and marshaler set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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