cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagBaseAsset          = "base-asset"
	FlagQuoteAsset         = "quote-asset"
	FlagInitPrice          = "init-price"
	FlagProduct            = "product"
	FlagFrom               = "from"
	FlagTo                 = "to"
	FlagWebsite            = "website"
	FlagHandlingFeeAddress = "handling-fee-address"
)

Dex tags

Variables

This section is empty.

Functions

func GetCmdQueryDeposits

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

GetCmdQueryDeposits queries deposits about address

func GetCmdQueryOperator

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

GetCmdQueryOperator queries operator info

func GetCmdQueryOperators

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

GetCmdQueryOperators queries all operator info

func GetCmdQueryParams

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

GetCmdQueryParams implements the query params command.

func GetCmdQueryProductRank

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

GetCmdQueryProductRank queries products ranked by deposits

func GetCmdQueryProducts

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

GetCmdQueryProducts queries products info

func GetCmdQueryProductsUnderDelisting

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

GetCmdQueryProductsUnderDelisting queries the token pairs involved in dex delisting

func GetCmdSubmitDelistProposal

func GetCmdSubmitDelistProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command

GetCmdSubmitDelistProposal implememts a command handler for submitting a dex delist proposal transaction

func GetQueryCmd

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

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

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

GetTxCmd returns the transaction commands for this module

Types

type Strings

type Strings []string

Strings is just for the object of []string could be inputted into cliCtx.PrintOutput(...)

func (Strings) String

func (strs Strings) String() string

Jump to

Keyboard shortcuts

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