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);
Parameters
Name | Type |
---|---|
self | |
eph_sk | Scalar |
ivpk | IvpkM |
compute_note_hiding_point
compute_note_hiding_point(_self);
Parameters
Name | Type |
---|---|
_self | 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_nullifier
compute_nullifier(_self, _context, _note_hash_for_nullify);
Parameters
Name | Type |
---|---|
_self | Self |
_context | &mut PrivateContext |
_note_hash_for_nullify | Field |
compute_nullifier_without_context
compute_nullifier_without_context(_self);
Parameters
Name | Type |
---|---|
_self | 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_matches_typescript
test_encrypted_note_log_incoming_body_matches_typescript();
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.