package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-l2-libs.webassembly-interpreter/Tezos_webassembly_interpreter/Host_funcs/index.html
Module Tezos_webassembly_interpreter.Host_funcs
type available_memories =
| No_memories_during_init
| Available_memories of Instance.memory_inst Tezos_webassembly_interpreter.Instance.Vector.t
Description of what memories are currently available.
type ticks = Z.t
type reveal_func =
available_memories ->
Values.value list ->
(reveal * reveal_destination, int32) result Lwt.t
type host_func =
| Host_func of Input_buffer.t -> Output_buffer.t -> Durable_storage.t -> available_memories -> Values.value list -> (Durable_storage.t * Values.value list * ticks) Lwt.t
| Reveal_func of reveal_func
The type of a Host function implementation
An (immutable) host function registry builder that can be turned into a registry using construct
.
val empty_builder : builder
A registry builder without any host functions.
with_host_function ~global_name ~implem
adds the implementation of a named host function in the builder. Will erase a previous implementation for the given name.
val empty : unit -> registry
empty ()
creates a new empty registry
register ~func_name implem
registers the implementation of a named host function in the global symbol table. Will erase a previous implementation for the given name.
lookup ~func_name
looks for the implementation of a named host function in the global symbol table. May raise Not_found
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>