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

#include <bytecode_manager.hpp>

Inheritance diagram for bb::avm2::simulation::BytecodeManager:
bb::avm2::simulation::BytecodeManagerInterface

Public Member Functions

 BytecodeManager (AztecAddress address, TxBytecodeManagerInterface &tx_bytecode_manager)
 
Instruction read_instruction (uint32_t pc) override
 
BytecodeId get_bytecode_id () override
 
std::optional< BytecodeIdtry_get_bytecode_id () override
 
- Public Member Functions inherited from bb::avm2::simulation::BytecodeManagerInterface
virtual ~BytecodeManagerInterface ()=default
 

Private Attributes

AztecAddress address
 
std::optional< BytecodeIdbytecode_id
 
TxBytecodeManagerInterfacetx_bytecode_manager
 

Detailed Description

Definition at line 104 of file bytecode_manager.hpp.

Constructor & Destructor Documentation

◆ BytecodeManager()

bb::avm2::simulation::BytecodeManager::BytecodeManager ( AztecAddress  address,
TxBytecodeManagerInterface tx_bytecode_manager 
)
inline

Definition at line 106 of file bytecode_manager.hpp.

Member Function Documentation

◆ get_bytecode_id()

BytecodeId bb::avm2::simulation::BytecodeManager::get_bytecode_id ( )
inlineoverridevirtual

◆ read_instruction()

Instruction bb::avm2::simulation::BytecodeManager::read_instruction ( uint32_t  pc)
inlineoverridevirtual

◆ try_get_bytecode_id()

std::optional< BytecodeId > bb::avm2::simulation::BytecodeManager::try_get_bytecode_id ( )
inlineoverridevirtual

Member Data Documentation

◆ address

AztecAddress bb::avm2::simulation::BytecodeManager::address
private

Definition at line 137 of file bytecode_manager.hpp.

◆ bytecode_id

std::optional<BytecodeId> bb::avm2::simulation::BytecodeManager::bytecode_id
private

Definition at line 138 of file bytecode_manager.hpp.

◆ tx_bytecode_manager

TxBytecodeManagerInterface& bb::avm2::simulation::BytecodeManager::tx_bytecode_manager
private

Definition at line 139 of file bytecode_manager.hpp.


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