Skip to main content

private_mutable

Standalone Functions

new

new(context, storage_slot);

Parameters

NameType
contextContext
storage_slotField

compute_initialization_nullifier

compute_initialization_nullifier(self);

Parameters

NameType
self

initialize

initialize(self, note);

Parameters

NameType
self
note&mut Note

replace

replace(self, new_note);

Parameters

NameType
self
new_note&mut Note

initialize_or_replace

initialize_or_replace(self, note);

Parameters

NameType
self
note&mut Note

get_note

get_note(self);

Parameters

NameType
self

is_initialized

is_initialized(self);

Parameters

NameType
self

view_note

view_note(self);

Parameters

NameType
self