Search…
⌃K

LockDurationUpdated()

event LockDurationUpdated()

This event is emitted when the cooldown period for withdrawals is updated.
event LockDurationUpdated(
uint32 prevLockDuration,
uint32 newLockDuration
);
The cooldown period (lock duration), is specified in seconds. Initially, the lock duration is set to 604800, equal to 1 week, however, this can be changed by a DAO vote.
To query the current lock duration, see lockDuration().
Parameter Name
Type
Description
prevLockDuration
uint32
The previous duration of the cooldown period, in seconds
newLockDuration
uint32
The new duration of the cooldown period, in seconds

Uses

This event can be used to:
  • Monitor changes in the withdrawal cooldown period

Triggered By

This event is triggered by the following functions:
  • setLockDuration()