There is a critical issue when tokenPerPoint
is less than 1 and is represented as a fractional value. This is the most common scenario.
tokenPerPoint
is uint256
which doesn't have decimal values. Due to this, the protocol assumes that there will be more than 1
token per point which is not a ideal scenario.
https://github.com/Cyfrin/2024-08-tadle/blob/main/src/core/SystemConfig.sol#L120-L140
Protocol won't be able to suppor many tokens.
Manual
tokenPerPoint
should be used with more decimals instead of 1
.
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.