Browse Source

getTokenomics on start

Joystream Stats 2 years ago
parent
commit
1634e59c43
2 changed files with 610 additions and 207 deletions
  1. 1 0
      src/App.tsx
  2. 609 207
      yarn.lock

+ 1 - 0
src/App.tsx

@@ -306,6 +306,7 @@ class App extends React.Component<IProps, IState> {
     "status members assets providers councils council election workers categories channels proposals posts threads mints openings tokenomics transactions reports validators nominators staches stakes rewardPoints stars"
     "status members assets providers councils council election workers categories channels proposals posts threads mints openings tokenomics transactions reports validators nominators staches stakes rewardPoints stars"
       .split(" ")
       .split(" ")
       .map((key) => this.load(key));
       .map((key) => this.load(key));
+    getTokenomics().then((tokenomics) => this.save(`tokenomics`, tokenomics));
     bootstrap(this.save); // axios requests
     bootstrap(this.save); // axios requests
     this.updateCouncils();
     this.updateCouncils();
   }
   }

File diff suppressed because it is too large
+ 609 - 207
yarn.lock


Some files were not shown because too many files changed in this diff