pub type Safeguard<T: Config> = StorageValue<_GeneratedPrefixForStorageSafeguard<T>, bool, ValueQuery, DefaultSafeguard<T>>;
Expand description

Safeguard to prevent unwanted operations in production. Kept as a storage without extrinsic setter, so we can still enable it for some chain-fork debugging if required.

Storage type is [StorageValue] with value type bool.

Aliased Type§

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