Documentation ¶
Index ¶
- func MsgAddAllowedBidderExec(clientCtx client.Context, from string, auctionId uint64, maxBidAmt sdk.Int, ...) (testutil.BufferWriter, error)
- func MsgCreateBatchAuctionExec(clientCtx client.Context, from string, file string, extraArgs ...string) (testutil.BufferWriter, error)
- func MsgCreateFixedPriceAuctionExec(clientCtx client.Context, from string, file string, extraArgs ...string) (testutil.BufferWriter, error)
- func MsgPlaceBidExec(clientCtx client.Context, from string, auctionId uint64, bidType string, ...) (testutil.BufferWriter, error)
- func NewAppConstructor(encodingCfg cmd.EncodingConfig) network.AppConstructor
- type QueryCmdTestSuite
- type TxCmdTestSuite
- func (s *TxCmdTestSuite) SetupTest()
- func (s *TxCmdTestSuite) TearDownTest()
- func (s *TxCmdTestSuite) TestNewCancelAuctionCmd()
- func (s *TxCmdTestSuite) TestNewCreateBatchAuctionCmd()
- func (s *TxCmdTestSuite) TestNewCreateFixedAmountPlanCmd()
- func (s *TxCmdTestSuite) TestNewModifyBidCmd()
- func (s *TxCmdTestSuite) TestNewPlaceBidCmd()
- func (s *TxCmdTestSuite) TestNewQueryAllowedBidderCmd()
- func (s *TxCmdTestSuite) TestNewQueryAllowedBiddersCmd()
- func (s *TxCmdTestSuite) TestNewQueryAuctionCmd()
- func (s *TxCmdTestSuite) TestNewQueryAuctionsCmd()
- func (s *TxCmdTestSuite) TestNewQueryBidsCmd()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsgAddAllowedBidderExec ¶
func MsgAddAllowedBidderExec(clientCtx client.Context, from string, auctionId uint64, maxBidAmt sdk.Int, extraAtgs ...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.
func NewAppConstructor ¶
func NewAppConstructor(encodingCfg cmd.EncodingConfig) network.AppConstructor
Types ¶
type QueryCmdTestSuite ¶
func (*QueryCmdTestSuite) SetupTest ¶
func (s *QueryCmdTestSuite) SetupTest()
func (*QueryCmdTestSuite) TearDownSuite ¶
func (s *QueryCmdTestSuite) TearDownSuite()
func (*QueryCmdTestSuite) TestNewQueryParamsCmd ¶
func (s *QueryCmdTestSuite) TestNewQueryParamsCmd()
type TxCmdTestSuite ¶
func (*TxCmdTestSuite) SetupTest ¶
func (s *TxCmdTestSuite) SetupTest()
SetupTest creates a new network for _each_ integration test. We create a new network for each test because there are some state modifications that are needed to be made in order to make useful queries. However, we don't want these state changes to be present in other tests.
func (*TxCmdTestSuite) TearDownTest ¶
func (s *TxCmdTestSuite) TearDownTest()
TearDownTest cleans up the current test network after each test in the suite.
func (*TxCmdTestSuite) TestNewCancelAuctionCmd ¶
func (s *TxCmdTestSuite) TestNewCancelAuctionCmd()
func (*TxCmdTestSuite) TestNewCreateBatchAuctionCmd ¶
func (s *TxCmdTestSuite) TestNewCreateBatchAuctionCmd()
func (*TxCmdTestSuite) TestNewCreateFixedAmountPlanCmd ¶
func (s *TxCmdTestSuite) TestNewCreateFixedAmountPlanCmd()
func (*TxCmdTestSuite) TestNewModifyBidCmd ¶
func (s *TxCmdTestSuite) TestNewModifyBidCmd()
func (*TxCmdTestSuite) TestNewPlaceBidCmd ¶
func (s *TxCmdTestSuite) TestNewPlaceBidCmd()
func (*TxCmdTestSuite) TestNewQueryAllowedBidderCmd ¶
func (s *TxCmdTestSuite) TestNewQueryAllowedBidderCmd()
func (*TxCmdTestSuite) TestNewQueryAllowedBiddersCmd ¶
func (s *TxCmdTestSuite) TestNewQueryAllowedBiddersCmd()
func (*TxCmdTestSuite) TestNewQueryAuctionCmd ¶
func (s *TxCmdTestSuite) TestNewQueryAuctionCmd()
func (*TxCmdTestSuite) TestNewQueryAuctionsCmd ¶
func (s *TxCmdTestSuite) TestNewQueryAuctionsCmd()
func (*TxCmdTestSuite) TestNewQueryBidsCmd ¶
func (s *TxCmdTestSuite) TestNewQueryBidsCmd()