pub type OrderIdNonceStore<T: Config> = StorageValue<_GeneratedPrefixForStorageOrderIdNonceStore<T>, T::OrderIdNonce, ValueQuery>;
Expand description

Stores OrderIdNonce for orders placed Given that OrderIdNonce is to ensure that all orders have a unique ID, we can use just one OrderIdNonce, which means that we only have one val in storage, and we don’t have to insert new map values upon a new account/currency order creation.

Storage type is [StorageValue] with value type T :: OrderIdNonce.

Aliased Type§

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