iota_mainnet_unlocks/
lib.rs

1// Copyright (c) 2025 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4mod aggregated_data;
5/// Provides functionality for loading and querying token unlock data over time.
6///
7/// This module defines a `MainnetUnlocksStore` which maintains an in-memory
8/// mapping of timestamps to the amount of still-locked tokens at that point in
9/// time.
10///
11/// The unlock data is used to answer questions like:
12/// - "How many tokens are still locked at a specific timestamp?"
13pub mod store;
14
15pub use store::{MainnetUnlocksStore, StillLockedEntry};