This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 465
/
CHANGELOG.json
701 lines (701 loc) · 19.6 KB
/
CHANGELOG.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
[
{
"version": "4.7.0",
"changes": [
{
"note": "Return quoteReport from SwapQuoter functions",
"pr": 2627
},
{
"note": "Allow an empty override for sampler overrides",
"pr": 2637
},
{
"note": "Potentially heavy CPU functions inside the optimizer now yield to the event loop. As such they are now async.",
"pr": 2637
},
{
"note": "Support more varied curves",
"pr": 2633
},
{
"note": "Make path optimization go faster",
"pr": 2640
},
{
"note": "Adds `getBidAskLiquidityForMakerTakerAssetPairAsync` to return more detailed sample information",
"pr": 2641
},
{
"note": "Fix regression where a split on the same source was collapsed into a single fill",
"pr": 2654
},
{
"note": "Add support for buy token affiliate fees",
"pr": 2658
},
{
"note": "Fix optimization of buy paths",
"pr": 2655
},
{
"note": "Fix depth buy scale",
"pr": 2659
},
{
"note": "Adjust fill by ethToInputRate when ethToOutputRate is 0",
"pr": 2660
},
{
"note": "Add Bancor as liquidity source",
"pr": 2650
},
{
"note": "Added `mStable`",
"pr": 2662
},
{
"note": "Merge `erc20-bridge-sampler` into this package",
"pr": 2664
},
{
"note": "Added `Mooniswap`",
"pr": 2675
},
{
"note": "Stop requiring takerAddress for RFQ-T indicative quotes",
"pr": 2684
},
{
"note": "Added two-hop support",
"pr": 2647
},
{
"note": "Move ERC20BridgeSampler interfaces into `interfaces` directory",
"pr": 2647
},
{
"note": "Use on-chain sampling (sometimes) for Balancer",
"pr": 2647
},
{
"note": "Re-worked `Kyber` quotes supporting multiple reserves",
"pr": 2683
},
{
"note": "Enable Quote Report to be generated with an option `shouldGenerateQuoteReport`. Default is `false`",
"pr": 2687
},
{
"note": "Add `refundReceiver` to `ExchangeProxySwapQuoteConsumer` options.",
"pr": 2657
},
{
"note": "Use `IZeroExContract` in EP swap quote consumer.",
"pr": 2657
},
{
"note": "Set `rfqtTakerAddress` to null in EP consumer",
"pr": 2692
},
{
"note": "Return Mooniswap pool in sampler and encode it in bridge data",
"pr": 2692
},
{
"note": "Added `Swerve`",
"pr": 2698
},
{
"note": "Added `SushiSwap`",
"pr": 2698
},
{
"note": "Add uniswap VIP support",
"pr": 2703
},
{
"note": "Add `includedSources` support",
"pr": 2703
},
{
"note": "Added `Curve` Tripool",
"pr": 2708
},
{
"note": "Pass back fillData from quote reporter",
"pr": 2702
},
{
"note": "Fix Balancer sampling",
"pr": 2711
},
{
"note": "Respect max slippage in EP consumer",
"pr": 2712
},
{
"note": "Introduced Path class, exchangeProxyOverhead parameter",
"pr": 2691
},
{
"note": "Added `Shell`",
"pr": 2722
},
{
"note": "Fix exchange proxy overhead gas being scaled by gas price",
"pr": 2723
},
{
"note": "Remove 0x-API swap/v0-specifc code from asset-swapper",
"pr": 2725
},
{
"note": "Added `DODO`",
"pr": 2701
},
{
"note": "Fix for some edge cases with `includedSources` and `MultiHop`",
"pr": 2730
},
{
"note": "Introduced `excludedFeeSources` to disable sources when determining the price of an asset in ETH",
"pr": 2731
},
{
"note": "Support DODO Trade Allowed parameter to automatically disable the pool",
"pr": 2732
}
]
},
{
"version": "4.6.0",
"changes": [
{
"note": "Use internal Eth Gas Station proxy",
"pr": 2614
},
{
"note": "Renamed RFQT request parameters",
"pr": 2582
},
{
"note": "Fix worst case asset amount calculations.",
"pr": 2615
},
{
"note": "Specify EthGasStation url as an optional parameter",
"pr": 2617
},
{
"note": "Singleton Gas Price Oracle",
"pr": 2619
},
{
"note": "\"Fix\" forwarder buys of low decimal tokens.",
"pr": 2618
},
{
"note": "Add Balancer support",
"pr": 2613
},
{
"note": "Consolidate UniswapV2 sources, Curve sources in `ERC20BridgeSource` enum",
"pr": 2613
},
{
"note": "Change gas/fee schedule values from constants to functions returning numbers",
"pr": 2613
},
{
"note": "Specify overrides to the ERC20Sampler contract, by default the latest bytecode is the override",
"pr": 2629
}
],
"timestamp": 1594788383
},
{
"version": "4.5.0",
"changes": [
{
"note": "Add support for private liquidity providers",
"pr": 2505
},
{
"note": "Big refactor of market operation utils",
"pr": 2513
},
{
"note": "Remove `dustFractionThreshold`, `noConflicts` options.",
"pr": 2513
},
{
"note": "Revamp fill optimization algorithm",
"pr": 2513
},
{
"note": "Add fallback orders to quotes via `allowFallback` option.",
"pr": 2513
},
{
"note": "Add `maxFallbackSlippage` option.",
"pr": 2513
},
{
"note": "Fix fee schedule not being scaled by gas price.",
"pr": 2522
},
{
"note": "Fix quote optimizer bug not properly accounting for fees.",
"pr": 2526
},
{
"note": "Fix `getBatchMarketBuyOrdersAsync` throwing NO_OPTIMAL_PATH",
"pr": 2533
},
{
"note": "Add DFB support + refactor swap quote calculator utils",
"pr": 2536
},
{
"note": "Add support for RFQ-T, querying maker-hosted endpoints for quotes to be submitted by the taker",
"pr": 2541
},
{
"note": "Add support for indicative (non-committal) quotes via RFQ-T",
"pr": 2555
},
{
"note": "Collapse `LiquidityProvider` into `DexForwarderBridge`",
"pr": 2560
},
{
"note": "Added Curve `sUSD`",
"pr": 2563
},
{
"note": "Fix sporadically failing quote simulation tests",
"pr": 2564
},
{
"note": "Apply Native order penalty inline with the target amount",
"pr": 2565
},
{
"note": "Remove Kyber exclusion when Uniswap/Eth2Dai is present",
"pr": 2575
},
{
"note": "Expose fills object in asset-swapper quote orders",
"pr": 2583
},
{
"note": "Increase timeout for tests",
"pr": 2587
},
{
"note": "Add support for Uniswap V2",
"pr": 2599
},
{
"note": "Add support for MultiBridge",
"pr": 2593
},
{
"note": "Fix Uniswap V2 path ordering",
"pr": 2601
},
{
"note": "Add exchange proxy support",
"pr": 2591
}
],
"timestamp": 1592969527
},
{
"version": "4.4.0",
"changes": [
{
"note": "Add support for ERC721 assets",
"pr": 2491
},
{
"note": "Add destroy for gas heartbeat",
"pr": 2492
},
{
"note": "Added `BUSD` Curve",
"pr": 2506
},
{
"note": "Updated `Compound` Curve address",
"pr": 2506
}
],
"timestamp": 1583220306
},
{
"version": "4.3.2",
"changes": [
{
"note": "Fix order native pruning by fill amount",
"pr": 2500
}
],
"timestamp": 1582837861
},
{
"timestamp": 1582677073,
"version": "4.3.1",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"version": "4.3.0",
"changes": [
{
"note": "Add `fees` to `GetMarketOrdersOpts`",
"pr": 2481
},
{
"note": "Incorporate fees into fill optimization",
"pr": 2481
}
],
"timestamp": 1582623685
},
{
"version": "4.2.0",
"changes": [
{
"note": "Use `batchCall()` version of the `ERC20BridgeSampler` contract",
"pr": 2477
},
{
"note": "Support for sampling Curve contracts",
"pr": 2483
}
],
"timestamp": 1581748629
},
{
"timestamp": 1581204851,
"version": "4.1.2",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"version": "4.1.1",
"changes": [
{
"note": "Fix bug with liquidity source breakdown",
"pr": 2472
},
{
"note": "Prune orders before creating a dummy order for the Sampler",
"pr": 2470
},
{
"note": "Bump sampler gas limit to 60e6",
"pr": 2471
}
],
"timestamp": 1580988106
},
{
"version": "4.1.0",
"changes": [
{
"note": "Allow contract addresses to be passed as optional constructor ags instead of hardcoding",
"pr": 2461
},
{
"note": "Add swap quote liquidity source breakdown",
"pr": 2465
}
],
"timestamp": 1580811564
},
{
"version": "4.0.1",
"changes": [
{
"note": "Fix underestimated protocol fee in worst case quote.",
"pr": 2452
}
],
"timestamp": 1579744659
},
{
"version": "4.0.0",
"changes": [
{
"note": "Upgrade to new `Forwarder` contract with flat affiliate fees.",
"pr": 2432
},
{
"note": "Remove `getSmartContractParamsOrThrow()` from `SwapQuoteConsumer`s.",
"pr": 2432
},
{
"note": "Added `getBatchMarketBuySwapQuoteForAssetDataAsync` on `SwapQuoter`",
"pr": 2427
},
{
"note": "Add exponential sampling distribution and `sampleDistributionBase` option to `SwapQuoter`",
"pr": 2427
},
{
"note": "Compute more accurate best quote price",
"pr": 2427
},
{
"note": "Change Exchange sell function from `marketSellOrdersNoThrow` to `marketSellOrdersFillOrKill`",
"pr": 2450
}
],
"timestamp": 1579682890
},
{
"version": "3.0.3",
"changes": [
{
"note": "Ignore zero sample results from the sampler contract.",
"pr": 2406
},
{
"note": "Increase default `runLimit` from `1024` to `4096`.",
"pr": 2406
},
{
"note": "Increase default `numSamples` from `8` to `10`",
"pr": 2406
},
{
"note": "Fix ordering of optimized orders.",
"pr": 2406
},
{
"note": "Fix best and worst quotes being reversed sometimes.",
"pr": 2406
},
{
"note": "Fix rounding of quoted asset amounts.",
"pr": 2406
},
{
"note": "Undo bridge slippage in best case quote calculation.",
"pr": 2406
},
{
"note": "Compare equivalent asset data when validating quotes and checking fee asset data.",
"pr": 2421
}
],
"timestamp": 1578272714
},
{
"version": "3.0.2",
"changes": [
{
"note": "Fix gasPrice from `ethgasstation` to be in WEI instead of GWEI",
"pr": 2393
},
{
"note": "Add aggregator utils",
"pr": 2353
}
],
"timestamp": 1576540892
},
{
"timestamp": 1575931811,
"version": "3.0.1",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"version": "3.0.0",
"changes": [
{
"note": "Refactor of logic for marketBuy/marketSell order pruning and selecting, introduced protocol fees, and refactored types used by the package",
"pr": 2272
},
{
"note": "Incorporate paying protocol fees.",
"pr": 2350
},
{
"note": "Update BigNumber version to ~9.0.0",
"pr": 2342
},
{
"note": "All references to network ID have been removed, and references to chain ID have been introduced instead",
"pr": 2313
}
],
"timestamp": 1575296764
},
{
"version": "2.1.0-beta.4",
"changes": [
{
"note": "Dependencies updated"
}
],
"timestamp": 1575290197
},
{
"version": "2.1.0-beta.3",
"changes": [
{
"note": "Refactor of logic for marketBuy/marketSell order pruning and selecting, introduced protocol fees, and refactored types used by the package",
"pr": 2272
},
{
"note": "Incorporate paying protocol fees.",
"pr": 2350
}
],
"timestamp": 1574238768
},
{
"version": "2.1.0-beta.2",
"changes": [
{
"note": "Update BigNumber version to ~9.0.0",
"pr": 2342
}
],
"timestamp": 1573159180
},
{
"version": "2.1.0-beta.1",
"changes": [
{
"note": "All references to network ID have been removed, and references to chain ID have been introduced instead",
"pr": 2313
}
],
"timestamp": 1573159180
},
{
"version": "2.1.0-beta.0",
"changes": [
{
"note": "Dependencies updated"
}
],
"timestamp": 1570135330
},
{
"version": "2.0.0",
"changes": [
{
"note": "AssetSwapper to use `@0x/orderbook` to fetch and subscribe to order updates",
"pr": 2056
}
],
"timestamp": 1568744790
},
{
"timestamp": 1567521715,
"version": "1.0.3",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"timestamp": 1566446343,
"version": "1.0.2",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"timestamp": 1565296576,
"version": "1.0.1",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"version": "1.0.0",
"changes": [
{
"note": "Added optimization utils to consumer output",
"pr": 1988
},
{
"note": "Expanded test coverage",
"pr": 1980
}
],
"timestamp": 1564604963
},
{
"timestamp": 1563957393,
"version": "0.0.5",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"timestamp": 1563193019,
"version": "0.0.4",
"changes": [
{
"note": "Switched MarketOperation type to enum and expanded default constants configuration",
"pr": 1959
},
{
"note": "Added additional options to control asset-swapper behavior and optimized consumer output",
"pr": 1966
}
]
},
{
"timestamp": 1563047529,
"version": "0.0.3",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"timestamp": 1563006338,
"version": "0.0.2",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"version": "0.0.1",
"changes": [
{
"note": "Refactored asset-buyer into asset-swapper to support ERC<>ERC marketSell and marketBuy operations",
"pr": 1845
}
]
}
]