#include <note_hash_tree_check.hpp>
|
| NoteHashTreeCheck (const FF &first_nullifier, Poseidon2Interface &poseidon2, MerkleCheckInterface &merkle_check, EventEmitterInterface< NoteHashTreeCheckEvent > &event_emitter) |
|
FF | get_first_nullifier () const override |
|
bool | note_hash_exists (const FF &unique_note_hash, const FF &leaf_value, uint64_t leaf_index, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &snapshot) override |
|
AppendOnlyTreeSnapshot | append_note_hash (const FF ¬e_hash, AztecAddress contract_address, uint64_t note_hash_counter, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &prev_snapshot) override |
|
AppendOnlyTreeSnapshot | append_siloed_note_hash (const FF &siloed_note_hash, uint64_t note_hash_counter, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &prev_snapshot) override |
|
AppendOnlyTreeSnapshot | append_unique_note_hash (const FF &unique_note_hash, uint64_t note_hash_counter, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &prev_snapshot) override |
|
void | on_checkpoint_created () override |
|
void | on_checkpoint_committed () override |
|
void | on_checkpoint_reverted () override |
|
virtual | ~NoteHashTreeCheckInterface ()=default |
|
virtual | ~CheckpointNotifiable ()=default |
|
Definition at line 36 of file note_hash_tree_check.hpp.
◆ NoteHashTreeCheck()
◆ append_note_hash()
◆ append_note_hash_internal()
◆ append_siloed_note_hash()
◆ append_unique_note_hash()
◆ get_first_nullifier()
FF bb::avm2::simulation::NoteHashTreeCheck::get_first_nullifier |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ make_nonce()
FF bb::avm2::simulation::NoteHashTreeCheck::make_nonce |
( |
uint64_t |
note_hash_counter | ) |
const |
|
private |
◆ make_siloed()
FF bb::avm2::simulation::NoteHashTreeCheck::make_siloed |
( |
AztecAddress |
contract_address, |
|
|
const FF & |
note_hash |
|
) |
| const |
|
private |
◆ make_unique()
FF bb::avm2::simulation::NoteHashTreeCheck::make_unique |
( |
const FF & |
siloed_note_hash, |
|
|
const FF & |
nonce |
|
) |
| const |
|
private |
◆ note_hash_exists()
bool bb::avm2::simulation::NoteHashTreeCheck::note_hash_exists |
( |
const FF & |
unique_note_hash, |
|
|
const FF & |
leaf_value, |
|
|
uint64_t |
leaf_index, |
|
|
std::span< const FF > |
sibling_path, |
|
|
const AppendOnlyTreeSnapshot & |
snapshot |
|
) |
| |
|
overridevirtual |
◆ on_checkpoint_committed()
void bb::avm2::simulation::NoteHashTreeCheck::on_checkpoint_committed |
( |
| ) |
|
|
overridevirtual |
◆ on_checkpoint_created()
void bb::avm2::simulation::NoteHashTreeCheck::on_checkpoint_created |
( |
| ) |
|
|
overridevirtual |
◆ on_checkpoint_reverted()
void bb::avm2::simulation::NoteHashTreeCheck::on_checkpoint_reverted |
( |
| ) |
|
|
overridevirtual |
◆ events
◆ first_nullifier
FF bb::avm2::simulation::NoteHashTreeCheck::first_nullifier |
|
private |
◆ merkle_check
◆ poseidon2
The documentation for this class was generated from the following files: