Documentation ¶
Index ¶
- func AppendRewardExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *simapp.ResponseTx
- func CreateFarmPoolExec(t *testing.T, network simapp.Network, clientCtx client.Context, creator string, ...) *simapp.ResponseTx
- func DestroyExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *simapp.ResponseTx
- func HarvestExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *simapp.ResponseTx
- func QueryFarmPoolExec(t *testing.T, network simapp.Network, clientCtx client.Context, poolID string, ...) *farmtypes.QueryFarmPoolResponse
- func QueryFarmPoolsExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *farmtypes.QueryFarmPoolsResponse
- func QueryFarmerExec(t *testing.T, network simapp.Network, clientCtx client.Context, creator string, ...) *farmtypes.QueryFarmerResponse
- func StakeExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *simapp.ResponseTx
- func UnstakeExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *simapp.ResponseTx
- type QueryTestSuite
- type TxTestSuite
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.
Types ¶
type QueryTestSuite ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.