Skip to main content

ic_query/sns/report/model/reports/
params.rs

1//! Module: sns::report::model::reports::params
2//!
3//! Responsibility: SNS governance-parameters report DTO.
4//! Does not own: governance calls, parameter conversion, or rendering.
5//! Boundary: preserves resolved SNS identity with governance parameters.
6
7use super::governance::SnsGovernanceParameters;
8use serde::Serialize;
9
10///
11/// SnsParamsReport
12///
13/// Serializable report for one SNS governance parameter set.
14///
15
16#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
17pub struct SnsParamsReport {
18    pub schema_version: u32,
19    pub network: String,
20    pub sns_wasm_canister_id: String,
21    pub fetched_at: String,
22    pub source_endpoint: String,
23    pub fetched_by: String,
24    pub id: usize,
25    pub name: String,
26    pub root_canister_id: String,
27    pub governance_canister_id: String,
28    pub parameters: SnsGovernanceParameters,
29}