FjordPoints are accrued when users stake their Fjord tokens in FjordStaking.
Every EPOCH_DURATION (1 week) after the last distribution occurred, the pointsPerToken is calculated in distributePoints(). This value represents the number of points owed to users depending on the Fjord tokens they staked.
https://github.com/Cyfrin/2024-08-fjord/blob/main/src/FjordPoints.sol#L242-L243
In order to claim their points almost instantly, without having to wait for the 1 week period, users are able to stake their tokens right before the period is reached.
Here is a PoC that demonstrates how a user would achieve it:
Users can claim their points earned instantly.
Users are incentivized to stake their tokens at a strategic time in order to fully benefit from the points.
Manual review
Implement a mecanism responsible for enforcing users to wait for at least 1 week after they staked their tokens before being able to claim their points.
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.