Expand description

Stuff to do with the runtime’s storage.

Modules

Operation on runtime child storages.

Operation on runtime storage using hashed keys.

Some utilities for helping access storage with arbitrary key types.

Storage types to build abstraction on storage, they implements storage traits such as StorageMap and others.

Operation on unhashed runtime storage.

Structs

Iterate over a prefix and decode raw_key and raw_value into T.

Enums

Describes on what should happen with a storage transaction.

Traits

A strongly-typed double map in storage whose secondary keys and values can be iterated over.

A strongly-typed map in storage whose keys and values can be iterated over.

Marker trait that will be implemented for types that support the storage::append api.

Marker trait that will be implemented for types that support to decode their length in an effificent way. It is expected that the length is at the beginning of the encoded object and that the length is a Compact<u32>.

An implementation of a map with a two keys.

A strongly-typed map in storage.

Trait for maps that store all its value after a unique prefix.

A trait for working with macro-generated storage values under the substrate storage API.

Functions

Assert this method is called within a storage transaction. This will panic if is not called within a storage transaction.

Execute the supplied function in a new storage transaction.