Adjust wrapper and scripts for contract changes

This commit is contained in:
2019-04-04 16:24:23 +02:00
parent 6088f30cd8
commit 5b49f82544
4 changed files with 20 additions and 27 deletions

View File

@@ -14,7 +14,6 @@ module.exports = async function(callback) {
console.log(`Using Contribution at: ${kredits.Contribution.contract.address}`);
const table = new Table({
head: ['ID', 'Contributor account', 'Amount', 'Claimed?', 'Vetoed?', 'Description']
})
@@ -24,7 +23,7 @@ module.exports = async function(callback) {
contributions.forEach((c) => {
table.push([
c.id.toString(),
c.contributor,
c.contributorId,
c.amount.toString(),
c.claimed,
c.vetoed,