Expand description
Defines structs and functions to utilize wasmer as smart contract execution environment.
The state transition funcion executes contract in Wasmer Environment after creation of a Wasmer Store. The environment defines read-write access to Wasmer Memory. The store is created with a Wasmer OpCode Filter so that invalid contract will not be executed. The state transition function might specify a cache for storing compiled smart contract to execute.
Modulesยง
- cache
- Defines a struct that caches wasmer module of smart contract.
- custom_
tunables - Defines structs that are used as configuration of wasmer store for limiting the memory used for wasm module instantiation.
- non_
determinism_ filter - Defines a middleware filter to disallow non-deterministic operations.
- wasmer_
env - Defines environment for constructing instance of wasmer execution.
- wasmer_
memory - Defines a struct that implements operations of reading and writing byte arrays into WASM linear memory.
- wasmer_
store - Implementation of Store instantiation from special configuration, including middleware filter.