canic-host 0.110.21

Host-side App build and desired-state Fleet reconciliation library for Canic workspaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Module: fleet_ensure::view
//!
//! Responsibility: expose read-only funding projections for operator review.
//! Does not own: persisted authority, funding admission or cycle effects.
//! Boundary: projections describe assumptions and never authorize spending.

pub mod startup_funding;

/// Live operator account and fee at the configured Cycles Ledger.
///
/// Host workflows use this observation to check reviewed funding before effects;
/// it carries no payment authority or runtime protocol evidence.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct OperatorFundingObservation {
    pub cycles_ledger: String,
    pub ledger_fee_cycles: u128,
    pub operator_cycles: u128,
}