cli

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdAllSwapTokenPairs

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

GetCmdAllSwapTokenPairs lists all info of pools

func GetCmdQueryBuyAmount

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

GetCmdQueryBuyAmount queries amount of base/quote token by the given amount of quote/base token

func GetCmdQueryParams

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

GetCmdQueryParams queries the parameters of the AMM swap system

func GetCmdRedeemableAssets

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

GetCmdRedeemableAssets query redeemable assets by specifying the number of lpt

func GetCmdSwapTokenPair

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

GetCmdSwapTokenPair query exchange with token name

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

This section is empty.

Jump to

Keyboard shortcuts

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