Platform: Code4rena
Start Date: 06/03/2023
Pot Size: $36,500 USDC
Total HM: 8
Participants: 93
Period: 3 days
Judge: cccz
Total Solo HM: 3
Id: 218
League: ETH
Rank: 70/93
Findings: 1
Award: $21.70
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: adriro
Also found by: 0x1f8b, 0xAgro, 0xSmartContract, 0xfuje, 0xkazim, 0xnev, Aymen0909, Bason, Cyfrin, DadeKuma, LethL, Madalad, MohammedRizwan, Rolezn, SAAJ, SunSec, Udsen, Yukti_Chinta, ast3ros, bin2chen, brgltd, bshramin, btk, bugradar, catellatech, cryptostellar5, descharre, dontonka, erictee, fatherOfBlocks, georgits, glcanvas, hl_, horsefacts, igingu, juancito, lukris02, martin, nadin, nomoi, peanuts, pipoca, sakshamguruji, seeu, slvDev, tnevler, zaskoh
21.7018 USDC - $21.70
Rename constant MAX_MAX_FAILED_ATTEMPTS
to MAX_FAILED_ATTEMPTS
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/RNSourceController.sol#L19
Move out variable out of immutable scope
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotterySetup.sol#L21
variable initialPot is placed between immutable variables, due to improve readability place this variable after nonJackpotFixedRewards
Use constants instead of numbers
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotterySetup.sol#L51 https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotterySetup.sol#L55 https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotterySetup.sol#L61 https://github.com/code-423n4/2023-03-wenwin/blob/main/src/staking/Staking.sol#L58 https://github.com/code-423n4/2023-03-wenwin/blob/main/src/staking/Staking.sol#L62
#0 - c4-judge
2023-03-12T12:01:26Z
thereksfour marked the issue as grade-c
#1 - thereksfour
2023-03-12T13:28:34Z
DOWN 2 L
#2 - c4-judge
2023-03-12T13:28:40Z
thereksfour marked the issue as grade-b
#3 - 0xluckydev
2023-03-14T11:24:08Z
Very low
#4 - c4-sponsor
2023-03-14T11:24:14Z
0xluckydev marked the issue as sponsor confirmed