Expand description
Types for the Stateful Storage Pallet
Structs§
- Itemized
Signature Payload V2 - Payload containing all necessary fields to verify Itemized related signatures
- Page
- A generic page of data which supports both Itemized and Paginated
- Paginated
Delete Signature Payload V2 - Payload containing all necessary fields to verify signatures to delete a Paginated storage
- Paginated
Delete Signature Payload V3 - Payload containing all necessary fields to verify signatures to delete a Paginated storage
- Paginated
Upsert Signature Payload V2 - Payload containing all necessary fields to verify signatures to upsert a Paginated storage
- Parsed
Item - An internal struct representing a single parsed item
- Parsed
Item Page - An internal struct which contains the parsed items in a page
Enums§
- Item
Action - Defines the actions that can be applied to an Itemized storage
- Item
Header - This header is used to specify the byte size of an item stored inside the buffer All items will require this header to be inserted before the item data
- Page
Error - Errors dedicated to parsing or modifying pages
- Page
Version - Indicates the version of the Page storage (header format, etc)
Constants§
- ITEMIZED_
STORAGE_ PREFIX - itemized storage prefix
- PAGINATED_
STORAGE_ PREFIX - paginated storage prefix
- PALLET_
STORAGE_ PREFIX - pallet storage prefix
- STATEFUL_
STORAGE_ VERSION - Current storage version of the pallet.
Traits§
- Itemized
Operations - Operations on Itemized storage
Type Aliases§
- Itemized
Key - MultipartKey type for Itemized storage
- Itemized
Page - Itemized page type
- Paginated
Key - MultipartKey type for Paginated storage (full key)
- Paginated
Page - Paginated Page type
- Paginated
Prefix Key - MultipartKey type for Paginated storage (prefix lookup)