Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/01/20 12:00 a.m.9 views

Function stake() and unstake() doesn't have correct rounding, they both round up when calculating caller funds and stakers lose funds slowly and contract rewards acting users

Lines of code Vulnerability details Impact Functions stake and unstake in StRSR contract is used for depositing RSR tokens and withdrawing them. but calculations in those functions is always rewarding caller as it rounds up when calculating caller amount. This can give attacker opportunity to sta...

6.7AI score
SaveExploits0
Rows per page
Query Builder