Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/11/12 12:00 a.m.10 views

TributeAccrual.availableTribute() & TributeAccrual.availableGovernanceTribute() Distributes Tributes Unfairly

Handle leastwood Vulnerability details Impact Conviction scores are calculating by taking the user's balance and multiplying it by the time elapsed. This score is updated upon each token transfer, or alternatively by directly calling ERC20ConvictionScore.updateConvictionScore. The availableTribut...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2021/05/26 12:00 a.m.12 views

TributeAccrual missing out-of-bounds checks

Handle cmichel Vulnerability details Vulnerability Details The addTribute and addGovernanceTribute functions underflow when there are no tributes: Tribute storage lastTribute = tributestotalTributes - 1 = tributes-1; // underflow Impact It's bad practice and the iteration with the offset in...

7.1AI score
SaveExploits0
Rows per page
Query Builder