Expand description
Types for the Stateful Storage Pallet
Structs§
- 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
- 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
Upsert Signature Payload V2 - Payload containing all necessary fields to verify signatures to upsert a Paginated storage
- 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
- Page
Error - Errors dedicated to parsing or modifying pages
Constants§
- ITEMIZED_
STORAGE_ PREFIX - itemized storage prefix
- MIGRATION_
PAGE_ SIZE - Migration page size
- 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)