Module pallet_stateful_storage::types
source · Expand description
Types for the Stateful Storage Pallet
Structs
- 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
- Warning: This struct is
deprecated
. please useItemizedSignaturePayloadV2
instead Payload containing all necessary fields to verify Itemized related signatures - Payload containing all necessary fields to verify Itemized related signatures
- A generic page of data which supports both Itemized and Paginated
- Warning: This struct is
deprecated
. please usePaginatedDeleteSignaturePayloadV2
instead Payload containing all necessary fields to verify signatures to delete a Paginated storage - Payload containing all necessary fields to verify signatures to delete a Paginated storage
- Warning: This struct is
deprecated
. please usePaginatedUpsertSignaturePayloadV2
instead Payload containing all necessary fields to verify signatures to upsert a Paginated storage - Payload containing all necessary fields to verify signatures to upsert a Paginated storage
- An internal struct which contains the parsed items in a page
Enums
- Defines the actions that can be applied to an Itemized storage
- Errors dedicated to parsing or modifying pages
Constants
- itemized storage prefix
- Migration page size
- paginated storage prefix
- pallet storage prefix
- Current storage version of the pallet.
Traits
- Operations on Itemized storage
Type Aliases
- MultipartKey type for Itemized storage
- Itemized page type
- MultipartKey type for Paginated storage (full key)
- Paginated Page type
- MultipartKey type for Paginated storage (prefix lookup)