package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
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)"
>