AstarNetwork / astar-frame

Core frame modules for Astar & Shiden network.
Other
58 stars 38 forks source link

Concept - Dynamic Inflation Storage Schema for DApp Staking #18

Closed Dinonard closed 2 years ago

Dinonard commented 2 years ago

Pull Request Summary

The idea behind this PR is to show how storage would be modified to accommodate dynamic inflation. The key concept is that we have separate storage for:

  1. stakers reward
  2. dapps reward

This allows us to control two separate reward pools from the runtime code.

E.g. as TVL changes,

Dinonard commented 2 years ago

Storage schema has been integrated into individual claim PR.