eore-boost-api 4.0.1

API for interacting with the eORE boost program
Documentation
use solana_program::{pubkey, pubkey::Pubkey};

/// The authority allowed to initialize the program.
pub const INITIALIZER_ADDRESS: Pubkey = pubkey!("eoaGwvSseG7WdUUDqvbiMqAuKQqTznBhz6WBCyZoj3u");

/// The seed of the boost PDA.
pub const BOOST: &[u8] = b"boost";

/// The seed of the config PDA.
pub const CONFIG: &[u8] = b"config";

/// The seed of the stake PDA.
pub const STAKE: &[u8] = b"stake";

/// Denominator for basis point calculations.
pub const DENOMINATOR_BPS: u64 = 10_000;

/// The duration of a boost rotation in seconds.
pub const ROTATION_DURATION: i64 = 90;