Funds can get stuck FjordStaking.sol contract when user is claiming rewards early.
When a user has staked for some time , but not enough to claim the full rewards and decides to claim his rewards with a bool flag _isClaimEarly = true
a penalty will be incured:
That penalty is substracted from totalRewards
leaving it unaccounted for. Meaning noone else will be able to claim it , from the stakers in the contract.
At no other point totalRewards
variable is updated to accound for the penaltyAmount
.
High as funnds will be stuck in the contract and cannot be reclaimed.
Manual review
Take in to consideration the penaltyAmount
when calculating totalRewards
.
If it is not substracted from totalRewards
it can be claimed byother stakers.
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.