Skip to main content

SlashingWindowStorage

Git Source

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

NameTypeDescription
_slashingWindowuint48The duration of the slashing window in seconds

_SLASHING_WINDOW

function _SLASHING_WINDOW() internal view returns (uint48) 

Returns the slashing window duration

Returns

NameTypeDescription
uint48slashingWindow The duration of the slashing window in seconds