Documentation ¶
Index ¶
- Constants
- func CmdAddCollateral() *cobra.Command
- func CmdClose() *cobra.Command
- func CmdDewhitelist() *cobra.Command
- func CmdGetPositions() *cobra.Command
- func CmdGetPositionsByPool() *cobra.Command
- func CmdGetPositionsForAddress() *cobra.Command
- func CmdGetStatus() *cobra.Command
- func CmdGetWhitelist() *cobra.Command
- func CmdIsWhitelisted() *cobra.Command
- func CmdListPool() *cobra.Command
- func CmdMtp() *cobra.Command
- func CmdOpen() *cobra.Command
- func CmdOpenEstimation() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdShowPool() *cobra.Command
- func CmdUpdateParams() *cobra.Command
- func CmdWhitelist() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
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 CmdDewhitelist ¶
func CmdGetPositions ¶
func CmdGetPositionsByPool ¶
func CmdGetStatus ¶
func CmdGetWhitelist ¶
func CmdIsWhitelisted ¶
func CmdListPool ¶
func CmdOpenEstimation ¶
func CmdQueryParams ¶
func CmdShowPool ¶
func CmdWhitelist ¶
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
This section is empty.
Source Files ¶
- query.go
- query_get_positions.go
- query_get_positions_by_pool.go
- query_get_positions_for_address.go
- query_get_status.go
- query_get_whitelist.go
- query_is_whitelisted.go
- query_mtp.go
- query_open_estimation.go
- query_params.go
- query_pool.go
- tx.go
- tx_add_collateral.go
- tx_close.go
- tx_dewhitelist.go
- tx_open.go
- tx_update_params.go
- tx_whitelist.go
Click to show internal directories.
Click to hide internal directories.