Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

@0x/contracts-tokens

Token contracts used by 0x protocol

Published13 Dec 2018
Direct dependencies40
Transitive dependenciesNot calculated

README

Current package documentation

Token contracts

Token smart contracts that are used in the 0x protocol. Addresses of the deployed contracts can be found in the 0x wiki or the CHANGELOG of this package.

Usage

Token contracts that make up and interact with version 2.0.0 of the protocol can be found in the contracts directory. The contents of this directory are broken down into the following subdirectories:

  • tokens
    • This directory contains implementations of different tokens and token standards, including wETH, ZRX, ERC20, and ERC721.
  • test
    • This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.

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-tokens yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-tokens 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 40

Native requirements
40 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
bn.js
Environment
{
  "local_name": "bn.js",
  "alias": false,
  "peer_metadata": null
}
^4.11.8runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.5runtime
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^1.4.1runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^2.0.8runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^1.1.4runtime
@0x/order-utils
Environment
{
  "local_name": "@0x/order-utils",
  "alias": false,
  "peer_metadata": null
}
^3.0.7runtime
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
}
^3.2.1runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^3.0.10runtime
@0x/contracts-libs
Environment
{
  "local_name": "@0x/contracts-libs",
  "alias": false,
  "peer_metadata": null
}
^1.0.2runtime
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^1.0.2runtime
@0x/contracts-multisig
Environment
{
  "local_name": "@0x/contracts-multisig",
  "alias": false,
  "peer_metadata": null
}
^1.0.2runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^3.0.6runtime
@types/js-combinatorics
Environment
{
  "local_name": "@types/js-combinatorics",
  "alias": false,
  "peer_metadata": null
}
^0.5.29runtime
@0x/contracts-interfaces
Environment
{
  "local_name": "@0x/contracts-interfaces",
  "alias": false,
  "peer_metadata": null
}
^1.0.2runtime
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
solc
Environment
{
  "local_name": "solc",
  "alias": false,
  "peer_metadata": null
}
^0.4.24development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^4.1.0development
yargs
Environment
{
  "local_name": "yargs",
  "alias": false,
  "peer_metadata": null
}
^10.0.3development
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
}
^1.0.19development
@0x/sol-cov
Environment
{
  "local_name": "@0x/sol-cov",
  "alias": false,
  "peer_metadata": null
}
^2.1.16development
@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
@types/bn.js
Environment
{
  "local_name": "@types/bn.js",
  "alias": false,
  "peer_metadata": null
}
^4.11.0development
@types/yargs
Environment
{
  "local_name": "@types/yargs",
  "alias": false,
  "peer_metadata": null
}
^10.0.0development
@0x/dev-utils
Environment
{
  "local_name": "@0x/dev-utils",
  "alias": false,
  "peer_metadata": null
}
^1.0.21development
@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
}
^2.0.1development
ethereumjs-abi
Environment
{
  "local_name": "ethereumjs-abi",
  "alias": false,
  "peer_metadata": null
}
0.6.5development
@0x/sol-compiler
Environment
{
  "local_name": "@0x/sol-compiler",
  "alias": false,
  "peer_metadata": null
}
^1.1.16development
@0x/subproviders
Environment
{
  "local_name": "@0x/subproviders",
  "alias": false,
  "peer_metadata": null
}
^2.1.8development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^7.1.0development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^2.0.0development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development
@0x/contracts-test-utils
Environment
{
  "local_name": "@0x/contracts-test-utils",
  "alias": false,
  "peer_metadata": null
}
^1.0.2development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "30490fe4b60b58fe60476f1603412a2bedc7f242",
  "tarball": "https://registry.npmjs.org/@0x/contracts-tokens/-/contracts-tokens-1.0.2.tgz",
  "fileCount": 242,
  "integrity": "sha512-d5GBabVEo3J/Fsr99UHtEi/NQXjvj6SsWpDrM7em9oSt/VdblHhP/sXwktFCadmNBrRS1Gz7/gZUQUuah/TmTw==",
  "signatures": [
    {
      "sig": "MEQCIEUEEFO4jVUHnkVr7aUiWZRyD9LxiE9K7qSiCTjL43lIAiAQaWfMCczwiiIryYO97NO5vTRPhLUWyhCZHPPlqDysQw==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 4781349,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEuRFCRA9TVsSAnZWagAAR1IP/RS7f0oWa1vambdDgkhb\nBPjasJVIm/57f2XqiKnQC4AJNjylISerRKMzTUuuIPmsCZt44z6oZg8oYhEU\nXB02eBK+ZAfEpEF6iAFuwq5OY1wFa42FxDJ+M4xFm68j3KqieFgMUq2ARaoa\nwcwY1lVwHmuhTvqA7Xj9a0XdnswyfJRibxl3O4N2jGpKIfhsqoZPbROzaHPA\nHKjllmIgYC4vL8QGFgisLaHqHXteXOCqG5VKRiKO2L7Ju6aSZ0Rgy6gnPh9m\nxyPVj4dETCAnApL+09N9vtGFe5LpHZ3UPr/MLnthlIXYkS4uIMvUY2kwV6PR\n7b437O6he7AWGWpaOQ+BAH3wYKPPXI5fhfz6xDVtLxK5e5cfR5IQr38SqrpG\nXdKACmzL3/KQJAyzEGMRUmU+WeybWG6Vk79kdkcIuDH6+VBwZ734TkYVa9yN\nuf6ogXwggqcJ+Q1dDTZUaY+zINqRGR96Mv1XAEMW19oaEIJc1DLOw1ZjsfSe\nj+rp+cn5IWJhusQEumk+KXipPTDKdP6Eh+xM2SUXgDAN40+WEmn83ByRXoaT\nVDbpcwJIkyWqI+Gd99yJFGBInZjeC3+cCLdfWVwFmu37O4i5nA8Gdid8Qj/5\n2JAGClJX5zHZdPW7P8fVkwjM2ww0n6lLdsblqYgVUNV+vTQoWcmui+4U9dMz\nCm5Q\r\n=DC2Y\r\n-----END PGP SIGNATURE-----\r\n"
}

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:26 UTC

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

Record identity

package_version:eeb1e94609343cfad2b8085aa3fbc202eef20d6fe3c81f62c0fa3dfce56ed98c

Other collected versions

1.0.617 Jan1.0.515 Jan1.0.411 Jan1.0.39 JanView all collected versions →