The MysteryBox::buyBox() function requires an exact amount of ETH to be sent when purchasing a box, making the transaction strict and possibly inconvenient for users.
Users who overpay will face transaction failures, causing a poor user experience.
Visual Studio Code
Solidity
Foundry
Allow users to send more ETH and refund any excess.
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.