Skip to main content

easy_private_uint

Standalone Functions

new

new(context, storage_slot);

Parameters

NameType
contextContext
storage_slotField

add

add(self, addend, owner, outgoing_viewer);

Very similar to value_note::utils::increment.

Parameters

NameType
self
addendu64
ownerAztecAddress
outgoing_viewerAztecAddress

sub

sub(self, subtrahend, owner, outgoing_viewer);

Parameters

NameType
self
subtrahendu64
ownerAztecAddress
outgoing_viewerAztecAddress