Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/04/13 12:00 a.m.9 views

PrivatePool.change does not work with token with less than 4 decimals

Lines of code Vulnerability details PrivatePool.change does a call to changeFeeQuote to calculate the fee amount. It computes an exponent as ERC20baseToken.decimals - 4 File: src/PrivatePool.sol 731: function changeFeeQuoteuint256 inputAmount public view returns uint256 feeAmount, uint256...

6.8AI score
SaveExploits0
Rows per page
Query Builder