shared_mutable
Standalone Functions
new
new(context, storage_slot);
Parameters
Name | Type |
---|---|
context | Context |
storage_slot | Field |
get_value_change_storage_slot
get_value_change_storage_slot(self);
https://github.com/AztecProtocol/aztec-packages/issues/5736
Parameters
Name | Type |
---|---|
self |
get_delay_change_storage_slot
get_delay_change_storage_slot(self);
Parameters
Name | Type |
---|---|
self |
schedule_value_change
schedule_value_change(self, new_value);
Parameters
Name | Type |
---|---|
self | |
new_value | T |
schedule_delay_change
schedule_delay_change(self, new_delay);
Parameters
Name | Type |
---|---|
self | |
new_delay | u32 |
get_current_value_in_public
get_current_value_in_public(self);
Parameters
Name | Type |
---|---|
self |
get_current_delay_in_public
get_current_delay_in_public(self);
Parameters
Name | Type |
---|---|
self |
get_scheduled_value_in_public
get_scheduled_value_in_public(self);
Parameters
Name | Type |
---|---|
self |
get_scheduled_delay_in_public
get_scheduled_delay_in_public(self);
Parameters
Name | Type |
---|---|
self |
read_value_change
read_value_change(self);
Parameters
Name | Type |
---|---|
self |
read_delay_change
read_delay_change(self);
Parameters
Name | Type |
---|---|
self |
write_value_change
write_value_change(self, value_change);
Parameters
Name | Type |
---|---|
self | |
value_change | ScheduledValueChange<T> |
write_delay_change
write_delay_change(self, delay_change);
Parameters
Name | Type |
---|---|
self | |
delay_change | ScheduledDelayChange<INITIAL_DELAY> |
get_current_value_in_private
get_current_value_in_private(self);
Parameters
Name | Type |
---|---|
self |
historical_read_from_public_storage
historical_read_from_public_storage(self, context);
Parameters
Name | Type |
---|---|
self | |
context | PrivateContext |