package tezos-scoru-wasm

  1. Overview
  2. Docs

Module Tezos_scoru_wasm.Host_funcsSource

lookup name retrieves or instantiates a host function by the given name. Currently dispatches read_input to read_input using host function global names as registered by register_host_funcs. Used to plug host function wrappers in the WASN interpreter linker.

lookup_opt name is exactly lookup name but returns an option instead of raising `Not_found`.

all represents all registered host functions that are important for the SCORU WASM PVM.

all_debug contains the same functions as all, with the alternative implementation of write_debug.

Sourceexception Bad_input
Sourceexception Key_too_large of int

A durable key was given by the kernel with a longer-than-allowed length.

Sourcemodule Error : sig ... end
Sourcemodule type Memory_access = sig ... end
Sourcemodule Aux : sig ... end
Sourcemodule Tick_model : sig ... end

Defines the tick consumption of memory access for the host functions.

Sourcemodule Internal_for_tests : sig ... end