Platform: Code4rena
Start Date: 27/10/2022
Pot Size: $33,500 USDC
Total HM: 8
Participants: 96
Period: 3 days
Judge: kirk-baird
Total Solo HM: 1
Id: 176
League: ETH
Rank: 86/96
Findings: 1
Award: $11.52
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: c3phas
Also found by: 0x1f8b, 0xNazgul, 0xRoxas, 0xSmartContract, 0xbepresent, Amithuddar, Awesome, B2, Bnke0x0, Dravee, KoKo, Mathieu, Picodes, RaymondFam, RedOneN, ReyAdmirado, RockingMiles, Ruhum, SadBase, SooYa, Waze, __141345__, adriro, ajtra, ballx, carlitox477, ch0bu, cylzxje, djxploit, durianSausage, emrekocak, erictee, gogo, halden, horsefacts, imare, indijanc, karanctf, leosathya, lukris02, neko_nyaa, oyc_109, peiw, sakman, shark, skyle, tnevler
11.5153 USDC - $11.52
uint256 i;
instead of uint256 i = 0;
contracts/WardenPledge.sol: L547
uint
, use require(x != 0)
instead of require(x > 0)
contracts/WardenPledge.sol: L471 L504
contracts/WardenPledge.sol: L240-L248
constant
and immutable
for constantscontracts/WardenPledge.sol: L60 L62
public
storage constant
(and immutable
) variable should be private
contracts/WardenPledge.sol: L22 L23 L24
x < y + 1
in stead of x <= y
contracts/WardenPledge.sol: L223 L229 L374 L380 L426 L429 L489
contracts/WardenPledge.sol: L268 L340 L401
i++
in an unchecked
blocks in for-loopscontracts/WardenPledge.sol: L550
#0 - c4-judge
2022-11-12T01:13:37Z
kirk-baird marked the issue as grade-b