note_interface
Standalone Functions
properties
properties();
Takes no parameters.
setup_payload
setup_payload();
Takes no parameters.
finalization_payload
finalization_payload();
Takes no parameters.
compute_nullifier
compute_nullifier(self, context, note_hash_for_nullify);
gate count of the circuit.
Parameters
Name | Type |
---|---|
self | |
context | &mut PrivateContext |
note_hash_for_nullify | Field |
compute_nullifier_without_context
compute_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; N] |
get_header
get_header(self);
Parameters
Name | Type |
---|---|
self |
set_header
set_header(&mut self, header);
Parameters
Name | Type |
---|---|
&mut self | |
header | NoteHeader |
get_note_type_id
get_note_type_id();
Takes no parameters.
to_be_bytes
to_be_bytes(self, storage_slot);
Parameters
Name | Type |
---|---|
self | |
storage_slot | Field |
compute_note_hash
compute_note_hash(self);
Parameters
Name | Type |
---|---|
self |