Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/06/23 12:00 a.m.17 views

YearnV2YieldSource wrong subtraction in withdraw

Handle cmichel Vulnerability details YearnV2YieldSource.withdrawFromVault uses a wrong subtraction. When withdrawing from the vault one redeems yTokens for tokens, thus the token balance of the contract should increase after withdrawal. But the contract subtracts the currentBalance from the...

6.8AI score
SaveExploits0
Rows per page
Query Builder