Use real numbers for supply and contrib count

This commit is contained in:
2017-02-05 12:22:34 +08:00
parent 79b2d13326
commit d66573b6af
3 changed files with 5 additions and 8 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ export default Ember.Route.extend({
model() {
return Ember.RSVP.hash({
contributors: this.get('kredits').getContributors()
contributors: this.get('kredits').getContributors(),
totalSupply: this.get('kredits').getValueFromContract('totalSupply'),
contributorsCount: this.get('kredits').getValueFromContract('contributorsCount')
});
}