cli

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDescription   = "description"
	FlagTxhash        = "txhash"
	FlagWait          = "wait"
	FlagName          = "name"
	FlagValidDuration = "valid"
)
View Source
const (
	FlagOperator = "operator"
)

Variables

View Source
var FlagForce bool

Functions

func GetCmdClaimReward

func GetCmdClaimReward() *cobra.Command

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

func GetCmdCreateOperator

func GetCmdCreateOperator() *cobra.Command

GetCmdCreateOperator returns command to create on operator.

func GetCmdCreateTask

func GetCmdCreateTask() *cobra.Command

GetCmdCreateTask returns command to create a task.

func GetCmdDeleteTask

func GetCmdDeleteTask() *cobra.Command

GetCmdDeleteTask returns a delete-task command.

func GetCmdDepositCollateral

func GetCmdDepositCollateral() *cobra.Command

GetCmdDepositCollateral returns command to increase an operator's collateral.

func GetCmdOperator

func GetCmdOperator() *cobra.Command

GetCmdOperator returns the operator query command.

func GetCmdOperators

func GetCmdOperators() *cobra.Command

GetCmdOperators returns the operators query command.

func GetCmdRemoveOperator

func GetCmdRemoveOperator() *cobra.Command

GetCmdRemoveOperator returns command to remove an operator.

func GetCmdRespondToTask

func GetCmdRespondToTask() *cobra.Command

GetCmdRespondToTask returns command to respond to a task.

func GetCmdResponse

func GetCmdResponse() *cobra.Command

GetCmdResponse returns the response query command.

func GetCmdTask

func GetCmdTask() *cobra.Command

GetCmdTask returns the task query command.

func GetCmdWithdrawCollateral

func GetCmdWithdrawCollateral() *cobra.Command

GetCmdWithdrawCollateral returns command to reduce an operator's collateral.

func GetCmdWithdraws

func GetCmdWithdraws() *cobra.Command

GetCmdWithdraws returns the withdrawals query command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd 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