ic-query 0.5.24

Internet Computer query library for NNS, SNS, ICRC, and related public network metadata
Documentation
//! Module: sns::report::model::reports
//!
//! Responsibility: group SNS report DTOs by report family.
//! Does not own: report construction, source fetching, cache IO, or rendering.
//! Boundary: re-exports serializable report models used by SNS output writers.

#[cfg(feature = "host")]
mod attempt;
mod governance;
mod list;
#[cfg(feature = "host")]
mod neurons;
mod params;
mod proposals;
mod token;

pub use governance::{
    SnsCustomProposalCriticality, SnsGovernanceParameters, SnsNeuronPermissionList,
    SnsVotingRewardsParameters,
};
pub use list::{SnsInfoReport, SnsListReport, SnsListRow};
#[cfg(feature = "host")]
pub use neurons::{
    SnsNeuronRow, SnsNeuronsCacheListReport, SnsNeuronsCacheStatusReport, SnsNeuronsCacheSummary,
    SnsNeuronsRefreshAttemptStatus, SnsNeuronsRefreshReport, SnsNeuronsReport,
};
pub use params::SnsParamsReport;
#[cfg(feature = "host")]
pub(in crate::sns::report) use proposals::{
    SNS_PROPOSAL_DECISION_DECIDED, SNS_PROPOSAL_DECISION_EXECUTED, SNS_PROPOSAL_DECISION_FAILED,
    SNS_PROPOSAL_DECISION_OPEN,
};
pub use proposals::{
    SnsProposalBallotRow, SnsProposalFailureReason, SnsProposalReport, SnsProposalRow,
    SnsProposalTally, SnsProposalsReport,
};
#[cfg(feature = "host")]
pub use proposals::{
    SnsProposalsCacheListReport, SnsProposalsCacheStatusReport, SnsProposalsCacheSummary,
    SnsProposalsRefreshAttemptStatus, SnsProposalsRefreshReport,
};
pub use token::{SnsTokenMetadataRow, SnsTokenReport, SnsTokenStandardRow};