Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <written_public_data_slots_tree_check.hpp>
Public Member Functions | |
WrittenPublicDataSlotsTreeCheck (Poseidon2Interface &poseidon2, MerkleCheckInterface &merkle_check, FieldGreaterThanInterface &field_gt, WrittenPublicDataSlotsTree initial_state, EventEmitterInterface< WrittenPublicDataSlotsTreeCheckEvent > &read_event_emitter) | |
bool | contains (const AztecAddress &contract_address, const FF &slot) override |
void | insert (const AztecAddress &contract_address, const FF &slot) override |
AppendOnlyTreeSnapshot | snapshot () const override |
uint32_t | size () const override |
void | create_checkpoint () override |
void | commit_checkpoint () override |
void | revert_checkpoint () override |
![]() | |
virtual | ~WrittenPublicDataSlotsInterface ()=default |
Private Member Functions | |
void | validate_low_leaf_jumps_over_slot (const WrittenPublicDataSlotsTreeLeafPreimage &low_leaf_preimage, const FF &leaf_slot) |
FF | compute_leaf_slot (const AztecAddress &contract_address, const FF &slot) |
Private Attributes | |
EventEmitterInterface< WrittenPublicDataSlotsTreeCheckEvent > & | events |
Poseidon2Interface & | poseidon2 |
MerkleCheckInterface & | merkle_check |
FieldGreaterThanInterface & | field_gt |
std::stack< WrittenPublicDataSlotsTree > | written_public_data_slots_tree_stack = {} |
Definition at line 35 of file written_public_data_slots_tree_check.hpp.
|
inline |
Definition at line 37 of file written_public_data_slots_tree_check.hpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 140 of file written_public_data_slots_tree_check.cpp.
|
private |
Definition at line 8 of file written_public_data_slots_tree_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 24 of file written_public_data_slots_tree_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 135 of file written_public_data_slots_tree_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 60 of file written_public_data_slots_tree_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 148 of file written_public_data_slots_tree_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 129 of file written_public_data_slots_tree_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsTreeCheckInterface.
Definition at line 124 of file written_public_data_slots_tree_check.cpp.
|
private |
Definition at line 13 of file written_public_data_slots_tree_check.cpp.
|
private |
Definition at line 63 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 66 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 65 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 64 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 68 of file written_public_data_slots_tree_check.hpp.