easy_private_uint
Standalone Functions
new
new(context, storage_slot);
Parameters
Name | Type |
---|---|
context | Context |
storage_slot | Field |
add
add(self, addend, owner, outgoing_viewer, sender, );
Very similar to value_note::utils::increment
.
Parameters
Name | Type |
---|---|
self | |
addend | u64 |
owner | AztecAddress |
outgoing_viewer | AztecAddress |
sender | AztecAddress |
sub
sub(self, subtrahend, owner, outgoing_viewer, sender, );
Parameters
Name | Type |
---|---|
self | |
subtrahend | u64 |
owner | AztecAddress |
outgoing_viewer | AztecAddress |
sender | AztecAddress |