Joystream Stats dd9bd3acb3 fallback to dollar pool changes to calculate inflation %!s(int64=2) %!d(string=hai) anos
..
cache 66d2eac4c9 move tokenomics report generator into contrib folder %!s(int64=3) %!d(string=hai) anos
src dd9bd3acb3 fallback to dollar pool changes to calculate inflation %!s(int64=2) %!d(string=hai) anos
.gitignore 0bf188434d update lib %!s(int64=3) %!d(string=hai) anos
README.md 146f429743 README %!s(int64=2) %!d(string=hai) anos
package.json 7ded7a85f3 yarn run update-reports: regenerate reports for all council rounds %!s(int64=2) %!d(string=hai) anos
report-template.md 836d7050ce fiat pool changes %!s(int64=2) %!d(string=hai) anos
report-template.md.old 66d2eac4c9 move tokenomics report generator into contrib folder %!s(int64=3) %!d(string=hai) anos
tsconfig.json c11ae82ac3 build to 'build' dir %!s(int64=3) %!d(string=hai) anos

README.md

Tokenomics Report Generator

This scripts collects some information from Joystream chain. \ It was created to allow the council to generate a report in the finish of the council round. \ It takes some minutes to complete the report, multiple runs, with the same block range, will be quicker since it has a "cache" system for the block events.

Setup

yarn && yarn build

To update the submodule in src/lib:

git submodule init
git submodule update

Usage

node lib/generator.js <start block> <end block>

Example

node lib/generator.js 57601 234038

Contributors