Catalog npm
Back to packageRELEASE DETAILS

4.0.7

npm

@0x/contracts-erc20

Token contracts used by 0x protocol

Published1 May 2023
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

ERC20 Tokens

This package contains implementations of various ERC20 tokens, including WETH (Wrapped Ether) and ZRX. 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-erc20 --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-erc20 yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-erc20 yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
typedoc
Environment
{
  "local_name": "typedoc",
  "alias": false,
  "peer_metadata": null
}
~0.16.11development
@0x/ts-doc-gen
Environment
{
  "local_name": "@0x/ts-doc-gen",
  "alias": false,
  "peer_metadata": null
}
^0.0.28development
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^4.8.45development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "1a13ede0f1d620b5ff1272a59cece4226f8e50f1",
  "tarball": "https://registry.npmjs.org/@0x/contracts-erc20/-/contracts-erc20-4.0.7.tgz",
  "fileCount": 5,
  "integrity": "sha512-lGaTSXZfSsMiGbnuqhOI0qro/F2tdyldFhFR+7t6l/u33cRAcYQVaHTHKtRSaDYZmt+3dl1dOgLH8NjpLcKIJQ==",
  "signatures": [
    {
      "sig": "MEYCIQC+zJMH7f+BC1FoNnk5SrkJWpYAYJl/fiSfsoctMqB+mAIhAK++iF2XFDjxG95+sQIOXHQBcwEhXgu44diGN3wo2cwB",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 36576,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUC5jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqScg/9EZFoM1+CWjHEbQySHVAoqXprFj6qkVwICYyDjEcIA6WwiDer\r\n9dZy6k04jbB0H735luEblDT/1+VfN65tTuIdrmY/jV7LXEhLloKyC6ffv8kF\r\naFe9osmo0Pn/65srfGqCWBU8CN8g5xDaN4SfsJX001KiFdMT5QZvFV6d7/mH\r\naNLv15EoBvGnuHdnGnS/7kDfeWq70RtpJtKO2q3Bq2eYmmrkIGsidIdnO3X2\r\niY23HgXJT1GCHMgjSobqwzOGoXRQMWjCaw+aMmUH0tSySbHaX2O4yi2TuWrK\r\nN+YYmeeY3ce0tpOS4YDdEOFWIE5fBcbVzZZV4bTkripgsjXMkT7TVGqQQ+CY\r\nPUzd+zTbEBQsP9LoUzqexEAElvPv8yjX/DgOoorr4UfJJeEsr+4b8KvUL3uA\r\nfgHbXDYaLJPImkJpV0LG8hzXXqa2szoGs6yC8M1LnHKHoSBOG0EWzLywhenO\r\nzbs4JrptxdItf2gGwI3CGSdCpUCbhdZoHnPNUEyLYOWoz0f4ebHmGkYygMJI\r\nmadCASyEWGkOM2niQWF7XVDWobmRQdRe8rRc3+pvR3VzQ+bl/kqYZDptOne+\r\nfJiLCyMJBejXXcqfD0/T0euu4HnNIxZ/aRd+slmtOM7a0RPd//a4OyzTxy9s\r\nqVVgFbwL85eZx93oMEHSS8hUdq4c8q48VPs=\r\n=V/Ag\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:f9369fe32d78fef3f4502bfaaab5f6ccbb30deb42adb588a1a61a2ce83e7d629

Other collected versions

4.0.1416 Nov4.0.1329 Aug4.0.1218 Aug4.0.119 Aug4.0.1021 Jul4.0.919 JulView all collected versions →