Withdrawal Flow
Last updated
Last updated
The RestakeManager contract is sent collateral every hour in any of three ways:
Rewards from ETH validators and EigenLayer are automatically sent to the RestakeManager contract.
New user deposits are sent to the RestakeManager contract.
Any collateral obtained by exiting validators from the beacon chain and withdrawing from EigenLayer is sent to the RestakeManager contract. This can take up to 10 days (see “Exiting the Ethereum Beacon Chain” and “Exiting EigenLayer”).
Every hour, the RestakeManager contract works in one of two ways:
If the current WithdrawQueue buffer capacity is less than the target buffer capacity, collateral is sent from the RestakeManager contract to WithdrawQueue to ensure more collateral is available.
If the current WithdrawQueue buffer capacity is greater than target buffer capacity, collateral is sent from the RestakeManager contract to DepositQueue and deposited back into EigenLayer.