LockDurationUpdated()
event LockDurationUpdated()
event LockDurationUpdated(
uint32 prevLockDuration,
uint32 newLockDuration
);Parameter Name
Type
Description
Uses
Triggered By
Last updated
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().
prevLockDuration
uint32
The previous duration of the cooldown period, in seconds
newLockDuration
uint32
The new duration of the cooldown period, in seconds
This event can be used to:
Monitor changes in the withdrawal cooldown period
This event is triggered by the following functions:
setLockDuration()
Last updated
