Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/01/27 12:00 a.m.18 views

Malicious lender can create pool imbalance by tricking V2 pool into accepting disproportionately large number of long tokens in exchange for short tokens

Lines of code Vulnerability details Impact Timeswap V2 Pool works on constant product AMM where the total long tokens & short tokens follow the equation total long total short = L. Any increase in short tokens caused by lenders has to be accompanied with a proportionate drop in long tokens to kee...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2023/01/27 12:00 a.m.10 views

sqrtDiscriminant can be calculated wrong

Lines of code Vulnerability details Impact Due to the wrong calculation of short and long tokens during the leverage and deleverage process, the users can suffer financial loss while the protocol will lose fees Proof of Concept The protocol uses leverage function to deposit short tokens and recei...

6.6AI score
SaveExploits0
Rows per page
Query Builder