IDelayedWithdrawalRouter
Last updated
Last updated
Creates an delayed withdrawal for msg.value
to the recipient
.
Only callable by the podOwner
's EigenPod contract.
Called in order to withdraw delayed withdrawals made to the recipient
that have passed the withdrawalDelayBlocks
period.
Parameters
Name | Type | Description |
---|---|---|
Called in order to withdraw delayed withdrawals made to the caller that have passed the withdrawalDelayBlocks
period.
Parameters
Owner-only function for modifying the value of the withdrawalDelayBlocks
variable.
Getter function for the mapping _userWithdrawals
Getter function to get all delayedWithdrawals of the user
Getter function to get all delayedWithdrawals that are currently claimable by the user
Getter function for fetching the delayedWithdrawal at the index
th entry from the _userWithdrawals[user].delayedWithdrawals
array
Getter function for fetching the length of the delayedWithdrawals array of a specific user
Convenience function for checking whether or not the delayedWithdrawal at the index
th entry from the _userWithdrawals[user].delayedWithdrawals
array is currently claimable
Delay enforced by this contract for completing any delayedWithdrawal. Measured in blocks, and adjustable by this contract's owner, up to a maximum of MAX_WITHDRAWAL_DELAY_BLOCKS
. Minimum value is 0 (i.e. no delay enforced).
event for delayedWithdrawal creation
event for the claiming of delayedWithdrawals
Emitted when the withdrawalDelayBlocks
variable is modified from previousValue
to newValue
.
struct used to pack data into a single storage slot
struct used to store a single users delayedWithdrawal data
Name | Type | Description |
---|---|---|
recipient
address
The address to claim delayedWithdrawals for.
maxNumberOfWithdrawalsToClaim
uint256
Used to limit the maximum number of withdrawals to loop through claiming.
maxNumberOfWithdrawalsToClaim
uint256
Used to limit the maximum number of withdrawals to loop through claiming.