cli

package
v0.0.0-...-3786997 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 15 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() (*osmocli.QueryDescriptor, *types.ActiveGaugesRequest)

GetCmdActiveGauges returns active gauges.

func GetCmdActiveGaugesPerDenom

func GetCmdActiveGaugesPerDenom() (*osmocli.QueryDescriptor, *types.ActiveGaugesPerDenomRequest)

GetCmdActiveGaugesPerDenom returns active gauges for a specified denom.

func GetCmdGaugeByID

func GetCmdGaugeByID() (*osmocli.QueryDescriptor, *types.GaugeByIDRequest)

GetCmdGaugeByID returns a gauge by ID.

func GetCmdGauges

func GetCmdGauges() (*osmocli.QueryDescriptor, *types.GaugesRequest)

GetCmdGauges returns all available gauges.

func GetCmdRewardsEst

func GetCmdRewardsEst() *cobra.Command

GetCmdRewardsEst returns rewards estimation.

func GetCmdToDistributeCoins

func GetCmdToDistributeCoins() (*osmocli.QueryDescriptor, *types.ModuleToDistributeCoinsRequest)

GetCmdToDistributeCoins returns coins that are going to be distributed.

func GetCmdUpcomingGauges

func GetCmdUpcomingGauges() (*osmocli.QueryDescriptor, *types.UpcomingGaugesRequest)

GetCmdUpcomingGauges returns scheduled gauges.

func GetCmdUpcomingGaugesPerDenom

func GetCmdUpcomingGaugesPerDenom() (*osmocli.QueryDescriptor, *types.UpcomingGaugesPerDenomRequest)

GetCmdUpcomingGaugesPerDenom returns scheduled 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

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