Documentation ¶
Index ¶
- Constants
- 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 CmdUpdatePools() *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" 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 CmdDewhitelist ¶ added in v0.10.0
func CmdGetPositions ¶ added in v0.10.0
func CmdGetPositionsByPool ¶ added in v0.10.0
func CmdGetPositionsForAddress ¶ added in v0.10.0
func CmdGetStatus ¶ added in v0.10.0
func CmdGetWhitelist ¶ added in v0.10.0
func CmdIsWhitelisted ¶ added in v0.10.0
func CmdListPool ¶ added in v0.10.0
func CmdOpenEstimation ¶ added in v0.19.0
func CmdQueryParams ¶
func CmdShowPool ¶ added in v0.10.0
func CmdUpdatePools ¶ added in v0.10.0
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 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_close.go
- tx_dewhitelist.go
- tx_open.go
- tx_update_params.go
- tx_update_pools.go
- tx_whitelist.go
Click to show internal directories.
Click to hide internal directories.