Type Alias pallet_referenda::DecidingStatusOf
source · pub type DecidingStatusOf<T> = DecidingStatus<BlockNumberFor<T>>;
Aliased Type§
struct DecidingStatusOf<T> {
pub since: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,
pub confirming: Option<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>,
}
Fields§
§since: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number
When this referendum began being “decided”. If confirming, then the end will actually be delayed until the end of the confirmation period.
confirming: Option<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>
If Some
, then the referendum has entered confirmation stage and will end at
the block number as long as it doesn’t lose its approval in the meantime.