Module storage

Source
Expand description

This module contains the Storage type and its supporting types, which provide the Host with access to durable ledger entries.

For more details, see the Env data access functions:

Structs§

Footprint
Describes the total set of LedgerKeys that a given transaction will access, as well as the AccessType governing each key.
Storage
A special-purpose map from LedgerKeys to LedgerEntrys. Represents a transactional batch of contract IO from and to durable storage, while partitioning that IO between concurrently executing groups of contracts through the use of IO Footprints.

Enums§

AccessType
A helper type used by Footprint to designate which ways a given LedgerKey is accessed, or is allowed to be accessed, in a given transaction.
FootprintMode

Traits§

SnapshotSource
A helper type used by FootprintMode::Recording to provide access to a stable read-snapshot of a ledger. The snapshot is expected to only return live ledger entries.

Type Aliases§

EntryWithLiveUntil
FootprintMap
StorageMap