Documentation ¶
Index ¶
- func GetCmdAllSwapTokenPairs(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryBuyAmount(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdRedeemableAssets(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSwapTokenPair(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdAllSwapTokenPairs ¶
GetCmdAllSwapTokenPairs lists all info of pools
func GetCmdQueryBuyAmount ¶
GetCmdQueryBuyAmount queries amount of base/quote token by the given amount of quote/base token
func GetCmdQueryParams ¶
GetCmdQueryParams queries the parameters of the AMM swap system
func GetCmdRedeemableAssets ¶
GetCmdRedeemableAssets query redeemable assets by specifying the number of lpt
func GetCmdSwapTokenPair ¶
GetCmdSwapTokenPair query exchange with token name
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.