|
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 | get_snapshot () const override |
| uint32_t | size () const override |
| void | create_checkpoint () override |
| void | commit_checkpoint () override |
| void | revert_checkpoint () override |
Public Member Functions inherited from bb::avm2::simulation::WrittenPublicDataSlotsInterface | |
| 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 17 of file written_public_data_slots_tree_check.hpp.
|
inline |
Definition at line 19 of file written_public_data_slots_tree_check.hpp.
|
overridevirtual |
Implements bb::avm2::simulation::WrittenPublicDataSlotsInterface.
Definition at line 141 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::WrittenPublicDataSlotsTreeCheckInterface.
Definition at line 124 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 149 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.
|
private |
Definition at line 13 of file written_public_data_slots_tree_check.cpp.
|
private |
Definition at line 45 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 48 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 47 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 46 of file written_public_data_slots_tree_check.hpp.
|
private |
Definition at line 50 of file written_public_data_slots_tree_check.hpp.