New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nahmii-contract-abstractions

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nahmii-contract-abstractions - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

22

lib/index.js
'use strict';
const glob = require('glob');
const path = require('path');
const _getAbstraction = (name) => {
return require(`../build/contracts/${name}.json`);
};
const _getAbstractionNames = () => {
return glob.sync('build/contracts/*.json').map((f) => path.basename(f, '.json'));
};
const _getEvent = (contractName, eventName) => {
return require(`../events/${contractName}.json`)[eventName];
};
module.exports = {
getAbstraction: _getAbstraction,
getAbstractionNames: _getAbstractionNames,
getEvent: _getEvent
};
const CAM = require('contract-abstractions-manager');
module.exports = new CAM(`${__dirname}/..`);

61

package.json
{
"_from": "nahmii-contract-abstractions",
"_id": "nahmii-contract-abstractions@1.2.0",
"_inBundle": false,
"_integrity": "sha512-bgqWq19C817XN0N+MGxWKYZ898bYUKplasQEmzIUaINmwdwWOCPstlT6XjRjCEzo+9ZX3bhGA+4ELKpZyFvkVg==",
"_location": "/nahmii-contract-abstractions",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "nahmii-contract-abstractions",
"name": "nahmii-contract-abstractions",
"escapedName": "nahmii-contract-abstractions",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/nahmii-contract-abstractions/-/nahmii-contract-abstractions-1.2.0.tgz",
"_shasum": "0f3f8b0cb1db8c03343516dfcf233c212029cad3",
"_spec": "nahmii-contract-abstractions",
"_where": "/Users/jensivar/workspace/hubiinetwork/tmp",
"author": {
"name": "Jens Ivar Jørdre",
"email": "jensivar@hubii.com"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Smart contract abstractions for nahmii deployed to mainnet",
"dependencies": {
"contract-abstractions-manager": "github:hubiinetwork/contract-abstractions-manager"
},
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^6.0.2"
},
"keywords": [
"nahmii",
"smart contracts",
"ethereum"
],
"license": "LGPL-3.0",
"main": "lib/index.js",
"name": "nahmii-contract-abstractions",
"version": "1.2.0",
"description": "Smart contract abstractions for nahmii deployed to mainnet",
"scripts": {

@@ -14,15 +57,3 @@ "publish:major": "npm version major && npm publish",

},
"keywords": [
"nahmii",
"smart contracts",
"ethereum"
],
"author": "Jens Ivar Jørdre <jensivar@hubii.com>",
"license": "LGPL-3.0",
"main": "lib/index.js",
"devDependencies": {
"chai": "^4.2.0",
"glob": "^7.1.3",
"mocha": "^6.0.2"
}
"version": "1.2.1"
}

@@ -7,4 +7,3 @@ # NAHMII CONTRACT ABSTRACTIONS

[nahmii contracts](https://github.com/hubiinetwork/nahmii-contracts.git) to
the Ethereum mainnet and to Ropsten testnet, found in branches `master` and
`develop`, respectively.
the Ethereum mainnet.

@@ -11,0 +10,0 @@ ## About nahmii

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc