SEEDVALUE is a constant set to 0.1 ETH and is presumably meant to maintain a minimum box price. However, if the owner sets the box price to a small value below SEEDVALUE, then due to a require statement in the constructor users will no longer be able to purchase boxes.
Given SEEDVALUE is set as a constant at 0.1 ETH, buyBox will revert if the owner sets the box price below 0.1 ETH, such that users will not be able to buy any more boxes.
Add a check in setBoxPrice so that _price cannot be set below SEEDVALUE:
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.