Catalog npm
Back to packageRELEASE DETAILS

1.3.17

npm

@0x/contracts-dev-utils

0x protocol specific utility contracts

Published16 Dec 2020
Direct dependencies22
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 22

Native requirements
22 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
12.12.54runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^6.2.14runtime
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
~4.0.4development
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
truffle
Environment
{
  "local_name": "truffle",
  "alias": false,
  "peer_metadata": null
}
^5.0.32development
typedoc
Environment
{
  "local_name": "typedoc",
  "alias": false,
  "peer_metadata": null
}
~0.16.11development
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^3.3.1development
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^6.1.1development
@0x/assert
Environment
{
  "local_name": "@0x/assert",
  "alias": false,
  "peer_metadata": null
}
^3.0.19development
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
}
^5.4.13development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
@0x/ts-doc-gen
Environment
{
  "local_name": "@0x/ts-doc-gen",
  "alias": false,
  "peer_metadata": null
}
^0.0.28development
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^3.4.0development
@0x/sol-compiler
Environment
{
  "local_name": "@0x/sol-compiler",
  "alias": false,
  "peer_metadata": null
}
^4.4.1development
@0x/contracts-gen
Environment
{
  "local_name": "@0x/contracts-gen",
  "alias": false,
  "peer_metadata": null
}
^2.0.24development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^4.1.3development
@0x/contracts-erc20
Environment
{
  "local_name": "@0x/contracts-erc20",
  "alias": false,
  "peer_metadata": null
}
^3.2.12development
@0x/contracts-test-utils
Environment
{
  "local_name": "@0x/contracts-test-utils",
  "alias": false,
  "peer_metadata": null
}
^5.3.15development
@0x/contracts-asset-proxy
Environment
{
  "local_name": "@0x/contracts-asset-proxy",
  "alias": false,
  "peer_metadata": null
}
^3.7.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "7a556470ac7229ecdcb092fe28332db70d22b151",
  "tarball": "https://registry.npmjs.org/@0x/contracts-dev-utils/-/contracts-dev-utils-1.3.17.tgz",
  "fileCount": 53,
  "integrity": "sha512-N9bnhb+EhkD72opZ8qSfaugye12h6NJsnAK6P058DQIuib0zKA76nx3gCKZ9j5WFEmW39+YvpDiE9dU5y6h83w==",
  "signatures": [
    {
      "sig": "MEUCIGDRRAonF1beeaGQcbH7NDHqFBvei2pTzawxnHEsPFGoAiEAlSk6RMdX5QeeQHqyZoZSMaCxIpM6Ng+Im6ptP5BSCXY=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 2219200,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2b9fCRA9TVsSAnZWagAADcIQAJRAXmZ7GMbHSRep88J0\nYrPba4w5+MqXLJscfdu0putjtvoIes8HYbebita0MYB9ELeVOtrQGts4z8Zd\ndLSOg7RkDddGbY2VL0f2FXaKWkHsVAt/Z6pn+Car8h+puEhUQW5ReSyqx45m\n/0QS1Fsc6RTJQGB3fB4NM1AlqMrLXoxYsh6s7VGCY5pQymzGyRp96ufQ0glh\nY8cYTMQgxjsV6TJ+I4d9wPzRajxD9O8/lOWxy9pSE3iYoDiRea9yRrisTG8k\nsUhXH2dDwlaROlSdh+2HLLjb1PLVbRQkPQzRua7ZHZ1XqpNGsCQZu0ZvL1mP\nmXKIk6+VRfiAj66FPNSCETTQJ5WSbED9QQ7n+ePn1bDEu0GyUvaPDr3CdmLK\nfPQ8yFXNZsuVz8v8JSc/6000C+lOC3S6f9nWSNttest/O9awZPcl6eNgMONQ\nwyIgP16JpY5xx1epdHo2uAOClVRyjBB2+s2L9t4OBjvT2yHJqyw3Kb2MdwDN\ng5LG1hRSlwZOjxu5T6lZ7cFn+CXwbqB6JKbexBKx9IJk2qY2SqdJ1iu3cDCK\nRI+iOP+GIWfuwsKPfeDQ5zRvVDCLt+OMVLjHblJyKSG4GcrqxlmeBq32gT6w\ntTml1A2U5attDkB9nI1F5JdprWohnFkBWkotcLcdvZoSrzJRdn244wGT3lIi\nnQUL\r\n=FTTx\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:23 UTC

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

Record identity

package_version:be560c01ad865126deb2b526d7a55bd7dcf95084e052d7c3dcd4cd86df85bd5d

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 →