EmergencyQueue
Last updated
Last updated
Forms
may be put in a paused status by the EmergencyAdmin
. This stops all deposits from being processed, but withdrawals (users burning SuperPositions) are then put into an EmergencyQueue
. This contract serves to handle those withdrawal requests.
Broadly, withdrawals are queued when Forms
are paused, and can then be executed by the EmergencyAdmin
.
queueWithdrawal
This function is intended to be called by Forms
that are currently paused, allowing them to queue up withdrawal requests for exit. It handles the initialization of the withdrawal process.
data_
This function is designed to be used by an EmergencyAdmin
. It processes a single withdrawal that has been previously queued.
id_
uint256 id of the withdrawal to process