pub struct SnsRewardDiffReport {Show 16 fields
pub schema_version: u32,
pub before: SnsRewardDiffCheckpointRef,
pub after: SnsRewardDiffCheckpointRef,
pub aggregate_before_combined_maturity_e8s_equivalent: Option<u64>,
pub aggregate_after_combined_maturity_e8s_equivalent: Option<u64>,
pub aggregate_maturity_delta_e8s_equivalent: Option<i128>,
pub summed_neuron_maturity_delta_e8s_equivalent: Option<i128>,
pub distributed_e8s_equivalent: u64,
pub aggregate_reconciled: bool,
pub per_neuron_reconciled: bool,
pub before_policy_status: Option<SnsPolicyObservationStatus>,
pub after_policy_status: Option<SnsPolicyObservationStatus>,
pub allocation_status: SnsRewardAllocationStatus,
pub invalid_reasons: Vec<SnsRewardDiffInvalidReason>,
pub rows: Vec<SnsRewardDiffRow>,
pub checkpoint_content_authenticated: bool,
}Expand description
SnsRewardDiffReport
Pure local reconciliation of two untrusted SNS reward checkpoints.
Fields§
§schema_version: u32Reward-diff report schema version.
before: SnsRewardDiffCheckpointRefEarlier checkpoint identity and event position.
after: SnsRewardDiffCheckpointRefLater checkpoint identity and event position.
aggregate_before_combined_maturity_e8s_equivalent: Option<u64>Recomputed earlier aggregate combined maturity when representable.
aggregate_after_combined_maturity_e8s_equivalent: Option<u64>Recomputed later aggregate combined maturity when representable.
aggregate_maturity_delta_e8s_equivalent: Option<i128>Raw signed later-minus-earlier aggregate maturity delta when representable.
summed_neuron_maturity_delta_e8s_equivalent: Option<i128>Checked sum of every joined raw signed neuron delta when representable.
distributed_e8s_equivalent: u64Native distributed value against which both delta paths reconcile.
aggregate_reconciled: boolWhether aggregate before/after maturity exactly matches the native distribution.
per_neuron_reconciled: boolWhether the sum of joined neuron deltas exactly matches the native distribution.
before_policy_status: Option<SnsPolicyObservationStatus>Recomputed earlier global maturity-conversion policy status when available.
after_policy_status: Option<SnsPolicyObservationStatus>Recomputed later global maturity-conversion policy status when available.
allocation_status: SnsRewardAllocationStatusTyped allocation outcome.
invalid_reasons: Vec<SnsRewardDiffInvalidReason>Every failed comparison and reconciliation invariant.
rows: Vec<SnsRewardDiffRow>Canonically neuron-id-ordered joined rows.
checkpoint_content_authenticated: boolAlways false because local JSON evidence has no content-authenticity proof.
Trait Implementations§
Source§impl Clone for SnsRewardDiffReport
impl Clone for SnsRewardDiffReport
Source§fn clone(&self) -> SnsRewardDiffReport
fn clone(&self) -> SnsRewardDiffReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more