Module Exports
@import("guillotine_mini") resolves to src/root.zig. Every pub const exported from that file is listed below.
Core types
Symbol Definition Source Evmfn (comptime config: EvmConfig) typesrc/evm.zigFramefn (comptime config: EvmConfig) typesrc/frame.zigBlockContextstruct — chain ID, block header fields, recent block_hashessrc/evm.zigStorageKeyAlias of voltaire.State.StorageKey (address, slot) src/evm.zigStorageSlotKeyBackwards-compatibility alias of StorageKey src/evm.zigHostInterfaceType-erased external state vtable src/host.zig
Configuration & overrides
Symbol Definition Source EvmConfigComptime EVM configuration struct (with fromBuildOptions()) src/evm_config.zigOpcodeOverride{ opcode: u8, handler: *const anyopaque }src/evm_config.zigPrecompileOverride{ address: Address, execute: ..., context: ?*anyopaque }src/evm_config.zigPrecompileOutput{ output: []const u8, gas_used: u64, success: bool }src/evm_config.zig
Call results, hardforks, opcodes & errors
Symbol Definition Source LogRe-export of voltaire.logs.Log src/root.zigSelfDestructRecord{ contract: Address, beneficiary: Address }src/call_result.zigStorageAccess{ address: Address, slot: u256 }src/call_result.zigTraceStepSingle step record for ExecutionTrace src/call_result.zigExecutionTraceOwned slice of TraceStep src/call_result.zigCallErrorError set for execution failures src/errors.zigHardforkRe-export of voltaire.Hardfork (DEFAULT = .OSAKA, includes .AMSTERDAM) src/root.zigForkTransitionRe-export of voltaire.ForkTransition src/root.ziggetOpNamefn (opcode: u8) []const u8src/opcode.zigDispatcherInstruction dispatcher type src/instructions/dispatcher.zig
EIP-3155 tracing & inspectors
Symbol Definition Source TracerEIP-3155 step recorder (writeEip3155Jsonl, writeToFile, ring buffer) src/trace.zigTraceEntrySingle EIP-3155 step snapshot (with optional storage and error_msg) src/trace.zigTraceSummaryTrailing EIP-3155 JSONL summary (output, gas_used, pass, error_msg, state_root) src/trace.zigTraceDiffStep-by-step trace comparator (compare, deinit, printDiff) src/trace.zigInspectorType-erased 15-hook execution observer vtable src/inspector.zigMuxInspectorMulti-inspector fan-out preserving child order and masks src/inspector.zigOpcodeMask256-bit opcode filter (ALL, NONE, fromOpcodes, contains, unionWith) src/inspector.zigCallTypeenum { call, callcode, delegatecall, staticcall, create, create2, selfdestruct }src/inspector.zigRevertDecoderSolidity Error(string) and Panic(uint256) ABI decoder src/inspector.zigDecodedRevertunion(enum) { reason: []const u8, panic: Panic }src/inspector.zig
Built-in native tracers
Symbol Definition Source CallTracerGeth callTracer (writeGethJson) and Parity flatCallTracer (writeFlatJson) src/tracers.zigFourByteTracerGeth 4byteTracer selector + calldata-size counter src/tracers.zigPrestateTracerGeth prestateTracer (prestate mode and diff_mode) src/tracers.zigAccessListInspectorEIP-2929 access collector for eth_createAccessList src/tracers.zigGasProfilerPer-opcode gas histogram and per-frame inclusive/exclusive gas profile src/tracers.zigCoverageInspectorPer-code-hash PC, edge, and JUMPI branch coverage collector src/tracers.zig
Simulation engine & live block tracing
Symbol Definition Source StateOverlayHostCopy-on-write, checkpoint/revert HostInterface overlay src/simulation.zigAccountOverrideGeth-style account override (balance, nonce, code, state, state_diff) src/simulation.zigBlockOverrideBlock header field override (apply(BlockContext)) src/simulation.zigCallRequestTransaction-shaped simulation request (to == null for CREATE) src/simulation.zigBlockHooks10-hook block/chain live tracing vtable + optional tx_inspector src/live_tracer.zigMuxBlockHooksFan-out compositor for multiple BlockHooks and their tx_inspectors src/live_tracer.zigSupplyTracerZig ETH issuance and burn tracer modeled on Geth’s --vmtrace supply src/live_tracer.zigTraceStoreRetention-bounded, reorg-aware, indexed trace_filter store src/trace_store.zigTraceFilterQuery filter (from_block, to_block, from_address, to_address, after, count) src/trace_store.zig
Debugger, flamegraph & EVMC adapter
Symbol Definition Source ExecutionRecorderInspector recording immutable step, storage, and call-frame timelinessrc/debugger.zigDebugSessionForward/backward time-travel cursor with 7 breakpoint types src/debugger.zigBreakpointTagged union (pc, opcode, call_target, storage_slot, on_revert, on_fault, depth_at_most) src/debugger.zigFlamegraphCollectorCall-stack & opcode gas collector (writeFoldedStacks, writeSvg) src/flamegraph.zigEvmcHostBridgeEVMC ABI 12 EvmcHostInterface adapter over HostInterface + Inspector src/evmc_adapter.zig
In EVMC ABI 12, EvmcRevision.experimental has value 15. evmc_adapter.fromHardfork maps forks newer than Osaka, including .AMSTERDAM, to .experimental. evmc_adapter.toHardfork(.experimental) returns the newest fork in Voltaire.
Submodule namespaces
root.zig also re-exports every underlying file as a namespace: evm, frame, host, evm_config, call_params, call_result, errors, trace, inspector, tracers, simulation, live_tracer, trace_store, debugger, flamegraph, evmc_adapter, opcode, dispatcher.
What is NOT re-exported
Primitive value types — Address, ZERO_ADDRESS, GasConstants, AccessList, TraceConfig — belong to @import("voltaire") (voltaire_dep.module("primitives")). Import voltaire directly when constructing addresses or access lists.