mod
Standalone Functions
compute_note_type_id
compute_note_type_id(name);
Parameters
Name | Type |
---|---|
name | Quoted |
generate_note_interface
generate_note_interface(s, note_type_id, hiding_point_name, indexed_fixed_fields, Type, u32);
Parameters
Name | Type |
---|---|
s | StructDefinition |
note_type_id | Field |
hiding_point_name | Quoted |
indexed_fixed_fields | [(Quoted |
Type | |
u32 |
to_be_bytes
to_be_bytes(self, storage_slot);
Parameters
Name | Type |
---|---|
self | |
storage_slot | Field |
deserialize_content
deserialize_content(value);
Parameters
Name | Type |
---|---|
value | [Field; $content_len] |
serialize_content
serialize_content(self);
Parameters
Name | Type |
---|---|
self |
get_note_type_id
get_note_type_id();
Takes no parameters.
set_header
set_header(&mut self, header);
Parameters
Name | Type |
---|---|
&mut self | |
header | $NOTE_HEADER_TYPE |
get_header
get_header(self);
Parameters
Name | Type |
---|---|
self |
compute_note_hash
compute_note_hash(self);
Parameters
Name | Type |
---|---|
self |
generate_note_properties
generate_note_properties(s);
Parameters
Name | Type |
---|---|
s | StructDefinition |
properties
properties();
Takes no parameters.
generate_note_export
generate_note_export(s, note_type_id);
Parameters
Name | Type |
---|---|
s | StructDefinition |
note_type_id | Field |
generate_multi_scalar_mul
generate_multi_scalar_mul(indexed_fields, Type, u32);
Parameters
Name | Type |
---|---|
indexed_fields | [(Quoted |
Type | |
u32 |
generate_note_hiding_point
generate_note_hiding_point(s, indexed_fixed_fields, Type, u32);
Parameters
Name | Type |
---|---|
s | StructDefinition |
indexed_fixed_fields | [(Quoted |
Type | |
u32 |
new
new($new_args);
Parameters
Name | Type |
---|---|
$new_args |
from_point
from_point(mut self, point);
Parameters
Name | Type |
---|---|
mut self | |
point | aztec |
finalize
finalize($finalize_args);
Parameters
Name | Type |
---|---|
$finalize_args |
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
deserialize
deserialize(serialized);
Parameters
Name | Type |
---|---|
serialized | [Field; aztec |
empty
empty();
Takes no parameters.
eq
eq(self, other);
Parameters
Name | Type |
---|---|
self | |
other | Self |
generate_partial_note_impl
generate_partial_note_impl(s, hiding_point_name);
Parameters
Name | Type |
---|---|
s | StructDefinition |
hiding_point_name | Quoted |
hiding_point
hiding_point();
Takes no parameters.
register_note
register_note(note, note_serialized_len, note_type_id);
Parameters
Name | Type |
---|---|
note | StructDefinition |
note_serialized_len | u32 |
note_type_id | Field |
index_note_fields
index_note_fields(s, nullable_fields);
Parameters
Name | Type |
---|---|
s | StructDefinition |
nullable_fields | [Quoted] |
common_note_annotation
common_note_annotation(s);
Parameters
Name | Type |
---|---|
s | StructDefinition |
partial_note
partial_note(s, nullable_fields);
Parameters
Name | Type |
---|---|
s | StructDefinition |
nullable_fields | [Quoted] |
note
note(s);
Parameters
Name | Type |
---|---|
s | StructDefinition |
note_custom_interface
note_custom_interface(s);
Parameters
Name | Type |
---|---|
s | StructDefinition |