Documentation ¶
Index ¶
- func MsgCreatePoolExec(clientCtx client.Context, from, poolID, depositCoins string, ...) (testutil.BufferWriter, error)
- func MsgDepositWithinBatchExec(clientCtx client.Context, from, poolID, depositCoins string, ...) (testutil.BufferWriter, error)
- func MsgParamChangeProposalExec(clientCtx client.Context, from string, file string) (testutil.BufferWriter, error)
- func MsgSwapWithinBatchExec(clientCtx client.Context, ...) (testutil.BufferWriter, error)
- func MsgVote(clientCtx client.Context, from, id, vote string, extraArgs ...string) (testutil.BufferWriter, error)
- func MsgWithdrawWithinBatchExec(clientCtx client.Context, from, poolID, poolCoin string, extraArgs ...string) (testutil.BufferWriter, error)
- func NewAppConstructor(encodingCfg params.EncodingConfig, db *dbm.MemDB) network.AppConstructor
- func NewConfig(dbm *dbm.MemDB) network.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsgCreatePoolExec ¶
func MsgCreatePoolExec(clientCtx client.Context, from, poolID, depositCoins string, extraArgs ...string) (testutil.BufferWriter, error)
MsgCreatePoolExec creates a transaction for creating liquidity pool.
func MsgDepositWithinBatchExec ¶
func MsgDepositWithinBatchExec(clientCtx client.Context, from, poolID, depositCoins string, extraArgs ...string) (testutil.BufferWriter, error)
MsgDepositWithinBatchExec creates a transaction to deposit new amounts to the pool.
func MsgParamChangeProposalExec ¶
func MsgParamChangeProposalExec(clientCtx client.Context, from string, file string) (testutil.BufferWriter, error)
MsgParamChangeProposalExec creates a transaction for submitting param change proposal
func MsgSwapWithinBatchExec ¶
func MsgSwapWithinBatchExec(clientCtx client.Context, from, poolID, swapTypeID, offerCoin, demandCoinDenom, orderPrice, swapFeeRate string, extraArgs ...string) (testutil.BufferWriter, error)
MsgSwapWithinBatchExec creates a transaction to swap coins in the pool.
func MsgVote ¶
func MsgVote(clientCtx client.Context, from, id, vote string, extraArgs ...string) (testutil.BufferWriter, error)
MsgVote votes for a proposal
func MsgWithdrawWithinBatchExec ¶
func MsgWithdrawWithinBatchExec(clientCtx client.Context, from, poolID, poolCoin string, extraArgs ...string) (testutil.BufferWriter, error)
MsgWithdrawWithinBatchExec creates a transaction to withraw pool coin amount from the pool.
func NewAppConstructor ¶
func NewAppConstructor(encodingCfg params.EncodingConfig, db *dbm.MemDB) network.AppConstructor
NewAppConstructor returns a new network AppConstructor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.