Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::CallStackMetadataCollectorInterface Class Referenceabstract

#include <call_stack_metadata_collector.hpp>

Inheritance diagram for bb::avm2::simulation::CallStackMetadataCollectorInterface:
bb::avm2::simulation::CallStackMetadataCollector bb::avm2::simulation::MockCallStackMetadataCollector bb::avm2::simulation::NoopCallStackMetadataCollector

Public Member Functions

virtual ~CallStackMetadataCollectorInterface ()=default
 
virtual void set_phase (CoarseTransactionPhase phase)=0
 
virtual void notify_enter_call (const AztecAddress &contract_address, uint32_t caller_pc, const CalldataProvider &calldata_provider, bool is_static_call, const Gas &gas_limit)=0
 
virtual void notify_exit_call (bool success, uint32_t pc, const std::optional< std::string > &halting_message, const ReturnDataProvider &return_data_provider, const InternalCallStackProvider &internal_call_stack_provider)=0
 
virtual void notify_tx_revert (const std::string &revert_message)=0
 
virtual std::vector< CallStackMetadatadump_call_stack_metadata ()=0
 

Detailed Description

Definition at line 15 of file call_stack_metadata_collector.hpp.

Constructor & Destructor Documentation

◆ ~CallStackMetadataCollectorInterface()

virtual bb::avm2::simulation::CallStackMetadataCollectorInterface::~CallStackMetadataCollectorInterface ( )
virtualdefault

Member Function Documentation

◆ dump_call_stack_metadata()

virtual std::vector< CallStackMetadata > bb::avm2::simulation::CallStackMetadataCollectorInterface::dump_call_stack_metadata ( )
pure virtual

◆ notify_enter_call()

virtual void bb::avm2::simulation::CallStackMetadataCollectorInterface::notify_enter_call ( const AztecAddress contract_address,
uint32_t  caller_pc,
const CalldataProvider calldata_provider,
bool  is_static_call,
const Gas gas_limit 
)
pure virtual

◆ notify_exit_call()

virtual void bb::avm2::simulation::CallStackMetadataCollectorInterface::notify_exit_call ( bool  success,
uint32_t  pc,
const std::optional< std::string > &  halting_message,
const ReturnDataProvider return_data_provider,
const InternalCallStackProvider internal_call_stack_provider 
)
pure virtual

◆ notify_tx_revert()

virtual void bb::avm2::simulation::CallStackMetadataCollectorInterface::notify_tx_revert ( const std::string &  revert_message)
pure virtual

◆ set_phase()

virtual void bb::avm2::simulation::CallStackMetadataCollectorInterface::set_phase ( CoarseTransactionPhase  phase)
pure virtual

The documentation for this class was generated from the following file: