Documentation ¶
Index ¶
- Constants
- func GetCmdAddLiquidity(cdc *codec.Codec) *cobra.Command
- func GetCmdCancelLimitSwap(cdc *codec.Codec) *cobra.Command
- func GetCmdClaimLPEarning(cdc *codec.Codec) *cobra.Command
- func GetCmdClaimTradeEarning(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateDex(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateTradingPair(cdc *codec.Codec) *cobra.Command
- func GetCmdEditDex(cdc *codec.Codec) *cobra.Command
- func GetCmdEditTradingPair(cdc *codec.Codec) *cobra.Command
- func GetCmdLimitSwap(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryAddrLiquidity(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryAllDex(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryAllTradingPairs(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDex(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryEarnings(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryOrder(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryOrderbook(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryRepurchaseFunds(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryTradingPair(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnfinishedOrders(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdRemoveLiquidity(cdc *codec.Codec) *cobra.Command
- func GetCmdSwapExactIn(cdc *codec.Codec) *cobra.Command
- func GetCmdSwapExactOut(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagDexID = "dex" FlagDexName = "name" FlagDexIncomeReceiver = "income-receiver" FlagIsPublic = "is-public" FlagLpRewardRate = "lp-reward" FlagRefererRewardRate = "referer-reward" FlagTokenA = "token-a" FlagTokenB = "token-b" FlagTokenAAmount = "token-a-amt" FlagTokenBAmount = "token-b-amt" FlagMinTokenAAmount = "min-token-a-amt" FlagMinTokenBAmount = "min-token-b-amt" FlagLiquidity = "liquidity" FlagReferer = "referer" FlagReceiver = "receiver" FlagAmountIn = "amt-in" FlagMaxAmountIn = "max-amt-in" FlagMinAmountOut = "min-amt-out" FlagAmountOut = "amt-out" FlagSwapPath = "path" FlagExpiredTime = "expired" FlagBaseSymbol = "base-symbol" FlagQuoteSymbol = "quote-symbol" FlagPrice = "price" FlagSide = "side" FlagMergeOrderbook = "merge" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryEarnings ¶
func GetCmdQueryOrderbook ¶
func GetCmdQueryTradingPair ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.