Catalog npm
Back to packageRELEASE DETAILS

1.0.4

npm

@0x/contracts-examples

Smart contract examples of 0x protocol

Published11 Jan 2019
Direct dependencies39
Transitive dependenciesNot calculated

README

Current package documentation

Contract examples

Example smart contracts that interact with 0x protocol.

Usage

Contracts can be found in the contracts directory. This package contains example implementations of contracts that interact with the protocol but are not intended for use in production. Examples include filter contracts, a Wallet contract, and a Validator contract, among others.

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-examples yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-examples yarn watch

Clean

yarn clean

Lint

yarn lint

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 39

Native requirements
39 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
bn.js
Environment
{
  "local_name": "bn.js",
  "alias": false,
  "peer_metadata": null
}
^4.11.8runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.5runtime
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^1.5.1runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^3.0.0runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^1.1.5runtime
@0x/order-utils
Environment
{
  "local_name": "@0x/order-utils",
  "alias": false,
  "peer_metadata": null
}
^3.1.1runtime
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^5.1.1runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^3.2.3runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^3.0.12runtime
@0x/contracts-libs
Environment
{
  "local_name": "@0x/contracts-libs",
  "alias": false,
  "peer_metadata": null
}
^1.0.4runtime
@0x/contracts-utils
Environment
{
  "local_name": "@0x/contracts-utils",
  "alias": false,
  "peer_metadata": null
}
^1.0.4runtime
@0x/contracts-tokens
Environment
{
  "local_name": "@0x/contracts-tokens",
  "alias": false,
  "peer_metadata": null
}
^1.0.4runtime
@0x/contracts-multisig
Environment
{
  "local_name": "@0x/contracts-multisig",
  "alias": false,
  "peer_metadata": null
}
^1.0.4runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^3.0.7runtime
@types/js-combinatorics
Environment
{
  "local_name": "@types/js-combinatorics",
  "alias": false,
  "peer_metadata": null
}
^0.5.29runtime
@0x/contracts-interfaces
Environment
{
  "local_name": "@0x/contracts-interfaces",
  "alias": false,
  "peer_metadata": null
}
^1.0.4runtime
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
yargs
Environment
{
  "local_name": "yargs",
  "alias": false,
  "peer_metadata": null
}
^10.0.3development
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
}
^1.0.21development
@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/bn.js
Environment
{
  "local_name": "@types/bn.js",
  "alias": false,
  "peer_metadata": null
}
^4.11.0development
@types/yargs
Environment
{
  "local_name": "@types/yargs",
  "alias": false,
  "peer_metadata": null
}
^10.0.0development
@0x/dev-utils
Environment
{
  "local_name": "@0x/dev-utils",
  "alias": false,
  "peer_metadata": null
}
^1.0.23development
@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
}
^2.0.1development
ethereumjs-abi
Environment
{
  "local_name": "ethereumjs-abi",
  "alias": false,
  "peer_metadata": null
}
0.6.5development
@0x/sol-compiler
Environment
{
  "local_name": "@0x/sol-compiler",
  "alias": false,
  "peer_metadata": null
}
^2.0.1development
@0x/subproviders
Environment
{
  "local_name": "@0x/subproviders",
  "alias": false,
  "peer_metadata": null
}
^2.1.10development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^7.1.0development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^2.0.1development
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
}
^1.0.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "7d31ebcf89fa18b83d699f481307984a0161966c",
  "tarball": "https://registry.npmjs.org/@0x/contracts-examples/-/contracts-examples-1.0.4.tgz",
  "fileCount": 71,
  "integrity": "sha512-cMdgNbR8MF9JkUb4nmYdA4IGD0l/42Itmq4TCQ5wFZtwA9v5zPZD0Tavi5uxKccR03OrB3av5i03FBfLcWyG0Q==",
  "signatures": [
    {
      "sig": "MEQCIC/OhFH2W06C46WnE9JWnZwXlaOczR8umM+ID7JlvqQsAiAx03GHI79AJvnLSrZJRKyorPG80tUZIoL4rV7v8z5+ew==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 665288,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOM0YCRA9TVsSAnZWagAAvgoP/RNT+Z4gk88BDcMfTRk1\ntspkQrvaNHOxysZP9FUPH6KTmAnsmaFo9wmC06Si5Sd3gp20Kt37c0E+rLa1\ndZlOjyQUuH+pgKtAubdfwuSRbpIT6IhOeW2d8sc6dIo1PQ/jAR79u93AoGp1\nycSw0J6rxXcgZAPSh/hSJkVXl6y3cgNV6uoOstANjHiHEumlinqJPn2a/ROC\n/j1lCdZveQvtkpS6UMsBq0qBNm31f39kxVvGYAIM9mr8pr5UQG7dKj4d+331\nhn2QRep5b8b1lsO5KaFwGAGB6rDINR3bTmvBY7taA/Co8NnvkGJQrIL9yoJ6\nSzUAzHBVeBhm/ToamXcjUT75sbZMpxp/ZI9iWTPAylZcObEO7vUwjTDwnMKa\nbLpkeNZ4RHmMPuxfCGID3BYKBND68nrZcSywgf6HKkFR7/eSE35Hvvwg1AlI\nn3kCTsN50/9+mSuZJZF8q7jvy2bp4e+56q54uVi7uYpAuKx4fdDhujPWsUjl\n5pp1S2c7EONbUuytu6JEZ6otPhhJ8PbjBdswfYGz6M+oDXp4lQGPx32adoL7\nncjJfY5AjJalyjVi1McA7cxMhJM+j+8ua5Hljcw66gzvKuUFVSWPPBPlaYM+\nZhd9/XkvUsWbeFBj9prKtfbJnBnIbd7T+EVlcMfGHtkzEwq3lpHvfsF5BnTp\nRy6T\r\n=7FsZ\r\n-----END PGP SIGNATURE-----\r\n"
}

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:20b27f7e37e6d6078fa19fa6506fe45118a23a47a155084df48d7def9b68d1db

Other collected versions

1.0.617 Jan1.0.515 Jan1.0.39 Jan1.0.213 DecView all collected versions →