The protocol documentation states: Winners will share the prize pool in proportion to their deposited amount.
This leads ordinary users to believe that after participating in the activity, if they correctly guess the winning team, they will receive a real reward (i.e., the funds they can withdraw will cover their initial investment and yield a surplus).
However, once the number of users who guessed correctly is greater than the number of users who guessed incorrectly, and the difference is sufficiently large, the funds distributed equally among the winners will decrease further, potentially reaching a point where they only match or even fall below the "original invested amount".
If all users guess correctly, it is inevitable that the funds withdrawn by the winners will not be able to cover their initial investment.
Likelihood:
Inevitable when all users guess correctly.
Impact:
This means that even if users predict correctly, they may still face a net loss, which severely violates users' reasonable expectation of "winning means profiting".
Significantly reduces user willingness to participate, undermining the core economic model of the protocol.
If a situation occurs where "all users guess correctly but still incur losses", users may perceive the protocol rules as deceptive or flawed, leading to a crisis of trust, and potentially triggering collective protests or legal disputes.
Add the following function in test/BriVaultTest.t.sol, then run forge test --mt test__alllUserIsWinner -vv
The console prints the following:
Add a mechanism to ensure that "as long as there are users who guess correctly, they will definitely receive a real reward".
For example, design a minimum reward threshold so that users who guess correctly are guaranteed a surplus.
This requires the protocol to provide a "reserve fund" to prevent such extreme scenarios, prioritizing the protection of user interests.
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.