Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdClaimReward(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateOperator(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateTask(cdc *codec.Codec) *cobra.Command
- func GetCmdDeleteTask(cdc *codec.Codec) *cobra.Command
- func GetCmdDepositCollateral(cdc *codec.Codec) *cobra.Command
- func GetCmdInquiry(cdc *codec.Codec) *cobra.Command
- func GetCmdOperator(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdOperators(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdRemoveOperator(cdc *codec.Codec) *cobra.Command
- func GetCmdRespondToTask(cdc *codec.Codec) *cobra.Command
- func GetCmdResponse(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdTask(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdWithdrawCollateral(cdc *codec.Codec) *cobra.Command
- func GetCmdWithdraws(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
const ( FlagContract = "contract" FlagFunction = "function" FlagBounty = "bounty" FlagDescription = "description" FlagScore = "score" FlagTxhash = "txhash" 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 GetCmdDeleteTask ¶
GetCmdDeleteTask returns a delete-task command.
func GetCmdDepositCollateral ¶
GetCmdDepositCollateral returns command to increase an operator's collateral.
func GetCmdInquiry ¶
GetCmdInquiry returns a inquiry-task command.
func GetCmdOperator ¶
GetCmdOperator returns the operator query command.
func GetCmdOperators ¶
GetCmdOperators returns the operators query command.
func GetCmdRemoveOperator ¶
GetCmdRemoveOperator returns command to remove an operator.
func GetCmdRespondToTask ¶
GetCmdRespondToTask returns command to respond to a task.
func GetCmdResponse ¶
GetCmdResponse returns the response query command.
func GetCmdTask ¶
GetCmdTask returns the 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.