Documentation ¶
Index ¶
- Constants
- func FlagSetCreateGauge() *flag.FlagSet
- func GetCmdActiveGauges() (*osmocli.QueryDescriptor, *types.ActiveGaugesRequest)
- func GetCmdActiveGaugesPerDenom() (*osmocli.QueryDescriptor, *types.ActiveGaugesPerDenomRequest)
- func GetCmdAllGroups() (*osmocli.QueryDescriptor, *types.QueryAllGroupsRequest)
- func GetCmdAllGroupsGauges() (*osmocli.QueryDescriptor, *types.QueryAllGroupsGaugesRequest)
- func GetCmdAllGroupsWithGauge() (*osmocli.QueryDescriptor, *types.QueryAllGroupsWithGaugeRequest)
- func GetCmdCurrentWeightByGroupGaugeID() (*osmocli.QueryDescriptor, *types.QueryCurrentWeightByGroupGaugeIDRequest)
- func GetCmdGaugeByID() (*osmocli.QueryDescriptor, *types.GaugeByIDRequest)
- func GetCmdGauges() (*osmocli.QueryDescriptor, *types.GaugesRequest)
- func GetCmdGroupByGroupGaugeID() (*osmocli.QueryDescriptor, *types.QueryGroupByGroupGaugeIDRequest)
- 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 NewCmdHandleCreateGroupsProposal() *cobra.Command
- func NewCreateGaugeCmd() *cobra.Command
- func NewCreateGroupCmd() *cobra.Command
- func ParseCreateGroupRecords(arg string) ([]types.CreateGroup, error)
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 ¶
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 GetCmdAllGroups ¶
func GetCmdAllGroups() (*osmocli.QueryDescriptor, *types.QueryAllGroupsRequest)
func GetCmdAllGroupsGauges ¶
func GetCmdAllGroupsGauges() (*osmocli.QueryDescriptor, *types.QueryAllGroupsGaugesRequest)
func GetCmdAllGroupsWithGauge ¶
func GetCmdAllGroupsWithGauge() (*osmocli.QueryDescriptor, *types.QueryAllGroupsWithGaugeRequest)
func GetCmdCurrentWeightByGroupGaugeID ¶
func GetCmdCurrentWeightByGroupGaugeID() (*osmocli.QueryDescriptor, *types.QueryCurrentWeightByGroupGaugeIDRequest)
GetCmdCurrentWeightByGroupGaugeID returns current weight for each gauge respectively since the last epoch from a group gauge ID.
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 GetCmdGroupByGroupGaugeID ¶
func GetCmdGroupByGroupGaugeID() (*osmocli.QueryDescriptor, *types.QueryGroupByGroupGaugeIDRequest)
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 NewCmdHandleCreateGroupsProposal ¶
NewCmdHandleCreateGroupsProposal implements a command handler for the group creation proposal transaction.
func NewCreateGaugeCmd ¶
NewCreateGaugeCmd broadcasts a CreateGauge message.
func NewCreateGroupCmd ¶
func ParseCreateGroupRecords ¶
func ParseCreateGroupRecords(arg string) ([]types.CreateGroup, error)
Types ¶
This section is empty.