updateFee
function is used to update a percentage and recipient of a fee receiver.
However it does not distribute already accumulated rewards before updating the fee receiver.
The LSTRewardsSplitter
contract has a function updateFee
, as implemented below:
The function does not distribute already accumulated rewards before updating the fee receiver state which it should.
Loss of funds for fee receiver
Inconsistent status transition
Manual Review
_splitRewards
has to be called in updateFee
to distribute accumulated rewards before modifying the fee percentage or receiver.
It should be called with try and catch to avoid DOS by receiver.
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.