cli

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 GetCmdAddLiquidity() *cobra.Command

func GetCmdAllLps

func GetCmdAllLps(queryRoute string) *cobra.Command

func GetCmdAssets

func GetCmdAssets(queryRoute string) *cobra.Command

func GetCmdCreatePool

func GetCmdCreatePool() *cobra.Command

func GetCmdDecommissionPool

func GetCmdDecommissionPool() *cobra.Command

func GetCmdLiquidityProvider

func GetCmdLiquidityProvider(queryRoute string) *cobra.Command

func GetCmdLpList

func GetCmdLpList(queryRoute string) *cobra.Command

func GetCmdPool

func GetCmdPool(queryRoute string) *cobra.Command

func GetCmdPools

func GetCmdPools(queryRoute string) *cobra.Command

func GetCmdRemoveLiquidity

func GetCmdRemoveLiquidity() *cobra.Command

func GetCmdSwap

func GetCmdSwap() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

func GetTxCmd

func GetTxCmd() *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