Catalog npm
Back to packageRELEASE DETAILS

4.0.3

npm

@0x/base-contract

0x Base TS contract

Published9 Feb 2019
Direct dependencies15
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 15

Native requirements
15 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.1.0runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^5.0.0runtime
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^4.0.0runtime
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.0development
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": "ea5e3640824ee096813350e55546d98455a57805",
  "tarball": "https://registry.npmjs.org/@0x/base-contract/-/base-contract-4.0.3.tgz",
  "fileCount": 30,
  "integrity": "sha512-bpYlho1xgGlrRZY4rDYH1Ax9+mV5Zc9ZxV9lKvE+UJDV9EwcixaKw0H6v1PgkgCUItMTy24hZ2ZtrNZ08ffmdQ==",
  "signatures": [
    {
      "sig": "MEQCIFJpv94Yq4MT8iDVaCWABNxo9TtIKT90+e1aHpahs7IFAiA35ITsMJrq/mZN3WbXr3McdvRmQR2V79SvwcMrnZnYHg==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 59270,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXx+yCRA9TVsSAnZWagAAIeMP/1vSuKOSKX+Qf18iZ26j\nn4W18mGlpe6n9WgLFCa9/o7DLER1R2RyyQoxw/FVDNxM6qYCYDyzuY6Wkb+a\nSQAF6H5vgyDE5MZ8Dy89HTlJ5D6B2AeuRVblrSw+ytF2bnZHxiAc4eFjHXCQ\niulWKsttS1L5A9HWMKGzrc58lPeXIXd7LWVKmdwY3xVEwiT0ZtYqHTUsJ51/\nCfpGzTEUpDrNAqUKwELOYWEhsB0Z8fVPm85xioZd6hySLjhEP9udCkBxt3z8\nIGhji1PPiUBjwIQ6+TrVA+x1RdoY0CJgK97nlF2UokLVjlgyWosPxwaT1RI5\nPza2p2EzHEUpLMiD0DyUdzJP4kW1Q/ZNeePVPvmIJgZXlDEUlIw777TPRyGr\nsZkke+rx06UpWL/99owfW0PKd+qfDJmKdBM0/i6BPkW5Hk6R5MDZJSTFSJxl\nTSUAjCKspGEbxlcZnRqyy5fUQESHgplswD3a3BFe4RhZpvhlUqETtfuAMEwb\nxB67uWhy/BLtN7nTdPgWCfynANxfoZuA101I8EV37OB4wRz4CG7nbG/wA4PK\n19pW8qPzERDTYDTLd6S5ynazALmdQCSfSGwZbrelOn3sfhx9AelQWSpk6DZr\n9vMZNPkQQtKYJrr1soM3TCAaS0LF+bPj0l368+PLeJyYAb8nYrLD5F0awx/o\nfGjk\r\n=/shi\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:04fb8468cdd3de09b92b75b52ae8bcffdd4e17b86b66834736d9e97c64ecac00

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 →