The openBox function in the MysteryBox contract does not utilize the rewardPool for dynamic reward selection. Instead, it relies on hardcoded probabilities, which limits the flexibility and responsiveness of the reward system to changes in the rewardPool.
The function determines rewards based on fixed probabilities rather than dynamically selecting from the rewardPool. This approach ignores any changes made to the rewardPool, such as adding or removing rewards, making the reward system static.
The reward determination logic is based on static probabilities rather than dynamically using the rewardPool.
The system does not adapt to changes in the rewardPool, making it less responsive to updates or modifications.
Manual review
Use the rewardPool to dynamically select rewards based on its current state, allowing for a more flexible and responsive reward system.
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.