Function: unrequestWithdrawal(uint256 shares)
This can be called only before closePosition
because after close position, the deployId
will be increased.
Inputs
shares
Constraints: The shares cannot be more than the shares from
withdrawQueue[msg.sender]
.Impact: The amount of shares for withdrawal.
Branches and code coverage (including function calls)
Intended branches
The withdrawal is performed properly.
Negative behavior
The current
deployId != withdrawQueue[msg.sender].queue[length - 1].deploymentId
.Shares >
item.shares
.