Type Definition pallet_democracy::pallet::MetadataOf

source ·
pub type MetadataOf<T: Config> = StorageMap<_GeneratedPrefixForStorageMetadataOf<T>, Blake2_128Concat, MetadataOwner, PreimageHash>;
Expand description

General information concerning any proposal or referendum. The PreimageHash 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 PreimageHash.