Submitted by yixxas
Loss of yield if USDB/WETH is used as reward token.
From what I understood from the protocol team, they want to support any ERC20 tokens that are considered safe/well known. I believe USDB/WETH falls into this category.
Both USDB and WETH yield mode are AUTOMATIC by default. LockingMultiRewards.sol uses internal accounting to track all rewards that are accrued for users. For instance, when users stake amount, stakingTokenBalance will increase by amount and users balance will increase by amount accordingly. Rewards that are distributed to users are based on these internal accounting values.
The issue here is that,
Add the ability to set native RebasingERC20 token to CLAIMABLE and implement a way to claim the yields to the staking contract.
0xCalibur (Abracadabra) confirmed and commented:
