Function levana_perpswap_cosmos::storage::collect_monotonic_map
source ยท pub fn collect_monotonic_map<T>(
store: &dyn Storage,
m: MonotonicMap<'_, T>,
after_id: Option<u64>,
limit: Option<u32>,
order: Order,
) -> Result<Vec<(u64, T)>>where
T: Serialize + DeserializeOwned,
Expand description
Helper to paginate over MonotonicMap