Type Alias pallet_balances::pallet::Reserves
source · pub type Reserves<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageReserves<T, I>, Blake2_128Concat, T::AccountId, BoundedVec<ReserveData<T::ReserveIdentifier, T::Balance>, T::MaxReserves>, ValueQuery>;
Expand description
Named reserves on some account balances.
Use of reserves is deprecated in favour of holds. See https://github.com/paritytech/substrate/pull/12951/
Storage type is [StorageMap
] with key type T :: AccountId
and value type BoundedVec < ReserveData < T :: ReserveIdentifier, T :: Balance > , T :: MaxReserves >
.
Aliased Type§
struct Reserves<T: Config<I>, I: 'static = ()>(PhantomData<(_GeneratedPrefixForStorageReserves<T, I>, Blake2_128Concat, <T as Config>::AccountId, BoundedVec<ReserveData<<T as Config<I>>::ReserveIdentifier, <T as Config<I>>::Balance>, <T as Config<I>>::MaxReserves>, ValueQuery, GetDefault, GetDefault)>);
Fields§
§0: PhantomData<(_GeneratedPrefixForStorageReserves<T, I>, Blake2_128Concat, <T as Config>::AccountId, BoundedVec<ReserveData<<T as Config<I>>::ReserveIdentifier, <T as Config<I>>::Balance>, <T as Config<I>>::MaxReserves>, ValueQuery, GetDefault, GetDefault)>