Expand description
Virtual machine modules for running transactions and validity predicates.
Modules§
- host_
env - Virtual machine’s host environment exposes functions that may be called from within a virtual machine.
- memory
- Virtual machine’s memory.
- types
- VM types can be passed between the host and guest via wasm linear memory.
- wasm
- Modules related to wasm
Structs§
- HostRef
- Reference to host environment data, to be used from wasm to implement host functions.
- Wasm
Cache RoAccess - Restricted read-only access for dry-ran transactions
- Wasm
Cache RwAccess - Regular read/write caches access
Enums§
- RoAccess
- Read-only access to host data.
- RwAccess
- Read and write access to host data.
- Wasm
Validation Error
Traits§
- Wasm
Cache Access - WASM Cache access level, used to limit dry-ran transactions to read-only cache access.
Functions§
- validate_
untrusted_ wasm - Validate an untrusted wasm code with restrictions that we place such code (e.g. transaction and validity predicates)