ic-query 0.1.21

Internet Computer query CLI for NNS, SNS, and related public network metadata
Documentation
mod attempt;
mod collection;
mod errors;
mod model;
mod paths;
mod refresh;
mod reports;
mod storage;

#[cfg(test)]
pub(super) use paths::{
    sns_neurons_cache_path, sns_neurons_refresh_attempt_path, sns_neurons_refresh_lock_path,
};
pub use refresh::refresh_sns_neurons_cache;
#[cfg(test)]
pub(in crate::sns::report) use refresh::refresh_sns_neurons_cache_with_source;
pub(in crate::sns::report) use reports::build_sns_neurons_report_from_cache;
pub use reports::{build_sns_neurons_cache_list_report, build_sns_neurons_cache_status_report};

pub(super) const SNS_NEURONS_CACHE_SCHEMA_VERSION: u32 = 1;
pub(super) const SNS_NEURONS_CACHE_LIST_REPORT_SCHEMA_VERSION: u32 = 1;
pub(super) const SNS_NEURONS_CACHE_STATUS_REPORT_SCHEMA_VERSION: u32 = 1;
pub(super) const SNS_NEURONS_REFRESH_REPORT_SCHEMA_VERSION: u32 = 1;