Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/02/16 12:0 a.m.12 views

sellMalt has a calculation error that can lead to excessive profits

Lines of code Vulnerability details Impact SwingTraderManager.sellMalt will call SwingTrader.sellMalt to sell the Malt purchased earlier and give the profit to profitDistributor to distribute. uint256 basis, = costBasis; if maxAmount totalMaltBalance maxAmount = totalMaltBalance;...

6.7AI score
SaveExploits0
Rows per page
Query Builder