sub_registrar/
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
12#[doc(hidden)]
13pub(crate) mod processor;
14
15#[allow(missing_docs)]
16pub mod cpi;
17
18#[allow(missing_docs)]
19pub mod utils;
20
21#[allow(missing_docs)]
22pub mod revoke_unchecked;
23
24#[cfg(not(feature = "devnet"))]
25declare_id_with_central_state!("2KkyPzjaAYaz2ojQZ9P3xYakLd96B5UH6a2isLaZ4Cgs");
26
27#[cfg(feature = "devnet")]
28declare_id_with_central_state!("31tT5CmpphAtRL3mstu962zeYH7C6TEkJWLB5nYxciBB");
29
30#[cfg(not(feature = "no-entrypoint"))]
31solana_security_txt::security_txt! {
32    name: env!("CARGO_PKG_NAME"),
33    project_url: "https://sns.id",
34    contacts: "email:contact@sns.id,link:https://twitter.com/sns",
35    policy: "https://immunefi.com/bounty/sns",
36    preferred_languages: "en"
37}