ore_boost_api/consts.rs
1use solana_program::{pubkey, pubkey::Pubkey};
2
3/// The authority allowed to initialize the program.
4pub const INITIALIZER_ADDRESS: Pubkey = pubkey!("HBUh9g46wk2X89CvaNN15UmsznP59rh6od1h8JwYAopk");
5
6/// The seed of the boost PDA.
7pub const BOOST: &[u8] = b"boost";
8
9/// The seed of the config PDA.
10pub const CONFIG: &[u8] = b"config";
11
12/// The seed of the stake PDA.
13pub const STAKE: &[u8] = b"stake";
14
15/// Denominator for basis point calculations.
16pub const DENOMINATOR_BPS: u64 = 10_000;
17
18/// The duration of a boost rotation in seconds.
19pub const ROTATION_DURATION: i64 = 90;