cli

package
v12.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDuration  = "duration"
	FlagStartTime = "start-time"
	FlagEpochs    = "epochs"
	FlagPerpetual = "perpetual"
	FlagTimestamp = "timestamp"
	FlagOwner     = "owner"
	FlagLockIds   = "lock-ids"
	FlagEndEpoch  = "end-epoch"
)

Flags for incentives module tx commands.

Variables

This section is empty.

Functions

func FlagSetCreateGauge

func FlagSetCreateGauge() *flag.FlagSet

FlagSetCreateGauge returns flags for creating gauges.

func GetCmdActiveGauges

func GetCmdActiveGauges() *cobra.Command

GetCmdActiveGauges returns active gauges.

func GetCmdActiveGaugesPerDenom

func GetCmdActiveGaugesPerDenom() *cobra.Command

GetCmdActiveGaugesPerDenom returns active gauges for a specified denom.

func GetCmdDistributedCoins

func GetCmdDistributedCoins() *cobra.Command

GetCmdDistributedCoins returns coins that have been distributed so far.

func GetCmdGaugeByID

func GetCmdGaugeByID() *cobra.Command

GetCmdGaugeByID returns a gauge by ID.

func GetCmdGauges

func GetCmdGauges() *cobra.Command

GetCmdGauges returns all available gauges.

func GetCmdRewardsEst

func GetCmdRewardsEst() *cobra.Command

GetCmdRewardsEst returns rewards estimation.

func GetCmdToDistributeCoins

func GetCmdToDistributeCoins() *cobra.Command

GetCmdToDistributeCoins returns coins that are going to be distributed.

func GetCmdUpcomingGauges

func GetCmdUpcomingGauges() *cobra.Command

GetCmdUpcomingGauges returns scheduled gauges.

func GetCmdUpcomingGaugesPerDenom

func GetCmdUpcomingGaugesPerDenom() *cobra.Command

GetCmdUpcomingGaugesPerDenom returns active gauges for specified denom.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the query commands for this module.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module.

func NewAddToGaugeCmd

func NewAddToGaugeCmd() *cobra.Command

NewAddToGaugeCmd broadcasts a AddToGauge message.

func NewCreateGaugeCmd

func NewCreateGaugeCmd() *cobra.Command

NewCreateGaugeCmd broadcasts a CreateGauge message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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