cli

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDescription   = "description"
	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 GetCmdCreateTxTask added in v2.7.0

func GetCmdCreateTxTask() *cobra.Command

func GetCmdDeleteTask

func GetCmdDeleteTask() *cobra.Command

GetCmdDeleteTask returns a delete-task command.

func GetCmdDeleteTxTask added in v2.7.0

func GetCmdDeleteTxTask() *cobra.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 GetCmdQueryParams added in v2.7.1

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params 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 GetCmdRespondToTxTask added in v2.7.0

func GetCmdRespondToTxTask() *cobra.Command

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 GetCmdTxResponse added in v2.7.0

func GetCmdTxResponse() *cobra.Command

GetCmdTxResponse returns the tx response query command.

func GetCmdTxTask added in v2.7.0

func GetCmdTxTask() *cobra.Command

GetCmdTxTask returns the tx 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