Type Alias orml_tokens::module::Locks
source · pub type Locks<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageLocks<T>, Blake2_128Concat, T::AccountId, Twox64Concat, T::CurrencyId, BoundedVec<BalanceLock<T::Balance>, T::MaxLocks>, ValueQuery>;
Expand description
Any liquidity locks of a token type under an account. NOTE: Should only be accessed when setting, changing and freeing a lock.
Storage type is StorageDoubleMap
with key1 type T :: AccountId, key2 type T :: CurrencyId and value type BoundedVec < BalanceLock < T :: Balance > , T :: MaxLocks >.
Aliased Type§
struct Locks<T: Config>(/* private fields */);