cli

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagPoolCoinDenom = "pool-coin-denom"
	FlagReserveAcc    = "reserve-acc"
)

Variables

This section is empty.

Functions

func GetCmdQueryLiquidityPool

func GetCmdQueryLiquidityPool() *cobra.Command

func GetCmdQueryLiquidityPoolBatch

func GetCmdQueryLiquidityPoolBatch() *cobra.Command

func GetCmdQueryLiquidityPools

func GetCmdQueryLiquidityPools() *cobra.Command

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the params query command.

func GetCmdQueryPoolBatchDepositMsg

func GetCmdQueryPoolBatchDepositMsg() *cobra.Command

func GetCmdQueryPoolBatchDepositMsgs

func GetCmdQueryPoolBatchDepositMsgs() *cobra.Command

func GetCmdQueryPoolBatchSwapMsg

func GetCmdQueryPoolBatchSwapMsg() *cobra.Command

func GetCmdQueryPoolBatchSwapMsgs

func GetCmdQueryPoolBatchSwapMsgs() *cobra.Command

func GetCmdQueryPoolBatchWithdrawMsg

func GetCmdQueryPoolBatchWithdrawMsg() *cobra.Command

func GetCmdQueryPoolBatchWithdrawMsgs

func GetCmdQueryPoolBatchWithdrawMsgs() *cobra.Command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns a root CLI command handler for all x/liquidity transaction commands.

func NewCreatePoolCmd added in v1.2.1

func NewCreatePoolCmd() *cobra.Command

Create new liquidity pool with the specified pool type and deposit coins.

func NewDepositWithinBatchCmd added in v1.2.1

func NewDepositWithinBatchCmd() *cobra.Command

Deposit coins to the specified liquidity pool.

func NewSwapWithinBatchCmd added in v1.2.1

func NewSwapWithinBatchCmd() *cobra.Command

Swap offer coin with demand coin from the specified liquidity pool with the given order price.

func NewWithdrawWithinBatchCmd added in v1.2.1

func NewWithdrawWithinBatchCmd() *cobra.Command

Withdraw pool coin from the specified liquidity pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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