Expand description
IrExecutable — the runtime-ir-driven off-chain executor.
Loads a parsed contract.mpir (MoonIr) plus a host-supplied
Witnesses callback table, and exposes inherent methods for
initialize (run the constructor) and execute_circuit (run a
provable circuit body) by walking the IR’s Statement / Expression
tree at call time.
Arguments are serde_json::Value. The IR’s argument descriptors
tell the executor how to encode each Value into the
AlignedValue shape the on-chain VM expects. Callers never build
AlignedValues by hand.
Structs§
- IrExecutable
- Off-chain executor backed by a parsed contract.mpir.
Enums§
- Ledger
Field Schema - Parsed-once schema for one ledger field. Re-export of the IR’s
typed
Storage— kept as a public alias under the historicalLedgerFieldSchemaname so generated code referring tomoonproof_runtime::ir_executable::LedgerFieldSchemakeeps resolving without an emitter rebuild. Storage shape of a ledger field. Discriminated on a"storage"JSON tag — the wire format compactc emits is: