Skip to main content

easy_private_uint

Standalone Functions

new

new(context, storage_slot);

Parameters

NameType
contextContext
storage_slotField

add

add(self, addend, owner, sender);

Very similar to value_note::utils::increment.

Parameters

NameType
self
addendu64
ownerAztecAddress
senderAztecAddress

sub

sub(self, subtrahend, owner, sender);

Parameters

NameType
self
subtrahendu64
ownerAztecAddress
senderAztecAddress