Crate ink_storage[][src]

Expand description

The ink_storage utilities used to manipulate and organize contract storage.

Mainly provides entities to work on a contract’s storage as well as high-level collections on top of those. Also provides environmental utilities, such as storage allocators, FFI to interface with FRAME contracts and a primitive blockchain emulator for simple off-chain testing.

Modules

The default dynamic storage allocator.

High-level collections used to manage storage entities in the persisted contract storage.

Low-level collections and data structures to manage storage entities in the persisted contract storage.

Traits and interfaces to operate with storage entities.

Structs

A dynamically allocated storage entity.

A lazy storage entity.

An instance that is solely stored within the contract’s memory.

Packs the inner T so that it only occupies a single contract storage cell.

A contiguous growable array type, written Vec<T> but pronounced “vector”.