The protocol used unsafe transfer() function for collateral token.
PerpetualVault.sol#_transferToken() function is as follows.
In spite of legitimate user, some tokens may revert by unsafe transfer() function.
In this case, the depositor loses funds.
And L1173 is reverted, too.
Threfore, the keeper has to cancel flow in case of multi-step withdraw.
The depositor loses funds unexpectedly because of unsafe transfer() function in protocol.
And the keeper has to cancel flow in case of multi-step withdraw to recover protocol from unable flow.
Manual Review
Modify PerpetualVault.sol#_transferToken() function as follows.
There is no real proof, concrete root cause, specific impact, or enough details in those submissions. Examples include: "It could happen" without specifying when, "If this impossible case happens," "Unexpected behavior," etc. Make a Proof of Concept (PoC) using external functions and realistic parameters. Do not test only the internal function where you think you found something.
There is no real proof, concrete root cause, specific impact, or enough details in those submissions. Examples include: "It could happen" without specifying when, "If this impossible case happens," "Unexpected behavior," etc. Make a Proof of Concept (PoC) using external functions and realistic parameters. Do not test only the internal function where you think you found something.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.