notes
Standalone Functions
notify_created_note
notify_created_note(storage_slot, note_type_id, packed_note, note_hash, counter, );
/ transaction. This note should only be added to the non-volatile database if found in an actual block.
Parameters
Name | Type |
---|---|
storage_slot | Field |
note_type_id | Field |
packed_note | [Field; N] |
note_hash | Field |
counter | u32 |
notify_nullified_note
notify_nullified_note(nullifier, note_hash, counter);
/ actual block.
Parameters
Name | Type |
---|---|
nullifier | Field |
note_hash | Field |
counter | u32 |
notify_created_nullifier
notify_created_nullifier(nullifier);
/ Notifies the simulator that a non-note nullifier has been created, so that it can be used for note nonces.
Parameters
Name | Type |
---|---|
nullifier | Field |
notify_created_note_oracle_wrapper
notify_created_note_oracle_wrapper(storage_slot, note_type_id, packed_note, note_hash, counter, );
Parameters
Name | Type |
---|---|
storage_slot | Field |
note_type_id | Field |
packed_note | [Field; N] |
note_hash | Field |
counter | u32 |
notify_created_note_oracle
notify_created_note_oracle(_storage_slot, _note_type_id, _packed_note, _note_hash, _counter, );
Parameters
Name | Type |
---|---|
_storage_slot | Field |
_note_type_id | Field |
_packed_note | [Field; N] |
_note_hash | Field |
_counter | u32 |
notify_nullified_note_oracle_wrapper
notify_nullified_note_oracle_wrapper(nullifier, note_hash, counter, );
Parameters
Name | Type |
---|---|
nullifier | Field |
note_hash | Field |
counter | u32 |
notify_nullified_note_oracle
notify_nullified_note_oracle(_nullifier, _note_hash, _counter);
Parameters
Name | Type |
---|---|
_nullifier | Field |
_note_hash | Field |
_counter | u32 |