diff --git a/src/consts.rs b/src/consts.rs index e1fc286..6fad3c4 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -12,10 +12,10 @@ pub const INITIAL_ADMIN: Pubkey = pubkey!("HBUh9g46wk2X89CvaNN15UmsznP59rh6od1h8 pub const TOLERANCE: i64 = 5; /// The minimum difficulty required of all submitted hashes. -pub const MIN_DIFFICULTY: u32 = 8; // 12; +pub const MIN_DIFFICULTY: u32 = 8; -/// The decimal precision of the Ore token. -/// There are 100 billion indivisible units per Ore (called "grains"). +/// The decimal precision of the ORE token. +/// There are 100 billion indivisible units per ORE (called "grains"). pub const TOKEN_DECIMALS: u8 = 11; /// The decimal precision of the Ore v1 token. @@ -33,21 +33,21 @@ pub const ONE_DAY: i64 = 86400; /// The duration of one year, in minutes. pub const ONE_YEAR: u64 = 525600; -/// The number of minutes in an Ore epoch. +/// The number of minutes in an ORE epoch. pub const EPOCH_MINUTES: i64 = 1; -/// The duration of an Ore epoch, in seconds. +/// The duration of a program epoch, in seconds. pub const EPOCH_DURATION: i64 = ONE_MINUTE.saturating_mul(EPOCH_MINUTES); -/// The maximum token supply (42 million). -pub const MAX_SUPPLY: u64 = ONE_ORE.saturating_mul(42_000_000); +/// The maximum token supply (21 million). +pub const MAX_SUPPLY: u64 = ONE_ORE.saturating_mul(21_000_000); /// The target quantity of ORE to be mined per epoch. pub const TARGET_EPOCH_REWARDS: u64 = ONE_ORE.saturating_mul(EPOCH_MINUTES as u64); /// The maximum quantity of ORE that can be mined per epoch. -/// Inflation rate ≈ 1 ORE / min (min 0, max 5) -pub const MAX_EPOCH_REWARDS: u64 = TARGET_EPOCH_REWARDS.saturating_mul(5); +/// Inflation rate ≈ 1 ORE / min (min 0, max 8) +pub const MAX_EPOCH_REWARDS: u64 = TARGET_EPOCH_REWARDS.saturating_mul(BUS_COUNT as u64); /// The quantity of ORE each bus is allowed to issue per epoch. pub const BUS_EPOCH_REWARDS: u64 = MAX_EPOCH_REWARDS.saturating_div(BUS_COUNT as u64); @@ -88,7 +88,7 @@ pub const MINT_NOISE: [u8; 16] = [ ]; /// The name for token metadata. -pub const METADATA_NAME: &str = "Ore"; +pub const METADATA_NAME: &str = "ORE"; /// The ticker symbol for token metadata. pub const METADATA_SYMBOL: &str = "ORE";