cli

package
v0.0.0-...-25b3476 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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 GetCmdAddLiquidity

func GetCmdAddLiquidity(cdc *codec.Codec) *cobra.Command

func GetCmdCancelLimitSwap

func GetCmdCancelLimitSwap(cdc *codec.Codec) *cobra.Command

func GetCmdClaimLPEarning

func GetCmdClaimLPEarning(cdc *codec.Codec) *cobra.Command

func GetCmdClaimTradeEarning

func GetCmdClaimTradeEarning(cdc *codec.Codec) *cobra.Command

func GetCmdCreateDex

func GetCmdCreateDex(cdc *codec.Codec) *cobra.Command

func GetCmdCreateTradingPair

func GetCmdCreateTradingPair(cdc *codec.Codec) *cobra.Command

func GetCmdEditDex

func GetCmdEditDex(cdc *codec.Codec) *cobra.Command

func GetCmdEditTradingPair

func GetCmdEditTradingPair(cdc *codec.Codec) *cobra.Command

func GetCmdLimitSwap

func GetCmdLimitSwap(cdc *codec.Codec) *cobra.Command

func GetCmdQueryAddrLiquidity

func GetCmdQueryAddrLiquidity(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryAllDex

func GetCmdQueryAllDex(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryAllTradingPairs

func GetCmdQueryAllTradingPairs(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryDex

func GetCmdQueryDex(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryEarnings

func GetCmdQueryEarnings(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryOrder

func GetCmdQueryOrder(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryOrderbook

func GetCmdQueryOrderbook(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryParams

func GetCmdQueryParams(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryRepurchaseFunds

func GetCmdQueryRepurchaseFunds(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryTradingPair

func GetCmdQueryTradingPair(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdQueryUnfinishedOrders

func GetCmdQueryUnfinishedOrders(storeName string, cdc *codec.Codec) *cobra.Command

func GetCmdRemoveLiquidity

func GetCmdRemoveLiquidity(cdc *codec.Codec) *cobra.Command

func GetCmdSwapExactIn

func GetCmdSwapExactIn(cdc *codec.Codec) *cobra.Command

func GetCmdSwapExactOut

func GetCmdSwapExactOut(cdc *codec.Codec) *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL