Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
written_slots_tree.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace bb::avm2::simulation {
8
9// Implements the methods expected by indexed_leaf.hpp
12
16
17 static bool is_updateable();
18
19 bool operator==(WrittenPublicDataSlotLeafValue const& other) const;
20
21 friend std::ostream& operator<<(std::ostream& os, const WrittenPublicDataSlotLeafValue& v);
22
23 fr get_key() const;
24
25 bool is_empty() const;
26
27 std::vector<fr> get_hash_inputs(fr nextKey, fr nextIndex) const;
28
29 operator uint256_t() const;
30
32
34
35 static std::string name();
36};
37
39
41
43
44} // namespace bb::avm2::simulation
WrittenPublicDataSlotsTree build_public_data_slots_tree()
::bb::crypto::merkle_tree::index_t index_t
AvmFlavorSettings::FF FF
Definition field.hpp:10
std::vector< fr > get_hash_inputs(fr nextKey, fr nextIndex) const
static WrittenPublicDataSlotLeafValue empty()
bool operator==(WrittenPublicDataSlotLeafValue const &other) const
static WrittenPublicDataSlotLeafValue padding(index_t i)
friend std::ostream & operator<<(std::ostream &os, const WrittenPublicDataSlotLeafValue &v)