#include <concrete_dbs.hpp>
|
| | PureMerkleDB (const FF &first_nullifier, LowLevelMerkleDBInterface &raw_merkle_db, WrittenPublicDataSlotsInterface &written_public_data_slots) |
| |
| TreeStates | get_tree_state () const override |
| |
| void | create_checkpoint () override |
| |
| void | commit_checkpoint () override |
| |
| void | revert_checkpoint () override |
| |
| uint32_t | get_checkpoint_id () const override |
| |
| FF | storage_read (const AztecAddress &contract_address, const FF &slot) const override |
| |
| void | storage_write (const AztecAddress &contract_address, const FF &slot, const FF &value, bool is_protocol_write) override |
| |
| bool | was_storage_written (const AztecAddress &contract_address, const FF &slot) const override |
| |
| bool | nullifier_exists (const AztecAddress &contract_address, const FF &nullifier) const override |
| |
| bool | siloed_nullifier_exists (const FF &nullifier) const override |
| |
| void | nullifier_write (const AztecAddress &contract_address, const FF &nullifier) override |
| |
| void | siloed_nullifier_write (const FF &nullifier) override |
| |
| bool | note_hash_exists (uint64_t leaf_index, const FF &unique_note_hash) const override |
| |
| void | note_hash_write (const AztecAddress &contract_address, const FF ¬e_hash) override |
| |
| void | siloed_note_hash_write (const FF ¬e_hash) override |
| |
| void | unique_note_hash_write (const FF ¬e_hash) override |
| |
| bool | l1_to_l2_msg_exists (uint64_t leaf_index, const FF &msg_hash) const override |
| |
| void | pad_trees () override |
| |
| void | add_checkpoint_listener (CheckpointNotifiable &listener) |
| |
| LowLevelMerkleDBInterface & | as_unconstrained () const override |
| |
| virtual | ~HighLevelMerkleDBInterface ()=default |
| |
Definition at line 29 of file concrete_dbs.hpp.
◆ Slot
◆ PureMerkleDB()
◆ add_checkpoint_listener()
◆ as_unconstrained()
◆ commit_checkpoint()
| void bb::avm2::simulation::PureMerkleDB::commit_checkpoint |
( |
| ) |
|
|
overridevirtual |
◆ create_checkpoint()
| void bb::avm2::simulation::PureMerkleDB::create_checkpoint |
( |
| ) |
|
|
overridevirtual |
◆ get_checkpoint_id()
| uint32_t bb::avm2::simulation::PureMerkleDB::get_checkpoint_id |
( |
| ) |
const |
|
overridevirtual |
◆ get_tree_state()
| TreeStates bb::avm2::simulation::PureMerkleDB::get_tree_state |
( |
| ) |
const |
|
overridevirtual |
◆ l1_to_l2_msg_exists()
| bool bb::avm2::simulation::PureMerkleDB::l1_to_l2_msg_exists |
( |
uint64_t |
leaf_index, |
|
|
const FF & |
msg_hash |
|
) |
| const |
|
overridevirtual |
◆ note_hash_exists()
| bool bb::avm2::simulation::PureMerkleDB::note_hash_exists |
( |
uint64_t |
leaf_index, |
|
|
const FF & |
unique_note_hash |
|
) |
| const |
|
overridevirtual |
◆ note_hash_write()
| void bb::avm2::simulation::PureMerkleDB::note_hash_write |
( |
const AztecAddress & |
contract_address, |
|
|
const FF & |
note_hash |
|
) |
| |
|
overridevirtual |
◆ nullifier_exists()
| bool bb::avm2::simulation::PureMerkleDB::nullifier_exists |
( |
const AztecAddress & |
contract_address, |
|
|
const FF & |
nullifier |
|
) |
| const |
|
overridevirtual |
◆ nullifier_exists_internal()
| bool bb::avm2::simulation::PureMerkleDB::nullifier_exists_internal |
( |
std::optional< AztecAddress > |
contract_address, |
|
|
const FF & |
nullifier |
|
) |
| const |
|
private |
◆ nullifier_write()
| void bb::avm2::simulation::PureMerkleDB::nullifier_write |
( |
const AztecAddress & |
contract_address, |
|
|
const FF & |
nullifier |
|
) |
| |
|
overridevirtual |
◆ nullifier_write_internal()
| void bb::avm2::simulation::PureMerkleDB::nullifier_write_internal |
( |
std::optional< AztecAddress > |
contract_address, |
|
|
const FF & |
nullifier |
|
) |
| |
|
private |
◆ pad_trees()
| void bb::avm2::simulation::PureMerkleDB::pad_trees |
( |
| ) |
|
|
overridevirtual |
◆ revert_checkpoint()
| void bb::avm2::simulation::PureMerkleDB::revert_checkpoint |
( |
| ) |
|
|
overridevirtual |
◆ siloed_note_hash_write()
| void bb::avm2::simulation::PureMerkleDB::siloed_note_hash_write |
( |
const FF & |
note_hash | ) |
|
|
overridevirtual |
◆ siloed_nullifier_exists()
| bool bb::avm2::simulation::PureMerkleDB::siloed_nullifier_exists |
( |
const FF & |
nullifier | ) |
const |
|
overridevirtual |
◆ siloed_nullifier_write()
| void bb::avm2::simulation::PureMerkleDB::siloed_nullifier_write |
( |
const FF & |
nullifier | ) |
|
|
overridevirtual |
◆ storage_read()
| FF bb::avm2::simulation::PureMerkleDB::storage_read |
( |
const AztecAddress & |
contract_address, |
|
|
const FF & |
slot |
|
) |
| const |
|
overridevirtual |
◆ storage_write()
| void bb::avm2::simulation::PureMerkleDB::storage_write |
( |
const AztecAddress & |
contract_address, |
|
|
const FF & |
slot, |
|
|
const FF & |
value, |
|
|
bool |
is_protocol_write |
|
) |
| |
|
overridevirtual |
◆ unique_note_hash_write()
| void bb::avm2::simulation::PureMerkleDB::unique_note_hash_write |
( |
const FF & |
note_hash | ) |
|
|
overridevirtual |
◆ was_storage_written()
| bool bb::avm2::simulation::PureMerkleDB::was_storage_written |
( |
const AztecAddress & |
contract_address, |
|
|
const FF & |
slot |
|
) |
| const |
|
overridevirtual |
◆ checkpoint_listeners
◆ first_nullifier
| FF bb::avm2::simulation::PureMerkleDB::first_nullifier |
|
private |
◆ raw_merkle_db
◆ tree_counters_stack
| std::stack<TreeCounters> bb::avm2::simulation::PureMerkleDB::tree_counters_stack |
|
private |
Initial value:{
{ { .note_hash_counter = 0, .nullifier_counter = 0, .l2_to_l1_msg_counter = 0 } }
}
Definition at line 88 of file concrete_dbs.hpp.
◆ written_public_data_slots
The documentation for this class was generated from the following files: