To track fee data for deposits, the following struct is used:
Notice that when user add liquidity, this field is properly set:
The problem is when user transfers the token to another address, the blockTimestampDepositis incorrectly set with block.number, completely losing track of the actual timestamp
Usually, timestamp can be used to determine fees/rewards for users, but as seen above the protocol lost it.
Notice this is not the same known issue about "timestamps"(related to L2s).
Contract has no tracking of actual deposit timestamps
Manual Review
Replace block.number with block.timestamp.
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.