Rewards are added arbitrarly by the Fjord team, and these rewards are distributed in proportion to the tokens users stake.
The protocol also allows users to stake sablier revenue streams, but these revenue streams may be cancelled.
Thus this may encourage users to only stake when an epoch has rewards, claim in the next epoch and cancel their revenue stream in the next epoch, allowing them to bypass the 6 weeks of minimum stake duration.
The protocol currently has a flaw that allows users to bypass the intended staking rules. Normally, when a user wants to unstake their tokens, they're required to wait for a minimum of 6 epochs (a set time period) before they can withdraw. However, there's a loophole:
If a user has staked tokens that have fully vested (meaning they've completed their lock-up period),
They can exploit this to unstake and withdraw their tokens immediately, without waiting.
While this loophole doesn't pose significant financial risks to the protocol, it does create two main problems:
Reduced staking stability: The waiting period is designed to maintain a stable pool of staked tokens. By bypassing this, users can suddenly remove large amounts of staked tokens, potentially destabilizing the system.
Fairness issues: This loophole gives an unfair advantage to users with vested tokens. They can react more quickly to market changes or opportunities, while regular stakers are still bound by the waiting period.
Consider the above scenario described by the POC below:
Manual review
Again, allowing cancellable revenue streams staking completely defeats the purpose of having a minimum 6 epoch waiting period.
It would be more wise to only allow un-cancellable staking of Sablier revenue streams.
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.