Closed code423n4 closed 2 years ago
pauliax
phase3Start will not change once auctionStart is initialized, so I think it would make sense to calculate it once and store the value instead of re-calculating it every time:
modifier timelockElapsed() { uint256 phase3Start = auctionStart + PHASE_ONE_DURATION + PHASE_TWO_DURATION;
Duplicate of #59
Handle
pauliax
Vulnerability details
Impact
phase3Start will not change once auctionStart is initialized, so I think it would make sense to calculate it once and store the value instead of re-calculating it every time: