In the OperatorVCS::updateDeposits
function, rewards for operators are intended to be distributed via the StakingPool
contract. However, the StakingPool::_updateStrategyRewards
function mistakenly distributes all Liquid Staking Tokens (LST) to fee receivers, completely neglecting the allocation of rewards to operators. This oversight results in operators not receiving their rightful share of rewards.
When OperatorVCS::updateDeposits
is called by the StakingPool
contract, it updates deposit accounting and calculates fees based on rewards earned by vaults. These rewards are tracked using the unclaimedRewards
and unclaimedOperatorRewards
variables in the OperatorVault
and OperatorVCS
contracts, respectively. The rewards are intended to be converted to LST and sent to OperatorVCS
, where operators can claim them via the OperatorVault::withdrawRewards
function.
However, the StakingPool::_updateStrategyRewards
function, which is responsible for distributing LST, fails to send any rewards to the OperatorVCS
contract. Instead, it distributes the entire amount of LST to fee receivers, ignoring the operators entirely.
The relevant portion of the code is shown here:
As seen in the code, the LST tokens are minted and distributed only to fee receivers, and there is no logic to handle the distribution of rewards to operators. Even worse, the rewards sent to fee receivers include the portion intended for operators.
Operators lose out on their rightful share of rewards, as the protocol incorrectly sends all rewards to fee receivers. This misallocation not only affects operator earnings but also causes a broader imbalance in the reward distribution process.
Manual
Update the StakingPool::_updateStrategyRewards
function to ensure that LST rewards are properly allocated to operators in addition to fee receivers. Implement a mechanism to transfer the appropriate portion of rewards to the OperatorVCS
contract so operators can claim their rewards via OperatorVault::withdrawRewards
.
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.