Skip to content

Commit

Permalink
T
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Dec 2, 2024
1 parent 6633654 commit 696b354
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/accounts/Timelock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ contract Timelock is ERC7821, EnumerableRoles {
/// Bits layout:
/// - [0] `initialized`.
/// - [1..254] `minDelay`.
/// The location of the `operationState[id]` is given by:
/// `xor(shl(72, id), _TIMELOCK_SLOT)`.
/// Slot of operation `id` is given by: `xor(shl(72, id), _TIMELOCK_SLOT)`.
/// Bits layout:
/// - [0] `done`.
/// - [1..254] `readyTimestamp`.
uint256 private constant _TIMELOCK_SLOT = 0x477f2812565c76a73f;

/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
Expand Down

0 comments on commit 696b354

Please sign in to comment.