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

Function createCheckpoint

CLI/commands/token_manager.js:254–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254async function createCheckpoint() {
255 let createCheckpointAction = securityToken.methods.createCheckpoint();
256 let receipt = await common.sendTransaction(createCheckpointAction);
257 let event = common.getEventFromLogs(securityToken._jsonInterface, receipt.logs, 'CheckpointCreated');
258 console.log(chalk.green(`Checkpoint ${event._checkpointId} has been created successfully!`));
259}
260
261async function listInvestors() {
262 let investors = await securityToken.methods.getInvestors().call();

Callers 1

selectActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected