Module frame_support::storage

source ·
Expand description

Stuff to do with the runtime’s storage.

Re-exports

Modules

  • Traits, types and structs to support a bounded BTreeMap.
  • Traits, types and structs to support a bounded BTreeSet.
  • Traits, types and structs to support putting a bounded vector into storage, as a raw value, map or a double map.
  • Operation on runtime child storages.
  • Operation on runtime storage using hashed keys.
  • Some utilities for helping access storage with arbitrary key types.
  • Contains the crate::StorageNoopGuard for conveniently asserting that no storage mutation has been made by a whole code block.
  • Provides functionality around the transaction storage.
  • Storage types to build abstraction on storage, they implements storage traits such as StorageMap and others.
  • Operation on unhashed runtime storage.
  • Traits, types and structs to support putting a bounded vector into storage, as a raw value, map or a double map.

Structs

  • Iterate over a prefix of a child trie and decode raw_key and raw_value into T.
  • Utility type for converting a storage map into a Get<u32> impl which returns the maximum key size.
  • Iterate over a prefix and decode raw_key into T.
  • Iterate or drain over a prefix and decode raw_key and raw_value into T.

Enums

Traits

Functions

  • Returns the storage prefix for a specific pallet name and storage name.