SlashingWindowStorage
SlashingWindowStorage
Storage contract for managing the slashing window duration
Uses a single storage slot to store the slashing window duration value
Methods
__SlashingWindowStorage_init_private
function __SlashingWindowStorage_init_private(
uint48 _slashingWindow
) internal onlyInitializing
Initializes the SlashingWindowStorage contract
Parameters
Name | Type | Description |
---|---|---|
_slashingWindow | uint48 | The duration of the slashing window in seconds |
_SLASHING_WINDOW
function _SLASHING_WINDOW() internal view returns (uint48)
Returns the slashing window duration
Returns
Name | Type | Description |
---|---|---|
uint48 | slashingWindow The duration of the slashing window in seconds |