Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/07/30 12:00 a.m.10 views

setYieldSource leads to temporary wrong results

Handle gpersoon Vulnerability details Impact The use of setYieldSource leaves the contract in a temporary inconsistent state because it changes the underlying yield source, but doesn't yet transfer the underlying balances, while the shares stay the same. The function balanceOfToken will show the...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2021/06/23 12:00 a.m.12 views

BadgerYieldSource balanceOfToken share calculation seems wrong

Handle cmichel Vulnerability details When suppling to the BadgerYieldSource, some amount of badger is deposited to badgerSett and one receives badgerSett share tokens in return which are stored in the balances mapping of the user. So far this is correct. The balanceOfToken function should then...

6.8AI score
SaveExploits0
Rows per page
Query Builder