users with the allocator_role can update the funds using the allocatefunds() function. however, since the existing allocated amount is unknown and is replaced by a new value, there is a possibility of mistakes or malicious manipulation
the allocatefunds() function does not update the existing fund amount by adding (+=), but simply overwrites it with =. if a user with fund update privileges makes a mistake, the existing funds could be overwritten
can easily cause the funds to be manipulated
code review
additionally, verification logic must be added.
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.