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 GetCmdQueryPoolDepositSuccessMsg() *cobra.Command
- func GetCmdQueryPoolDepositSuccessMsgs() *cobra.Command
- func GetCmdQueryPoolSwapSuccessMsg() *cobra.Command
- func GetCmdQueryPoolSwapSuccessMsgs() *cobra.Command
- func GetCmdQueryPoolWithdrawSuccessMsg() *cobra.Command
- func GetCmdQueryPoolWithdrawSuccessMsgs() *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" FlagDepositorAddress = "depositor-address" FlagSwapAddress = "swap-address" FlagWithdrawAddress = "withdraw-address" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryParams ¶
GetCmdQueryParams implements the params query command.
func GetCmdQueryPoolDepositSuccessMsg ¶ added in v0.2.1
func GetCmdQueryPoolDepositSuccessMsgs ¶ added in v0.2.1
func GetCmdQueryPoolSwapSuccessMsg ¶ added in v0.2.1
func GetCmdQueryPoolSwapSuccessMsgs ¶ added in v0.2.1
func GetCmdQueryPoolWithdrawSuccessMsg ¶ added in v0.2.1
func GetCmdQueryPoolWithdrawSuccessMsgs ¶ added in v0.2.1
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.