Type Definition pallet_balances::pallet::Locks

source ·
pub type Locks<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageLocks<T, I>, Blake2_128Concat, T::AccountId, WeakBoundedVec<BalanceLock<T::Balance>, T::MaxLocks>, ValueQuery>;
Expand description

Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, changing and freeing a lock.