Skip to main content

shared_mutable

Standalone Functions

new

new(context, storage_slot);

Parameters

NameType
contextContext
storage_slotField

get_value_change_storage_slot

get_value_change_storage_slot(self);
  • the hash of both of these (via hash_scheduled_data)

Parameters

NameType
self

get_delay_change_storage_slot

get_delay_change_storage_slot(self);

Parameters

NameType
self

get_hash_storage_slot

get_hash_storage_slot(self);

Parameters

NameType
self

schedule_value_change

schedule_value_change(self, new_value);

Parameters

NameType
self
new_valueT

schedule_delay_change

schedule_delay_change(self, new_delay);

Parameters

NameType
self
new_delayu32

get_current_value_in_public

get_current_value_in_public(self);

Parameters

NameType
self

get_current_delay_in_public

get_current_delay_in_public(self);

Parameters

NameType
self

get_scheduled_value_in_public

get_scheduled_value_in_public(self);

Parameters

NameType
self

get_scheduled_delay_in_public

get_scheduled_delay_in_public(self);

Parameters

NameType
self

read_value_change

read_value_change(self);

Parameters

NameType
self

read_delay_change

read_delay_change(self);

Parameters

NameType
self

write

write(self, value_change, delay_change, );

Parameters

NameType
self
value_changeScheduledValueChange<T>
delay_changeScheduledDelayChange<INITIAL_DELAY>

get_current_value_in_private

get_current_value_in_private(self);

Parameters

NameType
self

historical_read_from_public_storage

historical_read_from_public_storage(self, );

Parameters

NameType
self

hash_scheduled_data

hash_scheduled_data(value_change, delay_change, );

Parameters

NameType
value_changeScheduledValueChange<T>
delay_changeScheduledDelayChange<INITIAL_DELAY>

get_current_value_in_unconstrained

get_current_value_in_unconstrained(self);

Parameters

NameType
self

read_value_change

read_value_change(self);

Parameters

NameType
self

get_public_storage_hints

get_public_storage_hints(address, storage_slot, block_number, );

Parameters

NameType
addressAztecAddress
storage_slotField
block_numberu32