Catalog npm
Back to packageRELEASE DETAILS

5.4.0-beta.2

npm

@0x/abi-gen-wrappers

Low-level 0x smart contract wrappers generated using @0x/abi-gen

Published17 Nov 2019
Direct dependencies13
Transitive dependenciesNot calculated

README

Version 5.4.0-beta.2 documentation

@0x/abi-gen-wrappers

Low-level 0x smart contract wrappers generated using @0x/abi-gen. These low-level wrappers are imported by other packages in the 0x monorepo and application developers are not expected to import this package directly.

You may also be interested in the @0x/contract-wrappers package which includes some higher-level features.

Installation

yarn add @0x/abi-gen-wrappers

Import

import * as wrappers from '@0x/abi-gen-wrappers';

or

var wrappers = require('@0x/abi-gen-wrappers');

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/abi-gen-wrappers yarn build

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Documentation

Documentation for this package is generated by TypeDoc, using the Solidity source code for 0x contracts. Each contract corresponds to one global-level module, which contains relevant enums and interfaces for its events and structs. Most significantly, each module exports a class, <ContractName>Contract, e.g. ExchangeContract, which implements helper methods for all the functions defined in the corresponding contract.

A convention to note is that these contract-specific helper methods are defined as object literals, which are separated from methods in the generated documentation. Each contract method has a number of sub-methods, e.g. sendTransactionAsync, or estimateGasAsync, which are documented separately. This is an example of an expected method call signature: exchangeContractInstance.fillOrder.sendTransactionAsync(...arguments).

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 13

Native requirements
13 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
~4.0.4runtime
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^2.5.0-beta.2runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^4.6.0-beta.2runtime
@0x/assert
Environment
{
  "local_name": "@0x/assert",
  "alias": false,
  "peer_metadata": null
}
^2.2.0-beta.2runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^2.2.0-beta.2runtime
@0x/json-schemas
Environment
{
  "local_name": "@0x/json-schemas",
  "alias": false,
  "peer_metadata": null
}
^4.1.0-beta.2runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^6.1.0-beta.2runtime
@0x/base-contract
Environment
{
  "local_name": "@0x/base-contract",
  "alias": false,
  "peer_metadata": null
}
^5.5.0-beta.2runtime
@0x/contract-addresses
Environment
{
  "local_name": "@0x/contract-addresses",
  "alias": false,
  "peer_metadata": null
}
^3.3.0-beta.3runtime
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
@0x/abi-gen
Environment
{
  "local_name": "@0x/abi-gen",
  "alias": false,
  "peer_metadata": null
}
^4.4.0-beta.2development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^3.1.0-beta.2development
@0x/contract-artifacts
Environment
{
  "local_name": "@0x/contract-artifacts",
  "alias": false,
  "peer_metadata": null
}
^2.3.0-beta.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "ee14ae2eb68d7a89811ce60eb2a90b8d1c570889",
  "tarball": "https://registry.npmjs.org/@0x/abi-gen-wrappers/-/abi-gen-wrappers-5.4.0-beta.2.tgz",
  "fileCount": 73,
  "integrity": "sha512-TmnMdhXYCoCjr1NpuoiSikPxUVJFKoKuiHgXlaoxQP1jlky5W9mj1KAQ2XHIrssvB/igB/bhx6PJze4/vYmJKA==",
  "signatures": [
    {
      "sig": "MEYCIQD5Of4mB6PhOB9uDBdSzExZW7N9JoDGxOrozTWWC9FodwIhAOMaGsknsbSFsZrJArzLkihExvXhgTSeIgUXiXzoyT8d",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 2959864,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0dHwCRA9TVsSAnZWagAAn6QQAJGRlursbqFspCjeMkLm\n7IpZGGJ7iyVpgV3SLl46gYZbosLLKmCYA35FmS/+zarx0Jf0AinQHh8Q2Rjq\nKcV7caPvdjkWFU/uuk3+kbUramFsR7mLmPfkBYvsA2rT5Hu8g0/1xEdoIJo+\nxUQ9o79S3jhEis38aNKuGH1J2I0FdqFFiiD+N5APBczWg0F2D4sjk0jnqGaF\nF7y3hBmbTuARkAzMWeG1nGw1x3/r2ohegWJ0KzB4G4DZJUw+Kj5+SOKQUWuc\nPjPuHnvzyyfUiv4oiT9KuXvOkbWU0NOe0hiNt2nR/S8jyEoWX9vs2iVoBiJq\nrsB0WuZwzYTb2BX2NsaEhct7g4xKmGxMK//vNi0cxtOI2ln+sbpP2D0OJfyF\nXOyQjHcyg8FBGdhx73co426V649T95BKg0Zc1jopDOnMBgn3gnlQaoLmqC44\nKZxKUYAmsaoUASdh/YB6nF0jNhbZKt6s0EfNbXXcCVUQVsD+j2whKFNu/ta9\nhabXBvKkwjYejOOO21PjmwsCsaVWeF3IjSRDbPuuQD7oIwcXsDpy3P0REMUu\nxSW3Orb0ZUZqV2q1lLIDBk9QOcM4NPpE1dxqj2L0BnakEVYx6uVGfVoWDig4\nJcQtkiSGIuEKg4iYp6trAAwB4jBwWT0XYSpBn1v2hXO0olpbILapin5bffnM\nBgfL\r\n=RD8X\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:20 UTC

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

Record identity

package_version:6672d456097b35ca1e0caffb16bf823be58e3e3e8a2350721663a93a6d8b0c98

Other collected versions

5.4.0-beta.320 Nov5.4.0-beta.17 Nov5.4.0-beta.03 Oct5.3.217 Sept5.3.13 Sept5.3.022 AugView all collected versions →