sns_records/
lib.rs

1use bonfida_utils::declare_id_with_central_state;
2
3#[doc(hidden)]
4pub mod entrypoint;
5#[doc(hidden)]
6pub mod error;
7/// Program instructions and their CPI-compatible bindings
8pub mod instruction;
9/// Describes the different data structres that the program uses to encode state
10pub mod state;
11
12pub mod utils;
13
14#[doc(hidden)]
15pub(crate) mod processor;
16
17#[allow(missing_docs)]
18pub mod cpi;
19
20#[cfg(not(feature = "devnet"))]
21declare_id_with_central_state!("HP3D4D1ZCmohQGFVms2SS4LCANgJyksBf5s1F77FuFjZ");
22
23#[cfg(feature = "devnet")]
24declare_id_with_central_state!("Ga872GkshNeNMDag7m1Bn54dN3NiHksfqnN2pH6A1H9F");
25
26#[cfg(not(feature = "no-entrypoint"))]
27solana_security_txt::security_txt! {
28    name: env!("CARGO_PKG_NAME"),
29    project_url: "https://sns.id",
30    contacts: "email:contact@sns.id,link:https://twitter.com/sns",
31    policy: "https://immunefi.com/bounty/sns",
32    preferred_languages: "en"
33}