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

Function createCheckpointFromST

CLI/commands/dividends_manager.js:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70async 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
77async function exploreAddress(currentCheckpoint) {
78 let address = readlineSync.question('Enter address to explore: ', {

Callers 1

executeAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected