Documentation ¶
Index ¶
- Constants
- func FlagSetCreateGauge() *flag.FlagSet
- func GetCmdActiveGauges() *cobra.Command
- func GetCmdActiveGaugesPerDenom() *cobra.Command
- func GetCmdDistributedCoins() *cobra.Command
- func GetCmdGaugeByID() *cobra.Command
- func GetCmdGauges() *cobra.Command
- func GetCmdRewardsEst() *cobra.Command
- func GetCmdToDistributeCoins() *cobra.Command
- func GetCmdUpcomingGauges() *cobra.Command
- func GetCmdUpcomingGaugesPerDenom() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewAddToGaugeCmd() *cobra.Command
- func NewCreateGaugeCmd() *cobra.Command
Constants ¶
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 ¶
FlagSetCreateGauge returns flags for creating gauges.
func GetCmdActiveGauges ¶
GetCmdActiveGauges returns active gauges.
func GetCmdActiveGaugesPerDenom ¶
GetCmdActiveGaugesPerDenom returns active gauges for a specified denom.
func GetCmdDistributedCoins ¶
GetCmdDistributedCoins returns coins that have been distributed so far.
func GetCmdRewardsEst ¶
GetCmdRewardsEst returns rewards estimation.
func GetCmdToDistributeCoins ¶
GetCmdToDistributeCoins returns coins that are going to be distributed.
func GetCmdUpcomingGauges ¶
GetCmdUpcomingGauges returns scheduled gauges.
func GetCmdUpcomingGaugesPerDenom ¶
GetCmdUpcomingGaugesPerDenom returns active gauges for specified denom.
func GetQueryCmd ¶
GetQueryCmd returns the query commands for this module.
func NewAddToGaugeCmd ¶
NewAddToGaugeCmd broadcasts a AddToGauge message.
func NewCreateGaugeCmd ¶
NewCreateGaugeCmd broadcasts a CreateGauge message.
Types ¶
This section is empty.