decyphertv
Advanced tools
Comparing version 0.1.17 to 0.1.18
22
index.js
@@ -53,13 +53,2 @@ #!/usr/bin/env node | ||
global.decypher.opcodes = (source) => { | ||
if(global.decypher.contractName(source)) { | ||
contractSource = source; | ||
} else { | ||
contractSource = fs.readFileSync(source, 'utf8'); | ||
} | ||
var compiled = solc.compile(contractSource); | ||
var contractName = global.decypher.contractName(contractSource); | ||
return compiled["contracts"][`:${contractName}`]["opcodes"] | ||
} | ||
global.decypher.etherBalance = (contract) => { | ||
@@ -147,13 +136,2 @@ switch(typeof(contract)) { | ||
global.decypher.opcodes = (source) => { | ||
if(global.decypher.contractName(source)) { | ||
contractSource = source; | ||
} else { | ||
contractSource = fs.readFileSync(source, 'utf8'); | ||
} | ||
var compiled = solc.compile(contractSource); | ||
var contractName = global.decypher.contractName(contractSource); | ||
return compiled["contracts"][`:${contractName}`]["opcodes"] | ||
} | ||
global.decypher.etherBalance = (contract) => { | ||
@@ -160,0 +138,0 @@ switch(typeof(contract)) { |
{ | ||
"name": "decyphertv", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "CLI for helper libraries to follow along with the decypher.tv ethereum screencast series", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10418
203