pub type OrderIdToSwapId<T: Config> = StorageMap<_GeneratedPrefixForStorageOrderIdToSwapId<T>, Blake2_128Concat, T::OrderId, (T::AccountId, SwapId<T>)>;
Expand description

Maps a OrderId to its corresponding AccountId and SwapId. The storage is killed when the swap order no longer exists

Storage type is [StorageMap] with key type T :: OrderId and value type (T :: AccountId, SwapId < T >).

Aliased Type§

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