cli

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 16 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"
	FlagRemovalQueueThreshold                          = "removal-queue-threshold"
	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"
	FlagSqModifier                                     = "sq-modifier"
	FlagSafetyFactor                                   = "safety-factor"
	FlagWhitelistingEnabled                            = "whitelisting-enabled"
	FlagEpochLength                                    = "epoch-length"
)
View Source
const (
	FlagClosedPools = "closed-pools"
)

Variables

This section is empty.

Functions

func CmdClose added in v0.10.0

func CmdClose() *cobra.Command

func CmdDewhitelist added in v0.10.0

func CmdDewhitelist() *cobra.Command

func CmdGetPositions added in v0.10.0

func CmdGetPositions() *cobra.Command

func CmdGetPositionsByPool added in v0.10.0

func CmdGetPositionsByPool() *cobra.Command

func CmdGetPositionsForAddress added in v0.10.0

func CmdGetPositionsForAddress() *cobra.Command

func CmdGetStatus added in v0.10.0

func CmdGetStatus() *cobra.Command

func CmdGetWhitelist added in v0.10.0

func CmdGetWhitelist() *cobra.Command

func CmdIsWhitelisted added in v0.10.0

func CmdIsWhitelisted() *cobra.Command

func CmdListPool added in v0.10.0

func CmdListPool() *cobra.Command

func CmdMtp added in v0.10.0

func CmdMtp() *cobra.Command

func CmdOpen added in v0.10.0

func CmdOpen() *cobra.Command

func CmdOpenEstimation added in v0.19.0

func CmdOpenEstimation() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdShowPool added in v0.10.0

func CmdShowPool() *cobra.Command

func CmdUpdateParams added in v0.10.0

func CmdUpdateParams() *cobra.Command

Governance command

func CmdUpdatePools added in v0.10.0

func CmdUpdatePools() *cobra.Command

Governance command TODO Need to confirm the format of enabled pools and disabled pools list Pool.json

func CmdWhitelist added in v0.10.0

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