Type Alias AllowAffidavits

Source
pub type AllowAffidavits<T: Config> = StorageValue<_GeneratedPrefixForStorageAllowAffidavits<T>, bool, ValueQuery>;
Expand description

Flag to enable or disable affidavit submissions.

Controls whether authors can submit self-reported election weights.
When true, affidavit-related functions are active; when false, submissions are blocked. Initially, this is expected to be false and gradually enabled once the required authors are ready.

Storage type is [StorageValue] with value type bool.

Aliased Typeยง

pub struct AllowAffidavits<T: Config>(/* private fields */);