Expand description
Modules§
- arkworks
- Arkworks types This module contains wrapper types to Arkworks types. To use Arkwork types in OCaml, you have to convert to these types, and convert back from them to use them in Rust.
- circuit
- gate_
vector - Vectors A GateVector: this is used to represent a list of gates.
- oracles
- Oracles
- pasta_
fp_ plonk_ index - Indexes
- pasta_
fq_ plonk_ index - plonk_
proof - Proofs
- plonk_
verifier_ index - Verifier indexes/keys
- poly_
comm - poseidon
- Poseidon This file defines wrapper for the Poseidon hash function that are used in the Mina codebase.
- projective
- Curves
- rayon
- srs
- SRS
- wasm_
ocaml_ serde - This module constructs a serde serializer (and deserializer) to convert Rust structures to (and from) Js types expected by js-of-ocaml. js-of-ocaml expects arrays of values instead of objects, so a Rust structure like:
Functions§
- alert
- console_
log - create_
zero_ u32_ ptr - free_
u32_ ⚠ptr - Free a pointer. This method is exported in the WebAssembly module to be used
on the JavaScript side, see
web-backend.js
. - set_
u32_ ⚠ptr - Set the value of a pointer. This method is exported in the WebAssembly
module to be used on the JavaScript side, see
web-backend.js
. - wait_
until_ ⚠non_ zero - This method is exported in the WebAssembly to be used on the JavaScript
side, see
web-backend.js
.