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.
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 |
This event can be used to:
- Monitor changes in the withdrawal cooldown period
This event is triggered by the following functions:
- setLockDuration()
Last modified 1yr ago