Module pallet_order_book::pallet::storage_types
source · Expand description
Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.
§Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation purposes.
To see the actual storage type, find a struct with the same name at the root of the pallet, in the list of Type Definitions.
Structs§
- Stores the market feeder id used to set with market conversion ratios
- 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.
- Map of Orders to look up orders by their order id.
- Map of orders for a particular user Used to query orders for a particular user using the account id of the user as prefix