AstarNetwork / astar-apps

The official Astar Network portal for accessing your tokens and other native features!
https://portal.astar.network/
GNU General Public License v3.0
67 stars 85 forks source link

Estimated realized inflation #1280

Closed bobo-k2 closed 1 month ago

bobo-k2 commented 2 months ago

Pull Request Summary

Estimated realized inflation calculation (ref). The calculation calculates slope from first block of the current cycle till the current block and assumes the same slope until the end of the period. This estimation introduces an error which will decrease after stakers clam their rewards (after first build and earn subperiod) and decrease even more as we are approaching the end of the current cycle.

We have beens struggling how to display inflation with just one meaningful number and seems this is the best way so far. In the next iteration we plan to add inflation chart as defined in the document referenced above.

image

Check list

github-actions[bot] commented 2 months ago

Visit the preview URL for this PR (updated for commit a311277):

https://astar-apps--pr1280-feat-realized-inflat-72fnz0sv.web.app

(expires Tue, 21 May 2024 11:15:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: dd76fe72958fe2910fef9d53f0b4539b82b849db