Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdClaimReward() *cobra.Command
- func GetCmdCreateOperator() *cobra.Command
- func GetCmdCreateTask() *cobra.Command
- func GetCmdCreateTxTask() *cobra.Command
- func GetCmdDeleteTask() *cobra.Command
- func GetCmdDeleteTxTask() *cobra.Command
- func GetCmdDepositCollateral() *cobra.Command
- func GetCmdOperator() *cobra.Command
- func GetCmdOperators() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdRemoveOperator() *cobra.Command
- func GetCmdRespondToTask() *cobra.Command
- func GetCmdRespondToTxTask() *cobra.Command
- func GetCmdResponse() *cobra.Command
- func GetCmdTask() *cobra.Command
- func GetCmdTxResponse() *cobra.Command
- func GetCmdTxTask() *cobra.Command
- func GetCmdWithdrawCollateral() *cobra.Command
- func GetCmdWithdraws() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
const ( FlagDescription = "description" FlagWait = "wait" FlagName = "name" FlagValidDuration = "valid" )
const (
FlagOperator = "operator"
)
Variables ¶
var FlagForce bool
Functions ¶
func GetCmdClaimReward ¶
GetCmdClaimReward returns command to claim (withdraw) an operator's accumulated rewards.
func GetCmdCreateOperator ¶
GetCmdCreateOperator returns command to create on operator.
func GetCmdCreateTask ¶
GetCmdCreateTask returns command to create a task.
func GetCmdCreateTxTask ¶ added in v2.7.0
func GetCmdDeleteTask ¶
GetCmdDeleteTask returns a delete-task command.
func GetCmdDeleteTxTask ¶ added in v2.7.0
func GetCmdDepositCollateral ¶
GetCmdDepositCollateral returns command to increase an operator's collateral.
func GetCmdOperator ¶
GetCmdOperator returns the operator query command.
func GetCmdOperators ¶
GetCmdOperators returns the operators query command.
func GetCmdQueryParams ¶ added in v2.7.1
GetCmdQueryParams implements the query params command.
func GetCmdRemoveOperator ¶
GetCmdRemoveOperator returns command to remove an operator.
func GetCmdRespondToTask ¶
GetCmdRespondToTask returns command to respond to a task.
func GetCmdRespondToTxTask ¶ added in v2.7.0
func GetCmdResponse ¶
GetCmdResponse returns the response query command.
func GetCmdTxResponse ¶ added in v2.7.0
GetCmdTxResponse returns the tx response query command.
func GetCmdTxTask ¶ added in v2.7.0
GetCmdTxTask returns the tx task query command.
func GetCmdWithdrawCollateral ¶
GetCmdWithdrawCollateral returns command to reduce an operator's collateral.
func GetCmdWithdraws ¶
GetCmdWithdraws returns the withdrawals query command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module.
Types ¶
This section is empty.