AddressNote
Fields
Field | Type |
---|---|
address | AztecAddress |
owner | AztecAddress |
randomness | Field |
header | NoteHeader |
Methods
new
AddressNote::new(address, owner, randomness);
Parameters
Name | Type |
---|---|
address | AztecAddress |
owner | AztecAddress |
randomness | Field |
TestEvent
Fields
Field | Type |
---|---|
value0 | Field |
value1 | Field |
value2 | Field |
Standalone Functions
from_note
from_note(note, storage_slot);
Parameters
Name | Type |
---|---|
note | T |
storage_slot | Field |
from_event
from_event(event, randomness);
Parameters
Name | Type |
---|---|
event | T |
randomness | Field |
compute_ciphertext
compute_ciphertext(self, eph_sk, ivpk_app);
Parameters
Name | Type |
---|---|
self | |
eph_sk | GrumpkinPrivateKey |
ivpk_app | GrumpkinPoint |
compute_note_content_hash
compute_note_content_hash(self);
Parameters
Name | Type |
---|---|
self |
get_note_type_id
get_note_type_id();
Takes no parameters.
get_header
get_header(self);
Parameters
Name | Type |
---|---|
self |
set_header
set_header(&mut self, header);
Parameters
Name | Type |
---|---|
&mut self | |
header | NoteHeader |
compute_note_hash_and_nullifier
compute_note_hash_and_nullifier(self, context);
Parameters
Name | Type |
---|---|
self | |
context | &mut PrivateContext |
compute_note_hash_and_nullifier_without_context
compute_note_hash_and_nullifier_without_context(self);
Parameters
Name | Type |
---|---|
self |
serialize_content
serialize_content(self);
Parameters
Name | Type |
---|---|
self |
deserialize_content
deserialize_content(fields);
Parameters
Name | Type |
---|---|
fields | [Field; ADDRESS_NOTE_LEN] |
to_be_bytes
to_be_bytes(self, storage_slot);
Parameters
Name | Type |
---|---|
self | |
storage_slot | Field |
test_encrypted_note_log_incoming_body
test_encrypted_note_log_incoming_body();
Takes no parameters.
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
get_event_type_id
get_event_type_id();
Takes no parameters.
private_to_be_bytes
private_to_be_bytes(self, randomness);
Parameters
Name | Type |
---|---|
self | |
randomness | Field |
to_be_bytes
to_be_bytes(self);
Parameters
Name | Type |
---|---|
self |
emit
emit(self, _emit);
Parameters
Name | Type |
---|---|
self | |
_emit | fn[Env](Self |
test_encrypted_log_event_incoming_body
test_encrypted_log_event_incoming_body();
Takes no parameters.