Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/03/31 12:00 a.m.13 views

LenderPool.terminate mix calculation between shares and tokens, resulting in incorrect amount of shares to be withdrawn from savings account

Lines of code Vulnerability details Impact While calculating the amount of shares to withdraw in LenderPool.terminate, principalWithdrawable which is amount of tokens is added to totalInterestInShares, and then passed to SAVINGSACCOUNT.withdrawShares. If tokens : shares are not 1 : 1, which is th...

7AI score
SaveExploits0
Rows per page
Query Builder