| 68 | } |
| 69 | |
| 70 | async function createCheckpointFromST() { |
| 71 | let createCheckpointAction = securityToken.methods.createCheckpoint(); |
| 72 | let receipt = await common.sendTransaction(createCheckpointAction); |
| 73 | let event = common.getEventFromLogs(securityToken._jsonInterface, receipt.logs, 'CheckpointCreated'); |
| 74 | console.log(chalk.green(`Checkpoint ${event._checkpointId} has been created successfully!`)); |
| 75 | } |
| 76 | |
| 77 | async function exploreAddress(currentCheckpoint) { |
| 78 | let address = readlineSync.question('Enter address to explore: ', { |