|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <pure_bytecode_manager.hpp>
Public Member Functions | |
| PureTxBytecodeManager (ContractDBInterface &contract_db, ContractInstanceManagerInterface &contract_instance_manager) | |
| ~PureTxBytecodeManager () override | |
| BytecodeId | get_bytecode (const AztecAddress &address) override |
| std::shared_ptr< std::vector< uint8_t > > | get_bytecode_data (const BytecodeId &bytecode_id) override |
| Instruction | read_instruction (const BytecodeId &bytecode_id, uint32_t pc) override |
| Instruction | read_instruction (const BytecodeId &bytecode_id, std::shared_ptr< std::vector< uint8_t > > bytecode_ptr, uint32_t pc) override |
Public Member Functions inherited from bb::avm2::simulation::TxBytecodeManagerInterface | |
| virtual | ~TxBytecodeManagerInterface ()=default |
Private Types | |
| using | InstructionIdentifier = std::tuple< void *, uint32_t > |
Private Attributes | |
| ContractDBInterface & | contract_db |
| ContractInstanceManagerInterface & | contract_instance_manager |
| unordered_flat_map< BytecodeId, std::shared_ptr< std::vector< uint8_t > > > | bytecodes |
| unordered_flat_set< ContractClassId > | retrieved_class_ids |
| unordered_flat_map< InstructionIdentifier, Instruction > | instruction_cache |
Definition at line 24 of file pure_bytecode_manager.hpp.
|
private |
Definition at line 45 of file pure_bytecode_manager.hpp.
|
inline |
Definition at line 26 of file pure_bytecode_manager.hpp.
|
override |
Definition at line 21 of file pure_bytecode_manager.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::TxBytecodeManagerInterface.
Definition at line 37 of file pure_bytecode_manager.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::TxBytecodeManagerInterface.
Definition at line 125 of file pure_bytecode_manager.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::TxBytecodeManagerInterface.
Definition at line 92 of file pure_bytecode_manager.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::TxBytecodeManagerInterface.
Definition at line 85 of file pure_bytecode_manager.cpp.
|
private |
Definition at line 43 of file pure_bytecode_manager.hpp.
|
private |
Definition at line 40 of file pure_bytecode_manager.hpp.
|
private |
Definition at line 41 of file pure_bytecode_manager.hpp.
|
private |
Definition at line 46 of file pure_bytecode_manager.hpp.
|
private |
Definition at line 44 of file pure_bytecode_manager.hpp.