Naming is hard

This commit is contained in:
2019-04-19 14:15:30 +02:00
parent 7967dc26f2
commit ad034d7712
3 changed files with 8 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ module.exports = async function(callback) {
const table = new Table({
head: ['ID', 'Account', 'Name', 'Core?', 'Balance', 'IPFS']
head: ['ID', 'Account', 'Name', 'Core?', 'Balance', 'Kredits earned', 'Contributions count', 'IPFS']
})
let contributors = await kredits.Contributor.all()
@@ -29,6 +29,8 @@ module.exports = async function(callback) {
`${c.name}`,
c.isCore,
ethers.utils.formatEther(c.balance),
c.totalKreditsEarned.toString(),
c.contributionsCount.toString(),
c.ipfsHash
])
})