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