global: snapshot

This commit is contained in:
nym21
2025-05-29 10:39:58 +02:00
parent 99818924ee
commit cfc3081e8a
12 changed files with 228 additions and 151 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "brk_state"
description = "States used primarily by the computer"
description = "Various states used mainly by the computer"
version.workspace = true
edition.workspace = true
license.workspace = true
+4 -3
View File
@@ -1,12 +1,13 @@
use brk_core::Dollars;
use brk_core::{Dollars, Sats};
use brk_store::Store;
use super::{RealizedState, SupplyState};
#[derive(Debug, Default, Clone)]
#[derive(Default, Clone)]
pub struct CohortState {
pub supply: SupplyState,
pub realized: Option<RealizedState>,
// pub price_to_amount: PriceToValue<Amount>, save it not rounded in fjall
// pub price_to_amount: Store<Dollars, Sats>,
}
impl CohortState {