farm

package
v0.0.0-...-96f998e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendRewardExec

func AppendRewardExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator,
	poolID string,
	extraArgs ...string,
) *simapp.ResponseTx

AppendRewardExec creates a redelegate message.

func CreateFarmPoolExec

func CreateFarmPoolExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator string,
	extraArgs ...string,
) *simapp.ResponseTx

CreateFarmPoolExec creates a redelegate message.

func DestroyExec

func DestroyExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator,
	poolID string,
	extraArgs ...string,
) *simapp.ResponseTx

DestroyExec creates a redelegate message.

func HarvestExec

func HarvestExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator,
	poolID string,
	extraArgs ...string,
) *simapp.ResponseTx

HarvestExec creates a redelegate message.

func QueryFarmPoolExec

func QueryFarmPoolExec(
	t *testing.T,
	network simapp.Network,
	clientCtx client.Context,
	poolID string,
	extraArgs ...string,
) *farmtypes.QueryFarmPoolResponse

QueryFarmPoolExec queries farm pool

func QueryFarmPoolsExec

func QueryFarmPoolsExec(
	t *testing.T,
	network simapp.Network,
	clientCtx client.Context,
	extraArgs ...string,
) *farmtypes.QueryFarmPoolsResponse

QueryFarmPoolsExec queries farm pools

func QueryFarmerExec

func QueryFarmerExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator string,
	extraArgs ...string,
) *farmtypes.QueryFarmerResponse

QueryFarmerExec creates a redelegate message.

func StakeExec

func StakeExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator,
	poolID,
	lpToken string,
	extraArgs ...string,
) *simapp.ResponseTx

StakeExec creates a redelegate message.

func UnstakeExec

func UnstakeExec(t *testing.T, network simapp.Network, clientCtx client.Context,
	creator,
	poolID,
	lpToken string,
	extraArgs ...string,
) *simapp.ResponseTx

UnstakeExec creates a redelegate message.

Types

type QueryTestSuite

type QueryTestSuite struct {
	e2e.TestSuite
}

QueryTestSuite is a suite of end-to-end tests for the farm module

func (*QueryTestSuite) SetupSuite

func (s *QueryTestSuite) SetupSuite()

SetupSuite creates a new network for integration tests

func (*QueryTestSuite) TestQueryCmd

func (s *QueryTestSuite) TestQueryCmd()

TestQueryCmd tests all query command in the farm module

type TxTestSuite

type TxTestSuite struct {
	e2e.TestSuite
}

TxTestSuite is a suite of end-to-end tests for the nft module

func (*TxTestSuite) TestTxCmd

func (s *TxTestSuite) TestTxCmd()

TestTxCmd tests all tx command in the nft module

Jump to

Keyboard shortcuts

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