Closed bobo-k2 closed 1 month 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
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.
Check list