Unstaking
lockCycle is defined as 6 epochs. where by each epoch is 7 days thus 42 days
The unstake function checks if currentEpoch - _epoch <= lockCycle
This results in users being unable to unstake until the 8th epoch (after 49 days) instead of the intended (42 days only)
Completing claim request for reward
claimCycle is set to 3 epochs (21 days)
The completeClaimRequest function checks if currentEpoch - cr.requestEpoch <= claimCycle.
This results in users being unable to complete their claim until the 5th epoch after the request, instead of the 4th epoch
Users are forced to keep their tokens staked for one extra epoch (7 days) beyond the intended lock period reducing reduces liquidity and flexibility for users.
In addition to that, delay in accessing earned rewards could discourage participation in the staking program.
Manual Review, Foundry
In the unstake, unstakeVested change
Also in unstakeAll
Similarly in completeClaimRequest;
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.