lifecycle
Standalone Functions
create_note
create_note(context, storage_slot, note);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
storage_slot | Field |
note | &mut Note |
create_note_hash_from_public
create_note_hash_from_public(context, storage_slot, note);
Parameters
Name | Type |
---|---|
context | &mut PublicContext |
storage_slot | Field |
note | &mut Note |
destroy_note
destroy_note(context, note);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
note | Note |