Documentation ¶
Index ¶
- Constants
- func CreateGaugeCmdBuilder(clientCtx client.Context, args []string, flags *pflag.FlagSet) (sdk.Msg, error)
- func FlagSetCreateGauge() *flag.FlagSet
- func FlagSetUnSetupStake() *flag.FlagSet
- func GetCmdGaugeQualifyingValue() (*dcli.QueryDescriptor, *types.GetGaugeQualifyingValueRequest)
- func GetCmdGauges() (*dcli.QueryDescriptor, *types.GetGaugesRequest)
- func GetCmdGetAccountHistory() (*dcli.QueryDescriptor, *types.GetAccountHistoryRequest)
- func GetCmdGetFutureRewardEstimate() (*dcli.QueryDescriptor, *types.GetFutureRewardEstimateRequest)
- func GetCmdGetGaugeByID() (*dcli.QueryDescriptor, *types.GetGaugeByIDRequest)
- func GetCmdGetModuleStatus() (*dcli.QueryDescriptor, *types.GetModuleStatusRequest)
- func GetCmdGetStakeByID() (*dcli.QueryDescriptor, *types.GetStakeByIDRequest)
- func GetCmdStakes() (*dcli.QueryDescriptor, *types.GetStakesRequest)
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewAddToGaugeCmd() (*dcli.TxCliDesc, *types.MsgAddToGauge)
- func NewCreateGaugeCmd() (*dcli.TxCliDesc, *types.MsgCreateGauge)
- func NewStakeCmd() (*dcli.TxCliDesc, *types.MsgStake)
- func NewUnstakeCmd() (*dcli.TxCliDesc, *types.MsgUnstake)
- func UnstakeCmdBuilder(clientCtx client.Context, args []string, _ *pflag.FlagSet) (sdk.Msg, error)
Constants ¶
View Source
const ( FlagStartTime = "start-time" FlagPerpetual = "perpetual" FlagAmount = "amount" )
Flags for incentives module tx commands.
Variables ¶
This section is empty.
Functions ¶
func CreateGaugeCmdBuilder ¶
func FlagSetCreateGauge ¶
FlagSetCreateGauge returns flags for creating gauges.
func FlagSetUnSetupStake ¶
func GetCmdGaugeQualifyingValue ¶ added in v0.3.4
func GetCmdGaugeQualifyingValue() (*dcli.QueryDescriptor, *types.GetGaugeQualifyingValueRequest)
func GetCmdGauges ¶
func GetCmdGauges() (*dcli.QueryDescriptor, *types.GetGaugesRequest)
GetCmdGauges returns all gauges for a given status and denom.
func GetCmdGetAccountHistory ¶ added in v0.3.4
func GetCmdGetAccountHistory() (*dcli.QueryDescriptor, *types.GetAccountHistoryRequest)
GetCmdGetFutureRewardsEstimate returns a rewards estimate for a given set of stakes.
func GetCmdGetFutureRewardEstimate ¶
func GetCmdGetFutureRewardEstimate() (*dcli.QueryDescriptor, *types.GetFutureRewardEstimateRequest)
GetCmdGetFutureRewardsEstimate returns a rewards estimate for a given set of stakes.
func GetCmdGetGaugeByID ¶
func GetCmdGetGaugeByID() (*dcli.QueryDescriptor, *types.GetGaugeByIDRequest)
GetCmdGetGaugeByID returns a gauge by ID.
func GetCmdGetModuleStatus ¶
func GetCmdGetModuleStatus() (*dcli.QueryDescriptor, *types.GetModuleStatusRequest)
GetCmdGetModuleStatus returns status of incentive module.
func GetCmdGetStakeByID ¶
func GetCmdGetStakeByID() (*dcli.QueryDescriptor, *types.GetStakeByIDRequest)
GetCmdGetStakeByID returns a lock by ID.
func GetCmdStakes ¶
func GetCmdStakes() (*dcli.QueryDescriptor, *types.GetStakesRequest)
GetCmdStakes returns all gauges for a given status and owner.
func GetQueryCmd ¶
GetQueryCmd returns the query commands for this module.
func NewAddToGaugeCmd ¶
func NewAddToGaugeCmd() (*dcli.TxCliDesc, *types.MsgAddToGauge)
func NewCreateGaugeCmd ¶
func NewCreateGaugeCmd() (*dcli.TxCliDesc, *types.MsgCreateGauge)
func NewUnstakeCmd ¶
func NewUnstakeCmd() (*dcli.TxCliDesc, *types.MsgUnstake)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.