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

#include <context_provider.hpp>

Inheritance diagram for bb::avm2::simulation::ContextProviderInterface:
bb::avm2::simulation::ContextProvider bb::avm2::simulation::MockContextProvider

Public Member Functions

virtual ~ContextProviderInterface ()=default
 
virtual std::unique_ptr< ContextInterfacemake_nested_context (const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, ContextInterface &parent_context, MemoryAddress cd_offset_address, uint32_t cd_size, bool is_static, const Gas &gas_limit, TransactionPhase phase)=0
 
virtual std::unique_ptr< ContextInterfacemake_enqueued_context (const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, std::span< const FF > calldata, const FF &calldata_hash, bool is_static, const Gas &gas_limit, const Gas &gas_used, TransactionPhase phase)=0
 
virtual uint32_t get_next_context_id () const =0
 

Detailed Description

Definition at line 15 of file context_provider.hpp.

Constructor & Destructor Documentation

◆ ~ContextProviderInterface()

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

Member Function Documentation

◆ get_next_context_id()

virtual uint32_t bb::avm2::simulation::ContextProviderInterface::get_next_context_id ( ) const
pure virtual

◆ make_enqueued_context()

virtual std::unique_ptr< ContextInterface > bb::avm2::simulation::ContextProviderInterface::make_enqueued_context ( const AztecAddress address,
const AztecAddress msg_sender,
const FF transaction_fee,
std::span< const FF calldata,
const FF calldata_hash,
bool  is_static,
const Gas gas_limit,
const Gas gas_used,
TransactionPhase  phase 
)
pure virtual

◆ make_nested_context()

virtual std::unique_ptr< ContextInterface > bb::avm2::simulation::ContextProviderInterface::make_nested_context ( const AztecAddress address,
const AztecAddress msg_sender,
const FF transaction_fee,
ContextInterface parent_context,
MemoryAddress  cd_offset_address,
uint32_t  cd_size,
bool  is_static,
const Gas gas_limit,
TransactionPhase  phase 
)
pure virtual

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