Platform: Code4rena
Start Date: 12/08/2022
Pot Size: $35,000 USDC
Total HM: 10
Participants: 126
Period: 3 days
Judge: Justin Goro
Total Solo HM: 3
Id: 154
League: ETH
Rank: 60/126
Findings: 2
Award: $45.06
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: oyc_109
Also found by: 0x1f8b, 0x52, 0xDjango, 0xLovesleep, 0xNazgul, 0xNineDec, 0xbepresent, 0xmatt, 0xsolstars, Aymen0909, Bahurum, Bnke0x0, CertoraInc, Chom, CodingNameKiki, DecorativePineapple, Deivitto, Dravee, ElKu, Funen, GalloDaSballo, IllIllI, JC, JohnSmith, Junnon, KIntern_NA, Lambda, LeoS, MiloTruck, Noah3o6, PaludoX0, RedOneN, Respx, ReyAdmirado, Rohan16, RoiEvenHaim, Rolezn, Ruhum, Sm4rty, TomJ, Vexjon, Waze, Yiko, __141345__, a12jmx, ajtra, ak1, apostle0x01, asutorufos, auditor0517, bin2chen, bobirichman, brgltd, bulej93, byndooa, c3phas, cRat1st0s, cryptphi, csanuragjain, d3e4, defsec, delfin454000, djxploit, durianSausage, ellahi, erictee, exd0tpy, fatherOfBlocks, gogo, jonatascm, ladboy233, medikko, mics, natzuu, neumo, p_crypt0, paribus, pfapostol, rbserver, reassor, ret2basic, robee, rokinot, rvierdiiev, sach1r0, saneryee, seyni, sikorico, simon135, sseefried, wagmi, wastewa
29.8918 USDC - $29.89
Public functions can be updated to external: https://github.com/kargakis/2022-08-fiatdao/commit/07b59992837420544816f74f89ab4a6191bd9432
🌟 Selected for report: IllIllI
Also found by: 0x040, 0x1f8b, 0xDjango, 0xHarry, 0xLovesleep, 0xNazgul, 0xNineDec, 0xSmartContract, 0xackermann, 0xbepresent, 2997ms, Amithuddar, Aymen0909, Bnke0x0, CRYP70, CertoraInc, Chom, CodingNameKiki, Deivitto, Dravee, ElKu, Fitraldys, Funen, GalloDaSballo, JC, JohnSmith, Junnon, LeoS, Metatron, MiloTruck, Noah3o6, NoamYakov, PaludoX0, RedOneN, Respx, ReyAdmirado, Rohan16, Rolezn, Ruhum, Sm4rty, SooYa, SpaceCake, TomJ, Tomio, Waze, Yiko, __141345__, a12jmx, ajtra, ak1, apostle0x01, asutorufos, bobirichman, brgltd, bulej93, c3phas, cRat1st0s, carlitox477, chrisdior4, csanuragjain, d3e4, defsec, delfin454000, djxploit, durianSausage, ellahi, erictee, fatherOfBlocks, gerdusx, gogo, ignacio, jag, ladboy233, m_Rassska, medikko, mics, natzuu, newfork01, oyc_109, paribus, pfapostol, rbserver, reassor, ret2basic, robee, rokinot, rvierdiiev, sach1r0, saian, sashik_eth, sikorico, simon135
15.1721 USDC - $15.17
lastPoint
from _supplyAt
, epoch_
from totalSupply
, and avoid reading whole point in totalSupplyAt
(redundant memory copies): https://github.com/kargakis/2022-08-fiatdao/commit/ebf5a88c09c976eb1e37670cf2679fea95e594d4_floorToWeek
function body can be unchecked
as it is not possible to overflow: https://github.com/kargakis/2022-08-fiatdao/commit/788e4209797f1a0e3985fcec1e921aea2ab73e87collectPenalty
: https://github.com/kargakis/2022-08-fiatdao/commit/ee9310e473b39d6e262286db30385806cd1e9e7etoken
storage variable in VotingEscrow
contract can be immutable
: https://github.com/kargakis/2022-08-fiatdao/commit/12e34838e7df93e53edc8b83041e642696bd231d_checkpoint
: https://github.com/kargakis/2022-08-fiatdao/commit/a88f6e7473f1fd5b619651017838c46e539d7ae4_calculatePenaltyRate
function body can be unchecked
as it is not possible to overflow: https://github.com/kargakis/2022-08-fiatdao/commit/bd187510d67abbf8dd54d242073b5956650f5925manager
and ve
storage variables can be immutable
: https://github.com/kargakis/2022-08-fiatdao/commit/73e291ed604ad875f9832a547b08750112961a17_checkpoint
: https://github.com/kargakis/2022-08-fiatdao/commit/9c970d2e3b3c9374429a3efa0ab177e6d1d79516blockSlope
in _checkpoint
cannot overflow: https://github.com/kargakis/2022-08-fiatdao/commit/afb7236771d52f64d4245b5cf7ea342bbf526d80increaseAmount
: https://github.com/kargakis/2022-08-fiatdao/commit/8ae81a7e024b03e56cfc61f3362a4c5671e5c03aVotingEscrow
cannot overflow: https://github.com/kargakis/2022-08-fiatdao/commit/b4a17ece9b6ca0ad1d19b19adc91e088163c48f4#0 - lacoop6tu
2022-08-26T15:35:24Z
Good one