cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagMarketOrderEnabled   = "market-order-enabled"
	FlagStakeEnabled         = "stake-enabled"
	FlagProcessOrdersEnabled = "process-orders-enabled"
	FlagSwapEnabled          = "swap-enabled"
	FlagPerpetualEnabled     = "perpetual-enabled"
	FlagRewardEnabled        = "reward-enabled"
	FlagLeverageEnabled      = "leverage-enabled"
	FlagLimitProcessOrder    = "limit-process-order"
	FlagRewardPercentage     = "reward-percentage"
	FlagMarginError          = "margin-error"
	FlagMinimumDeposit       = "minimum-deposit"
	FlagExpedited            = "expedited"
)

Variables

View Source
var (
	DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
)

Functions

func CmdCancelPerpetualOrder added in v0.49.3

func CmdCancelPerpetualOrder() *cobra.Command

func CmdCancelPerpetualOrders added in v0.48.0

func CmdCancelPerpetualOrders() *cobra.Command

func CmdCancelSpotOrder added in v0.49.3

func CmdCancelSpotOrder() *cobra.Command

func CmdCancelSpotOrders added in v0.48.0

func CmdCancelSpotOrders() *cobra.Command

func CmdCreatePerpetualCloseOrder added in v0.49.3

func CmdCreatePerpetualCloseOrder() *cobra.Command

func CmdCreatePerpetualOpenOrder added in v0.49.3

func CmdCreatePerpetualOpenOrder() *cobra.Command

func CmdCreateSpotOrder added in v0.49.3

func CmdCreateSpotOrder() *cobra.Command

func CmdExecuteOrders added in v0.46.0

func CmdExecuteOrders() *cobra.Command

func CmdListPendingPerpetualOrder added in v0.46.0

func CmdListPendingPerpetualOrder() *cobra.Command

func CmdListPendingSpotOrder added in v0.46.0

func CmdListPendingSpotOrder() *cobra.Command

func CmdPendingPerpetualOrderForAddress added in v0.48.0

func CmdPendingPerpetualOrderForAddress() *cobra.Command

func CmdPendingSpotOrderForAddress added in v0.48.0

func CmdPendingSpotOrderForAddress() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdShowPendingPerpetualOrder added in v0.46.0

func CmdShowPendingPerpetualOrder() *cobra.Command

func CmdShowPendingSpotOrder added in v0.46.0

func CmdShowPendingSpotOrder() *cobra.Command

func CmdUpdateParams added in v0.46.0

func CmdUpdateParams() *cobra.Command

Governance command

func CmdUpdatePerpetualOrder added in v0.49.3

func CmdUpdatePerpetualOrder() *cobra.Command

func CmdUpdateSpotOrder added in v0.49.3

func CmdUpdateSpotOrder() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *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