Under the context of the above/preceding recommendation, transferInRewards() should also have its emit refactored below. Otherwise, you are practically emitting two identical values that defeat the purpose of contrasting the old and the values.
https://github.com/code-423n4/2023-10-ethena/blob/main/contracts/StakedUSDe.sol#L89-L99
