ic-query 0.59.0

Internet Computer query library for CloudEngine, NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Module: sns::report::text::proposals
//!
//! Responsibility: group SNS proposal text report renderers.
//! Does not own: proposal fetching, cache loading, report construction, or JSON output.
//! Boundary: renders proposal list, detail, refresh, and cache DTOs for humans.

mod detail;
mod list;
mod single;

pub use list::sns_proposals_report_text;
pub use single::sns_proposal_report_text;

pub(super) const SNS_PROPOSAL_DETAIL_TEXT_LIMIT: usize = 240;
pub(super) const SNS_PROPOSAL_TITLE_TEXT_LIMIT: usize = 96;