|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
AvmCommand NamedUnion, AvmRequest context, and dispatch function. More...
#include "barretenberg/avm/avm_commands.hpp"#include "barretenberg/cdb/cdb_ipc_client.hpp"#include "barretenberg/common/named_union.hpp"#include "barretenberg/vm2/simulation/lib/cancellation_token.hpp"#include "barretenberg/wsdb/wsdb_ipc_client_generated.hpp"#include <atomic>Go to the source code of this file.
Classes | |
| struct | bb::avm::AvmRequest |
| Context passed to each command's execute() method. Provides access to WSDB and CDB IPC clients. More... | |
| struct | bb::avm::AvmErrorResponse |
| Error response returned when a command fails. More... | |
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::avm |
Typedefs | |
| using | bb::avm::AvmCommand = NamedUnion< AvmSimulate, AvmSimulateWithHints, AvmShutdown > |
| Union of all AVM commands (request types). | |
| using | bb::avm::AvmCommandResponse = NamedUnion< AvmErrorResponse, AvmSimulate::Response, AvmSimulateWithHints::Response, AvmShutdown::Response > |
| Union of all AVM response types. | |
Functions | |
| AvmCommandResponse | bb::avm::execute (AvmRequest &request, AvmCommand &&command) |
| Execute an AVM command using the visitor pattern. | |
| AvmCommandResponse | bb::avm::avm_dispatch (AvmRequest &request, AvmCommand &&command) |
| Top-level AVM API entry point. Takes an AvmRequest and dispatches the command. | |
AvmCommand NamedUnion, AvmRequest context, and dispatch function.
Definition in file avm_execute.hpp.