spl_governance/lib.rs
1#![allow(clippy::arithmetic_side_effects)]
2#![deny(missing_docs)]
3//! A Governance program for the Solana blockchain.
4
5pub mod addins;
6pub mod entrypoint;
7pub mod error;
8pub mod instruction;
9pub mod processor;
10pub mod state;
11pub mod tools;
12
13// Export current sdk types for downstream users building with a different sdk
14// version
15pub use solana_program;
16
17/// Seed prefix for Governance PDAs
18/// Note: This prefix is used for the initial set of PDAs and shouldn't be used
19/// for any new accounts All new PDAs should use a unique prefix to guarantee
20/// uniqueness for each account
21pub const PROGRAM_AUTHORITY_SEED: &[u8] = b"governance";