Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/06/16 12:0 a.m.11 views

fund lose because of the direct funds transfer to vault address and cause big balance() to totalSupply() ratio and cause big division error in _mintSharesFor() (this is in previous contest scope)

Lines of code Vulnerability details Impact Attacker can cause balance / totalSupply ratio to go as high as he want and then because of rounding error in mintSharesFor lower amount of share would be mint for users. if totalSupply is 0 attacker can directly transfer tokens to contract address and...

6.7AI score
SaveExploits0
Rows per page
Query Builder