Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::NoteHashTreeCheckInterface Class Referenceabstract

#include <note_hash_tree_check.hpp>

Inheritance diagram for bb::avm2::simulation::NoteHashTreeCheckInterface:
bb::avm2::simulation::MockNoteHashTreeCheck bb::avm2::simulation::NoteHashTreeCheck

Public Member Functions

virtual ~NoteHashTreeCheckInterface ()=default
 
virtual 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)=0
 
virtual FF get_first_nullifier () const =0
 
virtual AppendOnlyTreeSnapshot append_note_hash (const FF &note_hash, AztecAddress contract_address, uint64_t note_hash_counter, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &prev_snapshot)=0
 
virtual 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)=0
 
virtual 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)=0
 

Detailed Description

Definition at line 11 of file note_hash_tree_check.hpp.

Constructor & Destructor Documentation

◆ ~NoteHashTreeCheckInterface()

virtual bb::avm2::simulation::NoteHashTreeCheckInterface::~NoteHashTreeCheckInterface ( )
virtualdefault

Member Function Documentation

◆ append_note_hash()

virtual AppendOnlyTreeSnapshot bb::avm2::simulation::NoteHashTreeCheckInterface::append_note_hash ( const FF note_hash,
AztecAddress  contract_address,
uint64_t  note_hash_counter,
std::span< const FF sibling_path,
const AppendOnlyTreeSnapshot prev_snapshot 
)
pure virtual

◆ append_siloed_note_hash()

virtual AppendOnlyTreeSnapshot bb::avm2::simulation::NoteHashTreeCheckInterface::append_siloed_note_hash ( const FF siloed_note_hash,
uint64_t  note_hash_counter,
std::span< const FF sibling_path,
const AppendOnlyTreeSnapshot prev_snapshot 
)
pure virtual

◆ append_unique_note_hash()

virtual AppendOnlyTreeSnapshot bb::avm2::simulation::NoteHashTreeCheckInterface::append_unique_note_hash ( const FF unique_note_hash,
uint64_t  note_hash_counter,
std::span< const FF sibling_path,
const AppendOnlyTreeSnapshot prev_snapshot 
)
pure virtual

◆ get_first_nullifier()

virtual FF bb::avm2::simulation::NoteHashTreeCheckInterface::get_first_nullifier ( ) const
pure virtual

◆ note_hash_exists()

virtual bool bb::avm2::simulation::NoteHashTreeCheckInterface::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 
)
pure virtual

The documentation for this class was generated from the following file: