Documentation ¶
Index ¶
- Constants
- func CancelMarket(cdc *codec.Codec) *cobra.Command
- func CancelOrder(cdc *codec.Codec) *cobra.Command
- func CheckCancelMarketMsg(cdc *codec.Codec, cliCtx context.CLIContext, msg types.MsgCancelTradingPair) error
- func CheckModifyPricePrecision(msg types.MsgModifyPricePrecision) error
- func CheckSenderAndOrderID(sender []byte, orderID string) (types.MsgCancelOrder, error)
- func CreateGTEOrderTxCmd(cdc *codec.Codec) *cobra.Command
- func CreateIOCOrderTxCmd(cdc *codec.Codec) *cobra.Command
- func CreateMarketCmd(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(cdc *amino.Codec) *cobra.Command
- func GetTxCmd(cdc *amino.Codec) *cobra.Command
- func ModifyTradingPairPricePrecision(cdc *codec.Codec) *cobra.Command
- func QueryMarketCmd(cdc *codec.Codec) *cobra.Command
- func QueryOrderCmd(cdc *codec.Codec) *cobra.Command
- func QueryUserOrderList(cdc *codec.Codec) *cobra.Command
- func QueryWaitCancelMarkets(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagStock = "stock" FlagMoney = "money" FlagPricePrecision = "price-precision" )
View Source
const ( FlagSymbol = "trading-pair" FlagOrderType = "order-type" FlagPrice = "price" FlagQuantity = "quantity" FlagSide = "side" FlagOrderID = "order-id" FlagBlocks = "blocks" FlagTime = "time" )
Variables ¶
This section is empty.
Functions ¶
func CheckCancelMarketMsg ¶
func CheckCancelMarketMsg(cdc *codec.Codec, cliCtx context.CLIContext, msg types.MsgCancelTradingPair) error
func CheckModifyPricePrecision ¶ added in v0.0.4
func CheckModifyPricePrecision(msg types.MsgModifyPricePrecision) error
func CheckSenderAndOrderID ¶
func CheckSenderAndOrderID(sender []byte, orderID string) (types.MsgCancelOrder, error)
func GetQueryCmd ¶ added in v0.0.4
GetQueryCmd returns the cli query commands for this module
func ModifyTradingPairPricePrecision ¶ added in v0.0.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.