This package provides generic convienence methods for paginating keys
and values in a CosmWasm Map
or SnapshotMap
. If you use these
methods to paginate the maps in your contract you may make larry0x
happy.
Given a map like:
```rust use cwstorageplus::Map;
pub const ITEMS: Map
You can use this package to write a query to list it's contents like:
```rust use cosmwasmstd::{Deps, Binary, tobinary, StdResult}; use cwstorageplus::Map; use cwpaginatestorage::paginate_map;
pub const ITEMS: Map
pub fn querylistitems(
deps: Deps,
startafter: Option