Type Alias pallet_democracy::pallet::MetadataOf
source · pub type MetadataOf<T: Config> = StorageMap<_GeneratedPrefixForStorageMetadataOf<T>, Blake2_128Concat, MetadataOwner, T::Hash>;
Expand description
General information concerning any proposal or referendum.
The Hash
refers to the preimage of the Preimages
provider which can be a JSON
dump or IPFS hash of a JSON file.
Consider a garbage collection for a metadata of finished referendums to unrequest
(remove)
large preimages.
Storage type is [StorageMap
] with key type MetadataOwner
and value type T :: Hash
.
Aliased Type§
struct MetadataOf<T: Config>(/* private fields */);