Module types

Source
Expand description

Types for the Stateful Storage Pallet

Structs§

ItemHeader
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
ItemizedSignaturePayloadV2
Payload containing all necessary fields to verify Itemized related signatures
Page
A generic page of data which supports both Itemized and Paginated
PaginatedDeleteSignaturePayloadV2
Payload containing all necessary fields to verify signatures to delete a Paginated storage
PaginatedUpsertSignaturePayloadV2
Payload containing all necessary fields to verify signatures to upsert a Paginated storage
ParsedItemPage
An internal struct which contains the parsed items in a page

Enums§

ItemAction
Defines the actions that can be applied to an Itemized storage
PageError
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§

ItemizedOperations
Operations on Itemized storage

Type Aliases§

ItemizedKey
MultipartKey type for Itemized storage
ItemizedPage
Itemized page type
PaginatedKey
MultipartKey type for Paginated storage (full key)
PaginatedPage
Paginated Page type
PaginatedPrefixKey
MultipartKey type for Paginated storage (prefix lookup)