Module massa_execution_worker::interface_impl
source ยท Expand description
Implementation of the interface between massa-execution-worker and massa-sc-runtime. This allows the VM runtime to access the Massa execution context, for example to interact with the ledger. See the definition of Interface in the massa-sc-runtime crate for functional details.
Macrosยง
- context_guard ๐helper for locking the context mutex
Structsยง
- an implementation of the Interface trait (see massa-sc-runtime crate)
Functionsยง
- Helper function that creates an amount from a NativeAmount
- Helper function that creates a NativeAmount from the amount internal representation
- Helper function to get the address from the option given as argument to some ABIs Fallback to the current context address if not provided.
- Helper function that creates an MassaTime from a NativeTime
- Helper function that creates a NativeTime from the MassaTime internal representation