1 matches found
Liquidity providers may recieve wrong rewards due to loss of precision in the calculation of currWeek and nextWeek.
Lines of code Vulnerability details Throughout LiquidityMining.sol the values for currWeek and nextWeek are generated using the lastAccrued timestamp embedded in a local variable time. currWeek is determined by uint32 currWeek = uint32time / WEEK WEEK; And nextWeek is calculated by uint32 nextWee...
6.8AI score
SaveExploits0
20