Commit Graph

16779 Commits

Author SHA1 Message Date
Lawrence Forman
1e160e8a1c fix celo rebase 2022-02-08 17:36:19 -05:00
Github Actions
c1854031c0 Publish
- @0x/contracts-zero-ex@0.29.4
 - @0x/asset-swapper@16.33.0
 - @0x/migrations@8.1.11
2022-02-08 17:31:40 -05:00
Github Actions
92d99c859a Updated CHANGELOGS & MD docs 2022-02-08 17:31:40 -05:00
Jacob Evans
76c331dcbf feat: Uniswap V3 1bps pools [TKR-263] (#366)
* feat: Uniswap V3 1bps pools

* Update CHANGELOG
2022-02-08 17:31:39 -05:00
Lawrence Forman
0b719e48f2 @0x/contracts-zero-ex: Prevent EP ETH balance from reducing when executin mtxs (#365)
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2022-02-08 17:31:39 -05:00
Github Actions
d958aeba21 Publish
- @0x/asset-swapper@16.32.0
2022-02-08 17:31:39 -05:00
Github Actions
699ed52e56 Updated CHANGELOGS & MD docs 2022-02-08 17:31:39 -05:00
Jorge Pérez
2da1abd5b5 fix: Extended Quote Report Changelog typo 2022-02-08 17:31:39 -05:00
Jorge Pérez
cbaa54e5bb feat: Extended Quote Report
* Extended Quote report for indicative quote

* feat: Only save 'full' quotes on quote report

* Unify extended quote report
2022-02-08 17:31:39 -05:00
Github Actions
e5926e8c2c Publish
- @0x/asset-swapper@16.31.0
2022-02-08 17:31:39 -05:00
Github Actions
24b6267d8a Updated CHANGELOGS & MD docs 2022-02-08 17:31:39 -05:00
Jacob Evans
1883a0c9f8 feat: [Avalanche] Add Curve, CurveV2 and KyberDMM (#363)
* feat: [Avalanche] Add Curve, CurveV2 and KyberDMM

* CHANGELOG

* fix missing file

* lint
2022-02-08 17:31:35 -05:00
Github Actions
e885f07531 Publish
- @0x/contracts-erc20@3.3.22
 - @0x/contracts-test-utils@5.4.13
 - @0x/contracts-treasury@1.4.5
 - @0x/contracts-utils@4.8.3
 - @0x/contracts-zero-ex@0.29.3
 - @0x/asset-swapper@16.30.1
 - @0x/contract-addresses@6.8.1
 - @0x/contract-wrappers@13.18.2
 - @0x/migrations@8.1.10
 - @0x/protocol-utils@1.9.4
2022-02-08 17:28:21 -05:00
Github Actions
288274476e Updated CHANGELOGS & MD docs 2022-02-08 17:28:21 -05:00
phil-ociraptor
4d78d0c9e8 chore: add OtcOrder feature to fullMigrateAsync (#350) 2022-02-08 17:28:21 -05:00
shawnxin89
5c9b655d8c further cleanup 2021-11-01 15:54:18 -07:00
shawnxin89
7fc98eca22 cleanup 2021-11-01 15:49:42 -07:00
shawnxin89
c0cb26892f add liquidity sources on Arbitrum 2021-11-01 15:06:21 -07:00
shawnxin89
04d3c50576 Merge branch 'development' of github.com:0xProject/protocol into development 2021-10-26 22:23:37 -07:00
Lawrence Forman
fce3664258 @0x/contracts-zero-ex: Register transformERC20() and remove transformERC20Staging() (#355)
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2021-10-25 20:08:58 -04:00
shawnxin89
23f5ecac45 Merge branch 'development' of github.com:0xProject/protocol into development 2021-10-19 23:01:50 -07:00
Github Actions
aa522fe49b Publish
- @0x/contracts-erc20@3.3.21
 - @0x/contracts-test-utils@5.4.12
 - @0x/contracts-treasury@1.4.4
 - @0x/contracts-utils@4.8.2
 - @0x/contracts-zero-ex@0.29.2
 - @0x/asset-swapper@16.30.0
 - @0x/contract-addresses@6.8.0
 - @0x/contract-wrappers@13.18.1
 - @0x/migrations@8.1.9
 - @0x/protocol-utils@1.9.3
@0x/contract-addresses@6.8.0 @0x/contract-wrappers@13.18.1 @0x/contracts-erc20@3.3.21 @0x/contracts-test-utils@5.4.12 @0x/contracts-treasury@1.4.4 @0x/contracts-utils@4.8.2 @0x/contracts-zero-ex@0.29.2 @0x/migrations@8.1.9 @0x/protocol-utils@1.9.3 @0x/asset-swapper@16.30.0 protocol@aa522fe
2021-10-19 18:27:29 +00:00
Github Actions
c03653ebd7 Updated CHANGELOGS & MD docs 2021-10-19 18:27:25 +00:00
Shawn
ae08f77381 Feat/ftm (#347)
* ftm deployment

* add Fantom Curve

* add support for ftm

* add more Fantom liquidity sources

* clean up codes

* lint

* prettier codes

* modify CHANGLOG

* undo some changes

* use lowercase addresses

* Update EP FlashWallet

* Update addresses and remove timestamps

Co-authored-by: Jacob Evans <jacob@dekz.net>

* Cleanup

* cleanup json

Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com>
Co-authored-by: Jacob Evans <jacob@dekz.net>
2021-10-19 09:51:07 -07:00
shawnxin89
834a96fe47 Merge branch 'development' of github.com:0xProject/protocol into development 2021-10-18 10:17:04 -07:00
Github Actions
73a07e512d Publish
- @0x/asset-swapper@16.29.3
@0x/asset-swapper@16.29.3 protocol@73a07e5
2021-10-18 10:36:39 +00:00
Github Actions
7cff09f40a Updated CHANGELOGS & MD docs 2021-10-18 10:36:36 +00:00
Kim Persson
a6d690f10a chore: update to new router version and address breaking changes (#344)
* chore: update to new router version and address breaking changes

* chore: add changelog entry
2021-10-18 11:15:31 +01:00
shawnxin89
dbf899b20d Merge branch 'development' of github.com:0xProject/protocol into development 2021-10-15 10:15:00 -07:00
Github Actions
d7cff52e75 Publish
- @0x/contracts-treasury@1.4.3
 - @0x/asset-swapper@16.29.2
@0x/asset-swapper@16.29.2 @0x/contracts-treasury@1.4.3 protocol@d7cff52
2021-10-13 17:44:45 +00:00
Github Actions
cf1f29a37d Updated CHANGELOGS & MD docs 2021-10-13 17:44:41 +00:00
mzhu25
9af22110b4 Chore: go back to using transformERC20 in AS (#343)
* go back to using transformERC20

* Update changelog
2021-10-12 22:47:29 -07:00
mzhu25
2c187c7e85 Add Proposal 2 and test (#339) 2021-10-08 13:04:09 -07:00
shawnxin89
c6a138a158 Merge branch 'development' of github.com:0xProject/protocol into development 2021-10-08 11:15:29 -07:00
Phạm Minh Đức
d46756ae2e fix(asset-swapper): Check MAX_IN_RATIO in sampleBuysFromBalancer (#338)
* fix: for swapExactAmountIn

* chore: update change log

* Update packages/asset-swapper/CHANGELOG.json

Co-authored-by: Lawrence Forman <lawrence@0xproject.com>
2021-10-05 16:25:02 -04:00
Github Actions
d9a16ed1f9 Publish
- @0x/contracts-treasury@1.4.2
 - @0x/contracts-zero-ex@0.29.1
 - @0x/asset-swapper@16.29.1
 - @0x/migrations@8.1.8
 - @0x/protocol-utils@1.9.2
@0x/contracts-zero-ex@0.29.1 @0x/migrations@8.1.8 @0x/protocol-utils@1.9.2 @0x/asset-swapper@16.29.1 @0x/contracts-treasury@1.4.2 protocol@d9a16ed
2021-10-04 19:01:10 +00:00
Github Actions
57a1120997 Updated CHANGELOGS & MD docs 2021-10-04 19:01:06 +00:00
Romain Butteaud
0945d4cef2 fix: removing Clipper custom integration (to add it later as a real PLP) (#335)
* fix: removing Clipper custom integration (to add it later as a real PLP)

* fix: update CHHANGELOG

* fix: keep Clipper as BridgeProtocols so we dont have to redeploy and comment this is not used

* fix: prettier
2021-10-04 11:39:07 -07:00
Github Actions
8f6f7ad453 Publish
- @0x/asset-swapper@16.29.0
@0x/asset-swapper@16.29.0 protocol@8f6f7ad
2021-10-04 12:21:46 +00:00
Github Actions
bb4fad37fa Updated CHANGELOGS & MD docs 2021-10-04 12:21:43 +00:00
Kim Persson
d06daf2957 feat: initial integration of new router (#295)
* feat: integrate Rust router with asset-swapper WIP

* fix: produce outputFees in the format the Rust router expects

* fix: correct output fee calc and only use the rust router for sells

* fix: make sure numbers sent to the rust router are integers

* hack: try to debug why rust router output is being overestimated WIP

* refactor: clean up router debugging code

* fix: don't use negative output fees for sells

* feat: try VIP sources in isolation and compare with routing all sources

* fix: adjust for FQT overhead when choosing between VIP, all sources WIP

* fix: pass gasPrice to path_optimizer for EP overhead calculations

* feat: buy support with the Rust Router WIP

* chore: WIP commit trying to get buys working

* refactor: use samples instead of fills for the Rust router

* feat: add vip handling hack to sample based routing

* fix: revert to 200 samplings for rust router when using pure samples

* refactor: remove old hacky Path based Rust code, add back feature toggle

* fix: scale both fill output and adjustedOutput my same factor as input

* feat: initial plumbing for supporting RFQ/Limit orders

* fix: incorrect bump of input amount by one base unit before routing

* fix: add fake samples for rfq/limit orders to fulfill the 3 sample req

* fix pass rfq orders in the correct format to the rust router

* chore: remove debugging logs and clean up code & comments

* fix: use published version of @0x/neon-router

* hack: scale routed amounts to account for precision loss of number/f64

* refactor: clean up code and address initial review comments

* fix: only remove trailing 0 output samples before passing to the router

* refactor: consolidate eth to output token calc into ethToOutputAmount fn

* fix: interpolate input between samples on output amount instead of price

* fix: return no path when we have no samples, add sanity asserts

* refactor: fix interpolation comment wording

* fix: remove double adjusted source route input amount

* chore: update changelog for asset-swapper
2021-10-04 12:09:54 +02:00
Megan
34314960ef Updated docs for zero protocol fees (#337) 2021-10-01 13:04:25 +02:00
Github Actions
832ba737ec Publish
- @0x/contracts-treasury@1.4.1
 - @0x/contracts-zero-ex@0.29.0
 - @0x/asset-swapper@16.28.0
 - @0x/contract-artifacts@3.16.0
 - @0x/contract-wrappers@13.18.0
 - @0x/migrations@8.1.7
 - @0x/protocol-utils@1.9.1
@0x/asset-swapper@16.28.0 @0x/contract-artifacts@3.16.0 @0x/contract-wrappers@13.18.0 @0x/contracts-treasury@1.4.1 @0x/contracts-zero-ex@0.29.0 @0x/migrations@8.1.7 @0x/protocol-utils@1.9.1 protocol@832ba73
2021-09-29 23:19:10 +00:00
Github Actions
6950fdbebb Updated CHANGELOGS & MD docs 2021-09-29 23:19:06 +00:00
mzhu25
1849b1bb9a Update ExchangeProxySwapQuoteConsumer for MultiplexV2 (#282)
* Update ExchangeProxySwapQuoteConsumer for MultiplexV2

* Move TransformERC20FeatureContract instance into private readonly
2021-09-29 16:02:13 -07:00
Megan
a883139220 feat: remove protocol fees for V4 in AssetSwapper WIP (#333)
* Set AssetSwapper protocol fee multiplier to zero

* Set market_operation_utils protocol fee multiplier to zero

* Updated CHANGELOG.json

* Removed whitespace in CHANGELOG.json

* Remove unnecessary timestamp in packages/asset-swapper/CHANGELOG.json

Co-authored-by: Lawrence Forman <lawrence@0xproject.com>

* Updated  param for quote simulation test

* Updated quote simulation test

* fix failing tests

Co-authored-by: Lawrence Forman <lawrence@0xproject.com>
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2021-09-29 12:37:42 -04:00
Romain Butteaud
f3b3ab05ea WIP Clipper new weth router test 2021-09-23 11:41:49 -07:00
Kevin Li
bb2c26cb94 fix(docs): pin Sphinx version to 3.x to generate CSS
Custom CSS seems to [have broken in Sphinx 4](https://github.com/sphinx-doc/sphinx/issues/2442).
Guessing readthedocs.io or their package repository upgraded the default
version of Sphinx to 4 and that caused our builds to start breaking.

They [recommend pinning dependencies](https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html#pinning-dependencies), let's do that here for Sphinx!
2021-09-15 18:18:44 -07:00
Github Actions
ba09a0b2bf Publish
- @0x/contracts-erc20@3.3.20
 - @0x/contracts-test-utils@5.4.11
 - @0x/contracts-treasury@1.4.0
 - @0x/contracts-utils@4.8.1
 - @0x/contracts-zero-ex@0.28.5
 - @0x/asset-swapper@16.27.4
 - @0x/contract-artifacts@3.15.1
 - @0x/contract-wrappers@13.17.7
 - @0x/migrations@8.1.6
 - @0x/protocol-utils@1.9.0
@0x/asset-swapper@16.27.4 @0x/contract-artifacts@3.15.1 @0x/contract-wrappers@13.17.7 @0x/contracts-erc20@3.3.20 @0x/contracts-test-utils@5.4.11 @0x/contracts-treasury@1.4.0 @0x/contracts-utils@4.8.1 @0x/contracts-zero-ex@0.28.5 @0x/migrations@8.1.6 @0x/protocol-utils@1.9.0 protocol@ba09a0b
2021-09-15 12:58:17 +00:00
Github Actions
b2d54f0238 Updated CHANGELOGS & MD docs 2021-09-15 12:58:13 +00:00