Documentation ¶
Index ¶
- func CreateFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, ...) *simapp.ResponseTx
- func EditFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, ...) *simapp.ResponseTx
- func PauseFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, ...) *simapp.ResponseTx
- func QueryFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *oracletypes.FeedContext
- func QueryFeedValueExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *oracletypes.QueryFeedValueResponse
- func QueryFeedsExec(t *testing.T, network simapp.Network, clientCtx client.Context, ...) *oracletypes.QueryFeedsResponse
- func StartFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, ...) *simapp.ResponseTx
- type QueryTestSuite
- type TxTestSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFeedExec ¶
func CreateFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, extraArgs ...string, ) *simapp.ResponseTx
CreateFeedExec creates a feed execution message.
Parameters: - t: The testing context. - network: The simulation network. - clientCtx: The client context. - from: The sender address. - extraArgs: Additional arguments. Returns a response transaction.
func EditFeedExec ¶
func EditFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, feedName string, extraArgs ...string, ) *simapp.ResponseTx
EditFeedExec creates a feed execution message.
Parameters: - t: The testing context. - network: The simulation network. - clientCtx: The client context. - from: The sender address. - feedName: The name of the feed. - extraArgs: Additional arguments.
Returns: - A pointer to a simapp.ResponseTx.
func PauseFeedExec ¶
func PauseFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, feedName string, extraArgs ...string, ) *simapp.ResponseTx
PauseFeedExec creates a transaction to pause a feed.
t: The testing context. network: The simulation network. clientCtx: The client context. from: The sender address. feedName: The name of the feed. extraArgs: Additional arguments. Returns a pointer to a simapp.ResponseTx.
func QueryFeedExec ¶
func QueryFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, feedName string, extraArgs ...string, ) *oracletypes.FeedContext
QueryFeedExec creates a transaction to query a feed.
Parameters: - t: The testing context. - network: The simulation network. - clientCtx: The client context. - feedName: The name of the feed. - extraArgs: Additional arguments. Returns a pointer to an oracletypes.FeedContext.
func QueryFeedValueExec ¶
func QueryFeedValueExec(t *testing.T, network simapp.Network, clientCtx client.Context, feedName string, extraArgs ...string, ) *oracletypes.QueryFeedValueResponse
QueryFeedValueExec creates a transaction to query a feed value.
Parameters: - t: The testing context. - network: The simulation network. - clientCtx: The client context. - feedName: The name of the feed. - extraArgs: Additional arguments. Returns a pointer to an oracletypes.QueryFeedValueResponse.
func QueryFeedsExec ¶
func QueryFeedsExec(t *testing.T, network simapp.Network, clientCtx client.Context, extraArgs ...string, ) *oracletypes.QueryFeedsResponse
QueryFeedsExec queries the feeds using the provided network, client context, and optional extra arguments.
Parameters: - t: The testing context. - network: The simulation network. - clientCtx: The client context. - extraArgs: Optional extra arguments.
Returns: - *oracletypes.QueryFeedsResponse: The response containing the queried feeds.
func StartFeedExec ¶
func StartFeedExec(t *testing.T, network simapp.Network, clientCtx client.Context, from string, feedName string, extraArgs ...string, ) *simapp.ResponseTx
StartFeedExec starts a feed execution message.
Parameters: - t: The testing context. - network: The simulation network. - clientCtx: The client context. - from: The sender address. - feedName: The name of the feed. - extraArgs: Additional arguments.
Returns: - A pointer to a simapp.ResponseTx.
Types ¶
type QueryTestSuite ¶
QueryTestSuite is a suite of end-to-end tests for the nft module
func (*QueryTestSuite) TestQueryCmd ¶
func (s *QueryTestSuite) TestQueryCmd()
TestQueryCmd tests all query command in the nft 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