Rewards are set to whole numbers, but when sent to the contract, they are not properly accounted for due to decimal handling issues. Claimants receive the smallest units leaving money behind in the pot
Rewards are specified as whole numbers, but when transferred or received by the contract, they are incorrectly handled as the smallest units (e.g., wei) instead of the intended amounts.
This discrepancy occurs during both sending and receiving of rewards, leading to incorrect distribution and leftover funds.
Underpayment to Claimants: Claimants receive less than the intended amount due to improper conversion of reward units.
The issue leads to underpayment of rewards and leftover funds, which affects the accuracy of payouts.
Unit tests
Convert Rewards to Wei: When setting or transferring rewards, convert values to wei to ensure proper handling and storage.
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.