Linting
This commit is contained in:
parent
d038ed414d
commit
f56b42d91f
|
@ -39,16 +39,16 @@ class GraphGenerator {
|
||||||
break;
|
break;
|
||||||
case 'constructor':
|
case 'constructor':
|
||||||
contractLabel += "«constructor»(";
|
contractLabel += "«constructor»(";
|
||||||
for(let j = 0; j < this.engine.contractsManager.contracts[contract].abiDefinition[i].inputs.length; j++){
|
this.engine.contractsManager.contracts[contract].abiDefinition[i].inputs.forEach(function(elem, index){
|
||||||
contractLabel += (j == 0 ? "" : ", ") + this.engine.contractsManager.contracts[contract].abiDefinition[i].inputs[j].type;
|
contractLabel += (index == 0 ? "" : ", ") + elem.type;
|
||||||
}
|
});
|
||||||
contractLabel += ")\\l";
|
contractLabel += ")\\l";
|
||||||
break;
|
break;
|
||||||
case 'event':
|
case 'event':
|
||||||
contractLabel += "«event»" + this.engine.contractsManager.contracts[contract].abiDefinition[i].name + "(";
|
contractLabel += "«event»" + this.engine.contractsManager.contracts[contract].abiDefinition[i].name + "(";
|
||||||
for(let j = 0; j < this.engine.contractsManager.contracts[contract].abiDefinition[i].inputs.length; j++){
|
this.engine.contractsManager.contracts[contract].abiDefinition[i].inputs.forEach(function(elem, index){
|
||||||
contractLabel += (j == 0 ? "" : ", ") + this.engine.contractsManager.contracts[contract].abiDefinition[i].inputs[j].type;
|
contractLabel += (index == 0 ? "" : ", ") + elem.type;
|
||||||
}
|
});
|
||||||
contractLabel += ")\\l";
|
contractLabel += ")\\l";
|
||||||
break;
|
break;
|
||||||
default: break;
|
default: break;
|
||||||
|
@ -63,7 +63,7 @@ class GraphGenerator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let others = ''
|
let others = '';
|
||||||
if(!this.engine.contractsManager.contracts[contract].deploy){
|
if(!this.engine.contractsManager.contracts[contract].deploy){
|
||||||
others = 'fontcolor="#c3c3c3", color="#a0a0a0"';
|
others = 'fontcolor="#c3c3c3", color="#a0a0a0"';
|
||||||
tooltip += " (not deployed)";
|
tooltip += " (not deployed)";
|
||||||
|
|
|
@ -10063,6 +10063,11 @@
|
||||||
"extsprintf": "1.3.0"
|
"extsprintf": "1.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"viz.js": {
|
||||||
|
"version": "1.8.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/viz.js/-/viz.js-1.8.1.tgz",
|
||||||
|
"integrity": "sha512-KrSNgnIxec+JCAqDPliO6xYA69ToH2WTYB2Kbt8Bp/XRUvm23rTyfffFi4rvQLFkIRNUz/xCnnqhh/gChhsgGA=="
|
||||||
|
},
|
||||||
"vlq": {
|
"vlq": {
|
||||||
"version": "0.2.3",
|
"version": "0.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz",
|
||||||
|
|
Loading…
Reference in New Issue