Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/12/12 12:00 a.m.10 views

Use wrong reserve values in Pool.addLiquidity()

Lines of code Vulnerability details Impact When doing Pool.addLiquidity, it would call bin.addLiquidity to add liquidity to the bins. And the calculation in bin.addLiquidity should be based on the amount of new tokens and the bin’s existing reserves. However, Pool.addLiquidity uses temp.deltaA an...

6.8AI score
SaveExploits0
Rows per page
Query Builder