Catalog npm
Back to packageRELEASE DETAILS

2.0.1

npm

@0x/contract-artifacts

0x smart contract compilation artifacts

Published13 Jul 2019
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

@0x/contract-artifacts

Smart contract compilation artifacts for the latest version of the 0x Protocol.

Installation

yarn add @0x/contract-artifacts

Import

import * as artifacts from '@0x/contract-artifacts';

or

var artifacts = require('@0x/contract-artifacts');

Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

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/contract-artifacts yarn build

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Development

This package needs to be updated manually when deploying a new contract. Post-deployment workflow:

  1. Update @0x/contract-addresses
  2. Copy the contract artifact into @0x/contract-artifacts. If updating all the artifacts at once, you can use yarn artifacts_update. If manually coping an artifact, make sure to use yarn artifacts_transform to remove unwanted fields.
  3. Regenerate the wrappers. cd ../contract-wrappers && yarn rebuild

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
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
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.11development
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^4.4.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
3.0.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "055c3f0d961ff923291cbf2ee29d9ad14a9b6a65",
  "tarball": "https://registry.npmjs.org/@0x/contract-artifacts/-/contract-artifacts-2.0.1.tgz",
  "fileCount": 45,
  "integrity": "sha512-ogS5Xc1JvlZ/PD7Hi+AzjqmPoPCh22D4+8sWEVVrbpXBT6IRU9ngK2yPikB/Jszq7lxZHe6sutIRGGAIqvzsbQ==",
  "signatures": [
    {
      "sig": "MEQCIENRvLV7WpBqdM1rwTs+r1mpJq6eX+zlcwl8WqA2OLnNAiAKGC5udp/rMqhMV0bjzib+6pQz4wsx+hIXRppHBjQYLg==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 428015,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKZdGCRA9TVsSAnZWagAAJogP/1hj+p4PaAYve0X4NdGS\ni6DDBAs/uEdldD2Nln11DH+5IiImV8cjNlrYZL6dQsCPcUQj4lkzkVsqt1J4\nRG07q57ENicDyatKTr/J1Xy4Z7kw+oJHbA0p3wU6U5QVPp/sfYque8vQ1kDN\nx0PpRXZ0rmO20l2N1pxIiC5k9iQ4a7kaS9jLXNB0h0FHylDqnoOgUTUj+HgV\ncGKb4Kgn5SRxS7I6wxnEGHwZLNJh+RyDiHk0P6Luw/f6Ef15JlLgouJxWS9M\nOmaU/C5g6G7KIA5dbcCERG0KeQDXDCYoYDU9DsDJ/oB3cpRPHddy19/roqzF\nqGJDT+URJBu1rekvu5GdrvLua9QkGp1Q1HunPb6QOoUQIuuT04LhcBqh/DEf\nMui41bo9QqhC8/F5kvVljtjGBYuQ5dEQiHdLuJ4IMLD648hVTNVajUKMyLzn\nmTkDxjrcgcsbA37lZ4tK3d/8GmZtj8SAi/OYtS0jK4AEiL3R0iwAiO2ooSFC\nTSLA/Lahf1fnm/xmL4iyb75pM2ZGkf8ZcJG+j4kCpX9Ad05bKYOwppMBjbEb\nY7o45+i2pd09MM/AhJa0kZDsUmUj+aC2lNftkh52xoWvO7obkxWGmtOrn8Kf\n/3jn0aq0GedB0lBQVCXiPZ0/88LdTrmcIw1+agnWvyj2FuQ3eg6g8EGemV8O\neIZO\r\n=/WKu\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:22 UTC

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

Record identity

package_version:058f6c652f0f14e7990b3df07abd32bfebdb971876b6fa4ac8e0b3e5f73fc65f

Other collected versions

3.19.024 Apr3.18.323 Jan3.18.223 Nov3.18.122 Aug3.18.031 Mar3.17.022 FebView all collected versions →