Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
avm_execute.hpp File Reference

AvmCommand NamedUnion, AvmRequest context, and dispatch function. More...

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.
 

Detailed Description

AvmCommand NamedUnion, AvmRequest context, and dispatch function.

Definition in file avm_execute.hpp.