0.49.0 • Published 1 year ago

@0x/contracts-zero-ex v0.49.0

Weekly downloads
189
License
Apache-2.0
Repository
github
Last release
1 year ago

ZeroEx (ExchangeProxy)

This package contains contracts for the ZeroEx extensible contract architecture.

NOTE: This repo is undergoing a tooling change. If adding a contract, you will need to add it to compiler.json. You can generate the entire list by running the following: find . -type f -name "*.sol" | grep -v foundry | grep -v "contracts/dep" | grep -v "node_modules"

Installation

Install

npm install @0x/contracts-zero-ex --save

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-zero-ex yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-zero-ex yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Run Integration Tests

you will need to create a .env that the root of /contracts/zero-ex containing rpc's for all 7 chains the tests will be run on

ARBITRUM_RPC_URL=https://arb-mainnet........
AVALANCHE_RPC_URL=https://avalanche-mainnet......
BSC_RPC_URL=https://bsc-mainnet......
FANTOM_RPC_URL=https://fantom-mainnet......
MAINNET_RPC_URL=https://eth-mainnet......
OPTIMISM_RPC_URL=https://opt-mainnet......
POLYGON_RPC_URL=https://polygon-mainnet......
git submodule update --init --recursive
foundryup
yarn test:integration
0.49.0

1 year ago

0.48.0

1 year ago

0.45.1

1 year ago

0.45.0

1 year ago

0.46.0

1 year ago

0.47.0

1 year ago

0.43.0

2 years ago

0.41.0

2 years ago

0.44.0

2 years ago

0.42.0

2 years ago

0.42.1

2 years ago

0.39.1

2 years ago

0.39.0

2 years ago

0.38.6

2 years ago

0.38.5

2 years ago

0.38.4

2 years ago

0.38.2

2 years ago

0.38.1

2 years ago

0.38.0

2 years ago

0.38.3

2 years ago

0.37.10

2 years ago

0.37.9

2 years ago

0.37.8

2 years ago

0.37.7

2 years ago

0.37.6

2 years ago

0.37.5

2 years ago

0.36.4

2 years ago

0.36.6

2 years ago

0.36.5

2 years ago

0.37.3

2 years ago

0.37.2

2 years ago

0.37.1

2 years ago

0.37.0

2 years ago

0.37.4

2 years ago

0.36.3

2 years ago

0.36.2

2 years ago

0.36.1

2 years ago

0.36.0

2 years ago

0.34.0

3 years ago

0.35.0

3 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.2

3 years ago

0.31.1

3 years ago

0.30.1

3 years ago

0.31.0

3 years ago

0.30.0

3 years ago

0.29.5

3 years ago

0.29.4

3 years ago

0.29.3

3 years ago

0.29.2

3 years ago

0.29.1

3 years ago

0.29.0

3 years ago

0.28.5

3 years ago

0.28.4

3 years ago

0.28.3

3 years ago

0.28.1

3 years ago

0.28.2

3 years ago

0.28.0

3 years ago

0.27.1

3 years ago

0.27.0

3 years ago

0.26.0

4 years ago

0.25.1

4 years ago

0.25.0

4 years ago

0.24.1

4 years ago

0.24.0

4 years ago

0.23.0

4 years ago

0.22.3

4 years ago

0.22.2

4 years ago

0.22.1

4 years ago

0.22.0

4 years ago

0.21.1

4 years ago

0.21.0

4 years ago

0.20.0

4 years ago

0.20.0-multiplex

4 years ago

0.19.0

4 years ago

0.18.2

4 years ago

0.18.1

4 years ago

0.18.0

4 years ago

0.17.0

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.13.0

4 years ago

0.14.0

4 years ago

0.12.0

4 years ago

0.11.1

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago