Catalog npm
Back to packageRELEASE DETAILS

2.0.2

npm

@0x/contracts-erc1155

Token contracts used by 0x protocol

Published17 Dec 2019
Direct dependencies31
Transitive dependenciesNot calculated

README

Current package documentation

ERC1155 Tokens

This package contains implementations of various ERC1155 tokens. 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-erc1155 --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-erc1155 yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-erc1155 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 31

Native requirements
31 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.11runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^5.1.1runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^7.0.2runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^6.0.2runtime
@0x/contracts-test-utils
Environment
{
  "local_name": "@0x/contracts-test-utils",
  "alias": false,
  "peer_metadata": null
}
^5.0.1runtime
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
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
truffle
Environment
{
  "local_name": "truffle",
  "alias": false,
  "peer_metadata": null
}
^5.0.32development
typedoc
Environment
{
  "local_name": "typedoc",
  "alias": false,
  "peer_metadata": null
}
^0.15.0development
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^3.1.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
}
^5.0.2development
@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/mocha
Environment
{
  "local_name": "@types/mocha",
  "alias": false,
  "peer_metadata": null
}
^5.2.7development
@0x/dev-utils
Environment
{
  "local_name": "@0x/dev-utils",
  "alias": false,
  "peer_metadata": null
}
^3.0.2development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.104development
@0x/ts-doc-gen
Environment
{
  "local_name": "@0x/ts-doc-gen",
  "alias": false,
  "peer_metadata": null
}
^0.0.22development
chai-bignumber
Environment
{
  "local_name": "chai-bignumber",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
@0x/sol-compiler
Environment
{
  "local_name": "@0x/sol-compiler",
  "alias": false,
  "peer_metadata": null
}
^4.0.2development
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
}
^2.0.2development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^4.0.2development
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^5.0.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "60041d753c2fc76b6da43c914f0296cdae3e9c7c",
  "tarball": "https://registry.npmjs.org/@0x/contracts-erc1155/-/contracts-erc1155-2.0.2.tgz",
  "fileCount": 47,
  "integrity": "sha512-jhVMx1oEwA2t6QsS7s4tLhFjyFAo+kZP0BOXczBLXGIzsW6VL43bJBi5mVY0gTPODQQaHxhc8Sy8Sp7JmhxH8Q==",
  "signatures": [
    {
      "sig": "MEUCIDbR/RgsdbhqQ+GnRTJCJzNUEwUgTbvdGsPKHoQLlJpiAiEAwmZfVeRb+VgTwQAs573Pzexvrb1DfhVWzzxGWyqRpzA=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 821899,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+BwBCRA9TVsSAnZWagAAyiMP+QBL4xFwR3UecZ539jMs\nS+TY7RrqTGtW14lu3i+0aWz5o4oI1p3hFc64p5TAoEuR4VE6fh+fSKp+8wEO\n2JuZfK2/hdFK1YTXDGFeN79y/xydIhDCyAwnPrLWxrN71XX4c66xGHWAEZY+\nYLMsPxWiFPVES7FCRu1aHHkgLBAK1yLTFKiTloD0yG3X+WP5awOCP+iZGH+5\nzfW7bzwk8NaPqpoupV7PKuuwuN9mJVJvp4Vs5oQL0UbxgUSak17AjTJN17/F\nXUGbksbqXYQzpIi5NgQdfLMuPtVNr5YYeFo/fMKPVI9WocSCA7ZHieCmebSa\nXef/qChIZgvDmXHXkg9ETvAv5dMaIbRojVzXZl6jUytEpFfGz/TsA/YWtO7u\nxkiqu6sTBdZas4nEWU3psTrq2LvZE3fxlnySGB+p3WPsLDLvGLfn2nwxBsXx\nnAsltCSoaxlOESglBywUayQvf7avzHYMzZWLrHjfXBm4QNdjf3OSUgnkxp+y\neLrUn6bu/2EmeZDwftbCIsBL1qkqTM51uzp7MWv2Kg5d8oOzxAQBEsUUO68S\n6VnicPFP7w7lD1V3J+oLVMYOqR5yvmecWXgGf1Mqnq+E8X7jT1EQcsMUDZWR\nb/+9X5qDP8zDHGA1lkTKd+vgkHr9QhfR/1YkzSWyN9t99bVrLRmeUFDYSAvT\nMMlE\r\n=hPi0\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:e6995f2b38e68eecfb4084a7985bdf76f80f39ddd13eecc4a0b7b8f8e4bff006

Other collected versions

2.1.3716 Aug2.1.3611 Aug2.1.356 Aug2.1.3422 Jun2.1.3311 Jun2.1.322 JunView all collected versions →