From ebec3ca237ba239ffb9cf7fa35ac455fd144de60 Mon Sep 17 00:00:00 2001 From: Hardhat Chad <155858888+HardhatChad@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:04:47 -0600 Subject: [PATCH] reduce supply cap to 5m (#107) --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- api/src/consts.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 23859b8..b74ee41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1321,7 +1321,7 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "ore-api" -version = "2.6.0" +version = "2.7.0" dependencies = [ "array-const-fn-init", "bytemuck", @@ -1357,7 +1357,7 @@ dependencies = [ [[package]] name = "ore-program" -version = "2.6.0" +version = "2.7.0" dependencies = [ "drillx", "mpl-token-metadata", diff --git a/Cargo.toml b/Cargo.toml index a0ef435..dd48f32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["api", "program"] [workspace.package] -version = "2.6.0" +version = "2.7.0" edition = "2021" license = "Apache-2.0" homepage = "https://ore.supply" diff --git a/api/src/consts.rs b/api/src/consts.rs index 2727767..3e93051 100644 --- a/api/src/consts.rs +++ b/api/src/consts.rs @@ -39,8 +39,8 @@ pub const EPOCH_MINUTES: i64 = 5; /// The duration of a program epoch, in seconds. pub const EPOCH_DURATION: i64 = ONE_MINUTE * EPOCH_MINUTES; -/// The maximum token supply (21 million). -pub const MAX_SUPPLY: u64 = ONE_ORE * 21_000_000; +/// The maximum token supply (5 million). +pub const MAX_SUPPLY: u64 = ONE_ORE * 5_000_000; /// The target quantity of ORE to be mined per epoch. pub const TARGET_EPOCH_REWARDS: u64 = ONE_ORE * EPOCH_MINUTES as u64;