Modules§
- app
- Abstract App
- origin_
app - remote_
app
Structs§
- IbcModule
ToModule Msg - Mock
Init Msg - Mock
Migrate Msg - Mock
Receive Msg - Mock
Sudo Msg - Received
IbcCallback Status - Received
IbcModule Status - Received
IbcQuery Callback Status
Enums§
Constants§
Traits§
- Mock
Exec MsgFns - Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
- Mock
Query MsgFns - Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Functions§
- mock_
app - mock_
dependencies - Creates all external requirements that can be injected for unit tests.
- mock_
env - Returns a default enviroment with height, time, chain_id, and contract address You can submit as is to most contracts, or modify height/time if you want to test for expiration.
- mock_
info - Just set sender and funds for the message. This is intended for use in test code only.
Type Aliases§
- AppTest
Result - Execute
Msg - Top-level Abstract App execute message. This is the message that is passed to the
executeentrypoint of the smart-contract. - Instantiate
Msg - Top-level Abstract App instantiate message. This is the message that is passed to the
instantiateentrypoint of the smart-contract. - Migrate
Msg - Top-level Abstract App migrate message. This is the message that is passed to the
migrateentrypoint of the smart-contract. - Mock
AppContract - Query
Msg - Top-level Abstract App query message. This is the message that is passed to the
queryentrypoint of the smart-contract.