Module contract

Source
Expand description

Types and macros useful for writing an application contract.

Structs§

MockContractRuntime
A mock of the common runtime to interface with the host executing the contract.

Functions§

run_async_entrypoint
Runs an asynchronous entrypoint in a blocking manner, by repeatedly polling the entrypoint future.

Type Aliases§

ContractRuntime
Inside tests, use the MockContractRuntime instead of the real ContractRuntime.