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