User account is skimmed off shares on closing of bid.
uint88 shares = eth * (timeTillMatch / 1 days);
POC
User bid is matched at Epoch 1695556800
The first method is the method as used in the protocol, and the second method is as what is meant to be, then we calculate the difference from the first and second to see how much the user would have gotten if calculated properly.
timeTillMatch / 1 days
1695556800 / 86400
19624 * 1e18 = 1.9624e+22
timeTillMatch * 1e18
1695556800 * 1e18
1.6955568e+27 / 1 days = 1.96245e+22
Method two - Method one
1.96245e+22 - 1.9624e+22 = 500000000000917500;
500000000000917500 / 1e18
diff = 0.5000000000009175
User shares is wrongly reduced at closing of match.
Manual
uint shares = (timeTillMatch * eth) / 1 days ;
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.