21 virtual uint32_t
size()
const = 0;
42 :
events(read_event_emitter)
56 uint32_t
size()
const override;
virtual void revert_checkpoint()=0
virtual bool contains(const AztecAddress &contract_address, const FF &slot)=0
virtual ~WrittenPublicDataSlotsInterface()=default
virtual void commit_checkpoint()=0
virtual void insert(const AztecAddress &contract_address, const FF &slot)=0
virtual uint32_t size() const =0
virtual void create_checkpoint()=0
bool contains(const AztecAddress &contract_address, const FF &slot) override
FF compute_leaf_slot(const AztecAddress &contract_address, const FF &slot)
void validate_low_leaf_jumps_over_slot(const WrittenPublicDataSlotsTreeLeafPreimage &low_leaf_preimage, const FF &leaf_slot)
AppendOnlyTreeSnapshot snapshot() const override
uint32_t size() const override
void revert_checkpoint() override
std::stack< WrittenPublicDataSlotsTree > written_public_data_slots_tree_stack
void insert(const AztecAddress &contract_address, const FF &slot) override
Poseidon2Interface & poseidon2
WrittenPublicDataSlotsTreeCheck(Poseidon2Interface &poseidon2, MerkleCheckInterface &merkle_check, FieldGreaterThanInterface &field_gt, WrittenPublicDataSlotsTree initial_state, EventEmitterInterface< WrittenPublicDataSlotsTreeCheckEvent > &read_event_emitter)
FieldGreaterThanInterface & field_gt
void create_checkpoint() override
void commit_checkpoint() override
EventEmitterInterface< WrittenPublicDataSlotsTreeCheckEvent > & events
MerkleCheckInterface & merkle_check
virtual AppendOnlyTreeSnapshot snapshot() const =0
AztecAddress contract_address
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept