Skip to main content

scheduled_delay_change

Standalone Functions

new

new(pre, post, block_of_change);

Parameters

NameType
preOption<u32>
postOption<u32>
block_of_changeu32

get_current

get_current(self, current_block_number);

Parameters

NameType
self
current_block_numberu32

get_scheduled

get_scheduled(self);

Parameters

NameType
self

schedule_change

schedule_change(&mut self, new, current_block_number);

Parameters

NameType
&mut self
newu32
current_block_numberu32

get_effective_minimum_delay_at

get_effective_minimum_delay_at(self, historical_block_number);

Parameters

NameType
self
historical_block_numberu32

pack

pack(self);

Parameters

NameType
self

unpack

unpack(input);

Parameters

NameType
input[Field; SCHEDULED_DELAY_CHANGE_PCKD_LEN]

eq

eq(self, other);

Parameters

NameType
self
otherSelf