12class WrittenPublicDataSlotsInterface;
51 bool is_protocol_write)
override;
89 { { .note_hash_counter = 0, .nullifier_counter = 0, .l2_to_l1_msg_counter = 0 } }
PureContractDB(ContractDBInterface &raw_contract_db)
ContractDBInterface & raw_contract_db
std::optional< ContractClass > get_contract_class(const ContractClassId &class_id) const override
PureMerkleDB(const FF &first_nullifier, LowLevelMerkleDBInterface &raw_merkle_db, WrittenPublicDataSlotsInterface &written_public_data_slots)
WrittenPublicDataSlotsInterface & written_public_data_slots
void nullifier_write(const AztecAddress &contract_address, const FF &nullifier) 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
std::stack< TreeCounters > tree_counters_stack
void add_checkpoint_listener(CheckpointNotifiable &listener)
TreeStates get_tree_state() const override
bool nullifier_exists_internal(std::optional< AztecAddress > contract_address, const FF &nullifier) const
void siloed_note_hash_write(const FF ¬e_hash) override
void pad_trees() override
void siloed_nullifier_write(const FF &nullifier) override
bool note_hash_exists(uint64_t leaf_index, const FF &unique_note_hash) const override
std::vector< CheckpointNotifiable * > checkpoint_listeners
void note_hash_write(const AztecAddress &contract_address, const FF ¬e_hash) override
void nullifier_write_internal(std::optional< AztecAddress > contract_address, const FF &nullifier)
void revert_checkpoint() override
bool l1_to_l2_msg_exists(uint64_t leaf_index, const FF &msg_hash) const override
bool was_storage_written(const AztecAddress &contract_address, const FF &slot) const override
void commit_checkpoint() override
void unique_note_hash_write(const FF ¬e_hash) override
void create_checkpoint() override
bool siloed_nullifier_exists(const FF &nullifier) const override
LowLevelMerkleDBInterface & as_unconstrained() const override
LowLevelMerkleDBInterface & raw_merkle_db
uint32_t get_checkpoint_id() const override
AztecAddress contract_address
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept