Skip to content

Commit

Permalink
added consts
Browse files Browse the repository at this point in the history
  • Loading branch information
coachchucksol committed Dec 17, 2024
1 parent 1eea24d commit 5b07914
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@ pub const DEFAULT_CONSENSUS_REACHED_SLOT: u64 = u64::MAX;
pub const MAX_REALLOC_BYTES: u64 = MAX_PERMITTED_DATA_INCREASE as u64; // TODO just use this?

pub const WEIGHT_PRECISION: u128 = 1_000_000_000;
pub const DEFAULT_LST_WEIGHT: u128 = 1;

pub const DEFAULT_REWARD_MULTIPLIER_BPS: u64 = 10_000;
pub const JITO_SOL_REWARD_MULTIPLIER_BPS: u64 = 20_000;
pub const JTO_MINT: Pubkey = pubkey!("jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL");
pub const JITO_SOL_MINT: Pubkey = pubkey!("J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn");

pub const MAX_STALE_SLOTS: u64 = 100;
pub const JTO_USD_FEED: Pubkey = pubkey!("5S7ErPSkFmyXuq2aE3rZ6ofwVyZpwzUt6w7m6kqekvMe");

0 comments on commit 5b07914

Please sign in to comment.