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);

https://github.com/AztecProtocol/aztec-packages/issues/5736

Parameters

NameType
self

get_delay_change_storage_slot

get_delay_change_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_value_change

write_value_change(self, value_change);

Parameters

NameType
self
value_changeScheduledValueChange<T>

write_delay_change

write_delay_change(self, delay_change);

Parameters

NameType
self
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, context);

Parameters

NameType
self
contextPrivateContext