users can claim multiple rewards from the same pool with different amounts and and do the same to other pools
user can call claim
function multiple time get a big reward the first time due the fact that userData.pendingRewards
is updated to zero
and after this a user can still call claim
and they will sill get rewards but it will be a small contact amount for every call.
This function will not return zero after the first claim
call a user makes
loss of rewards for other users. drain multiple pool of rewards
manual
Add a boolean variable to check if a user has claimed rewards for a pool,or check if userData_.pendingRewards
is zero.
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.