Catalog npm
Back to packageRELEASE DETAILS

0.0.2

npm

@0x/contracts-dev-utils

0x protocol specific utility contracts

Published13 Jul 2019
Direct dependencies35
Transitive dependenciesNot calculated

README

Current package documentation

Dev-Utils

This package implements various utilities for developers. For example, the DevUtils contract can query batches of balances or allowances given some assetData, can validate batches of orders, and can decode 0x-specific calldata. Addresses of the deployed contracts can be found in this 0x guide or the DEPLOYS file within this package.

Installation

Install

npm install @0x/contracts-dev-utils --save

Bug bounty

A bug bounty for the 2.0.0 contracts is ongoing! Instructions can be found here.

Contributing

We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.

For proposals regarding the 0x protocol's smart contract architecture, message format, or additional functionality, go to the 0x Improvement Proposals (ZEIPs) repository and follow the contribution guidelines provided therein.

Please read our contribution guidelines before getting started.

Install Dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

PKG=@0x/contracts-dev-utils yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-dev-utils yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Testing options

Contracts testing options like coverage, profiling, revert traces or backing node choosing - are described here.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 35

Native requirements
35 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^2.4.0runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^4.4.0runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^2.1.3runtime
@0x/order-utils
Environment
{
  "local_name": "@0x/order-utils",
  "alias": false,
  "peer_metadata": null
}
^8.2.0runtime
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^5.1.1runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^6.0.7runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^5.1.1runtime
@0x/contracts-erc20
Environment
{
  "local_name": "@0x/contracts-erc20",
  "alias": false,
  "peer_metadata": null
}
^2.2.6runtime
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^3.1.7runtime
@0x/contracts-erc721
Environment
{
  "local_name": "@0x/contracts-erc721",
  "alias": false,
  "peer_metadata": null
}
^2.1.7runtime
@0x/contracts-erc1155
Environment
{
  "local_name": "@0x/contracts-erc1155",
  "alias": false,
  "peer_metadata": null
}
^1.1.7runtime
@0x/contracts-exchange
Environment
{
  "local_name": "@0x/contracts-exchange",
  "alias": false,
  "peer_metadata": null
}
^2.1.6runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^4.2.3runtime
@0x/contracts-asset-proxy
Environment
{
  "local_name": "@0x/contracts-asset-proxy",
  "alias": false,
  "peer_metadata": null
}
^2.2.0runtime
@0x/contracts-exchange-libs
Environment
{
  "local_name": "@0x/contracts-exchange-libs",
  "alias": false,
  "peer_metadata": null
}
^3.0.0runtime
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^4.0.1development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^4.1.0development
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.11.0development
solhint
Environment
{
  "local_name": "solhint",
  "alias": false,
  "peer_metadata": null
}
^1.4.1development
dirty-chai
Environment
{
  "local_name": "dirty-chai",
  "alias": false,
  "peer_metadata": null
}
^2.0.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
3.0.1development
@0x/abi-gen
Environment
{
  "local_name": "@0x/abi-gen",
  "alias": false,
  "peer_metadata": null
}
^2.1.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
*development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
@0x/dev-utils
Environment
{
  "local_name": "@0x/dev-utils",
  "alias": false,
  "peer_metadata": null
}
^2.2.4development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.104development
chai-bignumber
Environment
{
  "local_name": "chai-bignumber",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
@0x/sol-compiler
Environment
{
  "local_name": "@0x/sol-compiler",
  "alias": false,
  "peer_metadata": null
}
^3.1.9development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^7.1.0development
@0x/contracts-gen
Environment
{
  "local_name": "@0x/contracts-gen",
  "alias": false,
  "peer_metadata": null
}
^1.0.10development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^3.0.1development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development
@0x/contract-wrappers
Environment
{
  "local_name": "@0x/contract-wrappers",
  "alias": false,
  "peer_metadata": null
}
^9.1.5development
@0x/contracts-test-utils
Environment
{
  "local_name": "@0x/contracts-test-utils",
  "alias": false,
  "peer_metadata": null
}
^3.1.8development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "c2a90fae055442d73581064e35e5c8180675920d",
  "tarball": "https://registry.npmjs.org/@0x/contracts-dev-utils/-/contracts-dev-utils-0.0.2.tgz",
  "fileCount": 88,
  "integrity": "sha512-NBCrNW4E5Cu11KjBLbam+q+7XaVJB7XhELD/039h4+EADwzrw/5gDte92NcqGqVcYO6BDXXeOiSZTcSbCFwGbQ==",
  "signatures": [
    {
      "sig": "MEYCIQDqjz4lYf/h3ud0ZUCEEC/TGzFPKeurPsQ9APbQ7GUi7gIhAJAtNLoHyd0FvHAbVXRTokawNUPOYKVPlYhusyw+i9CL",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 2473391,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKZepCRA9TVsSAnZWagAAn6wP/iu7x5YYKVbAsBAWo+iu\nBxQO9ip0MULsnAm/8GLXmjcQ8y6Ju2GZt4rk0bpM9gBFYPUV1MKGseoVEghv\nvzugymvZ1hd5eU8hEjuyjtp/N2yZO27seDHxU5rBY+znajhbv9YjRNYsLpw3\nVVDW56ddBD0cU8zjkxBXLuAFGo3Uv/ETWiF9i9+p8reqwY2Qm00293u5RtCG\ngFVHAkspO4rfyBqlb8cOxRt1xyg/cLy78a88ggHxZlXnMVIXJ1SZ+w7aderP\n6XhY9QPUwbCegM9IBcRYihRHH7e8uy7xMvJFv/YrTtNy/nWsbW6kk9Q1SqXb\nAiYsSJN2krGpBBnL/r86soaT2GQUCJwcWq+or97TrY3bxTrRljlaOmVvvRvB\nysx8D2P2GhvCWCTRoGcIAFfdIdy7GcsLm61YhQ+DnF7OHLz5orN0Qkucj8ig\ngu8nE+1j684eQsgGCBo6QxP4Ww4ssEorivgddZdkEGi44qNhNSZRCO/J+pr0\n6p1WU5r1HYrACCbNc1gfRaEzHpkoakfOkHSQ2OFkRHY8aKiqkXopaUUcvDT8\nLFlpGvpWCx1jga7AvFENSKWUyGauN3Tz2et0eN3Zq3aDYkj/P2J2yAj1XmhI\n6EYyMf0sNB99eTFCwwa1fAclKczDkSfxIFU/t5ydw1znVUdjvLFyEPl3b6wj\nBwl2\r\n=hCdI\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/protocol

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:22 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:768cda72a07f9c0af5d75582886b8147ea0efb0bc4e40085dbbed8b881a631b2

Other collected versions

1.3.3616 Aug1.3.3511 Aug1.3.346 Aug1.3.3322 Jun1.3.3211 Jun1.3.312 JunView all collected versions →