Crate ark_api_ffi

Source
Expand description

§Ark low-level FFI API

This is the low-level mostly unsafe layer that defines the ABI between the Ark host and Wasm modules. It is not intended to be used directly, instead users should use the safe and easier to use ark-api crate in modules.

Also see 🗺️ APIs in Ark Developer Guide

Modules§

applet_v0
applet_v1
applet_v2
applet_v3
applet_v4
applet_v5
behavior_controller_v0
behavior_v0
core_v0
core_v1
core_v2
core_v3
core_v4
entrypoints
example_automatic
example_manual
file_ux_v0
http_request_v1
ml_v1
ml_v2
ml_v3
ml_v4
module_run_v0
profiler_v0
render_v0
render_v1
resource_v0
resource_v1
storage_v1
telemetry_v0
time_v1
user_v1
world_v0
world_v1
world_v2
world_v3
world_v4

Structs§

Align16I128
A thin wrapper around i128 that ensures 16-byte alignment.
Align16U128
A thin wrapper around u128 that ensures 16-byte alignment.
ApiId
API identifier containing unique id and name
InvalidPodBool
Invalid value stored in PodBool when trying to interpret it as a bool
PodBool
A version of bool that has the same layout as bool but is bytemuck::Pod.
Semver
TransparentPad
This type adds some const PAD number of “explicit” or “manual” padding bytes to the end of a struct.

Enums§

ErrorCode
Error return codes for API functions.

Type Aliases§

FFIResult
A result from an FFI function.