Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <bytecode_manager.hpp>
Public Member Functions | |
TxBytecodeManager (ContractDBInterface &contract_db, HighLevelMerkleDBInterface &merkle_db, BytecodeHashingInterface &bytecode_hasher, RangeCheckInterface &range_check, ContractInstanceManagerInterface &contract_instance_manager, EventEmitterInterface< BytecodeRetrievalEvent > &retrieval_events, EventEmitterInterface< BytecodeDecompositionEvent > &decomposition_events, EventEmitterInterface< InstructionFetchingEvent > &fetching_events) | |
BytecodeId | get_bytecode (const AztecAddress &address) override |
Instruction | read_instruction (BytecodeId bytecode_id, uint32_t pc) override |
![]() | |
virtual | ~TxBytecodeManagerInterface ()=default |
Private Attributes | |
ContractDBInterface & | contract_db |
HighLevelMerkleDBInterface & | merkle_db |
BytecodeHashingInterface & | bytecode_hasher |
RangeCheckInterface & | range_check |
ContractInstanceManagerInterface & | contract_instance_manager |
EventEmitterInterface< BytecodeRetrievalEvent > & | retrieval_events |
EventEmitterInterface< BytecodeDecompositionEvent > & | decomposition_events |
EventEmitterInterface< InstructionFetchingEvent > & | fetching_events |
unordered_flat_map< BytecodeId, std::shared_ptr< std::vector< uint8_t > > > | bytecodes |
Definition at line 52 of file bytecode_manager.hpp.
|
inline |
Definition at line 54 of file bytecode_manager.hpp.
|
overridevirtual |
Implements bb::avm2::simulation::TxBytecodeManagerInterface.
Definition at line 15 of file bytecode_manager.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::TxBytecodeManagerInterface.
Definition at line 86 of file bytecode_manager.cpp.
|
private |
Definition at line 78 of file bytecode_manager.hpp.
|
private |
Definition at line 84 of file bytecode_manager.hpp.
|
private |
Definition at line 76 of file bytecode_manager.hpp.
|
private |
Definition at line 80 of file bytecode_manager.hpp.
|
private |
Definition at line 82 of file bytecode_manager.hpp.
|
private |
Definition at line 83 of file bytecode_manager.hpp.
|
private |
Definition at line 77 of file bytecode_manager.hpp.
|
private |
Definition at line 79 of file bytecode_manager.hpp.
|
private |
Definition at line 81 of file bytecode_manager.hpp.