Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/10/06 12:00 a.m.10 views

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
Rows per page
Query Builder