mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 06:39:58 -07:00
20 lines
699 B
Rust
20 lines
699 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::Dollars;
|
|
use vecdb::{Rw, StorageMode};
|
|
|
|
use crate::internal::{PerBlock, PriceWithRatioExtendedPerBlock};
|
|
|
|
#[derive(Traversable)]
|
|
pub struct Vecs<M: StorageMode = Rw> {
|
|
pub vaulted: PriceWithRatioExtendedPerBlock<M>,
|
|
pub active: PriceWithRatioExtendedPerBlock<M>,
|
|
pub true_market_mean: PriceWithRatioExtendedPerBlock<M>,
|
|
pub cointime: PriceWithRatioExtendedPerBlock<M>,
|
|
pub transfer: PriceWithRatioExtendedPerBlock<M>,
|
|
pub balanced: PriceWithRatioExtendedPerBlock<M>,
|
|
pub terminal: PriceWithRatioExtendedPerBlock<M>,
|
|
pub delta: PriceWithRatioExtendedPerBlock<M>,
|
|
|
|
pub cumulative_market_cap: PerBlock<Dollars, M>,
|
|
}
|