isReadyForWithdrawal()
This function is in both PendingWithdrawals.sol and BancorNetworkInfo.sol.
Function isReadyForWithdrawal()
PendingWithdrawals.sol
This function indicates if a specific withdrawal has finished its cooldown period and is ready to be withdrawn.
This function can be called from either the PendingWithdrawals.sol or BancorNetworkInfo.sol contract.
Function Arguments
Name
Type
Description
id
uint256
This is the id of a pending withdrawal.
Return Variables
This function returns a boolean indicating if a specific withdrawal is ready to be withdrawn.
Variable Type
Returns
boolean
True: The pending withdrawal is ready to be withdrawn. False: The pending withdrawal has not yet completed its cooldown period.
Last updated