Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdAddLiquidity() *cobra.Command
- func GetCmdAllLps(queryRoute string) *cobra.Command
- func GetCmdAssets(queryRoute string) *cobra.Command
- func GetCmdCreatePool() *cobra.Command
- func GetCmdDecommissionPool() *cobra.Command
- func GetCmdLiquidityProvider(queryRoute string) *cobra.Command
- func GetCmdLpList(queryRoute string) *cobra.Command
- func GetCmdPool(queryRoute string) *cobra.Command
- func GetCmdPools(queryRoute string) *cobra.Command
- func GetCmdRemoveLiquidity() *cobra.Command
- func GetCmdSwap() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
Constants ¶
View Source
const ( FlagAssetSymbol = "symbol" FlagSentAssetSymbol = "sentSymbol" FlagReceivedAssetSymbol = "receivedSymbol" FlagNativeAssetAmount = "nativeAmount" FlagExternalAssetAmount = "externalAmount" FlagWBasisPoints = "wBasis" FlagAsymmetry = "asymmetry" FlagAmount = "sentAmount" FlagMinimumReceivingAmount = "minReceivingAmount" )
Variables ¶
View Source
var ( FsAssetSymbol = flag.NewFlagSet("", flag.ContinueOnError) FsNativeAssetAmount = flag.NewFlagSet("", flag.ContinueOnError) FsExternalAssetAmount = flag.NewFlagSet("", flag.ContinueOnError) FsWBasisPoints = flag.NewFlagSet("", flag.ContinueOnError) FsAsymmetry = flag.NewFlagSet("", flag.ContinueOnError) FsSentAssetSymbol = flag.NewFlagSet("", flag.ContinueOnError) FsReceivedAssetSymbol = flag.NewFlagSet("", flag.ContinueOnError) FsAmount = flag.NewFlagSet("", flag.ContinueOnError) FsMinReceivingAmount = flag.NewFlagSet("", flag.ContinueOnError) )
common flagsets to add to various functions
Functions ¶
func GetCmdAddLiquidity ¶
func GetCmdAllLps ¶
func GetCmdAssets ¶
func GetCmdCreatePool ¶
func GetCmdDecommissionPool ¶
func GetCmdLiquidityProvider ¶
func GetCmdLpList ¶
func GetCmdPool ¶
func GetCmdPools ¶
func GetCmdRemoveLiquidity ¶
func GetCmdSwap ¶
func GetQueryCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.