Skip to main content

shared_mutable_values

Standalone Functions

new

new(svc, sdc, );

Parameters

NameType
svcScheduledValueChange<T>
sdcScheduledDelayChange<INITIAL_DELAY>

get_delay_change_storage_slot

get_delay_change_storage_slot(shared_mutable_storage_slot);

Parameters

NameType
shared_mutable_storage_slotField

get_value_change_storage_slot

get_value_change_storage_slot(shared_mutable_storage_slot);

Parameters

NameType
shared_mutable_storage_slotField

pack

pack(self);

Parameters

NameType
self

unpack

unpack(fields);

Parameters

NameType
fields[Field; 2 * N + 1 + SCHEDULED_DELAY_CHANGE_PCKD_LEN]