Platform: Code4rena
Start Date: 08/09/2023
Pot Size: $70,000 USDC
Total HM: 8
Participants: 84
Period: 6 days
Judge: gzeon
Total Solo HM: 2
Id: 285
League: ETH
Rank: 81/84
Findings: 1
Award: $12.79
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: castle_chain
Also found by: 0xAadi, 0xHelium, 0xLook, 0xblackskull, 0xfuje, 0xmystery, 0xnev, 0xpiken, 7ashraf, BARW, Bauchibred, Bughunter101, Ch_301, JP_Courses, Kaysoft, Krace, MohammedRizwan, SanketKogekar, Sathish9098, alexzoid, ast3ros, btk, catellatech, degensec, fatherOfBlocks, grearlake, imtybik, jkoppel, jolah1, klau5, lsaudit, m_Rassska, merlin, mrudenko, nobody2018, rokinot, rvierdiiev, sandy
12.7917 USDC - $12.79
member
view function does not return anything:function member(address user) public view { require((members[user] >= block.timestamp), "RestrictionManager/destination-not-a-member"); }
addLiquidityPool
, removeLiquidityPool
, etcname
, symbol
remains unintialized as it is never assigned a value.to
!= msg.sender
and
to
!= from
_delay
is not compared with MAX_DELAY
and could be set to a value even greater.The following check is missing:
require(_delay <= MAX_DELAY, "_delay is greater than maxDelay")
pause()
should execute only if paused == false
, to prevent unnecessary emiting event, and vice-versa for unpause()
addIncomingRouter()
should execute only if router == false
, to prevent unnecessary emiting event, and vice-versa for removeIncomingRouter()
addPauser()
should execute only if pausers[user] = 0
, to prevent unnecessary emiting event, and vice-versa for removePauser()
#0 - c4-pre-sort
2023-09-17T01:29:25Z
raymondfam marked the issue as sufficient quality report
#1 - c4-judge
2023-09-26T17:44:11Z
gzeon-c4 marked the issue as grade-b