Catalog npm
Back to packageRELEASE DETAILS

1.0.5

npm

@0x/contracts-tokens

Token contracts used by 0x protocol

Published15 Jan 2019
Direct dependencies38
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 38

Native requirements
38 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.5.2runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^3.0.1runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^1.1.6runtime
@0x/order-utils
Environment
{
  "local_name": "@0x/order-utils",
  "alias": false,
  "peer_metadata": null
}
^3.1.2runtime
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.4runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^3.0.13runtime
@0x/contracts-libs
Environment
{
  "local_name": "@0x/contracts-libs",
  "alias": false,
  "peer_metadata": null
}
^1.0.5runtime
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^1.0.5runtime
@0x/contracts-multisig
Environment
{
  "local_name": "@0x/contracts-multisig",
  "alias": false,
  "peer_metadata": null
}
^1.0.5runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^3.0.8runtime
@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.5runtime
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
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.22development
@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.24development
@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
}
^2.0.2development
@0x/subproviders
Environment
{
  "local_name": "@0x/subproviders",
  "alias": false,
  "peer_metadata": null
}
^2.1.11development
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.2development
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
}
^2.0.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "7c1e8f9d5caacddaffc4fcbd819e33d1894b1572",
  "tarball": "https://registry.npmjs.org/@0x/contracts-tokens/-/contracts-tokens-1.0.5.tgz",
  "fileCount": 243,
  "integrity": "sha512-CA++L0U93SMeoX1OQNLgIZU8WzHLfdCzkZJd0oa++HyaxGQ/bpEmY1htNMIPi3LRrPwbMkf6utA37Pn0t5Z+PA==",
  "signatures": [
    {
      "sig": "MEUCIGnAmZbs3Fe2Yy8958oq76JIU1HV/7pd6HRhK4NLpYRHAiEA5JCxCnykFKItYS2FCg9n/Q4SFL47vNCdn6Fq5treKSY=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 4223319,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPeziCRA9TVsSAnZWagAAvMwP/1+Wbzjkg5+NM9nNRMGM\nPnO/xJ0ohpy75TTFMhIWdFW7HDQ1hsXMEhEtPOVpsIOW2vdlvaMGTidxlsYo\nDNFco013PUsb/tGlJ9GcomzRRQWcGaV5Np4Q34qEhecmZehCozZloL5nq8Ui\natWLvNZ7eVykswZoW0DaJb/SLX/Mii5VwnvlF5jfUpzMiE3+bJONJ2HzUNBP\nuQHKd26IBJmU9XsIIZkeoM2Clj/deFCoxz1xGkN0GXu+JuwIZ+Lp8rKScLZs\no44ZNY73FK3vZFoZfWgmLEytMhUPzpWYnmVa0NoNRVZXjMWJ+lZPQ0sQtjYT\nJByOjcve4oJ/VRvmXouSprs+Z4T6r6lMzt9F833om/HYZhJ7JUMF9u2DES0c\n4Ncwz8sOu8DrJIAqF4SQW0k/4D8BKb1UEuAj+gf36o9vO3HsUGHtewdOQkLg\nGlXrm6+dUFPz6fwnY9JJlMJFLPe0kdqKc6BKoQULo8yoNRd5bpJOkmCC6p5W\n5pjHM1EFO6BJ1v9W1z85bNai6cGuvTTPGhdTMdPsEIJ0l63mn55HsLhsIgY0\nF0hdUy/woU8JVD2TXbMItaiNzNVRw+pTYb3oSic2QYluTHzakU8VJM3GbqDF\ndAz0gsHIKFl6qZzJlgnWoqLA89wTM0iYOslOyZkUnRt4H+p1z2svEYU869GF\nmSHq\r\n=zFm7\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:344d4a5994cea2ffc42d57dd8d9153da9c95e42d9d43becf84b94c72cd506f39

Other collected versions

1.0.617 Jan1.0.411 Jan1.0.39 Jan1.0.213 DecView all collected versions →