cli

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDiscount        = "discount"
	FlagTakeProfitPrice = "take-profit"
)
View Source
const (
	FlagLeverageMax                                    = "leverage-max"
	FlagBorrowInterestRateMax                          = "borrow-interest-rate-max"
	FlagBorrowInterestRateMin                          = "borrow-interest-rate-min"
	FlagBorrowInterestRateIncrease                     = "borrow-interest-rate-increase"
	FlagBorrowInterestRateDecrease                     = "borrow-interest-rate-decrease"
	FlagHealthGainFactor                               = "health-gain-factor"
	FlagMaxOpenPositions                               = "max-open-positions"
	FlagPoolOpenThreshold                              = "pool-open-threshold"
	FlagForceCloseFundPercentage                       = "force-close-fund-percentage"
	FlagForceCloseFundAddress                          = "force-close-fund-address"
	FlagIncrementalBorrowInterestPaymentEnabled        = "incremental-borrow-interest-payment-enabled"
	FlagIncrementalBorrowInterestPaymentFundPercentage = "incremental-borrow-interest-payment-fund-percentage"
	FlagIncrementalBorrowInterestPaymentFundAddress    = "incremental-borrow-interest-payment-fund-address"
	FlagSafetyFactor                                   = "safety-factor"
	FlagWhitelistingEnabled                            = "whitelisting-enabled"
	FlagEpochLength                                    = "epoch-length"
)

Variables

This section is empty.

Functions

func CmdAddCollateral added in v0.35.0

func CmdAddCollateral() *cobra.Command

func CmdClose

func CmdClose() *cobra.Command

func CmdDewhitelist

func CmdDewhitelist() *cobra.Command

func CmdGetPositions

func CmdGetPositions() *cobra.Command

func CmdGetPositionsByPool

func CmdGetPositionsByPool() *cobra.Command

func CmdGetPositionsForAddress

func CmdGetPositionsForAddress() *cobra.Command

func CmdGetStatus

func CmdGetStatus() *cobra.Command

func CmdGetWhitelist

func CmdGetWhitelist() *cobra.Command

func CmdIsWhitelisted

func CmdIsWhitelisted() *cobra.Command

func CmdListPool

func CmdListPool() *cobra.Command

func CmdMtp

func CmdMtp() *cobra.Command

func CmdOpen

func CmdOpen() *cobra.Command

func CmdOpenEstimation

func CmdOpenEstimation() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdShowPool

func CmdShowPool() *cobra.Command

func CmdUpdateParams

func CmdUpdateParams() *cobra.Command

Governance command

func CmdWhitelist

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