pub type TrackInfo<Balance, Moment, const N: usize = DEFAULT_MAX_TRACK_NAME_LEN> = TrackDetails<Balance, Moment, [u8; N]>;
Expand description
Detailed information about the configuration of a referenda track. Used for internal storage.
Aliased Type§
struct TrackInfo<Balance, Moment, const N: usize = DEFAULT_MAX_TRACK_NAME_LEN> {
pub name: [u8; N],
pub max_deciding: u32,
pub decision_deposit: Balance,
pub prepare_period: Moment,
pub decision_period: Moment,
pub confirm_period: Moment,
pub min_enactment_period: Moment,
pub min_approval: Curve,
pub min_support: Curve,
}
Fields§
§name: [u8; N]
Name of this track.
max_deciding: u32
A limit for the number of referenda on this track that can be being decided at once. For Root origin this should generally be just one.
decision_deposit: Balance
Amount that must be placed on deposit before a decision can be made.
prepare_period: Moment
Amount of time this must be submitted for before a decision can be made.
decision_period: Moment
Amount of time that a decision may take to be approved prior to cancellation.
confirm_period: Moment
Amount of time that the approval criteria must hold before it can be approved.
min_enactment_period: Moment
Minimum amount of time that an approved proposal must be in the dispatch queue.
min_approval: Curve
Minimum aye votes as percentage of overall conviction-weighted votes needed for approval as a function of time into decision period.
min_support: Curve
Minimum pre-conviction aye-votes (“support”) as percentage of overall population that is needed for approval as a function of time into decision period.