Type Alias pallet_bridge_grandpa::pallet::PalletOwner
source · pub type PalletOwner<T: Config<I>, I: 'static = ()> = StorageValue<_GeneratedPrefixForStoragePalletOwner<T, I>, T::AccountId, OptionQuery>;
Expand description
Optional pallet owner.
Pallet owner has a right to halt all pallet operations and then resume it. If it is
None
, then there are no direct ways to halt/resume pallet operations, but other
runtime methods may still be used to do that (i.e. democracy::referendum to update halt
flag directly or call the set_operating_mode
).
Storage type is [StorageValue
] with value type T :: AccountId
.
Aliased Type§
struct PalletOwner<T: Config<I>, I: 'static = ()>(/* private fields */);