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);
- the hash of both of these (via
hash_scheduled_data
)
Parameters
Name | Type |
---|---|
self |
get_delay_change_storage_slot
get_delay_change_storage_slot(self);
Parameters
Name | Type |
---|---|
self |
get_hash_storage_slot
get_hash_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
get_current_value(self);
Parameters
Name | Type |
---|---|
self |
get_current_delay
get_current_delay(self);
Parameters
Name | Type |
---|---|
self |
get_scheduled_value
get_scheduled_value(self);
Parameters
Name | Type |
---|---|
self |
get_scheduled_delay
get_scheduled_delay(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
write(self, value_change, delay_change, );
Parameters
Name | Type |
---|---|
self | |
value_change | ScheduledValueChange<T> |
delay_change | ScheduledDelayChange<INITIAL_DELAY> |
get_current_value
get_current_value(self);
Parameters
Name | Type |
---|---|
self |
historical_read_from_public_storage
historical_read_from_public_storage(self, );
Parameters
Name | Type |
---|---|
self | |
hash_scheduled_data
hash_scheduled_data(value_change, delay_change, );
Parameters
Name | Type |
---|---|
value_change | ScheduledValueChange<T> |
delay_change | ScheduledDelayChange<INITIAL_DELAY> |
get_current_value
get_current_value(self);
Parameters
Name | Type |
---|---|
self |
read_value_change
read_value_change(self);
Parameters
Name | Type |
---|---|
self |
get_public_storage_hints
get_public_storage_hints(address, storage_slot, block_number, );
Parameters
Name | Type |
---|---|
address | AztecAddress |
storage_slot | Field |
block_number | u32 |