Display contribution balances not token balances #107
Reference in New Issue
Block a user
Delete Branch "feature/use-contribution-balances"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We want to display the contribution balances (kredits earned) of the
contributors not the token balances.
this depends on merge and deployment of: https://github.com/67P/kredits-contracts/pull/110/
LGTM. Just two minor comments about form.
@@ -116,6 +116,12 @@ export default Service.extend({})Can be written more concise:
@@ -117,2 +117,4 @@}),totalKreditsEarned: computed(function() {return this.kredits.Contribution.functions.totalKreditsEarned(true)Not a fan of the unnamed
truein this new function call, because the meaning is completely hidden, until one finds and reads the Solidity source code of it.@@ -117,2 +117,4 @@}),totalKreditsEarned: computed(function() {return this.kredits.Contribution.functions.totalKreditsEarned(true)yes, me neither. but it is a contract call and generated from the wrapper.
could at some write our own function in the wrapper class.
@@ -117,2 +117,4 @@}),totalKreditsEarned: computed(function() {return this.kredits.Contribution.functions.totalKreditsEarned(true)Ah, yes.
I published contracts and pushed a commit that uses the new version here. Successfully tested on my machine as well.
This can be merged as soon as it has a kredits label attached.
we need to deploy a new contract version first before we deploy this one.
Yes, but that doesn't affect merging. And the label is still missing.