Documentation ¶
Index ¶
- Constants
- func FlagSetCreateGauge() *flag.FlagSet
- func GetCmdActiveGauges() (*osmocli.QueryDescriptor, *types.ActiveGaugesRequest)
- func GetCmdActiveGaugesPerDenom() (*osmocli.QueryDescriptor, *types.ActiveGaugesPerDenomRequest)
- func GetCmdGaugeByID() (*osmocli.QueryDescriptor, *types.GaugeByIDRequest)
- func GetCmdGauges() (*osmocli.QueryDescriptor, *types.GaugesRequest)
- func GetCmdRewardsEst() *cobra.Command
- func GetCmdToDistributeCoins() (*osmocli.QueryDescriptor, *types.ModuleToDistributeCoinsRequest)
- func GetCmdUpcomingGauges() (*osmocli.QueryDescriptor, *types.UpcomingGaugesRequest)
- func GetCmdUpcomingGaugesPerDenom() (*osmocli.QueryDescriptor, *types.UpcomingGaugesPerDenomRequest)
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewAddToGaugeCmd() *cobra.Command
- func NewCreateGaugeCmd() *cobra.Command
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 ¶
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 ¶
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 ¶
GetQueryCmd returns the query commands for this module.
func NewAddToGaugeCmd ¶
func NewCreateGaugeCmd ¶
NewCreateGaugeCmd broadcasts a CreateGauge message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.