Documentation ¶
Index ¶
- Constants
- func GetCmdQueryLiquidityPool() *cobra.Command
- func GetCmdQueryLiquidityPoolBatch() *cobra.Command
- func GetCmdQueryLiquidityPools() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryPoolBatchDepositMsg() *cobra.Command
- func GetCmdQueryPoolBatchDepositMsgs() *cobra.Command
- func GetCmdQueryPoolBatchSwapMsg() *cobra.Command
- func GetCmdQueryPoolBatchSwapMsgs() *cobra.Command
- func GetCmdQueryPoolBatchWithdrawMsg() *cobra.Command
- func GetCmdQueryPoolBatchWithdrawMsgs() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewCreatePoolCmd() *cobra.Command
- func NewDepositWithinBatchCmd() *cobra.Command
- func NewSwapWithinBatchCmd() *cobra.Command
- func NewWithdrawWithinBatchCmd() *cobra.Command
Constants ¶
View Source
const ( FlagPoolCoinDenom = "pool-coin-denom" FlagReserveAcc = "reserve-acc" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryParams ¶
GetCmdQueryParams implements the params query command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetTxCmd ¶
GetTxCmd returns a root CLI command handler for all x/liquidity transaction commands.
func NewCreatePoolCmd ¶ added in v1.2.1
Create new liquidity pool with the specified pool type and deposit coins.
func NewDepositWithinBatchCmd ¶ added in v1.2.1
Deposit coins to the specified liquidity pool.
func NewSwapWithinBatchCmd ¶ added in v1.2.1
Swap offer coin with demand coin from the specified liquidity pool with the given order price.
func NewWithdrawWithinBatchCmd ¶ added in v1.2.1
Withdraw pool coin from the specified liquidity pool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.