the “locked” APY rate could calculated as a % rate above the fluctuating “non-locked” APY rate. This would allow rates to float, but long term stakers get rewarded.
For example, locking in your funds for 6 months could be:
locked APY = [“non-lock APY” + 10,000%].
As mentioned before, this could be a slider where the % premium is based on how long you lock, eg, 1-year lock APY would be 20,000% above non-lock apy, as compared to 10,000% above.
Alternatively, you could have the locking formula be something like:
“locked APY” = [“non-lock APY” + (“non-lock APY” x 10%)].
Again, this could be a sliding scale where the 10% in this example is the parameter that changes based on lock time.
This second model would also take care of a potential edge case problem that could arise in the previous example where “non-lock APY” starts to get low, say, 1,000%. With the first model the “lock APY” would be over 11,000% (1,000% + 10,000%), which is 11x the non-lock apy. This difference in APYs would massively dilute and discourage investment from people not willing to lock.