MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / logTokenResults

Function logTokenResults

CLI/commands/strMigrator.js:370–382  ·  view source on GitHub ↗
(succeed, failed, totalGas)

Source from the content-addressed store, hash-verified

368}
369
370function logTokenResults(succeed, failed, totalGas) {
371 console.log(`
372--------------------------------------------
373--------- Token Migration Results ----------
374--------------------------------------------
375Successful migrations: ${succeed.length}
376Failed migrations: ${failed.length}
377Total gas consumed: ${totalGas}
378Total gas cost: ${web3.utils.fromWei((new web3.utils.BN(defaultGasPrice)).mul(totalGas))} ETH
379List of failed registrations:
380${failed.map(token => chalk.red(`${token.symbol} at ${token.address}`)).join('\n')}
381`);
382}
383
384function logTickerResults(succeed, failed, totalGas) {
385 console.log(`

Callers 1

step_launch_STsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected