The withdrawEgg
function clears the depositor before calling transferFrom
.
In the current implementation, the contract deletes the eggDepositors[tokenId]
) **before **calling the external eggNFT.transferFrom()
. This could lead to a state where the egg is not transferred but the tracking is already deleted.
User can't withdraw their egg from the vault.
Manual review
Delete after calling transferFrom.
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.