Lucene search
+L

1 matches found

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

There is a problem with price calculation using BaseV1Pair._getAmountOut.

Lines of code Vulnerability details Impact Currently, it calculates token price with the amount of decimals here and normalizes using 1e18 after that. There are some irregular tokens with small decimals and the token price might be calculated wrongly. Proof of Concept As we can see here, some...

6.9AI score
SaveExploits0
Rows per page
Query Builder