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 ¶
Create new liquidity pool with the specified pool type and deposit coins.
func NewDepositWithinBatchCmd ¶
Deposit coins to the specified liquidity pool.
func NewSwapWithinBatchCmd ¶
Swap offer coin with demand coin from the specified liquidity pool with the given order price.
func NewWithdrawWithinBatchCmd ¶
Withdraw pool coin from the specified liquidity pool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.