Revert "Adjust for new naming conventions"

This commit is contained in:
2018-04-15 16:35:31 +00:00
committed by GitHub
parent d2c43b9ef1
commit 399ee27af9
10 changed files with 39 additions and 15 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ import bignumber from 'kredits-web/utils/cps/bignumber';
export default EmberObject.extend({
// Contract
id: bignumber('idRaw', 'toString'),
account: null,
// TODO: Should we rename it to account like in the contract?
address: null,
balance: bignumber('balanceRaw', 'toNumber'),
isCore: false,
ipfsHash: null,
+1 -1
View File
@@ -5,7 +5,7 @@ import bignumber from 'kredits-web/utils/cps/bignumber';
export default EmberObject.extend({
// Contract
id: bignumber('idRaw', 'toString'),
creatorAccount: null,
creatorAddress: null,
recipientId: bignumber('recipientIdRaw', 'toString'),
amount: bignumber('amountRaw', 'toNumber'),
votesCount: bignumber('votesCountRaw', 'toNumber'),