#include <nullifier_tree_check.hpp>
|
| NullifierTreeCheck (Poseidon2Interface &poseidon2, MerkleCheckInterface &merkle_check, FieldGreaterThanInterface &field_gt, EventEmitterInterface< NullifierTreeCheckEvent > &event_emitter) |
|
void | assert_read (const FF &nullifier, std::optional< AztecAddress > contract_address, bool exists, const NullifierTreeLeafPreimage &low_leaf_preimage, uint64_t low_leaf_index, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &snapshot) override |
|
AppendOnlyTreeSnapshot | write (const FF &nullifier, std::optional< AztecAddress > contract_address, uint64_t nullifier_counter, const NullifierTreeLeafPreimage &low_leaf_preimage, uint64_t low_leaf_index, std::span< const FF > low_leaf_sibling_path, const AppendOnlyTreeSnapshot &prev_snapshot, std::optional< std::span< const FF > > insertion_sibling_path) override |
|
void | on_checkpoint_created () override |
|
void | on_checkpoint_committed () override |
|
void | on_checkpoint_reverted () override |
|
virtual | ~NullifierTreeCheckInterface ()=default |
|
virtual | ~CheckpointNotifiable ()=default |
|
Definition at line 32 of file nullifier_tree_check.hpp.
◆ NullifierTreeCheck()
◆ assert_read()
◆ on_checkpoint_committed()
void bb::avm2::simulation::NullifierTreeCheck::on_checkpoint_committed |
( |
| ) |
|
|
overridevirtual |
◆ on_checkpoint_created()
void bb::avm2::simulation::NullifierTreeCheck::on_checkpoint_created |
( |
| ) |
|
|
overridevirtual |
◆ on_checkpoint_reverted()
void bb::avm2::simulation::NullifierTreeCheck::on_checkpoint_reverted |
( |
| ) |
|
|
overridevirtual |
◆ silo_nullifier()
FF bb::avm2::simulation::NullifierTreeCheck::silo_nullifier |
( |
const FF & |
nullifier, |
|
|
AztecAddress |
contract_address |
|
) |
| |
|
private |
◆ validate_low_leaf()
void bb::avm2::simulation::NullifierTreeCheck::validate_low_leaf |
( |
const FF & |
nullifier, |
|
|
const NullifierTreeLeafPreimage & |
low_leaf_preimage, |
|
|
bool |
exists |
|
) |
| |
|
private |
◆ write()
◆ events
◆ field_gt
◆ merkle_check
◆ poseidon2
The documentation for this class was generated from the following files: