lockDuration()
This function is in the PendingWithdrawals.sol contract.
Last updated
This function is in the PendingWithdrawals.sol contract.
Last updated
This function is used to get the length of the cooldown period for withdrawals.
Once a withdrawal has been initiated, the cooldown period begins. The length of the cooldown period can be acquired by calling this function.
The initial length of the lock duration is 604800 seconds, equal to 7 days. However, this can be adjusted by a vote from the DAO.
This function returns the length of the withdrawal cooldown period, in seconds.
Variable Type | Returns |
---|---|
uint32
The number returned represents the cooldown period, in seconds, for withdrawals.
For example:
604800 uint32