claim rate limiter

This commit is contained in:
Hardhat Chad
2024-05-12 19:28:43 +00:00
parent b264a5a5b1
commit ba6d746c50
5 changed files with 63 additions and 10 deletions

View File

@@ -21,6 +21,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 one day, in seconds.
pub const ONE_DAY: i64 = 86400;
/// The number of minutes in an Ore epoch.
pub const EPOCH_MINUTES: i64 = 5;