Platform: Code4rena
Start Date: 29/04/2022
Pot Size: $22,000 USDC
Total HM: 6
Participants: 40
Period: 3 days
Judge: Justin Goro
Total Solo HM: 2
Id: 114
League: ETH
Rank: 26/40
Findings: 1
Award: $65.54
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: IllIllI
Also found by: 0v3rf10w, 0x1f8b, 0x4non, 0xDjango, 0xf15ers, 0xkatana, 242, Dravee, GimelSec, MaratCerby, Tadashi, TrungOre, WatchPug, defsec, fatherOfBlocks, gzeon, hake, horsefacts, joestakey, miguelmtzinf, pauliax, pedroais, peritoflores, rotcivegaf, simon135, slywaters, tabish, throttle, z3s
65.5393 USDC - $65.54
Consider removing safeMath library.
return _supply == 0 ? _tokens : _tokens.mul(_supply).div(aToken.balanceOf(address(this)));
For:
return _supply == 0 ? _tokens : (_tokens *_supply) / aToken.balanceOf(address(this));
return _supply == 0 ? _shares : _shares.mul(aToken.balanceOf(address(this))).div(_supply);
For:
return _supply == 0 ? _shares : (_shares * aToken.balanceOf(address(this))) / _supply;
#0 - PierrickGT
2022-05-02T22:41:52Z
#1 - PierrickGT
2022-05-02T22:42:28Z
Detailed report by the warden, should get extra points.