Platform: Code4rena
Start Date: 13/12/2022
Pot Size: $36,500 USDC
Total HM: 5
Participants: 77
Period: 3 days
Judge: gzeon
Total Solo HM: 1
Id: 191
League: ETH
Rank: 24/77
Findings: 1
Award: $110.27
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: Trust
Also found by: Apocalypto, Madalad, Matin, aga7hokakological, evan, kaliberpoziomka8552, mookimgo, poirots, subtle77, wagmi, yixxas
110.2711 USDC - $110.27
Incorrect value of immutable state variable MONTH_IN_SECONDS
may lead to misconfiguration of drawing and setting values of drawBufferTime
and recoverTimeLock
much higher than month or year, respectively.
The constant MONTH_IN_SECONDS
should hold the value of seconds in one month, however, the value that is set: (3600 * 24 * 7) * 30
is equal to 30 weeks, which is around 7 months.
Manual review.
Set the value of MONTH_IN_SECONDS
to 3600 * 24 * 30
#0 - c4-judge
2022-12-17T12:53:31Z
gzeon-c4 marked the issue as duplicate of #273
#1 - c4-judge
2022-12-17T12:53:58Z
gzeon-c4 marked the issue as satisfactory