Socket
Socket
Sign inDemoInstall

decyphertv

Package Overview
Dependencies
144
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.16 to 0.1.17

22

index.js

@@ -53,2 +53,13 @@ #!/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) => {

@@ -136,2 +147,13 @@ 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) => {

@@ -138,0 +160,0 @@ switch(typeof(contract)) {

2

package.json
{
"name": "decyphertv",
"version": "0.1.16",
"version": "0.1.17",
"description": "CLI for helper libraries to follow along with the decypher.tv ethereum screencast series",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc