Commit Graph

16923 Commits

Author SHA1 Message Date
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
Noah Khamliche
c8ff53a75f fixed mobius common argument abstraction 2022-03-10 21:22:28 -05:00
Noah Khamliche
6d08add20b minimized reused code for mobius pairs 2022-03-10 21:22:28 -05:00
Noah Khamliche
29f9c725e3 bump changelog to version after feat/BTRFLYCurve 2022-03-10 21:22:28 -05:00
Noah Khamliche
a83453f07f prettier and lint 2022-03-10 21:22:28 -05:00
Noah Khamliche
ae365ce92c finished off mobius money pairs 2022-03-10 21:22:28 -05:00
Noah Khamliche
77a592e891 added mobius config for celo and some inital test pools 2022-03-10 21:22:28 -05:00
Github Actions
9a1df67d6b Publish
- @0x/asset-swapper@16.51.0
@0x/asset-swapper@16.51.0 protocol@9a1df67
2022-03-10 04:58:07 +00:00
Github Actions
4b91411faf Updated CHANGELOGS & MD docs 2022-03-10 04:58:04 +00:00
Jacob Evans
622a542d57 feat: Curve YFI-ETH (#444)
* feat: Curve YFI-ETH

* CHANGELOG
2022-03-10 14:36:59 +10:00
Github Actions
cba53a9a50 Publish
- @0x/asset-swapper@16.50.3
@0x/asset-swapper@16.50.3 protocol@cba53a9
2022-03-09 14:59:25 +00:00
Github Actions
e186f27f63 Updated CHANGELOGS & MD docs 2022-03-09 14:59:22 +00:00
Kim Persson
4cd767ecb8 feat: VIP routing in the router, don't create fallback orders for native [TKR-243] (#440)
* feat: calculate all routes and VIP only routes in a single router call

* fix: Try to disable using fallback orders for quotes with native orders

* fix: create VIP sources set once per routing call

* chore: use private publish version of neon-router to test

* chore(lint): comment out unused fn _addOptionalFallbackAsync

* chore: update to latest private publish of neon-router

* refactor: fix router metrics beforeTimeMs naming

* feat: don't recompute isVip for ever sample of a source

* chore: update neon-router to real published version

* fix: merge conflict resolution issue

* chore: add asset-swapper changelog entry
2022-03-09 15:39:47 +01:00
Shawn
f6e85aedf1 Fix/routing glue optimization (#439)
* fix: only create fills if using js router, remove `unoptimizedPath`

* minor optimizations

* remove the cap of route output in buys

* change PR number

* fix: Update Ropsten UniswapV3 Router address (#441)

* fix: Update Ropsten UniswapV3 Router address

* Update CHANGELOG

* Updated CHANGELOGS & MD docs

* Publish

 - @0x/asset-swapper@16.50.2

* change PR number

Co-authored-by: Kim Persson <kimpersson88@gmail.com>
Co-authored-by: Jacob Evans <jacob@dekz.net>
Co-authored-by: Github Actions <github-actions@github.com>
2022-03-08 16:26:22 -08:00
Github Actions
b3ee294ba5 Publish
- @0x/asset-swapper@16.50.2
@0x/asset-swapper@16.50.2 protocol@b3ee294
2022-03-07 01:37:11 +00:00
Github Actions
1c242def93 Updated CHANGELOGS & MD docs 2022-03-07 01:37:07 +00:00
Jacob Evans
f0fe6f2f69 fix: Update Ropsten UniswapV3 Router address (#441)
* fix: Update Ropsten UniswapV3 Router address

* Update CHANGELOG
2022-03-07 11:18:25 +10:00
Github Actions
f86d555e49 Publish
- @0x/asset-swapper@16.50.1
@0x/asset-swapper@16.50.1 protocol@f86d555
2022-03-03 13:04:04 +00:00
Github Actions
b0f2c40463 Updated CHANGELOGS & MD docs 2022-03-03 13:04:00 +00:00
Kim Persson
87be6fbb8a fix: lower UniswapV3Sampler quote gas allowance to 700k (#438)
* fix: lower UniswapV3Sampler quote gas allowance to 700k

* chore: add asset-swapper changelog entry
2022-03-03 13:45:20 +01:00