Search…
About Bancor Network
Bancor V3
Bancor Basics
Resources for DAOs
Security & Audits
Contracts & Functions
Contracts
Write Functions
Read Functions
Rewards
Liquidity Pool Details
Trades
Withdrawals
isReadyForWithdrawal()
withdrawalRequest()
withdrawalAmounts()
withdrawalRequestIds()
withdrawalRequestCount()
lockDuration()
Pool Token Information
Vortex
Data & Events
Developer Guides
Bancor Vortex Burner
Bancor Etherscan Guide
REST API
Marketing
Brand Guide
Powered By
GitBook
lockDuration()
This function is in the PendingWithdrawals.sol contract.
Function lockDuration()
PendingWithdrawals.sol
1
function
lockDuration
()
external view
returns
(
uint32
)
Copied!
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.
Return Variables
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
Previous
withdrawalRequestCount()
Next
Pool Token Information
Last modified
19d ago
Copy link
Contents
Function lockDuration()
Return Variables