package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
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)"
>