Add support for new splitted Token contract

This commit is contained in:
2017-05-05 20:25:19 +02:00
parent 2ff76c902b
commit 675dff7314
3 changed files with 30 additions and 14 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ export default Ember.Route.extend({
return Ember.RSVP.hash({
contributors: kredits.getContributors(),
totalSupply: kredits.getValueFromContract('totalSupply'),
contributorsCount: kredits.getValueFromContract('contributorsCount'),
totalSupply: kredits.getValueFromContract('tokenContract', 'totalSupply'),
contributorsCount: kredits.getValueFromContract('kreditsContract', 'contributorsCount'),
proposals: kredits.getProposals()
});
}