Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/07/28 12:0 a.m.9 views

aprove and spend at same block may hard to execute by order

Lines of code Vulnerability details Impact aprove and spend at same block may hard to execute by order Proof of Concept approve: blockExpenditureblock.number = amount + spentThisBlock; spend: uint256 spentThisBlock = blockExpenditureblock.number; if amount + spentThisBlock limit revert...

7.2AI score
SaveExploits0
Code423n4
Code423n4
added 2022/03/09 12:0 a.m.13 views

Spend limit can be circumvented

Lines of code Vulnerability details Impact The spending limit is on a single message. One can circumvent it by splitting the transaction up into several messages. if config.spendlimit amount return ErrStdError::genericerr"Cannot spend more than spendlimit"; It does not seem like a useful spend...

6.8AI score
SaveExploits0
Rows per page
Query Builder