UNPKG

@dydxprotocol/exchange-wrappers

Version:

Collection of exchange wrapper contracts used by the dYdX Protocol

87 lines (86 loc) 2.9 kB
{ "name": "@dydxprotocol/exchange-wrappers", "version": "0.6.3", "description": "Collection of exchange wrapper contracts used by the dYdX Protocol", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "files": [ "dist/build/", "dist/migrations/", "dist/src", "LICENSE", "README.md" ], "scripts": { "test": "npm run deploy_test && npm run test_only", "test_only": "truffle test", "compile": "truffle compile", "migrate": "truffle migrate", "clean_contract_json": "ts-node ./scripts/CleanBuild.ts", "build": "npm run compile -- --all && npm run clean_contract_json && npm run build:js", "coverage": "RPC_NODE_URI=http://0.0.0.0:8555 COVERAGE=true truffle run coverage --network coverage", "build:js": "rm -rf dist/ && tsc", "lint": "npm run lint:ts && npm run lint:dydx", "lint:ts": "tslint --project . -t verbose 'src/**/*.ts'", "lint:sol": "solium -d contracts/", "lint:dydx": "python util/lintcontracts.py", "deploy": "truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses", "deploy_kovan": "NETWORK=kovan npm run deploy", "deploy_mainnet": "NETWORK=mainnet npm run deploy", "deploy_test": "npm run reset_test_evm && NETWORK=test npm run deploy && npm run snapshot_test_evm", "reset_test_evm": "node scripts/reset-test-evm.js", "save_deployed_addresses": "ts-node ./scripts/SaveDeployedAddresses.ts", "snapshot_test_evm": "node scripts/snapshot-test-evm.js" }, "repository": { "type": "git", "url": "git+https://github.com/dydxprotocol/exchange-wrappers.git" }, "keywords": [ "ethereum", "dYdX", "dex", "0x", "OasisDEX" ], "author": "dYdX Trading Inc.", "license": "Apache-2.0", "bugs": { "url": "https://github.com/dydxprotocol/exchange-wrappers/issues" }, "homepage": "https://github.com/dydxprotocol/exchange-wrappers#readme", "dependencies": { "@openzeppelin/contracts": "2.5.0", "bignumber.js": "^8.1.1", "es6-promisify": "^6.0.2", "ethers": "^4.0.47", "web3-utils": "1.2.1" }, "devDependencies": { "@truffle/hdwallet-provider": "^1.0.33", "@types/chai": "^4.2.7", "@types/es6-promisify": "^6.0.0", "@types/mocha": "^5.2.7", "@types/node": "^14.0.10", "babel-cli": "^6.26.0", "babel-eslint": "^10.0.3", "chai": "^4.2.0", "chai-bignumber": "^3.0.0", "coveralls": "^3.0.9", "dotenv-flow": "^3.1.0", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.0.0", "eslint-plugin-import": "^2.20.0", "ethlint": "^1.2.5", "ganache-cli": "6.8.2", "mocha": "^7.0.0", "solidity-coverage": "^0.7.1", "solium": "^1.2.5", "truffle": "^5.1.19", "ts-node": "^8.6.2", "tslint": "^5.20.1", "tslint-config-airbnb": "^5.11.2", "tslint-no-focused-test": "^0.5.0", "typescript": "^3.7.4" } }