testutil

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgAddAllowedBidderExec

func MsgAddAllowedBidderExec(clientCtx client.Context,
	from string,
	auctionId uint64,
	maxBidAmt math.Int,
	extraArgs ...string,
) (testutil.BufferWriter, error)

MsgAddAllowedBidderExec creates a transaction for adding an allowed bidder.

func MsgCreateBatchAuctionExec

func MsgCreateBatchAuctionExec(clientCtx client.Context,
	from string,
	file string,
	extraArgs ...string,
) (testutil.BufferWriter, error)

MsgCreateBatchAuctionExec creates a transaction for creating a batch auction.

func MsgCreateFixedPriceAuctionExec

func MsgCreateFixedPriceAuctionExec(clientCtx client.Context,
	from string,
	file string,
	extraArgs ...string,
) (testutil.BufferWriter, error)

MsgCreateFixedPriceAuctionExec creates a transaction for creating a fixed price auction.

func MsgPlaceBidExec

func MsgPlaceBidExec(clientCtx client.Context,
	from string,
	auctionId uint64,
	bidType string,
	price sdk.Dec,
	coin sdk.Coin,
	extraArgs ...string,
) (testutil.BufferWriter, error)

MsgPlaceBidExec creates a transaction for placing a bid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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