Skip to main content

private_set

Standalone Functions

new

new(context, storage_slot);

Parameters

NameType
contextContext
storage_slotField

insert_from_public

insert_from_public(self, note);

Parameters

NameType
self
note&mut Note

insert

insert(self, note, ovpk_m, ivpk_m);

Parameters

NameType
self
note&mut Note
ovpk_mGrumpkinPoint
ivpk_mGrumpkinPoint

assert_contains_and_remove

assert_contains_and_remove(_self, _note, _nonce);

Parameters

NameType
_selfSelf
_note&mut Note
_nonceField

assert_contains_and_remove_publicly_created

assert_contains_and_remove_publicly_created(_self, _note);

Parameters

NameType
_selfSelf
_note&mut Note

remove

remove(self, note);

Parameters

NameType
self
noteNote

get_notes

get_notes(self, options, N, M, FILTER_ARGS>);

Parameters

NameType
self
optionsNoteGetterOptions<Note
N
M
FILTER_ARGS>

view_notes

view_notes(self, options, N, M>);

Parameters

NameType
self
optionsNoteViewerOptions<Note
N
M>