The blockTimestampDeposit field in feeDataArray in line 610 is intended to store the block.timestamp, representing the time like in line 257. However, the current implementation stores block.number in a uint32 field. This introduces a semantic mismatch
The blockTimestampDeposit field suggests that it is meant to store the timestamp of a transaction. However, the implementation assigns block.number instead, causing logical inconsistencies.
Informational
Manual Code Review
Replace the assignment of block.number with block.timestamp to ensure semantic correctness and replace uint32 with uint40:
Likelihood: Medium/High, any NFT transfer will change this variable. Impact: Informational/Very Low. This variable is unused and won’t impact anything, but the array is public and its getter will return a variable with inconsistencies.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.