Skip to content

Commit

Permalink
Add staking constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrena-Corto committed Oct 30, 2024
1 parent 2217098 commit 7891b2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ use {
};

pub const MAX_RESOLVED_ROUNDS: usize = 32;
pub const ROUND_MIN_DURATION_HOURS: i64 = 6;
pub const ROUND_MIN_DURATION_SECONDS: i64 = ROUND_MIN_DURATION_HOURS * SECONDS_PER_HOURS;
pub const SECONDS_PER_MONTH: i64 = 30 * SECONDS_PER_HOURS * 24;
pub const MAX_ROUNDS_PER_MONTH: u64 = SECONDS_PER_MONTH as u64 / ROUND_MIN_DURATION_SECONDS as u64;s

pub const MAX_CUSTODIES: usize = 10;

Expand Down

0 comments on commit 7891b2e

Please sign in to comment.