Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ParamPair = "pair" ParamBaseAssetReserve = "base-asset-reserve" ParamQuoteAssetReserve = "quote-asset-reserve" ParamTradeLimitRatio = "trade-limit-ratio" ParamFluctuationLimitRatio = "fluctuation-limit-ratio" ParamMaxOracleSpreadRatio = "maxOracle-spread-ratio" ParamMaintenanceMarginRatio = "maintenance-margin-ratio" ParamMaxLeverage = "max-leverage" )
View Source
var ( CreatePoolProposalHandler = govclient.NewProposalHandler( CmdCreatePoolProposal, func(context client.Context) govclientrest.ProposalRESTHandler { return govclientrest.ProposalRESTHandler{ SubRoute: "create_pool", Handler: func(writer http.ResponseWriter, request *http.Request) { _, _ = writer.Write([]byte("deprecated")) writer.WriteHeader(http.StatusMethodNotAllowed) }, } }) )
Functions ¶
func AddVPoolGenesisCmd ¶ added in v0.14.0
AddVPoolGenesisCmd returns add-vpool-genesis
func CmdCreatePoolProposal ¶ added in v0.11.0
CmdCreatePoolProposal implements the client command to submit a governance proposal to whitelist an oracle for specified asset pairs.
func CmdGetBaseAssetPrice ¶ added in v0.5.0
func CmdGetVpools ¶ added in v0.4.9
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.