long epochs

This commit is contained in:
Hardhat Chad
2024-05-04 13:59:14 +00:00
parent 06779be532
commit 28e24322dd
3 changed files with 15 additions and 7 deletions

View File

@@ -20,6 +20,9 @@ pub const ONE_ORE: u64 = 10u64.pow(TOKEN_DECIMALS as u32);
/// The duration of one minute, in seconds.
pub const ONE_MINUTE: i64 = 60;
/// The duration of an Ore epoch, in seconds.
pub const EPOCH_DURATION: i64 = ONE_MINUTE.saturating_mul(3);
/// The duration of two years, in minutes.
pub const TWO_YEARS: u64 = 60 * 24 * 365 * 2;