Commit Graph

16942 Commits

Author SHA1 Message Date
Github Actions
a933ea502f Publish
- @0x/asset-swapper@16.57.2
2022-06-15 11:00:42 -04:00
Github Actions
91238d7bfa Updated CHANGELOGS & MD docs 2022-06-15 11:00:42 -04:00
Jorge Pérez
bc6253059e Fix the filter for considered sources on indicative sells for Quote Report (#466) 2022-06-15 11:00:41 -04:00
Kyu
3ef9d50742 Add cvxfxs-fxs curve pool on Ethereum mainnet (#465)
* Add cvxfxs-fxs curve pool on Ethereum mainnet

* Update CHANGELOG.json

* Fix an existing formatting issue

* Adjust gasSchedule and merge the change under 16.57.1
2022-06-15 11:00:21 -04:00
eobbad
498698471f chore/ANY-QUICK on polygon MAG-MIM on avax (#464)
* Added ANY/QUICK pair on Polygon

* Updated changelog.json

* Update CHANGELOG.json
2022-06-15 10:58:29 -04:00
Github Actions
7223ea0c0a Publish
- @0x/contracts-erc20@3.3.29
 - @0x/contracts-test-utils@5.4.20
 - @0x/contracts-treasury@1.4.12
 - @0x/contracts-utils@4.8.10
 - @0x/contracts-zero-ex@0.32.0
 - @0x/asset-swapper@16.57.0
 - @0x/contract-addresses@6.13.0
 - @0x/contract-wrappers@13.20.1
 - @0x/migrations@8.1.18
 - @0x/protocol-utils@11.12.0
2022-06-15 10:57:36 -04:00
Github Actions
d0bc0d7936 Updated CHANGELOGS & MD docs 2022-06-15 10:57:36 -04:00
Lawrence Forman
2bbdf29df8 AS: Balancer V2 batchSwap (#462)
* Draft. PoC pseudo code showing general idea for resuing SOR path creation logic and adding multihop support.

* Add actual Balancer SDK function calls.

* Update to handle buys.

* Correct taker>maker for buy.

* Draft. PoC pseudo code showing general idea for resuing SOR path creation logic and adding multihop support.

* make it build

* rebase

* add BalancerV2Batch protocol

* add BalancerV2Batch protocol

* get balancer v2 multihop working

* fix BalancerV2Batch for sells (buys still iffy)

* fix buys, appease linter and prettier

* remove unused RPC URL from balancer sdk construction

* update changelogs

* clean up comments
add event loop yield in `BalancerV2SwapInfoCache.loadTopPools()`

* add negative result check on balancerv2batch swap output

* compiler hack

* reintroduce CompilerHack

* delete unused multibridge sampler

* remove compilerhack

* reintroduce compilerhack

* try to fix CI compile errors

* plz work

* plz work

* pretty plz work

* yay it works, also address feedback

* appease linter

* deploy new FQTs

Co-authored-by: johngrantuk <johngrantuk@googlemail.com>
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2022-06-15 10:57:33 -04:00
Github Actions
353dffa6c3 Publish
- @0x/asset-swapper@16.56.0
2022-06-15 10:56:16 -04:00
Github Actions
1cdc5e0679 Updated CHANGELOGS & MD docs 2022-06-15 10:56:16 -04:00
mzhu25
26edf14859 Add estimatedGas to ExtendedQuoteReport (#463) 2022-06-15 10:56:16 -04:00
Github Actions
8857ef6b4c Publish
- @0x/asset-swapper@16.55.0
2022-06-15 10:56:16 -04:00
Github Actions
d6fbb43c10 Updated CHANGELOGS & MD docs 2022-06-15 10:56:16 -04:00
Lawrence Forman
4929c60565 fix quote consumer RFQ VIP code path not checking if transfromERC20 is required (#461)
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2022-06-15 10:56:16 -04:00
Github Actions
aca9338acb Publish
- @0x/asset-swapper@16.54.0
2022-06-15 10:56:16 -04:00
Github Actions
d775e780ad Updated CHANGELOGS & MD docs 2022-06-15 10:56:16 -04:00
Lawrence Forman
b197bf734d add real VIP support for eligible RFQT swaps (#458)
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2022-06-15 10:56:13 -04:00
Github Actions
95aa9d0150 Publish
- @0x/contracts-erc20@3.3.28
 - @0x/contracts-test-utils@5.4.19
 - @0x/contracts-treasury@1.4.11
 - @0x/contracts-utils@4.8.9
 - @0x/contracts-zero-ex@0.31.2
 - @0x/asset-swapper@16.53.0
 - @0x/contract-addresses@6.12.1
 - @0x/contract-artifacts@3.18.0
 - @0x/contract-wrappers@13.20.0
 - @0x/migrations@8.1.17
 - @0x/protocol-utils@1.11.2
2022-06-15 10:55:42 -04:00
Github Actions
edb3d11e59 Updated CHANGELOGS & MD docs 2022-06-15 10:55:42 -04:00
Kim Persson
9f047f9fd5 fix: use Node 16 for publish GH action (#457) 2022-06-15 10:55:42 -04:00
Kim Persson
dea5cb8ac9 feat: add block number to quote report data [TKR-314] (#448)
* feat: add blockNumber to MarketSideLiquidity response

* fix: return block number back in swap quote response

* chore: add asset-swapper changelog entry
2022-06-15 10:55:40 -04:00
Kim Persson
300ff1d7e8 feat: use neon-router in CI tests (#453)
* fix: initially skip all tests that don't work with the Rust router

* fix: enable rust router for CircleCI tests

* fix: handle invalid output sampels & enable numSamples tests

* chore: add comments about disabled tests

* chore: add asset-swapper changelog entry
2022-06-15 10:55:17 -04:00
Kim Persson
ccd7aa0c5e chore: bump ts version to solve type issue with ethereumjs (#455) 2022-06-15 10:55:17 -04:00
Noah Khamliche
f2140a153e fixed gas estimation and removed hint from intermediate tokens 2022-06-15 10:55:17 -04:00
Noah Khamliche
dd02415f8e updated routing 2022-06-15 10:55:15 -04:00
Noah Khamliche
692eee0cf2 updating changelog 2022-06-15 10:55:04 -04:00
Noah Khamliche
1d96d7fd8e fixing routing 2022-06-15 10:55:04 -04:00
Noah Khamliche
706ef6d2ec Added Stargate curve pool 2022-06-15 10:55:01 -04:00
Lawrence Forman
504924a685 remove debug logs 2022-04-23 03:15:30 -04:00
Lawrence Forman
a7801c7e77 remove debug output 2022-04-22 17:21:15 -04:00
Lawrence Forman
8389ef31d8 use compatible quotes across different hop legs 2022-03-29 11:36:32 -04:00
Lawrence Forman
7967ccfb9d rebase 2022-03-16 15:54:48 -04:00
Lawrence Forman
da279052b1 remove debug log 2022-03-16 12:16:07 -04:00
Lawrence Forman
35c0cafd6b fix gas/overhead evaluation 2022-03-16 12:16:07 -04:00
Lawrence Forman
bd0d672012 properly handle multihop overhead (I hope) 2022-03-16 12:16:07 -04:00
Lawrence Forman
27ae6aabd1 do not demand multihop prices from non-fee soures 2022-03-16 12:16:07 -04:00
Lawrence Forman
f46b878637 rebase 2022-03-16 12:16:07 -04:00
Lawrence Forman
6334f5bd84 fixed multihop buy through multiplex 2022-03-16 12:16:07 -04:00
Lawrence Forman
d1a93737ce it builds 2022-03-16 12:16:07 -04:00
Lawrence Forman
29c77059a0 continue rebase 2022-03-16 12:16:07 -04:00
Lawrence Forman
7d5e4ed685 rebasing against development... 2022-03-16 12:16:07 -04:00
Lawrence Forman
6ac7dd006c @0x/asset-swapper: hack together basic sampler service integration
`@0x/asset-swapper`: use gasCost from sampler service

cleanup

`@0x/asset-swapper`: Handle per-fill gas cost correctly in more places

getting multihop back up + refactors for treating all quotes as n-hop

multihop with nice breakdowns

get vips working

get multiplex working

get rfq working

remove unused functions

fix multihop buys

plz work multihop buys

multihop buys seem ok now.
fetch less samples for multihop legs

get quote report and price comparisons working

clean up
2022-03-16 12:16:07 -04:00
Lawrence Forman
904214f4a8 ugprade tools deps and regenerate wrappers (#449)
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2022-03-16 12:14:31 -04:00
Noah Khamliche
64c090c4b4 removed local bignumber resolution 2022-03-10 21:22:28 -05:00
Noah Khamliche
e24474f152 lint and prettier 2022-03-10 21:22:28 -05:00
Noah Khamliche
29fa408256 final nitpicks 2022-03-10 21:22:28 -05:00
Noah Khamliche
1b94cc68af fixed gas schedule 2022-03-10 21:22:28 -05:00
Noah Khamliche
f5b4bb3035 removed low liquidity pools, and fixed some routing 2022-03-10 21:22:28 -05:00
Noah Khamliche
afd880f28c poolAddress -> NULL_ADDRESS for consitent types 2022-03-10 21:22:28 -05:00
Noah Khamliche
cd14cdd168 fixed lint 2022-03-10 21:22:28 -05:00