Lucene search
+L

4 matches found

Code423n4
Code423n4
•added 2022/04/20 12:00 a.m.•14 views

Reliance on ERC20Upgradable.decimals() will always return 18 despite actual token decimals

Lines of code Vulnerability details Impact A call to ERC20UpgradeabletokenIn.decimals is used in the getAmountOut function of KnightingRound.sol to determine how much citadel to provide to the user for the given amount of tokenIn. The issue with using ERC20Upgradeable.decimals is that it always...

6.8AI score
SaveExploits0
Rows per page
Query Builder