Catalog npm
Back to packageRELEASE DETAILS

3.16.0

npm

@0x/contract-artifacts

0x smart contract compilation artifacts

Published29 Sept 2021
Direct dependencies7
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 7

Native requirements
7 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
}
^6.2.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
}
^6.4.4development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
4.2.2development
@types/mocha
Environment
{
  "local_name": "@types/mocha",
  "alias": false,
  "peer_metadata": null
}
^5.2.7development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "4efdb547f52ee1143b438eb40ec5ed50aa780bfc",
  "tarball": "https://registry.npmjs.org/@0x/contract-artifacts/-/contract-artifacts-3.16.0.tgz",
  "fileCount": 48,
  "integrity": "sha512-RK1N/ldF2fksW8Rtb87bHT+7KaPlmbQKTPwyiUAjuvtGuEkzpNqmNtNyp9M9Nv/XDkFtOiSx6dZnDUAw+NEHHg==",
  "signatures": [
    {
      "sig": "MEUCIHIDOY1zlJC/Sd58qIuieEwhWBLYWg/s0Vn7ff4T71mYAiEAweVLq7uHO8uC8NtXQ1n4nckgljDSg9QL5dj65dRZs9w=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 1439460
}

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:3f657dd1c041f560b2cc2c5768d55675ed88846e2187eb6808ea3e0191cd44b7

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 →