cli

package
v0.4.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagPoolCoinDenom    = "pool-coin-denom"
	FlagReserveAcc       = "reserve-acc"
	FlagDepositorAddress = "depositor-address"
	FlagSwapAddress      = "swap-address"
	FlagWithdrawAddress  = "withdraw-address"
)

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 GetCmdQueryPoolDepositSuccessMsg added in v0.2.1

func GetCmdQueryPoolDepositSuccessMsg() *cobra.Command

func GetCmdQueryPoolDepositSuccessMsgs added in v0.2.1

func GetCmdQueryPoolDepositSuccessMsgs() *cobra.Command

func GetCmdQueryPoolSwapSuccessMsg added in v0.2.1

func GetCmdQueryPoolSwapSuccessMsg() *cobra.Command

func GetCmdQueryPoolSwapSuccessMsgs added in v0.2.1

func GetCmdQueryPoolSwapSuccessMsgs() *cobra.Command

func GetCmdQueryPoolWithdrawSuccessMsg added in v0.2.1

func GetCmdQueryPoolWithdrawSuccessMsg() *cobra.Command

func GetCmdQueryPoolWithdrawSuccessMsgs added in v0.2.1

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

func NewCreatePoolCmd() *cobra.Command

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

func NewDepositWithinBatchCmd

func NewDepositWithinBatchCmd() *cobra.Command

Deposit coins to the specified liquidity pool.

func NewSwapWithinBatchCmd

func NewSwapWithinBatchCmd() *cobra.Command

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

func NewWithdrawWithinBatchCmd

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