Module module_to_module_interactions

Source

Modules§

app
Abstract App
origin_app
remote_app

Structs§

IbcModuleToModuleMsg
MockInitMsg
MockMigrateMsg
MockReceiveMsg
MockSudoMsg
ReceivedIbcCallbackStatus
ReceivedIbcModuleStatus
ReceivedIbcQueryCallbackStatus

Enums§

MockError
MockExecMsg
MockQueryMsg

Constants§

IBC_CALLBACK_QUERY_RECEIVED
IBC_CALLBACK_RECEIVED
MODULE_IBC_RECEIVED

Traits§

MockExecMsgFns
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
MockQueryMsgFns
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§

AppTestResult
ExecuteMsg
Top-level Abstract App execute message. This is the message that is passed to the execute entrypoint of the smart-contract.
InstantiateMsg
Top-level Abstract App instantiate message. This is the message that is passed to the instantiate entrypoint of the smart-contract.
MigrateMsg
Top-level Abstract App migrate message. This is the message that is passed to the migrate entrypoint of the smart-contract.
MockAppContract
QueryMsg
Top-level Abstract App query message. This is the message that is passed to the query entrypoint of the smart-contract.