Hello wrapper library #28

Merged
bumi merged 4 commits from library into master 2018-04-18 22:42:26 +00:00
3 changed files with 0 additions and 5 deletions
Showing only changes of commit 8b0df655e8 - Show all commits
-1
View File
@@ -49,7 +49,6 @@ class Contributor extends Base {
contributorAttr.isCore, contributorAttr.isCore,
]; ];
console.log('[kredits] addContributor', ...contributor);
return this.functions.addContributor(...contributor); return this.functions.addContributor(...contributor);
}); });
} }
-1
View File
@@ -49,7 +49,6 @@ class Operator extends Base {
ipfsHashAttr.hashSize, ipfsHashAttr.hashSize,
]; ];
console.log('[kredits] addProposal', ...proposal);
return this.functions.addProposal(...proposal); return this.functions.addProposal(...proposal);
}); });
} }
-3
View File
@@ -80,7 +80,6 @@ class Kredits {
} }
}); });
let abi = abis['Registry']; let abi = abis['Registry'];
console.log('Initialize registry contract:', address, abi, provider);
return new ethers.Contract(address, abi, provider); return new ethers.Contract(address, abi, provider);
} }
@@ -111,8 +110,6 @@ class Kredits {
} }
let contractName = capitalize(name); let contractName = capitalize(name);
console.log(contractName);
console.log(contracts);
let address = this.addresses[contractName]; let address = this.addresses[contractName];
if (!address || !abis[contractName]) { if (!address || !abis[contractName]) {
throw new Error(`Address or ABI not found for ${contractName}`); throw new Error(`Address or ABI not found for ${contractName}`);