Module storage

Module storage 

Source
Expand description

Helpers for dealing with CosmWasm storage.

Re-exports§

pub use crate::prelude::*;

Functions§

collect_monotonic_map
Helper to paginate over MonotonicMap
collect_monotonic_multilevel_map
Helper to paginate over MonotonicMultilevelMap
external_map_has
Check if a cw_storage_plus::Map in an external contract has a specific key
load_external_item
Load an cw_storage_plus::Item stored in an external contract
load_external_map
Load a value from a cw_storage_plus::Map stored in an external contract
map_key
Generate a storage key for a value in a cw_storage_plus::Map.
push_to_monotonic_map
Push a new value to a MonotonicMap.
push_to_monotonic_multilevel_map
Push a new value to a MonotonicMultilevelMap.

Type Aliases§

MonotonicMap
A Map where the key monotonically increases.
MonotonicMultilevelMap
A multilevel Map where the suffix of the key monotonically increases.