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

Function executeApp

CLI/commands/contract_manager.js:11–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9let currentContract = null;
10
11async function executeApp() {
12
13 common.logAsciiBull();
14 console.log("*********************************************");
15 console.log("Welcome to the Command-Line Contract Manager.");
16 console.log("*********************************************");
17 console.log("Issuer Account: " + Issuer.address + "\n");
18
19 //await setup();
20 try {
21 await selectContract();
22 } catch (err) {
23 console.log(err);
24 return;
25 }
26};
27
28async function selectContract() {
29 console.log('\n\x1b[34m%s\x1b[0m',"Contract Manager - Contract selection");

Callers 1

Calls 1

selectContractFunction · 0.85

Tested by

no test coverage detected