Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/03/31 12:0 a.m.14 views

cooldown is set to 0 when the user sends all tokens to himself.

Lines of code Vulnerability details Impact In the beforeTokenTransfer function, cooldowns will be set to 0 when the user transfers all tokens to himself. Consider the following scenario Day 0: The user stakes 100 tokens and calls the cooldown function Day 10: the user wanted to unstake the tokens...

6.7AI score
SaveExploits0
Rows per page
Query Builder