cli

package
v0.0.0-...-f2ae4c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagContract    = "contract"
	FlagFunction    = "function"
	FlagBounty      = "bounty"
	FlagDescription = "description"
	FlagExpiration  = "expiration"
	FlagScore       = "score"
	FlagTxhash      = "txhash"
	FlagWait        = "wait"
	FlagName        = "name"
)
View Source
const (
	FlagOperator = "operator"
)

Variables

View Source
var FlagForce bool

Functions

func GetCmdClaimReward

func GetCmdClaimReward(cdc *codec.Codec) *cobra.Command

GetCmdClaimReward returns command to claim (withdraw) an operator's accumulated rewards.

func GetCmdCreateOperator

func GetCmdCreateOperator(cdc *codec.Codec) *cobra.Command

GetCmdCreateOperator returns command to create on operator.

func GetCmdCreateTask

func GetCmdCreateTask(cdc *codec.Codec) *cobra.Command

GetCmdCreateTask returns command to create a task.

func GetCmdDeleteTask

func GetCmdDeleteTask(cdc *codec.Codec) *cobra.Command

GetCmdDeleteTask returns a delete-task command.

func GetCmdDepositCollateral

func GetCmdDepositCollateral(cdc *codec.Codec) *cobra.Command

GetCmdDepositCollateral returns command to increase an operator's collateral.

func GetCmdInquiry

func GetCmdInquiry(cdc *codec.Codec) *cobra.Command

GetCmdInquiry returns a inquiry-task command.

func GetCmdOperator

func GetCmdOperator(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdOperator returns the operator query command.

func GetCmdOperators

func GetCmdOperators(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdOperators returns the operators query command.

func GetCmdRemoveOperator

func GetCmdRemoveOperator(cdc *codec.Codec) *cobra.Command

GetCmdRemoveOperator returns command to remove an operator.

func GetCmdRespondToTask

func GetCmdRespondToTask(cdc *codec.Codec) *cobra.Command

GetCmdRespondToTask returns command to respond to a task.

func GetCmdResponse

func GetCmdResponse(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdResponse returns the response query command.

func GetCmdTask

func GetCmdTask(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdTask returns the task query command.

func GetCmdWithdrawCollateral

func GetCmdWithdrawCollateral(cdc *codec.Codec) *cobra.Command

GetCmdWithdrawCollateral returns command to reduce an operator's collateral.

func GetCmdWithdraws

func GetCmdWithdraws(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdWithdraws returns the withdrawals query command.

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module.

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL