referrerpolicy=no-referrer-when-downgrade

Enabled

Type Alias Enabled 

Source
pub type Enabled<T> = StorageValue<_GeneratedPrefixForStorageEnabled<T>, bool, ValueQuery>;
Expand description

Whether on-demand Coretime is sold here.

Orders are only accepted once it is, as the revenue from them is only claimed through [OnDemandRevenue::claim_revenue] once it is; otherwise it would never be distributed.

It is false until enabled with Pallet::enable, and stays true from then on.

Storage type is [StorageValue] with value type bool.

Aliased Type§

pub struct Enabled<T>(/* private fields */);