mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-27 02:38:10 -07:00
global: snapshot
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
use brk_traversable::Traversable;
|
||||
use brk_types::{Dollars, StoredF32};
|
||||
use brk_types::{BasisPointsSigned32, Dollars};
|
||||
use vecdb::{Database, Rw, StorageMode};
|
||||
|
||||
use super::{burned, velocity};
|
||||
use crate::internal::{
|
||||
ComputedFromHeight, LazyFromHeight, LazyValueFromHeight,
|
||||
ComputedFromHeight, LazyFromHeight, LazyValueFromHeight, PercentFromHeight,
|
||||
};
|
||||
|
||||
#[derive(Traversable)]
|
||||
@@ -14,10 +14,10 @@ pub struct Vecs<M: StorageMode = Rw> {
|
||||
|
||||
pub circulating: LazyValueFromHeight,
|
||||
pub burned: burned::Vecs<M>,
|
||||
pub inflation: ComputedFromHeight<StoredF32, M>,
|
||||
pub inflation_rate: PercentFromHeight<BasisPointsSigned32, M>,
|
||||
pub velocity: velocity::Vecs<M>,
|
||||
pub market_cap: LazyFromHeight<Dollars>,
|
||||
pub market_cap_growth_rate: ComputedFromHeight<StoredF32, M>,
|
||||
pub realized_cap_growth_rate: ComputedFromHeight<StoredF32, M>,
|
||||
pub cap_growth_rate_diff: ComputedFromHeight<StoredF32, M>,
|
||||
pub market_cap_growth_rate: PercentFromHeight<BasisPointsSigned32, M>,
|
||||
pub realized_cap_growth_rate: PercentFromHeight<BasisPointsSigned32, M>,
|
||||
pub market_minus_realized_cap_growth_rate: ComputedFromHeight<BasisPointsSigned32, M>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user