referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_dev_mode::pallet::Bar

source ·
pub type Bar<T: Config> = StorageMap<_GeneratedPrefixForStorageBar<T>, Blake2_128Concat, T::AccountId, T::Balance>;
Expand description

The Hasher requirement is skipped by dev_mode. So, second parameter can be _ and Blake2_128Concat is used as a default. When the dev_mode is removed, we would need to specify the hasher like so: pub type Bar<T: Config> = StorageMap<_, Blake2_128Concat, T::AccountId, T::Balance>;.

Storage type is [StorageMap] with key type T :: AccountId and value type T :: Balance.

Aliased Type§

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