use brk_traversable::Traversable; use brk_types::{BasisPointsSigned32, Cents, CentsSigned}; use vecdb::{Database, Rw, StorageMode}; use super::{burned, velocity}; use crate::internal::{ FiatRollingDelta, LazyFiatPerBlock, LazyAmountPerBlock, PercentPerBlock, RollingWindows, }; #[derive(Traversable)] pub struct Vecs { #[traversable(skip)] pub(crate) db: Database, pub circulating: LazyAmountPerBlock, pub burned: burned::Vecs, pub inflation_rate: PercentPerBlock, pub velocity: velocity::Vecs, pub market_cap: LazyFiatPerBlock, #[traversable(wrap = "market_cap", rename = "delta")] pub market_cap_delta: FiatRollingDelta, pub market_minus_realized_cap_growth_rate: RollingWindows, pub hodled_or_lost: LazyAmountPerBlock, }