| 123 | } |
| 124 | |
| 125 | async function logResults() { |
| 126 | console.log(` |
| 127 | -------------------------------------------- |
| 128 | ----------- Registration Results ----------- |
| 129 | -------------------------------------------- |
| 130 | |
| 131 | Successful registrations: ${registered_tickers.length} |
| 132 | Failed registrations: ${failed_tickers.length} |
| 133 | Total gas consumed: ${totalGas} |
| 134 | Total gas cost: ${defaultGasPrice.mul(totalGas).div(10 ** 18)} ETH |
| 135 | |
| 136 | List of failed registrations: |
| 137 | ${failed_tickers} |
| 138 | `); |
| 139 | process.exit(0); |
| 140 | } |