cli_test

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecMsgCreatePool

func ExecMsgCreatePool(
	t *testing.T,
	clientCtx client.Context,
	owner fmt.Stringer,
	tokenWeights string,
	initialDeposit string,
	swapFee string,
	exitFee string,
	extraArgs ...string,
) (testutil.BufferWriter, error)

ExecMsgCreatePool broadcast a pool creation message.

func ExecMsgExitPool added in v0.1.0

func ExecMsgExitPool(
	t *testing.T,
	clientCtx client.Context,
	poolId uint64,
	sender fmt.Stringer,
	poolSharesOut string,
	extraArgs ...string,
) (testutil.BufferWriter, error)

ExecMsgExitPool broadcast an exit pool message.

func ExecMsgJoinPool added in v0.1.0

func ExecMsgJoinPool(
	t *testing.T,
	clientCtx client.Context,
	poolId uint64,
	sender fmt.Stringer,
	tokensIn string,
	extraArgs ...string,
) (testutil.BufferWriter, error)

ExecMsgJoinPool broadcast a join pool message.

func ExecMsgSwapAssets added in v0.1.0

func ExecMsgSwapAssets(
	t *testing.T,
	clientCtx client.Context,
	poolId uint64,
	sender fmt.Stringer,
	tokenIn string,
	tokenOutDenom string,
	extraArgs ...string,
) (testutil.BufferWriter, error)

ExecMsgSwapAssets broadcast a swap assets message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL