Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@0x/contracts-broker

0xProject217Apache-2.01.1.37TypeScript support: included

Extension of 0x protocol for property-based orders

readme

Broker

This package contains the implementation of the Broker contract. This contract serves as an entry-point to the 0x Exchange for the filling of property-based orders. 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-broker --save

Bug bounty

A bug bounty for the 3.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-broker yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-broker 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.

changelog

CHANGELOG

v1.1.37 - August 16, 2021

* Dependencies updated

v1.1.36 - August 11, 2021

* Dependencies updated

v1.1.35 - August 6, 2021

* Dependencies updated

v1.1.34 - June 22, 2021

* Dependencies updated

v1.1.33 - June 11, 2021

* Dependencies updated

v1.1.32 - June 2, 2021

* Dependencies updated

v1.1.31 - May 25, 2021

* Dependencies updated

v1.1.30 - May 21, 2021

* Dependencies updated

v1.1.29 - May 5, 2021

* Dependencies updated

v1.1.28 - April 28, 2021

* Dependencies updated

v1.1.27 - April 1, 2021

* Dependencies updated

v1.1.26 - March 17, 2021

* Dependencies updated

v1.1.25 - February 24, 2021

* Dependencies updated

v1.1.24 - February 10, 2021

* Dependencies updated

v1.1.23 - January 26, 2021

* Dependencies updated

v1.1.22 - January 13, 2021

* Dependencies updated

v1.1.21 - January 4, 2021

* Dependencies updated

v1.1.20 - December 23, 2020

* Dependencies updated

v1.1.19 - December 17, 2020

* Dependencies updated

v1.1.18 - December 16, 2020

* Dependencies updated

v1.1.17 - December 9, 2020

* Dependencies updated

v1.1.16 - December 7, 2020

* Dependencies updated

v1.1.15 - December 3, 2020

* Dependencies updated

v1.1.14 - November 19, 2020

* Dependencies updated

v1.1.13 - November 13, 2020

* Dependencies updated

v1.1.12 - November 3, 2020

* Dependencies updated

v1.1.11 - November 3, 2020

* Dependencies updated

v1.1.10 - November 2, 2020

* Dependencies updated

v1.1.9 - October 28, 2020

* Dependencies updated

v1.1.8 - October 27, 2020

* Dependencies updated

v1.1.7 - October 21, 2020

* Dependencies updated

v1.1.6 - July 15, 2020

* Dependencies updated

v1.1.5 - June 24, 2020

* Fix broken tests. (#2591)

v1.1.4 - March 3, 2020

* Dependencies updated

v1.1.3 - February 27, 2020

* Dependencies updated

v1.1.2 - February 26, 2020

* Dependencies updated

v1.1.1 - February 25, 2020

* Dependencies updated

v1.1.0 - February 15, 2020

* Added decoders for broker data (#2484)

v1.0.2 - February 8, 2020

* Dependencies updated

v1.0.1 - February 6, 2020

* Dependencies updated

v1.0.0 - Invalid date

* Created package (#2455)