A migration of StakingRewards from V1 -> V2 to support new functionality.
StakingRewards will be upgraded with an unstaking cooldown and the ability to look up staked amounts at older blocks. These features should facilitate future modules such as fee distribution, automated onchain voting, and onchain trading rewards. This upgrade will also support features mentioned in KIP-42 and KIP-45. A migration will be required from V1 -> V2.
The StakingRewards contract cannot support onchain activity using staked balances without tolerating substantial gameability.
Using current staked balances for, say, voting or fee distribution creates a system that can be easily manipulated by actors who decide to stake before a favorable voting or fee distribution event to gain higher share. Historical staked balances are much harder to manipulate especially when the future outcome is unknown (future proposals or fees to be generated that epoch).
Staked amounts will also need to be locked for a meaningful amount of time to discourage the short term buying of votes, fee revenue, or locked inflationary rewards.
Read full details here: https://kips.kwenta.io/kips/kip-58