FjordPoints
distributes points in a stepwise fashion, making it vulnerable to sandwich attacks by poisoned liquidity.
When calling distributePoints
, FjordPoints
immediately assigns the pointsPerToken
in a stepwise fashion:
This means an MEV searcher may establish a token stake before an impending call to distributePoints
, then immediately unstake to redeem unfarily accrued rewards. This happens because when updating a stakers pending rewards, new reward rates are assigned instantaneously in a stepwise fashion:
Consequently, there is diminished incentive to stake for the entire epoch.
Furthermore, there are no second-order protections against this style of poisoned liquidity, since FjordStaking
specifically accomodates for accounts to stake and unstake within the same epoch:
This design decision specifically accommodates for poisoned liquidity.
Unfair reward distribution resulting in losses for existing stakers.
Manual Review
Have the pointsPerToken
grow monotonically over the reward duration to reward stakers for the precise amount of time they have been staked.
Do not give stakers the privilege to unstake early without suffering a penalty.
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.