Catalog npm
Back to packageRELEASE DETAILS

5.1.2

npm

@0x/base-contract

0x Base TS contract

Published24 Jul 2019
Direct dependencies17
Transitive dependenciesNot calculated

README

Current package documentation

@0x/base-contract

BaseContract to derive all auto-generated wrappers from

Installation

yarn add @0x/base-contract

If your project is in TypeScript, add the following to your tsconfig.json:

"compilerOptions": {
    "typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}

Usage

import { BaseContract } from '@0x/base-contract';

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.

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

Or continuously rebuild on change:

PKG=@0x/base-contract yarn watch

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 17

Native requirements
17 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
~4.0.4runtime
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
}
^4.4.1runtime
@0x/assert
Environment
{
  "local_name": "@0x/assert",
  "alias": false,
  "peer_metadata": null
}
^2.1.1runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^2.1.4runtime
@0x/json-schemas
Environment
{
  "local_name": "@0x/json-schemas",
  "alias": false,
  "peer_metadata": null
}
^3.1.11runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^6.0.8runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^4.2.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
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.11.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
3.0.1development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.104development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^3.0.1development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "4605f373c2a235c358172af312a1ccb2f27a4491",
  "tarball": "https://registry.npmjs.org/@0x/base-contract/-/base-contract-5.1.2.tgz",
  "fileCount": 13,
  "integrity": "sha512-834Q95CIEzX5xMyq80b4LOMZFkVf8VR3aYa8+WNAmZIUZPA7V3FHLDQ/hXjT6qgjnakFRiFFgtNGH1pkxnZ4iw==",
  "signatures": [
    {
      "sig": "MEUCIQDtgnryei7qTKSyDqwlToB+LXWzxY/Cnahv3aWnIl3lOAIgZaUK0i+4QyGhFMXIorlxb9KJu2mW/W6lw2ldeUIfL3o=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 41914,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOBv+CRA9TVsSAnZWagAAVNcP/R4JtsfLjXh96wqCnbXa\nOc9K+9Fg0lAhAr55aKEVRnet2Kzy87x800njXsOyRy9uej+5AWG+zZrUtbjI\n+JZUM3COicbbbzXWk7IsINblTRFCXJrma9AriHGfOleUHxh+NSshR9s72/JS\nNFlHdceBCUac9zpIpYy4JkReY7V2GcML8F6slMKvoCD24kEGjIy50aoOghCB\nTg04b+b0KhcWVTzzZfcXqQzNRTecmNKU2gsXdIZKm5c8ux1raHYT3QoVgivl\njeBag6b++M3TOpWFD8mhX6QKzrA5j1kMwvOc0rQ9n3mgH1f8cKLtWzsweHb/\npDuxVHhINkbzVpJq15XLy0sjngN4J2wWi1AklHLNZHWLCEuQPSeXLiXh4sGq\nS1OBVZg3EnWmk5rUiie94/Afedd9rWgKZ1nQtoF7JaUF2+TNJIeFca/008ur\nd7rG4DkRej2eNZ5KAIaNOb1lF4aSokF5UgLVpXTMYQj8QtOHr6ViLy4xeOmn\ngadcJt65RAhoslHD7e7VGdI66h95elXJVz92axHVu+O3tPj6L+UcntCAixD5\nZQSJGvYTRlWbleB7YS42JhBdOdVaFfUFaZXpxKt2VmSnKPBZG6AboWTa+FKq\nXpuUbIASt6o7cVrYzWkIOCKeu23JsCaEM7kzL5p7V9eNPqKjDcQO7+E2Oo5E\nHa9B\r\n=SCPr\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/tools

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:21 UTC

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

Record identity

package_version:c80238b0ded3d9059d00a5a92dfeeea0b0ba398d2b8ac2bbb660524340497d64

Other collected versions

7.0.17 Apr7.0.018 Aug6.5.016 Mar6.4.716 Mar6.4.626 Feb6.4.519 JanView all collected versions →