Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2021/07/28 12:00 a.m.10 views

Payout.deduction computation uses wrong decimals

Handle cmichel Vulnerability details The doSherX function computes the burned SherX tokens deduction as: // excludeUsd = amountsi.mulsx.tokenUSDtokensi deduction = excludeUsd.divcurTotalUsdPool.divSherXERC20Storage.sx20.totalSupply.div10e17; This seems to only work if tokensi has 18 decimals, as...

6.8AI score
SaveExploits0
Rows per page
Query Builder