valid seeds

This commit is contained in:
Hardhat Chad
2025-07-15 18:51:38 -07:00
parent 3e30ebb87d
commit 9470c573f3
2 changed files with 5 additions and 1 deletions

View File

@@ -58,6 +58,9 @@ pub const MINT_ADDRESS: Pubkey = pubkey!("ESovLnpNMatjLDcStPtuZvidiufBdoyoEGr76o
pub const TREASURY_ADDRESS: Pubkey =
Pubkey::new_from_array(ed25519::derive_program_address(&[TREASURY], &PROGRAM_ID).0);
/// The address of the treasury account.
pub const TREASURY_BUMP: u8 = ed25519::derive_program_address(&[TREASURY], &PROGRAM_ID).1;
/// Denominator for protocol fee calculations.
pub const FEE_RATE_BPS: u64 = 100;