Expand description
External C API to communicate with substrate contracts runtime module.
Refer to substrate FRAME contract module for more documentation.
Structs§
- Call
Flags - Flags used to change the behaviour of
seal_call
andseal_delegate_call
. - Return
Code - The raw return code returned by the host side.
- Return
Flags - Flags used by a contract to customize exit behaviour.
Enums§
- Host
FnImpl - Implements
HostFn
for each supported target architecture. - Return
Error Code - Every error that can be returned to a contract when it calls any of the host functions.
Traits§
- HostFn
- Defines all the host apis implemented by the wasm vm.