Expand description
Wrapper for the mavryk_smart_rollup_core
host function definitions
as a safe API.
The rollup make host functions available to the kernel, as a set of C-style APIs. The
mavryk_smart_rollup_core
crate defines these as extern "C"
functions
that are unsafe to call.
Using mavryk_smart_rollup_host allows a kernel to access these capabilites
without relying on unsafe
code.
Re-exports§
pub use crate::dal_parameters::DAL_PARAMETERS_SIZE;
pub use crate::metadata::METADATA_SIZE;
Modules§
- dal_
parameters - DAL parameters returned from the reveal DAL parameters host function.
- input
- The possible types that may be returned by Runtime when reading an input.
- metadata
- Rollup Metadata:
sr1..
address & origination level. - path
- Enforcing correct encoding of storage paths.
- runtime
- Definition of Runtime api that is callable from safe rust.
Enums§
- Error
- Defines the errors possibly returned by an host functions.
Constants§
- KERNEL_
BOOT_ PATH - Boot path for kernels