Lucene search
+L

1 matches found

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

LBRouter's swapAVAXForExactTokens is unavailable when any extra AVAX funds supplied

swapAVAXForExactTokens logic includes transferring out the excess amount of the native funds supplied by a caller. However, amountsIn0 - msg.value amount that swapAVAXForExactTokens calculates for transfer out is negative. The reason is the inverted amount calculation, i.e. according to the logic...

6.5AI score
SaveExploits0
Rows per page
Query Builder