Expand description
§Gradually Update
A module for scheduling gradually updates to storage values.
§Overview
This module exposes capabilities for scheduling updates to storage values gradually. This is useful to change parameter values gradually to ensure a smooth transition. It is also possible to cancel an update before it reaches to target value.
NOTE: Only unsigned integer value up to 128 bits are supported. But a
“newtype” pattern struct that wraps an unsigned integer works too such as
Permill and FixedU128.
Re-exports§
pub use module::*;
Modules§
- module
- The
palletmodule in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- Gradually
Update - Gradually update a value stored at
keytotarget_value, changeper_block*T::UpdateFrequencyperT::UpdateFrequencyblocks.