Type Alias pallet_tips::pallet::Reasons
source · pub type Reasons<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageReasons<T, I>, Identity, T::Hash, Vec<u8>, OptionQuery>;
Expand description
Simple preimage lookup from the reason’s hash to the original data. Again, has an insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
Storage type is [StorageMap
] with key type T :: Hash
and value type Vec < u8 >
.
Aliased Type§
struct Reasons<T: Config<I>, I: 'static = ()>(/* private fields */);