Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2021/06/30 12:00 a.m.10 views

Logic error in fee subtraction

Handle 0xsanson Vulnerability details Impact In LibBalances.applyTrade we need to collect a fee from the trade. The current code however subtracts a fee from the short position and adds it to the long. The correct implementation is to subtract a fee to both see TracerPerpetualSwaps.solL272. This...

7AI score
SaveExploits0
Rows per page
Query Builder