Catalog npm
Back to packageRELEASE DETAILS

2.0.0

npm

@0x/contracts-exchange-libs

Smart contract libs of 0x protocol

Published20 Mar 2019
Direct dependencies28
Transitive dependenciesNot calculated

README

Current package documentation

Exchange Libraries

This package contains the implementations of various libraries and utilities used within the Exchange contract. These libraries may be useful when creating external contracts that interact with the Exchange contract. 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-exchange-libs --save

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-exchange-libs yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-exchange-libs 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 28

Native requirements
28 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.11runtime
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^2.2.0runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^4.2.3runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^2.1.1runtime
@0x/order-utils
Environment
{
  "local_name": "@0x/order-utils",
  "alias": false,
  "peer_metadata": null
}
^7.1.0runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^6.0.3runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^5.0.3runtime
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^3.0.0runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^4.2.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.0.7development
@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.1.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.4development
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.6development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^3.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
}
^3.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "096432a3755768818a857798933e98cead6e0fb9",
  "tarball": "https://registry.npmjs.org/@0x/contracts-exchange-libs/-/contracts-exchange-libs-2.0.0.tgz",
  "fileCount": 111,
  "integrity": "sha512-r211bxw+LmoPSm3Nj/cH+pAvag8pv33IwJYtSCihVzEiKN1RQIIWaCASg2gy3g0H1RvTaEjhGY17d088QUZPAA==",
  "signatures": [
    {
      "sig": "MEQCIBkS7HvYDRP94eVsKit0ufS4UZazdYrgg/9bSr2LbgRBAiACWGxPImodPEPTG1N7o1CIjtAONiRHmsYbUwKOx11kDw==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 665702,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckk3zCRA9TVsSAnZWagAAhvcQAJ9AZ+z0CB1f15M6TX6B\nGAjGll+9j3gL2PybUwcpwE9nTu5MfANvLs2uQl9zy5tFRkzG+orszj1brKzY\nu5196Z4IorN97mo+0hXMW8SrX1Z2JK5hGSukga2IaiqtK5knfmwZwxVQwSAN\nXqledqLOksBjd1v6/PUvIjCVw4jHrldE004taNxAZ/PyYQkRzEgThdqgctC/\nYoS4GLIX8Zk5c0kZgAEUXEmkxYEP1xam3sncm0cHOXM/R4dlmW1e0liv0Ze9\nt0N5Or54RUydGW8ElHT37bllPK+/LAaDS9yAjHDvslSa4L+Fc//f5K1+AfpP\nBRdvz9qmYpOPOXmvKNhCfhDTi1SUY8Srcfel9NUVrlsmt4vnaQf0EoYtotJa\nVS+sdfKKWEwXjos+KCAS4bDJbp1nFaKK86Q4NwyR2N9gNBRrEZYcpiZHdmP7\ndIKu3NrmCsv0KCiFb5k14Hq1EMjDnH0QjZ0VCzzZvitHchaVI+xSsIiavtyh\nQwEJlc/CeBinPwjp9GlkDN1Er7XFgiQz7AIagea6EAzmkiMLxspdohmX6GX4\nhxcKQDbCKcjJCagQ/hD9A4V1TX2Wr/oKH/mR0gI1YmOaJC9MGtvesKxKSU/o\nY/7RcK8Bf7siYWUBgHUH1La2gjbywow9G3bwB4aNmxdWytTa90sacnudqdqg\n5gss\r\n=t3D1\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:24 UTC

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

Record identity

package_version:67bda20623a683fa35f75fd07477da2752527e0f2ce014e701a3e272b56fbde4

Other collected versions

4.3.3716 Aug4.3.3611 Aug4.3.356 Aug4.3.3422 Jun4.3.3311 Jun4.3.322 JunView all collected versions →