Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/08/01 12:0 a.m.15 views

removeDelegation acts on wrong token

Lines of code Vulnerability details Impact The function removeDelegationtokenId currently tries to remove tokenId from the list of tokens delegated to itself. The correct behavior would be to get which token tokenId is delegated to, and remove tokenId from the delegations to that token. Since...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2022/08/01 12:0 a.m.12 views

_writeCheckpoint not working correctly if oldCheckpoint.fromBlock == block.number

Lines of code Vulnerability details Impact function writeCheckpoint uint256 toTokenId, uint256 nCheckpoints, uint256 memory delegatedTokenIds internal requiredelegatedTokenIds.length 0 && oldCheckpoint.fromBlock == block.number oldCheckpoint.delegatedTokenIds = delegatedTokenIds; else...

6.9AI score
SaveExploits0
Rows per page
Query Builder