cli

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 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 lockup module tx commands

Variables

This section is empty.

Functions

func FlagSetCreateGauge

func FlagSetCreateGauge() *flag.FlagSet

FlagSetCreateGauge returns flags for creating gauge

func GetCmdActiveGauges

func GetCmdActiveGauges() *cobra.Command

GetCmdActiveGauges returns active gauges

func GetCmdDistributedCoins

func GetCmdDistributedCoins() *cobra.Command

GetCmdDistributedCoins returns coins that are distributed so far

func GetCmdGaugeByID

func GetCmdGaugeByID() *cobra.Command

GetCmdGaugeByID returns Gauge by id

func GetCmdGauges

func GetCmdGauges() *cobra.Command

GetCmdGauges returns full available gauges

func GetCmdRewardsEst

func GetCmdRewardsEst() *cobra.Command

GetCmdRewardsEst returns rewards estimation

func GetCmdToDistributeCoins

func GetCmdToDistributeCoins() *cobra.Command

GetCmdToDistributeCoins returns coins that is going to be distributed

func GetCmdUpcomingGauges

func GetCmdUpcomingGauges() *cobra.Command

GetCmdUpcomingGauges returns scheduled gauges

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli 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 broadcast MsgAddToGauge

func NewCreateGaugeCmd

func NewCreateGaugeCmd() *cobra.Command

NewCreateGaugeCmd broadcast MsgCreateGauge

Types

This section is empty.

Jump to

Keyboard shortcuts

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