Skip to main content
Version: 2.4.0

README

This module exposes APIs that are unstable, in the sense that the API surface is expected to change. (Not unstable in the sense that they are less functional or tested than other parts.)

Namespaces

NamespaceDescription
V2-

Classes

ClassDescription
BatchReducerA reducer to process actions in fixed-size batches.
OffchainStateCommitmentsCommitments that keep track of the current state of an offchain Merkle tree constructed from actions. Intended to be stored on-chain.

Type Aliases

Type aliasDescription
ActionBatch-
IndexedMerkleMap-

Variables

VariableDescription
ProvableBigInt-
V2-

Functions

FunctionDescription
ActionBatchProvable type that represents a batch of actions.
createProvableBigIntCreates a class representing a ProvableBigInt with modular arithmetic capabilities. This is particularly useful for implementing prime fields that don't fit into the native field.
IndexedMerkleMapClass factory for an Indexed Merkle Map with a given height.
memoizeWitnessLike Provable.witness, but memoizes the witness during transaction construction for reuse by the prover. This is needed to witness non-deterministic values.
OffchainStateOffchain state for a SmartContract.
Recursive-