Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/08/04 12:0 a.m.14 views

Calc token amount can be manipulated

Lines of code Vulnerability details Impact function calcDepositInOneCoin uint2563 memory arr private view returns uint256 return liquidityPool.calctokenamountarr, true; This function is being used to calculate slippage, return value calctokenamount can be manipulated as described in POC section,...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2021/11/10 12:0 a.m.9 views

Get virtual price is not monotonically increasing

Handle jonah1005 Vulnerability details Impact There's a feature of virtualPrice that is monotonically increasing regardless of the market. This function is heavily used in multiple protocols. e.g.curve metapool, mim, ... This is not held in the current implementation of customSwap since...

6.8AI score
SaveExploits0
Rows per page
Query Builder