Lucene search
+L

1 matches found

Code423n4
Code423n4
•added 2022/12/19 12:00 a.m.•12 views

Surplus token after adding liquidity is not refunded to liquidity providers. LP might suffer front-running attack and lose funds.

Lines of code Vulnerability details Impact Function Pair.add receives base token and fractional token from liquidity providers and mint equivalent amount of LP token for them. The amount of LP token be minted is calculate in function addQuote function addQuoteuint256 baseTokenAmount, uint256...

6.7AI score
SaveExploits0
Rows per page
Query Builder