mzhu25 ff9c9241d8
BalancerBridge (#2613)
* Add BalancerBridge and Sampler functions

* Update sampler artifacts/wrappers

* Add Balancer support to AssetSwapper + related refactoring

* Make use of GraphQL instead of sampler

* "fix" build and add mainnet BalancerBridge tests

* address some comments

* add balancer cache and fix DexSampler tests

* lint

* wip: tests for balancer sampler ops

* Fix market operation utils test

* balancer unit tests

* Return a buy quote of 0 if the buy amount exceeds the Balancer pool's balance

* Dynamic fee estimation

* Update contract addresses, export BalancerBridge wrapper

* Update changelogs

* Fix bugs discovered via simbot

* Fix issues in balancer_utils

* override `BigNumber.config` in configured_bignumber.ts

* Special case Balancer subops in  too

* Address some more comments

* Address Balancer performance issue

* Performance improvements

* Address comment

* Fix tests

Co-authored-by: xianny <xianny@gmail.com>
2020-07-14 19:18:50 -07:00
..
2020-07-14 19:18:50 -07:00
2020-07-14 19:18:50 -07:00
2019-11-27 17:50:24 -08:00

Deployed Contract Packages

Contract Package Version Git Tag
AssetProxyOwner @0x/contracts-multisig v1.0.2 @0x/contracts-multisig@1.0.2
ERC20Proxy @0x/contracts-asset-proxy v1.0.1 @0x/contracts-asset-proxy@1.0.1
ERC721Proxy @0x/contracts-asset-proxy v1.0.1 @0x/contracts-asset-proxy@1.0.1
Exchange @0x/contracts-exchange v1.0.1 @0x/contracts-exchange@1.0.1
DutchAuction @0x/contracts-extensions v1.0.2 @0x/contracts-extensions@1.0.2
Forwarder @0x/contracts-exchange-forwarder v1.0.1 @0x/contracts-exchange-forwarder@1.0.1
MultiAssetProxy @0x/contracts-asset-proxy v1.0.1 @0x/contracts-asset-proxy@1.0.1
ZRXToken @0x/contracts-erc20 v1.0.1 @0x/contracts-erc20@1.0.1

Development

Building solidity files will update the contract artifact in {package-name}/generated-artifacts/{contract}.json, but does not automatically update the contract-artifacts or contract-wrappers packages, which are generated from the artifact JSON. See contract-artifacts/README.md for instructions on updating these packages.