Github Actions
e0d705703d
Publish
...
- @0x/contracts-erc20@3.3.35
- @0x/contracts-test-utils@5.4.26
- @0x/contracts-treasury@1.4.18
- @0x/contracts-utils@4.8.16
- @0x/contracts-zero-ex@0.36 .2
- @0x/asset-swapper@16.66 .2
- @0x/contract-addresses@6.19 .1
- @0x/contract-wrappers@13.20 .7
- @0x/protocol-utils@11.16 .2
2022-08-09 19:27:28 +00:00
Github Actions
01a6d933ca
Updated CHANGELOGS & MD docs
2022-08-09 19:27:24 +00:00
Kyu
9b9f0b91d7
Move woofi tokens to constant.ts and run prettier ( #544 )
2022-08-09 13:31:37 +09:00
Ido Kleinman
0d0fef841d
PR #
2022-08-08 19:04:04 -05:00
Ido Kleinman
17adfbea32
changelogs
2022-08-08 19:04:04 -05:00
Noah Khamliche
80594622b2
empty commit to run workflow
2022-08-08 18:55:39 -05:00
Ido Kleinman
0dba5a5a3a
lowercase addresses ( #542 )
2022-08-08 16:40:31 -07:00
phil-ociraptor
4dae8de1b6
feat: add Foundry support to contracts/zero-ex ( #534 )
...
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
2022-08-08 11:46:50 -05:00
eobbad
0046bb26d8
Update WooFi sampler logicand addresses.json w/ new FQT's
2022-08-08 12:27:45 -04:00
Kyu
fe935f787c
Use @0x/fast-abi instead of deprecated fast-abi ( #540 )
2022-08-08 14:34:48 +09:00
Kyu
1b527ffcd8
Clean up Mirror and UST related stuff ( #539 )
2022-08-08 12:29:33 +09:00
Github Actions
9f5324d9c3
Publish
...
- @0x/asset-swapper@16.66 .1
2022-08-08 02:47:26 +00:00
Github Actions
3647392a04
Updated CHANGELOGS & MD docs
2022-08-08 02:47:21 +00:00
Kyu
1d49662c58
Upgrade fast-abi ( #538 )
2022-08-08 11:27:44 +09:00
Github Actions
6324b08b4d
Publish
...
- @0x/contracts-erc20@3.3.34
- @0x/contracts-test-utils@5.4.25
- @0x/contracts-treasury@1.4.17
- @0x/contracts-utils@4.8.15
- @0x/contracts-zero-ex@0.36 .1
- @0x/asset-swapper@16.66 .0
- @0x/contract-addresses@6.19 .0
- @0x/contract-wrappers@13.20 .6
- @0x/protocol-utils@11.16 .1
2022-08-06 01:52:58 +00:00
Github Actions
fe73b63aaa
Updated CHANGELOGS & MD docs
2022-08-06 01:52:55 +00:00
Kyu
192d0b17d9
Empty commit to trigger CI (something is wrong with Ido's account lol)
2022-08-06 10:34:15 +09:00
Ido Kleinman
aa74d04083
new contract address for goerli verified deploy ( #537 )
...
* new contract address for goerli verified deploy
* v6.18.0
* updated addresses for goerli + mumbai to verified contracts
* contract addresses changelog update
* unbump package version
2022-08-05 18:22:06 -07:00
Kyu
d586f5727d
Rename Balancer pool cache files ( #536 )
2022-08-05 17:53:55 +09:00
Kyu
98fc79a085
Upgrade dependencies in asset-swapper to match the versions used in 0x-api [TKR-484] ( #535 )
...
* Upgrade dependencies to match the versions used in 0x-api
* Fix/disable tslint issues from the new version
2022-08-05 14:26:18 +09:00
eobbad
c12a10b96e
Add WooFI support ( #513 )
...
* Add WooFI interface for sampling
* WooFi Sampler
* Add mixin
* Update bridge adapters
* fix some bugs
* update transformer_utils
* Add BSC support
* yarn prettier
* Capitalize WOOFI in bridge adapters
* Put rebateAddress in a constant, fixed some other stylistic errors
* bug fixes
* Updated CHANGELOGS & MD docs
* Publish
- @0x/contracts-erc20@3.3.33
- @0x/contracts-test-utils@5.4.24
- @0x/contracts-treasury@1.4.16
- @0x/contracts-utils@4.8.14
- @0x/contracts-zero-ex@0.36 .0
- @0x/asset-swapper@16.64 .0
- @0x/contract-addresses@6.17 .0
- @0x/contract-wrappers@13.20 .5
- @0x/protocol-utils@11.16 .0
* Update reference.mdx (#531 )
Align with `DEFAULT_QUOTE_SLIPPAGE_PERCENTAGE` value from c74e31c219/src/constants.ts (L26)
* code cleanup
* remove deusdc curve pool from this pr
* Refactor PoolsCache (part 1) [TKR-500] (#525 )
* Make _refreshPoolCacheIfRequiredAsync type-safe and remove Promise.all
* Factor out PoolsCache key logic into a function
* Use Map instead of object in PoolsCache and increase the default timeout
* Clean up PoolsCache and simplify its public interface
* Refactor PoolsCache (part 2) [TKR-500] (#526 )
* Introduce NoOpPoolsCache and use it in unsupported chains for BeethovenX
* Use `NoOpPoolsCache` for `CreamPoolsCache` and `BalancerPoolsCache` on unsupported chains
* Remove `getBidAskLiquidityForMakerTakerAssetPairAsync` (#528 )
* Add transfer approval for quote token for multi-hops and fix buy sampler typo
* Use 0x gas api instead of eth gas station api [TKR-502] (#532 )
* Use 0x gas api instead of eth gas station api
* Add integration test for `ProtocolFeeUtils`
* Update CHANGELOG.json
* Add polygon, fantom, avalanche support
* yarn prettier
* Updated CHANGELOGS & MD docs
* Publish
- @0x/asset-swapper@16.65 .0
* Remove references to `custom-no-magic-numbers` ts lint rule [TKR-484] (#533 )
* Remove references to `custom-no-magic-numbers ts` lint rule
* Run prettier
* resolve Kyu's comments
* remove fqt change
* Add WooFI interface for sampling
* WooFi Sampler
* Add mixin
* Update bridge adapters
* fix some bugs
* update transformer_utils
* Add BSC support
* yarn prettier
* Capitalize WOOFI in bridge adapters
* Put rebateAddress in a constant, fixed some other stylistic errors
* bug fixes
* code cleanup
* remove deusdc curve pool from this pr
* Add transfer approval for quote token for multi-hops and fix buy sampler typo
* Add polygon, fantom, avalanche support
* yarn prettier
* resolve Kyu's comments
* remove fqt change
* merge types.ts
* WOOFi -> WOOFI
* fix lerna run lint
* Changelog
* nit changes
Co-authored-by: Github Actions <github-actions@github.com >
Co-authored-by: Pavel <51318041+pavel-bc@users.noreply.github.com >
Co-authored-by: Kyu <kyuhyun217@gmail.com >
2022-08-03 15:54:09 -04:00
Kyu
d3d4a08f91
Remove references to custom-no-magic-numbers ts lint rule [TKR-484] ( #533 )
...
* Remove references to `custom-no-magic-numbers ts` lint rule
* Run prettier
2022-08-01 17:50:40 -07:00
Github Actions
9ce090c8cd
Publish
...
- @0x/asset-swapper@16.65 .0
2022-08-01 22:10:47 +00:00
Github Actions
980d60deb8
Updated CHANGELOGS & MD docs
2022-08-01 22:10:42 +00:00
Kyu
d6d79e51e7
Use 0x gas api instead of eth gas station api [TKR-502] ( #532 )
...
* Use 0x gas api instead of eth gas station api
* Add integration test for `ProtocolFeeUtils`
* Update CHANGELOG.json
2022-08-01 14:42:45 -07:00
Kyu
3ef5de93bb
Remove getBidAskLiquidityForMakerTakerAssetPairAsync ( #528 )
2022-07-28 09:26:07 -07:00
Kyu
ab7dc33ca4
Refactor PoolsCache (part 2) [TKR-500] ( #526 )
...
* Introduce NoOpPoolsCache and use it in unsupported chains for BeethovenX
* Use `NoOpPoolsCache` for `CreamPoolsCache` and `BalancerPoolsCache` on unsupported chains
2022-07-28 09:12:02 -07:00
Kyu
14dcee5bb6
Refactor PoolsCache (part 1) [TKR-500] ( #525 )
...
* Make _refreshPoolCacheIfRequiredAsync type-safe and remove Promise.all
* Factor out PoolsCache key logic into a function
* Use Map instead of object in PoolsCache and increase the default timeout
* Clean up PoolsCache and simplify its public interface
2022-07-28 09:04:42 -07:00
Pavel
9856e78609
Update reference.mdx ( #531 )
...
Align with `DEFAULT_QUOTE_SLIPPAGE_PERCENTAGE` value from c74e31c219/src/constants.ts (L26)
2022-07-27 12:35:16 -07:00
Github Actions
2801b066b3
Publish
...
- @0x/contracts-erc20@3.3.33
- @0x/contracts-test-utils@5.4.24
- @0x/contracts-treasury@1.4.16
- @0x/contracts-utils@4.8.14
- @0x/contracts-zero-ex@0.36 .0
- @0x/asset-swapper@16.64 .0
- @0x/contract-addresses@6.17 .0
- @0x/contract-wrappers@13.20 .5
- @0x/protocol-utils@11.16 .0
2022-07-27 19:32:19 +00:00
Github Actions
5bc8b13fc3
Updated CHANGELOGS & MD docs
2022-07-27 19:32:17 +00:00
Kyu
36dba8f5be
Update FQT addresses on mainnet and Optimism ( #530 )
2022-07-27 09:56:50 -07:00
Kyu
ee2c069889
Remove Mooniswap on Ethereum Mainnet ( #529 )
...
* Remove Mooniswap from EthereumBridgeAdapter
* Remove Mooniswap sampling on mainnet
* Update CHANGELOG.json
2022-07-27 08:09:27 -07:00
Kyu
6ca14ed7b2
Fix Beethoven X Cache Issue [TKR-486] ( #519 )
...
* Replace Beethoven X subgraph url and add a test
* Simplify PoolsCacheMap type
* Make `BalancerV2PoolsCache` optional for Beethoven X
* Update CHANGELOG.json
2022-07-26 09:54:05 -07:00
Kyu
a5babb9a34
Add Synthetix Atomic Swap support [TKR-324] ( #518 )
...
* Implement SyntehtixSampler
* Implement MixinSynthetix
* Update transformer_utils.ts
* Add Synthetix mainnet support
* Add Synthetix optimism support
* Fine-tune gas schedule
* Pass read proxy dynamically to SynthetixSampler
* Pass read proxy dynamically to SynthetixMixin
* Fetch Synthetix address from sampler
* Pass Synthetix address directly to MixinSynthetix
* Update CHANGELOG.json
2022-07-25 21:17:27 -07:00
Kyu
661cc4669d
Fix formatting
2022-07-22 16:25:31 -07:00
Ido Kleinman
553ba5c868
Add Goerli and Mumbai liquidity and support [TKR-493] ( #523 )
...
* deployment contract addresses on goerli
* add Goerli chainID and liquidity support for Sushi, Uni1,2,3
* UniV1 fix for Goerli
* add UniV3 to Mumbai
* remove comments
* lowercase addresses
* update contract-addresses package version
* reset package.json's states
2022-07-22 16:12:58 -07:00
Kyu
d03d2f254d
Remove unused dependencies in asset-swapper [TKR-484] ( #521 )
...
* Remove unused dependencies
* Remove unused devDependencies
2022-07-19 16:44:40 -07:00
Kyu
feb91a04b0
Fix typos in GMX sampling logic ( #520 )
2022-07-19 16:18:37 -07:00
Kyu
4d63f33aba
Update CODEOWNERS ( #522 )
2022-07-19 16:09:42 -07:00
Kyu
b72b8b5ffd
Refactor TokenAdjacency and TokenAdjacencyBuilder [TKR-324] ( #517 )
...
* Add a new TokenAdjacencyGraph implementation
* Replace old TokenAdjacencyGraph with new implementation
* Simplify token adjacency graph in constants.ts
* Fix lint error
* Update CHANGELOG.json
2022-07-18 13:02:56 -07:00
Github Actions
f7cb7a0f51
Publish
...
- @0x/asset-swapper@16.63 .1
2022-07-12 21:26:51 +00:00
Github Actions
9fcb28f5d8
Updated CHANGELOGS & MD docs
2022-07-12 21:26:48 +00:00
Kyu
982173471c
Wrap balancer fetch top pools with try and catch [TKR-481] ( #515 )
...
* Wrap balancer fetch top pool with try and catch
* Update CHANGELOG.json
2022-07-12 13:50:07 -07:00
Github Actions
e77958425f
Publish
...
- @0x/asset-swapper@16.63 .0
2022-06-29 08:36:38 +00:00
Github Actions
6af4d71573
Updated CHANGELOGS & MD docs
2022-06-29 08:36:34 +00:00
Jacob Evans
ee985240fb
chore: FillAdjustor and clean up JS router and unused functions [TKR-403] ( #480 )
...
* Remove old JS router and add a FillAdjustor
Clean up JS router and unused functions
Remove more unused functions, add adjustment of fills
Comment on why we use fill over sample
update CODEOWNERS
lint
Clean up Fill removing unused properties
Remove CollapsedFills, omit flags bigint
Create GasSchedule vs FeeSchedule, return Fill and gas on OptimizedOrder
Use Fill Adjustment in Phase2 of routing
Fix Limit orders being treated as VIP
* Fix case where dex liquidity is empty
* Use best gas adjusted pricing for fee sources
* CHANGELOG
2022-06-29 18:10:56 +10:00
eobbad
2aadbda527
Offboard Smoothy and ComethSwap ( #509 )
...
* Offboard ComethSwap
* offboard smoothy
* Changelog + yarn prettier
2022-06-22 18:36:52 +02:00
Github Actions
297c73abcc
Publish
...
- @0x/asset-swapper@16.62 .1
2022-06-15 00:40:27 +00:00
Github Actions
4c9e1b21ec
Updated CHANGELOGS & MD docs
2022-06-15 00:40:24 +00:00
Kyu
41685d1545
Empty commit to trigger CI
2022-06-14 17:16:23 -07:00
Ido Kleinman
b9c25112ed
Remove nUSD from intermediate liquidity to save on sampler gas ( #505 )
...
* remote nUSD from intermediate liquidity
* changelog
2022-06-14 16:07:47 -07:00
Github Actions
f0738fc122
Publish
...
- @0x/contracts-erc20@3.3.32
- @0x/contracts-test-utils@5.4.23
- @0x/contracts-treasury@1.4.15
- @0x/contracts-utils@4.8.13
- @0x/contracts-zero-ex@0.35 .0
- @0x/asset-swapper@16.62 .0
- @0x/contract-addresses@6.16 .0
- @0x/contract-wrappers@13.20 .4
- @0x/protocol-utils@11.15 .0
2022-06-14 22:16:09 +00:00
Github Actions
42baf504b7
Updated CHANGELOGS & MD docs
2022-06-14 22:16:07 +00:00
Kyu
56038d122f
Update Ethereum and Optimism FQT addresses ( #504 )
2022-06-14 14:45:26 -07:00
eobbad
c4446b6c0e
Offboard Jetswap, CafeSwap, JulSwap, and PolyDex ( #503 )
...
* Offboard Jetswap
* Offboarded CafeSwap
* Offboarded JulSwap
* Offboarded PolyDex
* Changelog
* Update changelog
* Changelog update
2022-06-14 23:05:53 +02:00
eobbad
eaed2958c3
KnightSwap and Mdex cosmetic changes ( #502 )
...
* Lowercased KnightSwap and MDEX router address
* Changelog.JSON
2022-06-14 14:45:47 +02:00
Jorge Pérez
a045a3afb8
Chore: Do not send empty entries on Quote Report ( #501 )
...
* Chore: Do not send empty entries on Quote Report
* Changelog
2022-06-13 15:52:59 -05:00
Kyu
1cc59ab1ab
feat: Add Velodrome support [TKR-432] ( #494 )
...
* Implement MixinVelodrome
* Add preliminary implementation of VelodromeSampler
* Add Velodrome in BridgeProtocol of transformer_utils.ts
* Fix MixinVelodrome
* Wire Velodrome sampler in market_operation_utils
* Fix lint error
* Remove gas schedule TODO
* Format VelodromeSampler.sol
* Fix MixinVelodrome
* Update CHANGELOG.json
2022-06-13 11:55:40 -07:00
Kyu
2c6a714b71
Fix a lint error in CHANGELOG.json
2022-06-13 10:41:58 -07:00
Kyu
d8c97d6720
Fix a lint error introduced in earlier PRs
2022-06-13 09:09:13 -07:00
eobbad
d6bc702550
Add KnightSwap on BSC ( #498 )
...
* Curve pool script to generate pools and their info. Still need to integrate into API
* Added MDEX to BSC
* Removed curve automation scripts from this PR
* Fixed typo
* Changelog
* fix formatting
* Fixed yarn lint
* Add KnightSwap
* Changelog
* update changelog
* changelog again...
2022-06-10 16:57:42 +02:00
eobbad
2838cb9420
Add MDEX support (BSC) [TKR-426] ( #496 )
...
* Curve pool script to generate pools and their info. Still need to integrate into API
* Added MDEX to BSC
* Removed curve automation scripts from this PR
* Fixed typo
* Changelog
* fix formatting
* Fixed yarn lint
2022-06-10 14:14:08 +02:00
Github Actions
b10cfc50d3
Publish
...
- @0x/contracts-erc20@3.3.31
- @0x/contracts-test-utils@5.4.22
- @0x/contracts-treasury@1.4.14
- @0x/contracts-utils@4.8.12
- @0x/contracts-zero-ex@0.34 .0
- @0x/asset-swapper@16.61 .0
- @0x/contract-addresses@6.15 .0
- @0x/contract-wrappers@13.20 .3
- @0x/protocol-utils@11.14 .0
2022-06-03 19:20:52 +00:00
Github Actions
2e6317b01e
Updated CHANGELOGS & MD docs
2022-06-03 19:20:49 +00:00
Noah Khamliche
50e99e6eac
address comments
2022-06-03 15:03:00 -04:00
Noah Khamliche
8f2f4554eb
fix linting
2022-06-03 15:03:00 -04:00
Noah Khamliche
67d9678a3a
fix linting
2022-06-03 15:03:00 -04:00
Noah Khamliche
f70341fb48
rebase development
2022-06-03 15:03:00 -04:00
Megan
14cd24ea47
feat/add MeshSwap on Polygon [TKR-374] ( #491 )
...
* Added MeshSwap on Polygon
* Updated changelog
2022-06-03 15:03:00 -04:00
Noah Khamliche
78328056d7
Added BancorV3 to fqt, and added support in asset-swapper
2022-06-03 15:03:00 -04:00
Noah Khamliche
0045a60b0f
updated contract-addresses with new ethereum fqt
2022-06-03 15:03:00 -04:00
Noah Khamliche
e4e71c76e1
add weth/eth wrap/unwrap support for bancorv3
2022-06-03 15:03:00 -04:00
Megan
ca8127545f
feat/add MeshSwap on Polygon [TKR-374] ( #491 )
...
* Added MeshSwap on Polygon
* Updated changelog
2022-06-03 15:03:00 -04:00
Noah Khamliche
7b709089ce
fix versioning issue on protocol-utils
2022-06-03 15:03:00 -04:00
Noah Khamliche
190f7e45f2
final changes
2022-06-03 15:03:00 -04:00
Noah Khamliche
0dcc3a6fc3
nitpicks
2022-06-03 15:03:00 -04:00
Noah Khamliche
c2e8cae293
added changelog entries
2022-06-03 15:03:00 -04:00
Noah Khamliche
83da7caab4
fixed bancor sell quotes
2022-06-03 15:03:00 -04:00
Noah Khamliche
fd69a0c273
added weth/eth support to sampler
2022-06-03 15:03:00 -04:00
Noah Khamliche
9b131199ad
add weth/eth wrap/unwrap support for bancorv3
2022-06-03 15:03:00 -04:00
Noah Khamliche
f5c486050b
added bancor mixin/sampler and started linking up with asset-swapper
2022-06-03 15:03:00 -04:00
Megan
1f41fe6a20
feat/add MeshSwap on Polygon [TKR-374] ( #491 )
...
* Added MeshSwap on Polygon
* Updated changelog
2022-06-02 19:11:25 +02:00
Kyu
7f4080e0a2
Delete packages/migrations ( #488 )
...
* Delete packages/migrations
* Remove 0x/migrations from asset-swapper dev dependency
* Remove 0x/migrations references
2022-06-02 10:00:50 -07:00
Kyu
db76da58d7
Add stETH wrap/unwrap support [TKR-377] ( #476 )
...
* Update MixinLido to support stETH wrapping/unwrapping
* Update LidoSampler and asset-swapper
* Re-use token address constants in LIDO_INFO_BY_CHAIN
* Update CHANGELOG.json
* Add stETH <-> wstETH to TokenAdjacencyGraph
* Change lido gas schedule code style
* Move allowance approval inside the wrap branch
* Refactor LidoSampler to reduce its bytecode size
2022-05-31 09:58:44 -07:00
mzhu25
cf8fc0ff8e
Split up BridgeAdapter by chain [TKR-402] ( #487 )
...
* Split up BridgeAdapter by chain
* Fix BridgeProtocols enum
* Add isSupportedSource to bridge adapter contracts
* Add bridge adapter tests
* Fix FQT test
2022-05-25 14:18:24 -04:00
Kyu
2d16f83e37
Offboard/clean up Oasis, CoFix, and legacy Kyber [TKR-405] ( #482 )
...
* Remove Oasis
* Remove CoFix code
* Remove MixinKyber
* Remove Kyber from asset-swapper
* Delete unused imports, interface, and etc.
* Fix the test failure issue when it's run with neon-router
* Update CHANGELOG.json
2022-05-19 17:39:02 -07:00
Github Actions
4057bdab91
Publish
...
- @0x/asset-swapper@16.60 .1
2022-05-19 03:40:00 +00:00
Github Actions
1cd10f0ac9
Updated CHANGELOGS & MD docs
2022-05-19 03:39:57 +00:00
Jacob Evans
68f87b2432
fix: BalancerV2 sor alias ( #481 )
...
* Install both Balancer sor and rename early version to v1
* yarn.lock
* CHANGELOG
2022-05-19 13:19:25 +10:00
Github Actions
69bafc3bcd
Publish
...
- @0x/contracts-erc20@3.3.30
- @0x/contracts-test-utils@5.4.21
- @0x/contracts-treasury@1.4.13
- @0x/contracts-utils@4.8.11
- @0x/contracts-zero-ex@0.33 .0
- @0x/asset-swapper@16.60 .0
- @0x/contract-addresses@6.14 .0
- @0x/contract-wrappers@13.20 .2
- @0x/migrations@8.1.19
- @0x/protocol-utils@11.13 .0
2022-05-19 00:21:50 +00:00
Github Actions
2c44b06b7b
Updated CHANGELOGS & MD docs
2022-05-19 00:21:47 +00:00
Kyu
0233f00b4e
Increase KyberDMM base gas [TKR-317] ( #479 )
...
* Increase KyberDMM base gas
* Update CHANGELOG.json
2022-05-18 17:00:11 -07:00
Kyu
fedb53187d
Add Yoshi Exchange support (Fantom) [TKR-270] ( #473 )
...
* Resolve conflicts
* Update CHANGELOG.json
2022-05-18 16:58:41 -07:00
Noah Khamliche
6774d2f588
prettier and lint everything
2022-05-18 19:53:50 -04:00
Noah Khamliche
cf740b74f5
removed extraneous comments in sampler
2022-05-18 19:53:50 -04:00
Noah Khamliche
177c00463a
comments and nits
2022-05-18 19:53:50 -04:00
Noah Khamliche
49b0e32129
added address ref from AVALANCHE_TOKENS for mim instead of raw address
2022-05-18 19:53:50 -04:00
Noah Khamliche
938fc94756
final deployments and updates for bridge adapter and fqt on avax/bsc
2022-05-18 19:53:50 -04:00
Noah Khamliche
1561d91c2b
added changelog entries
2022-05-18 19:53:50 -04:00
Noah Khamliche
9a28e51f51
rebased dev and merged
2022-05-18 19:53:50 -04:00
Ido Kleinman
f55eaa867b
Add BiSwap (as UniV2 clone) on BSC ( #471 )
...
* Add BiSwap (as UniV2 clone) on BSC
* changelog PR number
* add BSW
* remove BiSwap from transformer_utils
* Do not initialize BalancerV2SwapInfoCache on unsupported chains [TKR-365] (#472 )
* Do not initialize BalancerV2SwapInfoCache on unsupported chains
* Update CHANGELOG.json
* Updated CHANGELOGS & MD docs
* Publish
- @0x/asset-swapper@16.57 .3
* chore: Decomission SnowSwap [TKR-356] (#468 )
* Decomission SnowSwap
* SnowSwap doesn't have much liquidity anymore (the largest pool has ~$50k)
* Update CHANGELOG.json
* Update CHANGELOG.json
* chore: Offboard Swerve Finance and LinkSwap [TKR-356] (#469 )
* Offboard swerve
* Update CHANGELOG.json
* Offboard LinkSwap
* Remove unused import
* Fix CHANGELOG.json
* chore: Offboard Eth2Dai [TKR-356] (#470 )
* Offboard Eth2Dai
* Update CHANGELOG.json
* feat: add IRfqClient (#467 )
* add message to changelog for #467 (#474 )
* Update saddle mainnet pools (#450 )
* Add saddle v2 pools
* remove outdated pools
* add two saddle meta pools
* forgot changelog
* remove saddle metapools
* changelog update
* Fix a lint issue (#475 )
* Updated CHANGELOGS & MD docs
* Publish
- @0x/asset-swapper@16.59 .0
* Add BiSwap (as UniV2 clone) on BSC
* rebase new changes for balv2, up changelog, quotes working
* remove Biswap from transformer_utils once again
Co-authored-by: Kyu <kyuhyun217@gmail.com >
Co-authored-by: Github Actions <github-actions@github.com >
Co-authored-by: phil-ociraptor <phil@0x.org >
Co-authored-by: Cece Z <me@cecez.xyz >
Co-authored-by: Noah Khamliche <noah@0xproject.com >
2022-05-16 17:11:23 -07:00
Github Actions
6b2856424a
Publish
...
- @0x/asset-swapper@16.59 .0
2022-05-13 00:07:18 +00:00
Github Actions
da757c4700
Updated CHANGELOGS & MD docs
2022-05-13 00:07:16 +00:00
Kyu
75e6654884
Fix a lint issue ( #475 )
2022-05-12 16:49:10 -07:00
Cece Z
87308e7693
Update saddle mainnet pools ( #450 )
...
* Add saddle v2 pools
* remove outdated pools
* add two saddle meta pools
* forgot changelog
* remove saddle metapools
* changelog update
2022-05-12 18:59:55 -04:00
phil-ociraptor
d5eef93a76
add message to changelog for #467 ( #474 )
2022-05-11 22:17:17 -05:00
phil-ociraptor
a7f23a982e
feat: add IRfqClient ( #467 )
2022-05-11 12:35:05 -05:00
Kyu
9eadc5fc28
chore: Offboard Eth2Dai [TKR-356] ( #470 )
...
* Offboard Eth2Dai
* Update CHANGELOG.json
2022-05-10 13:54:28 -07:00
Kyu
92ad1a612e
chore: Offboard Swerve Finance and LinkSwap [TKR-356] ( #469 )
...
* Offboard swerve
* Update CHANGELOG.json
* Offboard LinkSwap
* Remove unused import
* Fix CHANGELOG.json
2022-05-10 13:13:18 -07:00
Kyu
09413c0e12
chore: Decomission SnowSwap [TKR-356] ( #468 )
...
* Decomission SnowSwap
* SnowSwap doesn't have much liquidity anymore (the largest pool has ~$50k)
* Update CHANGELOG.json
* Update CHANGELOG.json
2022-05-10 09:55:43 -07:00
Github Actions
23788b41d5
Publish
...
- @0x/asset-swapper@16.57 .3
2022-05-10 01:41:10 +00:00
Github Actions
ccf999a495
Updated CHANGELOGS & MD docs
2022-05-10 01:41:06 +00:00
Kyu
aa1016ee5f
Do not initialize BalancerV2SwapInfoCache on unsupported chains [TKR-365] ( #472 )
...
* Do not initialize BalancerV2SwapInfoCache on unsupported chains
* Update CHANGELOG.json
2022-05-09 18:21:04 -07:00
Github Actions
423ef57344
Publish
...
- @0x/asset-swapper@16.57 .2
2022-05-02 21:22:37 +00:00
Github Actions
c18149e82f
Updated CHANGELOGS & MD docs
2022-05-02 21:22:33 +00:00
Jorge Pérez
d14aebf724
Fix the filter for considered sources on indicative sells for Quote Report ( #466 )
2022-05-02 15:45:15 -05:00
Kyu
ba719a9631
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-04-27 17:07:36 -07:00
eobbad
d36034d958
chore/ANY-QUICK on polygon MAG-MIM on avax ( #464 )
...
* Added ANY/QUICK pair on Polygon
* Updated changelog.json
* Update CHANGELOG.json
2022-04-26 10:55:03 -04:00
Github Actions
7750c57620
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-04-22 07:05:10 +00:00
Github Actions
4d027e11d1
Updated CHANGELOGS & MD docs
2022-04-22 07:05:06 +00:00
Lawrence Forman
470e9a4697
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-04-22 02:43:41 -04:00
Github Actions
7c51412e2f
Publish
...
- @0x/asset-swapper@16.56 .0
2022-04-21 21:16:27 +00:00
Github Actions
b3d1f3cd10
Updated CHANGELOGS & MD docs
2022-04-21 21:16:23 +00:00
mzhu25
389bb77439
Add estimatedGas to ExtendedQuoteReport ( #463 )
2022-04-21 13:52:13 -07:00
Github Actions
4327885a00
Publish
...
- @0x/asset-swapper@16.55 .0
2022-04-07 16:07:52 +00:00
Github Actions
0aef0afbbb
Updated CHANGELOGS & MD docs
2022-04-07 16:07:49 +00:00
Lawrence Forman
fa4c3a4f5f
fix quote consumer RFQ VIP code path not checking if transfromERC20 is required ( #461 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2022-04-07 11:58:07 -04:00
Github Actions
1d7c527c5c
Publish
...
- @0x/asset-swapper@16.54 .0
2022-04-06 03:26:22 +00:00
Github Actions
cbe3135e4b
Updated CHANGELOGS & MD docs
2022-04-06 03:26:18 +00:00
Lawrence Forman
955ad49711
add real VIP support for eligible RFQT swaps ( #458 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2022-04-05 23:00:12 -04:00
Github Actions
8d6f6e76e0
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-03-31 15:09:24 +00:00
Github Actions
9337115650
Updated CHANGELOGS & MD docs
2022-03-31 15:09:21 +00:00
Kim Persson
fa45a44fe4
fix: use Node 16 for publish GH action ( #457 )
2022-03-31 16:47:02 +02:00
Kim Persson
c9c7ac8559
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-03-31 15:42:34 +02:00
Kim Persson
c881723578
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-03-31 14:32:59 +02:00
Kim Persson
c9c30d3a76
chore: bump ts version to solve type issue with ethereumjs ( #455 )
2022-03-31 13:55:17 +02:00
Noah Khamliche
73dfdb5b69
fixed gas estimation and removed hint from intermediate tokens
2022-03-21 14:51:23 -04:00
Noah Khamliche
e638268f94
updated routing
2022-03-21 14:51:23 -04:00
Noah Khamliche
0bfd765481
updating changelog
2022-03-21 14:51:23 -04:00
Noah Khamliche
1f12893735
fixing routing
2022-03-21 14:51:23 -04:00
Noah Khamliche
dd3d9337c4
Added Stargate curve pool
2022-03-21 14:51:23 -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
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
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
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
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
Noah Khamliche
9141a9d2c8
feat: BTRFLY/WETH factory pool ( #437 )
...
* added curve support for BTRFLY/WETH factory pool
* prettier and lint
* remove timestamp
* fixed gas schedule for btrflyweth pool
* chore: update Node16 (#384 )
* Node 16
* update yarn.lock
* Update ganache-cli and merkle-patricia-tree
* [TKR-275] Add Geist on Fantom (#398 )
* Add Geist on Fantom
* nvm there is not subgraph for it
* finish giest utils
* Address pr comments
* lowercase gtoken addresses
* return undefined instead of error for unsupported pairs
* another lower case
* Update fantom fillQuoteTransformer address
* more const clean up
* feat: Improve Uniswap V3 gas schedule redux (#424 )
* Revert "fix: Revert Improve Uniswap V3 gas schedule (#397 ) (#419 )"
This reverts commit df0e0866e4 .
* fix: UniswapV3Sampler return token amounts as the last value in return tuple
* fix: bump Uniswap V3 quote max gas because QuoterV2 is more expensive
* fix: don't try to rout 0 sellAmount/buyAmount quotes
* fix: Linting issue
* fix: use median gas usage instead of mean in UniV3 gas schedule
* chore: add asset-swapper changelog entry
* fix: remove contract-addresses changelog empty row failing linting
* Updated CHANGELOGS & MD docs
* Publish
- @0x/contracts-erc20@3.3.27
- @0x/contracts-test-utils@5.4.18
- @0x/contracts-treasury@1.4.10
- @0x/contracts-utils@4.8.8
- @0x/contracts-zero-ex@0.31 .1
- @0x/asset-swapper@16.50 .0
- @0x/contract-addresses@6.12 .0
- @0x/contract-wrappers@13.19 .1
- @0x/migrations@8.1.16
- @0x/protocol-utils@1.11 .1
* Add v4 NFT Audits (#435 )
* prettier and lint
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Cece Z <cece@0xproject.com >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
Co-authored-by: Github Actions <github-actions@github.com >
Co-authored-by: Jessica Lin <jlin2700@gmail.com >
2022-03-02 21:18:40 -05:00
Jessica Lin
7f75de347e
Add v4 NFT Audits ( #435 )
2022-03-02 10:46:00 -08:00
Github Actions
329f7761c3
Publish
...
- @0x/contracts-erc20@3.3.27
- @0x/contracts-test-utils@5.4.18
- @0x/contracts-treasury@1.4.10
- @0x/contracts-utils@4.8.8
- @0x/contracts-zero-ex@0.31 .1
- @0x/asset-swapper@16.50 .0
- @0x/contract-addresses@6.12 .0
- @0x/contract-wrappers@13.19 .1
- @0x/migrations@8.1.16
- @0x/protocol-utils@1.11 .1
2022-03-02 12:55:58 +00:00
Github Actions
0d8e83cd75
Updated CHANGELOGS & MD docs
2022-03-02 12:55:55 +00:00
Kim Persson
e5d60b8077
feat: Improve Uniswap V3 gas schedule redux ( #424 )
...
* Revert "fix: Revert Improve Uniswap V3 gas schedule (#397 ) (#419 )"
This reverts commit df0e0866e4 .
* fix: UniswapV3Sampler return token amounts as the last value in return tuple
* fix: bump Uniswap V3 quote max gas because QuoterV2 is more expensive
* fix: don't try to rout 0 sellAmount/buyAmount quotes
* fix: Linting issue
* fix: use median gas usage instead of mean in UniV3 gas schedule
* chore: add asset-swapper changelog entry
* fix: remove contract-addresses changelog empty row failing linting
2022-03-02 13:36:12 +01:00
Cece Z
ae2fe55efa
[TKR-275] Add Geist on Fantom ( #398 )
...
* Add Geist on Fantom
* nvm there is not subgraph for it
* finish giest utils
* Address pr comments
* lowercase gtoken addresses
* return undefined instead of error for unsupported pairs
* another lower case
* Update fantom fillQuoteTransformer address
* more const clean up
2022-03-02 01:34:30 -05:00
Jacob Evans
6073607d3e
chore: update Node16 ( #384 )
...
* Node 16
* update yarn.lock
* Update ganache-cli and merkle-patricia-tree
2022-03-02 11:50:35 +10:00
Github Actions
389ebb5df8
Publish
...
- @0x/asset-swapper@16.49 .9
2022-02-24 09:52:41 +00:00
Github Actions
fd9655e9d4
Updated CHANGELOGS & MD docs
2022-02-24 09:52:38 +00:00
Kim Persson
6480aaa189
fix: native order scaling & don't try to route 1 wei trades (it will fail) ( #430 )
...
* feat: scale oversized native orders to quote amount for fake samples
* chore: temporarily use private publish neon-router version
* fix: short circuit 1 base unit trades to avoid router error
* chore: use published version of `neon-router`
* chore: add changelog entry for asset-swapper
2022-02-24 10:34:17 +01:00
Github Actions
38969bb0a8
Publish
...
- @0x/contracts-erc20@3.3.26
- @0x/contracts-test-utils@5.4.17
- @0x/contracts-treasury@1.4.9
- @0x/contracts-utils@4.8.7
- @0x/contracts-zero-ex@0.31 .0
- @0x/asset-swapper@16.49 .8
- @0x/contract-artifacts@3.17 .0
- @0x/contract-wrappers@13.19 .0
- @0x/migrations@8.1.15
- @0x/protocol-utils@1.11 .0
2022-02-22 22:32:24 +00:00
Github Actions
1847ab93af
Updated CHANGELOGS & MD docs
2022-02-22 22:32:20 +00:00
mzhu25
c1177416f5
[Final] ERC721 and ERC1155 Orders ( #429 )
...
* add LibERC721Order.sol
* Add ERC721 interface to vendor/
* Add ERC721OrdersFeature interface
* Storage lib for ERC721 orders feature
* Implement basic functionality for ERC721 orders (buy, sell, cancel, etc)
* Add isValidERC721OrderSignature to interface
* implement onERC721Received
* Implement batchBuyERC721s
* left/right orders -> sell/buy orders
* Add missing @return comments
* Implement matching functions
* Use SafeMath where necessary
* add rich errors for ERC721OrdersFeature
* Add comments
* Add presign support for ERC721 orders
* Cancel using just the order nonce
* Add IERC721OrdersFeature to IZeroEx
* Add taker callback
* Assembly optimizations in LibERC721Order
* Add ERC721Orders TS class
* create zero-ex/contracts/test/integration/ and tokens/ directories
* TestMintableERC721Token
* tmp
* address feedback from original PR (#391 )
* address feedback from original PR
* Update contracts/zero-ex/contracts/src/features/ERC721OrdersFeature.sol
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
* address review feedback and improve order parameter naming
* Add batchCancel function
* Emit order fields in preSign
* Fix tests
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
* Remove revertIfIncomplete from batchMatch
* Sanity check maker address in preSign
* ERC1155OrdersFeature contracts
* Commence refactor, abstract base contract
* ERC721OrdersFeature inherits from NFTOrders
* Refactor ERC1155OrdersFeature to inherit from NFTOrders
* Fix order hashing
* Fix ERC721OrdersFeature tests
* Typos
* Remove maker address from preSigned mapping
* disable dex sampler tests
* Refactor TS tooling
* Address PR feedback
* Rearrange event fields to better align with struct fields
* Update comments
* update AbiEncoder.create params
* Add ERC1155Order to protocol-utils
* Add ERC1155OrdersFeeature tests
* Bump package versions and regenerate contract wrappers
* Add ERC165Feature
* NFT orders: address audit findings (#417 )
* CVF-1: use pragma solidity ^0.6 instead of ^0.6.5
* CVF-11: fix inaccurate comment
* CVF-16: Enable taker callbacks for batchBuyERC1155s
* CVF-17: use internal call if revertIfIncomplete is true
* CVF-21: avoid duplicate SLOAD
* CVF-23: merge if statements
* CVF-24: Reorder status checks to be consistent with ERC721OrdersFeature
* CVF-25: Update unclear comment (canonical hash -> EIP-712 hash)
* CVF-31: Document keys of orderState mapping
* CVF-45: DRY up fees/properties hashing
* CVF-47, CVF-50, CVF-57: calculate properties.length once; hash propertyStructHashArray in-place using assembly
* CVF-56: More descriptive names for assembly variables
* CVF-71: Update confusing comment about rounding in _payFees
* CVF-72: Move ETH assertions outside of loop in _payFees
* CVF-74: Move property validation loop to else branch
* CVF-82: Update inaccurate comment
* CVF-86: Enable taker callbacks for batchBuyERC721s
* CVF-87: use internal call if revertIfIncomplete is true
* CVF-89: Perform token mismatch checks before stateful operations
* CVF-90, CVF-91: Defer ERC20 token mismatch check
* CVF-93: Add inline comments for _payFees parameters in matchERC721Orders
* CVF-94: Fix comment (Step 7 -> Step 5)
* CVF-98: Use binary & operator instead of mod
* CVF-99: Update unclear comment (canonical hash -> EIP-712 hash)
* CVF-65, CVF-66, CVF-67: Copy params.ethAvailable into local variable; check that ethSpent does not exceed ethAvailable; remove ethAvailable < erc20FillAmount check
* CVF-52, CVF-55, CVF-59: calculate fees.length once; hash feeStructHashArray in-place using assembly
* CVF-14, CVF-32: OrderState struct; separate storage mapping for 1155 cancellations so orders can be cancelled by nonce
* Update changelogs, IZeroEx artifact/wrapper
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
2022-02-22 10:00:22 -08:00
Github Actions
4fdd203211
Publish
...
- @0x/asset-swapper@16.49 .7
2022-02-22 12:50:50 +00:00
Github Actions
4bc11776d7
Updated CHANGELOGS & MD docs
2022-02-22 12:50:47 +00:00
Kim Persson
eb12eac5f3
fix: start native orders "samples" at 0 & don't skip neg adj orders ( #425 )
...
* fix: start native orders "samples" at 0 & don't skip neg adj orders
* fix: bail on routes with invalid output estimation (no valid route)
* chore: bump neon-router version
* chore: add asset-swapper changelog entry
2022-02-22 13:31:47 +01:00
Github Actions
5f5b951998
Publish
...
- @0x/asset-swapper@16.49 .6
2022-02-17 16:02:38 +00:00
Github Actions
8e90547604
Updated CHANGELOGS & MD docs
2022-02-17 16:02:34 +00:00
Noah Khamliche
fbea74d7ff
remove comments
2022-02-17 10:40:59 -05:00
Noah Khamliche
dcea16bc13
removed ohmv2/dai and ohmv2/weth, routing is the same without the search overhead
2022-02-17 10:40:59 -05:00
Noah Khamliche
d59a074bd7
updated changelog
2022-02-17 10:40:59 -05:00
Noah Khamliche
39cc4f4dbf
fixed btrfly routing to include the ohmV2/dai, ohmV2/btfly, and ohmV2/weth pools
2022-02-17 10:40:59 -05:00
Github Actions
85bcf87af8
Publish
...
- @0x/asset-swapper@16.49 .5
2022-02-14 13:12:38 +00:00
Github Actions
a0fe1c610f
Updated CHANGELOGS & MD docs
2022-02-14 13:12:35 +00:00
Kim Persson
5d21af1a0a
fix: 1 base unit output amount being scale down, rounding to 0 output ( #422 )
...
* fix: 1 base unit output amount being scale down, rounding to 0 output
* chore: add asset-swapper changelog entry
* fix: round scaled output to base units before clamping
2022-02-14 13:54:53 +01:00
Jacob Evans
f6edbd210c
Update protocol docs ( #421 )
...
* Update protocol docs
* Added functions
* fix table
* eligbility section?
* Trader.xyz shoutout
* Up to
2022-02-11 22:53:49 +10:00
Github Actions
e084807a8f
Publish
...
- @0x/asset-swapper@16.49 .4
2022-02-10 15:34:41 +00:00
Github Actions
1c7d512829
Updated CHANGELOGS & MD docs
2022-02-10 15:34:38 +00:00
Kim Persson
df0e0866e4
fix: Revert Improve Uniswap V3 gas schedule ( #397 ) ( #419 )
...
* Revert "feat: Improve Uniswap V3 gas schedule (#397 )"
This reverts commit 84e4819e6e .
* chore: Add changelog entry
2022-02-10 16:15:54 +01:00
Github Actions
9e6efc3676
Publish
...
- @0x/asset-swapper@16.49 .3
2022-02-10 12:12:08 +00:00
Github Actions
3aef29dace
Updated CHANGELOGS & MD docs
2022-02-10 12:12:05 +00:00
Kim Persson
9a16e00577
fix: router RFQ underutilization ( #413 )
...
* fix: pass EP overhead to Path & use path comparison all & vip routes
* chore: add changelog entry for asset-swapper
2022-02-10 12:55:30 +01:00
Kim Persson
84e4819e6e
feat: Improve Uniswap V3 gas schedule ( #397 )
...
* feat: UniswapV3Sampler use QuoterV2 for sells WIP
* feat: UniswapV3Sampler for QuoterV2 buys WIP
* refactor: separate logic to remove stack too deep issue
* feat: Use initializedTicksCrossed from Uniswap QuoterV2 for gas est.
* fix: use Quoter gasUsed instead of estimating gas from pools + ticks
* refactor: clean up UniswapV3Sampler & remove old Quoter interface
* refactor: unify code for buys and sells while handling stack too deep
* fix: use mean gas price from all sample estimating UniV3 gas schedule
* fix: fallback to legacy Uniswap V3 gas estimate if we can't get gasUsed
* refactor: use named function instead of fat arrow
* chore: add asset-swapper changelog entry
2022-02-10 11:16:24 +01:00
Kim Persson
25dd6bc79a
fix: incorrect output scaling when input is less than desired amount ( #401 )
...
* fix: incorrect output scaling when input is less than desired amount
* chore: bump fast-abi
* chore: add changelog entry for asset-swapper
2022-02-10 10:43:44 +01:00
Jacob Evans
5d2cdb00c2
fix: slippage inconsistency when recalculated in exchange proxy quote consumer ( #412 )
...
* fix: Pass slippage down rather than recalculate due to accuracy
* CHANGELOG
2022-02-04 10:37:38 +10:00
Github Actions
0f701f42d3
Publish
...
- @0x/asset-swapper@16.49 .2
2022-01-31 18:24:47 +00:00
Github Actions
3e3e82d3f7
Updated CHANGELOGS & MD docs
2022-01-31 18:24:44 +00:00
Lawrence Forman
c57bf86273
Fix ABI encoding error with two hop buys due to applying slippage to uint(-1) values ( #410 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2022-01-31 12:51:17 -05:00
Github Actions
f470d282ee
Publish
...
- @0x/asset-swapper@16.49 .1
2022-01-31 07:20:03 +00:00
Github Actions
b8a2526da5
Updated CHANGELOGS & MD docs
2022-01-31 07:19:59 +00:00
Jacob Evans
97575bbde9
fix: worstCaseQuoteInfo calculating buys incorrectly [TKR-296] ( #402 )
...
* fix: WorstCaseQuoteInfo buy encoding
* CHANGELOG
2022-01-31 17:01:17 +10:00
Github Actions
e5ed8b2c81
Publish
...
- @0x/asset-swapper@16.49 .0
2022-01-28 22:11:46 +00:00
Github Actions
61fbae3ae2
Updated CHANGELOGS & MD docs
2022-01-28 22:11:42 +00:00
Shawn
5c2255c841
feat: add curve pools ( #409 )
...
* feat: Additional Curve pools
* more pools
* fix the format
* changlog
* lowercase address
Co-authored-by: Jacob Evans <jacob@dekz.net >
2022-01-28 12:08:28 -08:00
Github Actions
e036dee6c5
Publish
...
- @0x/asset-swapper@16.48 .0
2022-01-25 22:00:25 +00:00
Github Actions
8583aab241
Updated CHANGELOGS & MD docs
2022-01-25 22:00:21 +00:00
Jacob Evans
5d05b62821
chore: Use MIM on Fantom as an intermediary asset ( #405 )
2022-01-26 07:42:29 +10:00
Github Actions
0063e8178f
Publish
...
- @0x/asset-swapper@16.47 .0
2022-01-25 18:51:07 +00:00
Github Actions
ec6e5dd517
Updated CHANGELOGS & MD docs
2022-01-25 18:51:04 +00:00
Noah Khamliche
9d08fefa1c
Feat/synapse ( #400 )
...
* added synapse support
2022-01-25 13:21:07 -05:00
Github Actions
2fdca24d4e
Publish
...
- @0x/asset-swapper@16.46 .0
2022-01-11 01:10:02 +00:00
Github Actions
42ec0b144e
Updated CHANGELOGS & MD docs
2022-01-11 01:09:58 +00:00
Jacob Evans
3f6ce78b46
chore: Enable Curve ETH/CVX ( #394 )
...
* chore: Enable Curve ETH/CVX
* pr number
2022-01-11 09:32:07 +10:00
Github Actions
c1300c1068
Publish
...
- @0x/asset-swapper@16.45 .2
2022-01-10 15:09:26 +00:00
Github Actions
9a641cfab6
Updated CHANGELOGS & MD docs
2022-01-10 15:09:23 +00:00
Kim Persson
60345d4465
fix: don't create fills for 0 output samples and negative adjusted rate orders ( #387 )
...
* fix: don't try to create fills for 0 output samples
* fix: negative adjusted output native orders causing undefined fills
* fix: make sure to use the same sourcePathId for fills from same source
* fix: should be same sourcePathId within the same DexSample[]
* fix: split native orders into 13 samples to align with interpolation
* chore: add changelog entry for asset-swapper
2022-01-10 14:55:03 +01:00
Github Actions
11dfea47a6
Publish
...
- @0x/asset-swapper@16.45 .1
2022-01-05 05:08:43 +00:00
Github Actions
55e9dd39a2
Updated CHANGELOGS & MD docs
2022-01-05 05:08:41 +00:00
Jacob Evans
1993929bed
chore: Celo Update certain tokens since Optics v2 ( #390 )
...
* chore: Celo Update certain tokens since Optics v2
* Changelog
2022-01-05 14:44:29 +10:00
Oskar Paolini
e1d81de517
fixes axios object dumping in logs ( #345 )
2022-01-05 09:46:01 +10:00
Github Actions
a6b3a21635
Publish
...
- @0x/asset-swapper@16.45 .0
2022-01-04 15:00:16 +00:00
Github Actions
fd59cdc2db
Updated CHANGELOGS & MD docs
2022-01-04 15:00:13 +00:00
Jacob Evans
98e11b5189
feat: Capture Routing timing metrics ( #388 )
2022-01-04 15:42:14 +01:00
Github Actions
3bebc7cd62
Publish
...
- @0x/asset-swapper@16.44 .0
2021-12-29 11:45:33 +00:00
Github Actions
56dab6ae8c
Updated CHANGELOGS & MD docs
2021-12-29 11:45:30 +00:00
Kim Persson
285f98e9e9
feat: Udate neon-router and use router estimated output amount ( #354 )
...
* feat: use Rust router estimated output amount when possible
* fix: use strings for sample ids, and increase samples in the rust router
* fix: remove unnecessary interpolation of out of range values
* fix: don't recalculate sampled dist sum in a loop
* fix: use 14 samples for rust router to work around interpolation issues
* fix: unintentional logic change
* fix: remove local dev plotting param from route fn call
* feat: make neon-router number of samples configurable
* chore: bump to newly published neon-router version
* fix: handle insufficient liquidity at all requested sources
* chore: update asset-swapper changelog
2021-12-29 12:08:24 +01:00
Github Actions
8ae9f59f20
Publish
...
- @0x/contracts-erc20@3.3.25
- @0x/contracts-test-utils@5.4.16
- @0x/contracts-treasury@1.4.8
- @0x/contracts-utils@4.8.6
- @0x/contracts-zero-ex@0.30 .1
- @0x/asset-swapper@16.43 .0
- @0x/contract-addresses@6.11 .0
- @0x/contract-wrappers@13.18 .5
- @0x/migrations@8.1.14
- @0x/protocol-utils@1.10 .1
2021-12-24 16:45:24 +00:00
Github Actions
4c341c5ca3
Updated CHANGELOGS & MD docs
2021-12-24 16:45:21 +00:00
Shawn
a3c912c2af
feat/optimism [TKR-280] ( #385 )
...
* rebase and remove WIP Clipper new weth router test
* remove clipper test
* restore from clipper test
* add uniswapV3 on optimism
* modify token addresses and add EP-related addresses on optimism
* prettier
* modify CHANGLOG.json
* convert addresses to lowercase
* remove testnet addresses
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
2021-12-24 08:28:06 -08:00
Github Actions
5e72eb9af9
Publish
...
- @0x/asset-swapper@16.42 .0
2021-12-21 22:02:45 +00:00
Github Actions
9b08b73c06
Updated CHANGELOGS & MD docs
2021-12-21 22:02:41 +00:00
Jacob Evans
76c7eb7c3e
fix: Beethovenx graphql endpoint ( #383 )
2021-12-22 07:44:25 +10:00
Jacob Evans
9b2e5a3adb
fix: PR number in CHANGELOG
2021-12-22 08:11:28 +11:00
Jacob Evans
813d703d12
feat: UniswapV3 on Polygon ( #382 )
2021-12-22 07:10:21 +10:00
Github Actions
83005d0f3d
Publish
...
- @0x/asset-swapper@16.41 .0
2021-12-06 21:48:27 +00:00
Github Actions
d07ffd2688
Updated CHANGELOGS & MD docs
2021-12-06 21:48:24 +00:00
Noah Khamliche
4170f970d0
Sushi router celo fix ( #376 )
...
* Updated Sushiswap router on CELO
Sushi address in the docs was incorrect, this is the correct address `0x1421bDe4B10e8dd459b3BCb598810B1337D56842`.
* address to lowercase
* Update CHANGELOG.json
* fixed sushi router address, replaced celo ref with wcelo, fixed mcusd address
* celo->wcelo
* Update packages/asset-swapper/CHANGELOG.json
Co-authored-by: Jacob Evans <jacob@dekz.net >
* changelog
* version bump
Co-authored-by: Jacob Evans <jacob@dekz.net >
2021-12-06 13:31:45 -08:00
Github Actions
dcde12dd70
Publish
...
- @0x/contracts-erc20@3.3.24
- @0x/contracts-test-utils@5.4.15
- @0x/contracts-treasury@1.4.7
- @0x/contracts-utils@4.8.5
- @0x/contracts-zero-ex@0.30 .0
- @0x/asset-swapper@16.40 .0
- @0x/contract-addresses@6.10 .0
- @0x/contract-wrappers@13.18 .4
- @0x/migrations@8.1.13
- @0x/protocol-utils@1.10 .0
2021-12-01 20:22:43 +00:00
Github Actions
84a60ec982
Updated CHANGELOGS & MD docs
2021-12-01 20:22:39 +00:00
Kim Persson
9615570dc6
feat: deploy interest tokens ( #321 )
...
* feat: Aave aToken deposit/withdrawal [TKR-111] (#293 )
* feat: AaveV2 deposit/withdrawal integration WIP
* feat: add basic Aave Reserves cache with data from subgraphs WIP
* feat: hook up Aave Reserves integration
* fix: set allowance before trade & use ERC20 token interface
* refactor: pass aToken to mixin to avoid lookup
* fix: migrate from swap/revert to normal sampling
* fix: Aave gas estimate & refactor to clean up code
* feat: Create a sampler no operation type and make AaveV2Sampler a no-op
* fix: Clipper merge conflict resolution issues
* fix: don't fetch unnecessary Aave pool data & clean up code
* chore: Add changelog entries
* feat: cToken deposit/withdrawal [TKR-222] (#294 )
* feat: first stab at a CompoundSampler implementation
* feat: MixinCompound implementation WIP
* feat: Compound integration with cache WIP
* fix: decimals scaling in CompoundSampler
* feat: handle minting and redeeming of cETH
* fix: adjust Compound gas schedule
* refactor: clean up code and add comments in cToken cache
* fix: MixinCompound check allowance on WETH withdrawal & fix indentation
* fix: address review comments and clean up code
* chore: add changelog entries
* feat: enable AaveV2 on Avalanche
* chore: add freshly deployed FQT on Polygon, Avalanche
* fix: temporarily disable on Ethereum mainnet until we redeploy EP
* fix: address PR comments and update changelogs
* fix: correct contract-addresses changelog note
2021-12-01 17:10:22 +01:00
Jacob Evans
880a9c3da0
chore: Curve added ETH/CRV pool ( #378 )
2021-12-01 14:51:47 +10:00
Jacob Evans
c44bd9d42d
Revert "chore: Curve added ETH/CRV pool"
...
This reverts commit 90b441330b .
2021-12-01 14:19:49 +10:00
Jacob Evans
90b441330b
chore: Curve added ETH/CRV pool
2021-12-01 14:17:40 +10:00
Github Actions
e12ed1eddf
Publish
...
- @0x/asset-swapper@16.38 .0
2021-11-29 23:23:57 +00:00
Github Actions
ac94023ab3
Updated CHANGELOGS & MD docs
2021-11-29 23:23:54 +00:00
Jacob Evans
281e6acca5
chore: Add ability to capture sampler metrics ( #374 )
...
* chore: Add ability to capture sampler metrics
* Added block number metrics
2021-11-30 09:06:05 +10:00
Github Actions
2f1b520409
Publish
...
- @0x/asset-swapper@16.37 .0
2021-11-19 19:15:43 +00:00
Github Actions
21b4eb3d26
Updated CHANGELOGS & MD docs
2021-11-19 19:15:40 +00:00
Noah Khamliche
644f6c7d28
removed comma
2021-11-19 13:46:57 -05:00
Noah Khamliche
0647b9e4f8
Update CHANGELOG.json
2021-11-19 13:46:57 -05:00
Noah Khamliche
82d42eeede
address to lowercase
2021-11-19 13:46:57 -05:00
Noah Khamliche
6ef4d95043
Updated Sushiswap router on CELO
...
Sushi address in the docs was incorrect, this is the correct address `0x1421bDe4B10e8dd459b3BCb598810B1337D56842`.
2021-11-19 13:46:57 -05:00
Github Actions
6044140f86
Publish
...
- @0x/asset-swapper@16.36 .0
2021-11-19 02:59:33 +00:00
Github Actions
4da1ef0f56
Updated CHANGELOGS & MD docs
2021-11-19 02:59:30 +00:00
Jacob Evans
8c668a3918
feat: Specify FEI/TRIBE liquid pool ( #371 )
...
* feat: Specify FEI/TRIBE liquid pool
* CHANGELOG
* FXS/FRAX and OHM/FRAX
2021-11-18 15:39:07 +10:00
Github Actions
f1ff1cde39
Publish
...
- @0x/asset-swapper@16.35 .0
2021-11-18 03:31:36 +00:00
Github Actions
1668a24e31
Updated CHANGELOGS & MD docs
2021-11-18 03:31:32 +00:00
Shawn
4b7c376d96
feat: Add Beethoven X, MorpheusSwap and JetSwap on Fantom ( #370 )
...
* Rebase to development branch
* add support for MorpheusSwap and JetSwap on Fantom
* fix lint
* modify changelog.json for asset-swapper
* fix the comments
* prettier
* Use BalancerV2PoolsCache for BeethovenX
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
2021-11-17 19:14:01 -08:00
Github Actions
bb4a9c656c
Publish
...
- @0x/contracts-erc20@3.3.23
- @0x/contracts-test-utils@5.4.14
- @0x/contracts-treasury@1.4.6
- @0x/contracts-utils@4.8.4
- @0x/contracts-zero-ex@0.29 .5
- @0x/asset-swapper@16.34 .0
- @0x/contract-addresses@6.9.0
- @0x/contract-wrappers@13.18 .3
- @0x/migrations@8.1.12
- @0x/protocol-utils@1.9.5
2021-11-16 22:49:46 +00:00
Github Actions
6ab07b6304
Updated CHANGELOGS & MD docs
2021-11-16 22:49:43 +00:00
Noah Khamliche
8903f1ab01
Update packages/contract-addresses/CHANGELOG.json
...
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2021-11-16 16:55:57 -05:00
Noah Khamliche
415535612a
removed duplicate celo code
2021-11-16 16:55:57 -05:00
Noah Khamliche
5248a135c3
upped versions in changelog
2021-11-16 16:55:57 -05:00
Lawrence Forman
602290925c
fix celo rebase
2021-11-16 16:55:57 -05:00
Github Actions
01813746e8
Publish
...
- @0x/contracts-zero-ex@0.29 .4
- @0x/asset-swapper@16.33 .0
- @0x/migrations@8.1.11
2021-11-16 12:27:06 +00:00
Github Actions
7d668d8801
Updated CHANGELOGS & MD docs
2021-11-16 12:27:02 +00:00
Jacob Evans
797a00a33a
feat: Uniswap V3 1bps pools [TKR-263] ( #366 )
...
* feat: Uniswap V3 1bps pools
* Update CHANGELOG
2021-11-16 08:15:24 +10:00
Lawrence Forman
4b3d98f43c
@0x/contracts-zero-ex: Prevent EP ETH balance from reducing when executin mtxs (#365 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-11-09 22:11:36 -05:00
Github Actions
9ff77c1cd5
Publish
...
- @0x/asset-swapper@16.32 .0
2021-11-09 19:36:14 +00:00
Github Actions
18a8351671
Updated CHANGELOGS & MD docs
2021-11-09 19:36:10 +00:00
Jorge Pérez
9a994dfcd3
fix: Extended Quote Report Changelog typo
2021-11-09 13:17:14 -06:00
Jorge Pérez
b7adc5a889
feat: Extended Quote Report
...
* Extended Quote report for indicative quote
* feat: Only save 'full' quotes on quote report
* Unify extended quote report
2021-11-09 13:05:01 -06:00
Github Actions
10b0d7f363
Publish
...
- @0x/asset-swapper@16.31 .0
2021-11-04 06:52:28 +00:00
Github Actions
e2c905a15f
Updated CHANGELOGS & MD docs
2021-11-04 06:52:25 +00:00
Jacob Evans
8589ba728c
feat: [Avalanche] Add Curve, CurveV2 and KyberDMM ( #363 )
...
* feat: [Avalanche] Add Curve, CurveV2 and KyberDMM
* CHANGELOG
* fix missing file
* lint
2021-11-04 16:34:48 +10:00
Github Actions
43512fd07a
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
2021-11-03 01:40:34 +00:00
Github Actions
c090608d99
Updated CHANGELOGS & MD docs
2021-11-03 01:40:30 +00:00
phil-ociraptor
89817428ed
chore: add OtcOrder feature to fullMigrateAsync ( #350 )
2021-11-02 20:19:27 -05: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
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
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
Github Actions
73a07e512d
Publish
...
- @0x/asset-swapper@16.29 .3
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
Github Actions
d7cff52e75
Publish
...
- @0x/contracts-treasury@1.4.3
- @0x/asset-swapper@16.29 .2
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
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
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
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
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
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
2021-09-15 12:58:17 +00:00
Github Actions
b2d54f0238
Updated CHANGELOGS & MD docs
2021-09-15 12:58:13 +00:00
Daniel Pyrathon
4a3096495b
Mocked RFQ ( #326 )
2021-09-15 08:39:10 -04:00
Lawrence Forman
23f6e9e53c
fix mixed @0x deps ( #328 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-09-15 00:01:15 -04:00
Cece Z
d7dbc0576d
Support cast vote by signature in ZrxTreasury ( #297 )
...
* Support cast vote by signature in ZrxTreasury
* Address comments and fix existing tests
* test that doesnt work
* test file format
* updates
* address some of the comments
* Remove unused const
* get rid of vote_factory
* unit test for castVoteBySignature p1
* unit test for castVoteBySignature p2
* Add version to domain, and one more test
* unit test for castVoteBySignature p3
* unit test for castVoteBySignature p4
* bump utils version
* remove debug code
* address some comments
* address more pr comments
* move Vote class to protocol-utils
* Address pr comments and update changelogs
2021-09-14 16:12:51 -04:00
Github Actions
15fb00e958
Publish
...
- @0x/asset-swapper@16.27 .3
2021-09-14 19:04:09 +00:00
Github Actions
1d9295cc94
Updated CHANGELOGS & MD docs
2021-09-14 19:04:05 +00:00
Daniel Pyrathon
79f36cf6fb
fix: Remove API key whitelist field ( #323 )
...
* Refactor integrator ID and add Prometheus metrics
* Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
* Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
* Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
* Added documentation and fixed some minor requests
* Added more metrics
* more docs
* lint fix
* added new Integrator ID addition
* refactor tests
* Refactor new types
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
2021-09-14 14:43:02 -04:00
Github Actions
6ce4458a5d
Publish
...
- @0x/asset-swapper@16.27 .2
2021-09-14 17:13:46 +00:00
Github Actions
fad6e65c07
Updated CHANGELOGS & MD docs
2021-09-14 17:13:42 +00:00
Daniel Pyrathon
840c85373e
fix: Refactor integrator ID and add Prometheus metrics ( #322 )
...
* Refactor integrator ID and add Prometheus metrics
* Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
* Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
* Update packages/asset-swapper/src/swap_quoter.ts
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
* Added documentation and fixed some minor requests
* Added more metrics
* more docs
* lint fix
* added new Integrator ID addition
* refactor tests
Co-authored-by: David Walsh <5778036+rhinodavid@users.noreply.github.com >
2021-09-14 12:45:41 -04:00
Github Actions
0479bb5fe1
Publish
...
- @0x/contracts-erc20@3.3.19
- @0x/contracts-treasury@1.3.5
- @0x/contracts-utils@4.8.0
- @0x/contracts-zero-ex@0.28 .4
- @0x/asset-swapper@16.27 .1
- @0x/migrations@8.1.5
2021-09-08 17:06:09 +00:00
Github Actions
9ecc31ed54
Updated CHANGELOGS & MD docs
2021-09-08 17:06:06 +00:00
Lawrence Forman
eb29abd36c
Fix ApproximateBuys sampler to terminate if the buy amount is not met ( #319 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-09-08 01:17:42 -04:00
Lawrence Forman
d202e01522
update package mainfests ( #318 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-09-07 23:09:30 -04:00
Daniel Pyrathon
e838a6801b
fix: Exclusive API keys for select integrations ( #317 )
...
* Initial commit of changes
* Added unit tests for filtering process
* linting
* Update packages/asset-swapper/src/utils/quote_requestor.ts
Co-authored-by: phil-ociraptor <philipliao@gmail.com >
* lint and refactor based on feedback
Co-authored-by: phil-ociraptor <philipliao@gmail.com >
2021-09-07 14:26:40 -04:00
Noah Khamliche
7439871aa0
Final Rebase
2021-09-01 17:07:16 -04:00
Noah Khamliche
317f2138c5
feat: fixed json
2021-09-01 17:07:16 -04:00
Noah Khamliche
e5834f1901
m: Fixed json formatting
2021-09-01 17:07:16 -04:00
Noah Khamliche
5063446f93
feat: Added FundRecoveryFeature to CHANGELOG.json
2021-09-01 17:07:16 -04:00
Noah Khamliche
0caf495a1a
fixed prettier error with tests
2021-09-01 17:07:16 -04:00
Noah Khamliche
a20de0fc69
Added support for TestMintableERC20TokenContract instead of DummyERC20
2021-09-01 17:07:16 -04:00
Noah Khamliche
9aa0065d2d
fixed package.json rebase bug
2021-09-01 17:07:16 -04:00
Noah Khamliche
c24855e627
fixed rebase issues
2021-09-01 17:07:16 -04:00
Noah Khamliche
6bb72dd775
ran yarn prettier to fix issues
2021-09-01 17:07:16 -04:00
Noah Khamliche
77d1ed257c
removed unsued bal variable, and removed .only modifier on blockchain tests
2021-09-01 17:07:16 -04:00
Noah Khamliche
5d265360c4
fixed linting and EP transfering less than the total amount of ETH in the wallet
2021-09-01 17:07:16 -04:00
Noah Khamliche
c9097f6e8b
fixed rebase issues
2021-09-01 17:07:16 -04:00
Noah Khamliche
d3df985a42
fixed michaels comments and finished off writing the test
2021-09-01 17:07:16 -04:00
Noah Khamliche
7267420874
fixed rebase issues
2021-09-01 17:07:16 -04:00
Noah Khamliche
17e81432f1
Fixed PR comments, now onto writing tests
2021-09-01 17:07:16 -04:00
Noah Khamliche
57c767c3b1
fixed package.json
2021-09-01 17:07:16 -04:00
Noah Khamliche
dbb1c88ad9
initial EpFundRecoveryFeature implementation without tests
2021-09-01 17:07:16 -04:00
Github Actions
254b850a8b
Publish
...
- @0x/contracts-erc20@3.3.18
- @0x/contracts-test-utils@5.4.10
- @0x/contracts-treasury@1.3.4
- @0x/contracts-utils@4.7.18
- @0x/contracts-zero-ex@0.28 .3
- @0x/asset-swapper@16.27 .0
- @0x/contract-addresses@6.7.0
- @0x/contract-wrappers@13.17 .6
- @0x/migrations@8.1.4
- @0x/protocol-utils@1.8.4
2021-09-01 01:31:37 +00:00
Github Actions
e2242e5955
Updated CHANGELOGS & MD docs
2021-09-01 01:31:34 +00:00
Jacob Evans
7a0255fee7
feat: 🔺 ( #312 )
...
* feat: Avalanche
* Update Addresses for Avalanche deployment
* Cleanup
* Rebased development
2021-09-01 11:11:56 +10:00
Github Actions
ec6522cfbf
Publish
...
- @0x/asset-swapper@16.26 .2
2021-08-31 07:06:30 +00:00
Github Actions
1bf96e91bb
Updated CHANGELOGS & MD docs
2021-08-31 07:06:27 +00:00
Romain Butteaud
eb733cc58f
add: Curve new pools (CVX-CRX, MIM, atricrypto3) ( #315 )
...
* add: Curve new pools (CVX-CRX, MIM, atricrypto3)
* prettier
* fix: AS CHANGELOG
* fix: update monorepo-scripts
2021-08-30 23:45:47 -07:00
Jacob Evans
d9fdcf813b
fix: UST spam by temporarily disabling ( #316 )
2021-08-31 16:17:17 +10:00
Romain Butteaud
88bd1c9cea
add: Curve new pools (CVX-CRX, MIM, atricrypto3) - CHANGELOG ( #314 )
...
* add: Curve new pools (CVX-CRX, MIM, atricrypto3)
* prettier
* fix: AS CHANGELOG
2021-08-30 16:19:32 -07:00
Romain Butteaud
9e759e82b4
add: Curve new pools (CVX-CRX, MIM, atricrypto3) ( #313 )
...
* add: Curve new pools (CVX-CRX, MIM, atricrypto3)
* prettier
2021-08-30 15:22:10 -07:00
Daniel Pyrathon
da433854ac
fix: added prometheus changes on expiration ( #308 )
...
* added prometheus changes on expiration
* added unit tests
* prettier
* addressed comments
* remove unused tests
* fix lint:
* Update quote_requestor_test.ts
2021-08-23 13:59:49 -07:00
Github Actions
ed3524e0d7
Publish
...
- @0x/contracts-zero-ex@0.28 .2
- @0x/asset-swapper@16.26 .1
- @0x/migrations@8.1.3
2021-08-19 23:12:22 +00:00
Github Actions
20e23bf3f6
Updated CHANGELOGS & MD docs
2021-08-19 23:12:19 +00:00
David Walsh
be4f85690e
Add ethers as a dependency of @0x/contracts-zero-ex ( #310 )
2021-08-19 16:25:47 -06:00
Github Actions
e061dfa59b
Publish
...
- @0x/contracts-erc20@3.3.17
- @0x/contracts-test-utils@5.4.9
- @0x/contracts-treasury@1.3.3
- @0x/contracts-utils@4.7.17
- @0x/contracts-zero-ex@0.28 .1
- @0x/asset-swapper@16.26 .0
- @0x/contract-addresses@6.6.1
- @0x/contract-wrappers@13.17 .5
- @0x/migrations@8.1.2
- @0x/protocol-utils@1.8.3
2021-08-19 06:13:36 +00:00
Github Actions
cb4f42dfea
Updated CHANGELOGS & MD docs
2021-08-19 06:13:32 +00:00
Jacob Evans
9727f0cebe
feat: Enable partial Native order fills. Union intermediary tokens ( #309 )
...
* feat: Enable partial Native order fills
* change intermediary tokens to be a UNION.
Hint to cvxCRV and CRV
* Pin asset-swapper to use contracts-zero-ex 0.27.0 for now
* feat: Retire Eth2Dai/Oasis
2021-08-19 15:21:23 +10:00
Jacob Evans
68656b4a4d
chore: Prune old contracts ( #304 )
...
Prune exchange-libs
deploy migrations at specific address
remove exchange-libs, moving LibMath into Utils
Remove staking order-utils multisig and remaining asset-proxy
2021-08-18 10:33:47 +10:00
Github Actions
aae46bef84
Publish
...
- @0x/contracts-asset-proxy@3.7.19
- @0x/contracts-broker@1.1.37
- @0x/contracts-coordinator@3.1.38
- @0x/contracts-dev-utils@1.3.36
- @0x/contracts-erc1155@2.1.37
- @0x/contracts-erc20@3.3.16
- @0x/contracts-erc721@3.1.37
- @0x/contracts-exchange-forwarder@4.2.38
- @0x/contracts-exchange-libs@4.3.37
- @0x/contracts-exchange@3.2.38
- @0x/contracts-extensions@6.2.32
- @0x/contracts-integrations@2.7.64
- @0x/contracts-multisig@4.1.38
- @0x/contracts-staking@2.0.45
- @0x/contracts-test-utils@5.4.8
- @0x/contracts-treasury@1.3.2
- @0x/contracts-utils@4.7.16
- @0x/contracts-zero-ex@0.28 .0
- @0x/asset-swapper@16.25 .0
- @0x/contract-wrappers-test@12.2.53
- @0x/migrations@8.1.1
- @0x/protocol-utils@1.8.2
2021-08-16 02:03:23 +00:00
Github Actions
a0bb36954e
Updated CHANGELOGS & MD docs
2021-08-16 02:03:19 +00:00
Jacob Evans
4f32f3174f
fix: fallbacks duplicate check on source-index ( #307 )
2021-08-16 11:25:22 +10:00
Daniel Pyrathon
b84107d142
fix: Adds "MetricsProxy" that allows us to proxy Prometheus metrics across… ( #300 )
...
* Adds "MetricsProxy" that allows us to proxy Prometheus metrics across to the API
* added more metric
* update linting
2021-08-12 18:11:51 -07:00
mzhu25
b46eeadc64
Feat/multiplex/v2 ( #263 )
...
* Refactor Multiplex into multiple files
* Pull UniswapV3 into separate file
* Add support for multihop nested within batch sell
* Add useSelfBalance and recipient to _fillRfqOrder
* Expose onlySelf variant in UniswapV3Feature for Multiplex
* Add useSelfBalance and recipient to _transformERC20
* Add support for proportional fill amounts in batchSell
* Comments and renaming
* Unit tests
* Use caps for immutables
* Rename taker -> recipient in TransformContext and SettleOrderInfo
* lint
* Address nits
* Swallow reverts for LiquidityProvider and UniswapV2 batch sells
* Address spot-check findings (#279 )
* Check didSucceed in _callWithOptionalBooleanResult
* Add takerToken=ETH support to OtcOrdersFeature (#287 )
* Add takerToken=ETH support to OtcOrdersFeature
* Add batchFillTakerSignedOtcOrders
* Add support for OTC to Multiplex
* Address PR feedback
* Update TransformERC20Feature (#303 )
* remove multiplex_utils
* Update changelog
* unbreak tests
2021-08-12 17:09:46 -07:00
Github Actions
692231c2ea
Publish
...
- @0x/contracts-asset-proxy@3.7.18
- @0x/contracts-broker@1.1.36
- @0x/contracts-coordinator@3.1.37
- @0x/contracts-dev-utils@1.3.35
- @0x/contracts-erc1155@2.1.36
- @0x/contracts-erc20@3.3.15
- @0x/contracts-erc721@3.1.36
- @0x/contracts-exchange-forwarder@4.2.37
- @0x/contracts-exchange-libs@4.3.36
- @0x/contracts-exchange@3.2.37
- @0x/contracts-extensions@6.2.31
- @0x/contracts-integrations@2.7.63
- @0x/contracts-multisig@4.1.37
- @0x/contracts-staking@2.0.44
- @0x/contracts-test-utils@5.4.7
- @0x/contracts-treasury@1.3.1
- @0x/contracts-utils@4.7.15
- @0x/contracts-zero-ex@0.27 .1
- @0x/asset-swapper@16.24 .1
- @0x/contract-addresses@6.6.0
- @0x/contract-wrappers-test@12.2.52
- @0x/contract-wrappers@13.17 .4
- @0x/migrations@8.1.0
- @0x/order-utils@10.4.28
- @0x/protocol-utils@1.8.1
2021-08-11 07:09:54 +00:00
Github Actions
3a1becc3e4
Updated CHANGELOGS & MD docs
2021-08-11 07:09:50 +00:00
David Walsh
3653e2d7f9
fix: Add ethers dependency to 0x/contracts-erc20 ( #305 )
2021-08-10 22:50:35 -06:00
mzhu25
65def38d98
Add treasury address to contract-addresses ( #301 )
...
* Add treasury address to contract-addresses
* Update changelogs
2021-08-06 00:28:47 -07:00
Github Actions
859c36cb10
Publish
...
- @0x/contracts-asset-proxy@3.7.17
- @0x/contracts-broker@1.1.35
- @0x/contracts-coordinator@3.1.36
- @0x/contracts-dev-utils@1.3.34
- @0x/contracts-erc1155@2.1.35
- @0x/contracts-erc20@3.3.14
- @0x/contracts-erc721@3.1.35
- @0x/contracts-exchange-forwarder@4.2.36
- @0x/contracts-exchange-libs@4.3.35
- @0x/contracts-exchange@3.2.36
- @0x/contracts-extensions@6.2.30
- @0x/contracts-integrations@2.7.62
- @0x/contracts-multisig@4.1.36
- @0x/contracts-staking@2.0.43
- @0x/contracts-test-utils@5.4.6
- @0x/contracts-treasury@1.3.0
- @0x/contracts-utils@4.7.14
- @0x/contracts-zero-ex@0.27 .0
- @0x/asset-swapper@16.24 .0
- @0x/contract-addresses@6.5.0
- @0x/contract-wrappers-test@12.2.51
- @0x/contract-wrappers@13.17 .3
- @0x/migrations@8.0.12
- @0x/order-utils@10.4.27
- @0x/protocol-utils@1.8.0
2021-08-06 04:54:38 +00:00
Github Actions
3e34386812
Updated CHANGELOGS & MD docs
2021-08-06 04:54:34 +00:00
Jacob Evans
a35af11981
feat: Clipper ( #299 )
...
* feat: Clipper
* feat: Curve tricrypto2 (#302 )
* Scope down the token list search space for Clipper
* update deployed addresses
2021-08-06 14:12:43 +10:00
mzhu25
59eabec71e
Add proposal 1 and test ( #298 )
...
* Add proposal 1 and test
* update changelog
2021-08-05 13:10:36 -07:00
Github Actions
bf4c7e7d50
Publish
...
- @0x/contracts-integrations@2.7.61
- @0x/asset-swapper@16.23 .1
2021-07-29 15:23:54 +00:00
Github Actions
fd098ca4df
Updated CHANGELOGS & MD docs
2021-07-29 15:23:49 +00:00
Lawrence Forman
c360f8d8fd
Publish ( #296 )
...
- @0x/contracts-integrations@2.7.60
- @0x/asset-swapper@16.23 .0
Co-authored-by: Github Actions <github-actions@github.com >
2021-07-29 10:54:37 -04:00
Github Actions
b358559421
Publish
...
- @0x/contracts-integrations@2.7.60
- @0x/asset-swapper@16.23 .0
2021-07-16 22:11:44 +00:00
Github Actions
df5aad8e8e
Updated CHANGELOGS & MD docs
2021-07-16 22:11:39 +00:00
Andreas Andreakis
8dbf79db59
fix: lint ( #289 )
2021-07-16 12:24:56 -07:00
Andreas Andreakis
1839608e84
feat: ACryptoS StableSwap ( #284 )
2021-07-15 15:19:40 -07:00
Github Actions
6e3e795b8b
Publish
...
- @0x/contracts-integrations@2.7.59
- @0x/asset-swapper@16.22 .0
2021-07-13 22:19:54 +00:00
Github Actions
d9c410a7e3
Updated CHANGELOGS & MD docs
2021-07-13 22:19:49 +00:00
Romain Butteaud
609727afe8
feat: Saddle alETH, D4 pools ( #283 )
2021-07-13 14:22:16 -07:00
Romain Butteaud
8a5c74c0b4
feat: IronSwap ( #281 )
...
* feat: IronSwap
* feat: IronSwap, changelog
* feat: IronSwap, prettier
2021-07-13 14:07:45 -07:00
Github Actions
cd93f3b07e
Publish
...
- @0x/contracts-integrations@2.7.58
- @0x/asset-swapper@16.21 .0
2021-07-10 08:00:34 +00:00
Github Actions
8397b12de6
Updated CHANGELOGS & MD docs
2021-07-10 08:00:29 +00:00
Romain Butteaud
3f85acec3a
feat: JetSwap ( #280 )
...
* feat: JetSwap
* feat: JetSwap, changelog
2021-07-10 00:18:29 -07:00
phil-ociraptor
d6a9e3d600
fix: uncaught type error while logging ( #277 )
2021-07-07 14:28:42 -05:00
phil-ociraptor
361569ac2f
chore: emit a log when a quote is returned that is between 99-100% of quote ( #275 )
2021-07-06 17:19:41 -05:00
Github Actions
719664c145
Publish
...
- @0x/contracts-integrations@2.7.57
- @0x/asset-swapper@16.20 .0
2021-07-06 21:34:44 +00:00
Github Actions
f800d6c24c
Updated CHANGELOGS & MD docs
2021-07-06 21:34:39 +00:00
Romain Butteaud
a9a81bcafb
feat: ShibaSwap ( #276 )
2021-07-06 13:53:39 -07:00
Github Actions
4280307a15
Publish
...
- @0x/contracts-integrations@2.7.56
- @0x/asset-swapper@16.19 .1
2021-07-06 04:03:16 +00:00
Github Actions
7b57d3ae51
Updated CHANGELOGS & MD docs
2021-07-06 04:03:11 +00:00
Romain Butteaud
8a8a5bbda0
fix: adding MultiHop for Polygon ( #271 )
2021-07-06 13:33:41 +10:00
Jacob Evans
76987c8db1
fix: PLP fallback ( #272 )
...
* fix: PLP fallback
* CHANGELOG
2021-07-06 13:32:34 +10:00
Github Actions
6f8971cc42
Publish
...
- @0x/contracts-integrations@2.7.55
- @0x/asset-swapper@16.19 .0
2021-07-02 01:48:13 +00:00
Github Actions
71ab882143
Updated CHANGELOGS & MD docs
2021-07-02 01:48:08 +00:00
Romain Butteaud
5a4961c8d9
fix: KyberDMM pick best pools, Polygon KyberDMM ( #269 )
...
* fix: KyberDMM all pools, Polygon KyberDMM
* fix: KyberDMM, remove getPoolsLength interface and revert if no pools found
2021-07-01 18:07:02 -07:00
mzhu25
4c4fb99d87
Add PLP as a source for Polygon ( #270 )
...
* Whitelist PLP as a source for Polygon
* changelog
2021-07-01 17:21:23 -07:00
Github Actions
872abf09e9
Publish
...
- @0x/contracts-integrations@2.7.54
- @0x/asset-swapper@6.18 .3
2021-06-29 17:20:15 +00:00
Github Actions
f10bfe7d04
Updated CHANGELOGS & MD docs
2021-06-29 17:20:11 +00:00
Romain Butteaud
a74d8deff3
feat: Balancer V2 Polygon ( #267 )
2021-06-29 09:46:17 -07:00
Github Actions
835ee4e8de
Publish
...
- @0x/contracts-integrations@2.7.53
- @0x/asset-swapper@6.18 .2
2021-06-24 19:25:12 +00:00
Github Actions
63ec42303f
Updated CHANGELOGS & MD docs
2021-06-24 19:25:07 +00:00
Romain Butteaud
f789aebddc
fix: duplicate SOURCE_FLAGS index ( #266 )
2021-06-24 11:58:05 -07:00
Github Actions
efd83be779
Publish
...
- @0x/contracts-integrations@2.7.52
- @0x/asset-swapper@6.18 .1
2021-06-22 23:37:28 +00:00
Github Actions
603bc1d51c
Updated CHANGELOGS & MD docs
2021-06-22 23:37:23 +00:00
Romain Butteaud
32a930a7fc
feat: FirebirdOneSwap, ApeSwap [TKR-182] [TKR-173] ( #265 )
...
* fix: removing TITAN and IRON as intermediate tokens
* feat: FirebirdOneSwap, ApeSwap, intermediate tokens update
* chore: changelog
2021-06-22 16:04:09 -07:00
Github Actions
f464bf68d7
Publish
...
- @0x/contracts-asset-proxy@3.7.16
- @0x/contracts-broker@1.1.34
- @0x/contracts-coordinator@3.1.35
- @0x/contracts-dev-utils@1.3.33
- @0x/contracts-erc1155@2.1.34
- @0x/contracts-erc20@3.3.13
- @0x/contracts-erc721@3.1.34
- @0x/contracts-exchange-forwarder@4.2.35
- @0x/contracts-exchange-libs@4.3.34
- @0x/contracts-exchange@3.2.35
- @0x/contracts-extensions@6.2.29
- @0x/contracts-integrations@2.7.51
- @0x/contracts-multisig@4.1.35
- @0x/contracts-staking@2.0.42
- @0x/contracts-test-utils@5.4.5
- @0x/contracts-treasury@1.2.3
- @0x/contracts-utils@4.7.13
- @0x/contracts-zero-ex@0.26 .0
- @0x/asset-swapper@6.18 .0
- @0x/contract-addresses@6.4.0
- @0x/contract-wrappers-test@12.2.50
- @0x/contract-wrappers@13.17 .2
- @0x/migrations@8.0.11
- @0x/order-utils@10.4.26
- @0x/protocol-utils@1.7.2
2021-06-22 10:03:41 +00:00
Github Actions
ebdc4fb509
Updated CHANGELOGS & MD docs
2021-06-22 10:03:35 +00:00
Kim Persson
7580719586
feat: Lido StETH deposit integration [TKR-90] ( #260 )
...
* feat: initial stab at the LidoSampler and the MixinLido
* feat: full integration of lido sampler and mixin
* fix: return pooled Ether amount not shares & properly unwrap WETH
* refactor: clean up Lido sampler and data passing
* fix: lower gas schedule for WETH to stETH deposits
* refactor: remove MixinLido unused ETH code path
* chore: add changelog entries
* fix: lower Lido gas schedule slightly
* fix: revert MixinLido on unsupported token pair
* fix: address review comments, improve early exit if wrong tokens
* fix: add contract addresses to Lido FQT
2021-06-22 11:25:47 +02:00
Github Actions
aba9db2be7
Publish
...
- @0x/contracts-integrations@2.7.50
- @0x/asset-swapper@6.17 .3
2021-06-16 01:38:55 +00:00
Github Actions
a6680411c8
Updated CHANGELOGS & MD docs
2021-06-16 01:38:51 +00:00
Romain Butteaud
0d0e87de94
QUICK, TITAN, IRON as intermediate tokens, integrating WaultSwap and Polydex for Polygon, Curve renBTC pool ( #264 )
2021-06-15 18:12:07 -07:00
Github Actions
ccf2000c09
Publish
...
- @0x/contracts-asset-proxy@3.7.15
- @0x/contracts-broker@1.1.33
- @0x/contracts-coordinator@3.1.34
- @0x/contracts-dev-utils@1.3.32
- @0x/contracts-erc1155@2.1.33
- @0x/contracts-erc20@3.3.12
- @0x/contracts-erc721@3.1.33
- @0x/contracts-exchange-forwarder@4.2.34
- @0x/contracts-exchange-libs@4.3.33
- @0x/contracts-exchange@3.2.34
- @0x/contracts-extensions@6.2.28
- @0x/contracts-integrations@2.7.49
- @0x/contracts-multisig@4.1.34
- @0x/contracts-staking@2.0.41
- @0x/contracts-test-utils@5.4.4
- @0x/contracts-treasury@1.2.2
- @0x/contracts-utils@4.7.12
- @0x/contracts-zero-ex@0.25 .1
- @0x/asset-swapper@6.17 .2
- @0x/contract-addresses@6.3.1
- @0x/contract-wrappers-test@12.2.49
- @0x/contract-wrappers@13.17 .1
- @0x/migrations@8.0.10
- @0x/order-utils@10.4.25
- @0x/protocol-utils@1.7.1
2021-06-11 03:34:49 +00:00
Github Actions
3eb2e0f56a
Updated CHANGELOGS & MD docs
2021-06-11 03:34:44 +00:00
Romain Butteaud
d07c7d5b69
feat: Curve V2 ( #262 )
...
* feat: Curve V2
* fix: CurveV2 gas schedule, remove unused import from MixinCurveV2
* feat: FQT address update
* chore: Curve V2 exchange_underlying, adding Polygon atricrypto pool
* prettier
* feat: FQT Polygon address update
* feat: FQT address update
2021-06-10 19:01:11 -07:00
Romain Butteaud
adf6684c29
chore: adding Uni v3 as a fee source ( #261 )
2021-06-08 17:57:49 -07:00
Github Actions
9bf889aa30
Publish
...
- @0x/contracts-asset-proxy@3.7.14
- @0x/contracts-broker@1.1.32
- @0x/contracts-coordinator@3.1.33
- @0x/contracts-dev-utils@1.3.31
- @0x/contracts-erc1155@2.1.32
- @0x/contracts-erc20@3.3.11
- @0x/contracts-erc721@3.1.32
- @0x/contracts-exchange-forwarder@4.2.33
- @0x/contracts-exchange-libs@4.3.32
- @0x/contracts-exchange@3.2.33
- @0x/contracts-extensions@6.2.27
- @0x/contracts-integrations@2.7.48
- @0x/contracts-multisig@4.1.33
- @0x/contracts-staking@2.0.40
- @0x/contracts-test-utils@5.4.3
- @0x/contracts-treasury@1.2.1
- @0x/contracts-utils@4.7.11
- @0x/contracts-zero-ex@0.25 .0
- @0x/asset-swapper@6.17 .1
- @0x/contract-artifacts@3.15 .0
- @0x/contract-wrappers-test@12.2.48
- @0x/contract-wrappers@13.17 .0
- @0x/migrations@8.0.9
- @0x/order-utils@10.4.24
- @0x/protocol-utils@1.7.0
2021-06-02 04:53:54 +00:00
Github Actions
e81c88564e
Updated CHANGELOGS & MD docs
2021-06-02 04:53:49 +00:00
Lawrence Forman
901d400d62
Address spot check feedback ( #251 )
...
* UniswapV3 VIP (#237 )
* `@0x/contracts-zero-ex`: Add UniswapV3Feature
* `@0x/contracts-zero-ex`: Add UniswapV3 VIP
`@0x/contract-artifacts`: Regenerate.
`@0x/contract-wrappers`: Regenerate.
`@0x/asset-swapper`: Add UniswapV3 VIP support.
* address review comments and appease linter
* `@0x/contracts-zero-ex`: Add UniswapV3Feature tests
* Multiplex UniswapV3 (#241 )
* Add UniswapV3 support to Multiplex batchFill
* Add AssetSwapper support for Multiplex UniswapV3
* fix repo scripts that use PKG= env var (#242 )
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* `@0x/asset-swapper`: Adjust uniswap gas overhead
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* OTC orders feature (#244 )
* Add OTC orders feature contracts
* Address PR feedback
* Remove partial fills for takerSigned variant
* Add function to query the min valid nonce
* Add ETH support
* Tightly pack expiry, nonceBucket, and nonce
* Address PR feedback
* OTC orders unit tests
* Bump prettier version
* Skip unnecessary math if takerTokenFillAmount == order.takerAmount
* appease CI
* Update contract-artifacts and contract-wrappers and CHANGELOGs
* `@0x/contracts-zero-ex`: Address spot check feedback
* `regen wrappers
* prettier
* `@0x/asset-swapper`: prettier and tweak gas schedule slightly for uni3
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
2021-06-02 14:21:14 +10:00
Github Actions
289474e2ce
Publish
...
- @0x/contracts-integrations@2.7.47
- @0x/contracts-treasury@1.2.0
- @0x/asset-swapper@6.17 .0
2021-05-27 22:22:14 +00:00
Github Actions
407ca21168
Updated CHANGELOGS & MD docs
2021-05-27 22:22:09 +00:00
mzhu25
5c68fc24d2
Miscellaneous Liquidity Provider changes ( #253 )
...
* Update KNC address and reenable PLP
* Enable PLP VIP on BSC
2021-05-25 14:01:07 -07:00
mzhu25
548800e0a9
Add proposal 0 params and mainnet fork test ( #252 )
2021-05-25 13:48:34 -07:00
Github Actions
bde3d6dc6a
Publish
...
- @0x/contracts-asset-proxy@3.7.13
- @0x/contracts-broker@1.1.31
- @0x/contracts-coordinator@3.1.32
- @0x/contracts-dev-utils@1.3.30
- @0x/contracts-erc1155@2.1.31
- @0x/contracts-erc20@3.3.10
- @0x/contracts-erc721@3.1.31
- @0x/contracts-exchange-forwarder@4.2.32
- @0x/contracts-exchange-libs@4.3.31
- @0x/contracts-exchange@3.2.32
- @0x/contracts-extensions@6.2.26
- @0x/contracts-integrations@2.7.46
- @0x/contracts-multisig@4.1.32
- @0x/contracts-staking@2.0.39
- @0x/contracts-test-utils@5.4.2
- @0x/contracts-treasury@1.1.8
- @0x/contracts-utils@4.7.10
- @0x/contracts-zero-ex@0.24 .1
- @0x/asset-swapper@6.16 .0
- @0x/contract-addresses@6.3.0
- @0x/contract-wrappers-test@12.2.47
- @0x/contract-wrappers@13.16 .3
- @0x/migrations@8.0.8
- @0x/order-utils@10.4.23
- @0x/protocol-utils@1.6.2
2021-05-25 12:13:43 +00:00
Github Actions
56550a6acc
Updated CHANGELOGS & MD docs
2021-05-25 12:13:38 +00:00
Kim Persson
e51b83accc
Polygon support ( #240 )
...
* feat: Polygon deployed
* Updated polygon FQT address
* feat: add SushiSwap on Polygon WIP
* fix: add Matic as a native token
* refactor: import valueByChainId from token-metadata to consolidate impl
* refactor: use same gas schedule fn for all uni v2 clones
* feat: Add QuickSwap Polygon integration
* fix: add Polygon tokens to initial TokenAdjacencyGraph
* feat: ComethSwap Polygon integration
* feat: Add Curve, Dfyn, mStable for Polygon
* fix: temporarily private publish contract-addresses, token-metadata
* feat: Add DODO V2 support for polygon, stability pool on mainnet, bsc
* chore: fix linting
* fix: incorrect Curve Polygon gas schedule
Co-authored-by: Jacob Evans <jacob@dekz.net >
* refator: consolidate Polygon token addresses in POLYGON_TOKENS
* feat: Polygon DODO V1 integration
* fix: remove dependency on @0x/token-metadata
* chore: remove private publish dependencies and add changelog entry
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
2021-05-25 13:40:52 +02:00
Github Actions
d5ae971f1c
Publish
...
- @0x/contracts-asset-proxy@3.7.12
- @0x/contracts-broker@1.1.30
- @0x/contracts-coordinator@3.1.31
- @0x/contracts-dev-utils@1.3.29
- @0x/contracts-erc1155@2.1.30
- @0x/contracts-erc20@3.3.9
- @0x/contracts-erc721@3.1.30
- @0x/contracts-exchange-forwarder@4.2.31
- @0x/contracts-exchange-libs@4.3.30
- @0x/contracts-exchange@3.2.31
- @0x/contracts-extensions@6.2.25
- @0x/contracts-integrations@2.7.45
- @0x/contracts-multisig@4.1.31
- @0x/contracts-staking@2.0.38
- @0x/contracts-test-utils@5.4.1
- @0x/contracts-treasury@1.1.7
- @0x/contracts-utils@4.7.9
- @0x/contracts-zero-ex@0.24 .0
- @0x/asset-swapper@6.15 .0
- @0x/contract-addresses@6.2.0
- @0x/contract-wrappers-test@12.2.46
- @0x/contract-wrappers@13.16 .2
- @0x/migrations@8.0.7
- @0x/order-utils@10.4.22
- @0x/protocol-utils@1.6.1
2021-05-21 12:37:26 +00:00
Github Actions
5a2f5f9a42
Updated CHANGELOGS & MD docs
2021-05-21 12:37:22 +00:00
Jacob Evans
75a3b70cef
chore: Temporarily disable a LiquidityProvider ( #248 )
2021-05-21 22:08:55 +10:00
Jacob Evans
803cf65ba1
fix: Deploy FQT for KyberDmm/Mstable ( #247 )
2021-05-19 08:34:26 +10:00
Jacob Evans
5d3947b838
fix prettier
2021-05-18 09:10:29 +10:00
mzhu25
4397a59008
Add Huobi Token to liquidity provider tokens ( #246 )
2021-05-17 15:21:53 -07:00
Jacob Evans
966d54c935
fix: KyberDmm ( #236 )
...
* fix: KyberDmm
* fix: pass buyToken to kyberDmm and require that path ends with buyToken
* Pass BigNumber down to FastABI
* Address Feedback
Co-authored-by: Kim Persson <kimpersson88@gmail.com >
2021-05-18 08:12:28 +10:00
Romain Butteaud
234ddb495d
fix: mStable USD Sampler and Mixin fix ( #238 )
...
* fix: mStable USD Sampler and Mixin fix
* chore: adding mBTC (mStable) pool
* fix linter
2021-05-16 19:43:06 -07:00
mzhu25
a744acc7bc
Add special selectors to selector collision test ( #243 )
2021-05-14 10:50:58 -07:00
Lawrence Forman
27c624633c
fix repo scripts that use PKG= env var ( #242 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-05-12 18:53:06 -04:00
Github Actions
7ef75101b4
Publish
...
- @0x/contracts-integrations@2.7.44
- @0x/asset-swapper@6.14 .0
2021-05-12 09:13:31 +00:00
Github Actions
6f8aace00d
Updated CHANGELOGS & MD docs
2021-05-12 09:13:23 +00:00
Kim Persson
6c264b2f18
feat: add DAI and USDC as intermediate tokens on Ropsten [TKR-93] ( #231 )
...
* feat: add DAI and USDC as intermediate tokens on Ropsten
* chore: add changelog entry
2021-05-11 19:36:46 +02:00
Daniel Pyrathon
df055e1958
fix: Added fee parameter to Quote Requestor ( #235 )
...
* Added changes
* Fixes
* Applied PR feedback
* lint fix
2021-05-11 12:57:51 -04:00
Github Actions
70d2117470
Publish
...
- @0x/contracts-integrations@2.7.43
- @0x/asset-swapper@6.13 .0
2021-05-11 03:18:25 +00:00
Github Actions
2c173ccaf3
Updated CHANGELOGS & MD docs
2021-05-11 03:18:20 +00:00
mzhu25
d2f4a0c5f3
Updated config.yml
2021-05-10 19:51:12 -07:00
mzhu25
0d6021e5e3
Add LiquidityProvider to BSC sources ( #234 )
2021-05-10 18:27:52 -07:00
Github Actions
bb04726e7f
Publish
...
- @0x/contracts-integrations@2.7.42
- @0x/asset-swapper@6.12 .0
2021-05-10 01:36:49 +00:00
Github Actions
220ca370c2
Updated CHANGELOGS & MD docs
2021-05-10 01:36:44 +00:00
Jacob Evans
63af4e3e98
fix: TwoHopSampler call ( #233 )
2021-05-10 11:05:30 +10:00
Github Actions
9754e12d82
Publish
...
- @0x/contracts-integrations@2.7.41
- @0x/asset-swapper@6.11 .0
2021-05-07 04:35:35 +00:00
Github Actions
d72ebed246
Updated CHANGELOGS & MD docs
2021-05-07 04:35:31 +00:00
Jacob Evans
587fc71058
fix: Sampler contract address overrides ( #232 )
...
* fix: Sampler contract address overrides
* Update CHANGELOG
2021-05-07 13:52:51 +10:00
Kim Persson
7d34e09a12
fix: add separate priceComparisonsReport to fix missing quoteReport data [TKR-91] ( #219 )
...
* fix: add separate priceComparisonsReport to fix missing quoteReport data
* chore: remove notice about unconfirmed Uniswap V3 addresses
* refactor: move price comparisons computation logic into separate method
* chore: add AS changelog entry
2021-05-06 14:54:54 +02:00
Kim Persson
7d15baad0f
feat: Balancer V2 load and cache top pools by num swaps on startup [TKR-96] ( #228 )
...
* feat: Balancer V2 load and cache top pools by num swaps on startup
* refactor: Clean up code for Balancer V1 & V2 cache heating
* chore: add AS changelog entry
2021-05-06 14:21:30 +02:00
mzhu25
1e6476ada7
Add ETH pseudo-address when wrapping/unwrapping in Multiplex multihop ( #230 )
...
* Add ETH pseudo-address when wrapping/unwrapping in Multiplex multihop
* Update changelog
2021-05-06 15:29:24 +10:00
Lawrence Forman
1d6ca5f6b5
@0x/asset-swapper: Tweak compiler settings for smaller sampler size (#229 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-05-05 18:36:38 -04:00
Github Actions
fb249f02fc
Publish
...
- @0x/contracts-asset-proxy@3.7.11
- @0x/contracts-broker@1.1.29
- @0x/contracts-coordinator@3.1.30
- @0x/contracts-dev-utils@1.3.28
- @0x/contracts-erc1155@2.1.29
- @0x/contracts-erc20@3.3.8
- @0x/contracts-erc721@3.1.29
- @0x/contracts-exchange-forwarder@4.2.30
- @0x/contracts-exchange-libs@4.3.29
- @0x/contracts-exchange@3.2.30
- @0x/contracts-extensions@6.2.24
- @0x/contracts-integrations@2.7.40
- @0x/contracts-multisig@4.1.30
- @0x/contracts-staking@2.0.37
- @0x/contracts-test-utils@5.4.0
- @0x/contracts-treasury@1.1.6
- @0x/contracts-utils@4.7.8
- @0x/contracts-zero-ex@0.23 .0
- @0x/asset-swapper@6.10 .0
- @0x/contract-addresses@6.1.0
- @0x/contract-artifacts@3.14 .2
- @0x/contract-wrappers-test@12.2.45
- @0x/contract-wrappers@13.16 .1
- @0x/migrations@8.0.6
- @0x/order-utils@10.4.21
- @0x/protocol-utils@1.6.0
2021-05-05 11:32:51 +00:00
Github Actions
fdf04ef275
Updated CHANGELOGS & MD docs
2021-05-05 11:32:46 +00:00
Jacob Evans
b0f5f634f2
bump test-publish resource_class
2021-05-05 21:02:31 +10:00
Jacob Evans
6ee0108565
fix: async pool cache ( #226 )
2021-05-05 21:01:51 +10:00
Jacob Evans
c73097e688
chore: Deploy FQT with UniswapV3 support ( #227 )
2021-05-05 21:01:39 +10:00
Lawrence Forman
a2d42b07b5
UniswapV3 [TKR-4] ( #197 )
...
* add balancer v2
* fetch balancer v2 pools from subgraph
* feat: initial stab at a Balancer V2 Sampler WIP
* feat: add sampling for buys and fix build issues WIP [untested]
* fix: BalancerV2Sampler implementation issues, works on Kovan
* chore: BalancerV2 sampling boilerplate
* fix: update Balancer V2 mainnet address
* fix: consolidate differences between the 2 working branches
* fix: use mainnet Balancer V2 subgraph
* fix: stack too deep by minimizing and inline Balancer V2 vault interface
* fix: address review comments and clean up
* fix: sampler vault interface and pools cache assuming a pool has swaps
* address more review comments
* fix: TS type issues and add a comment about deadline argument
* fix: pools_cache_tests incorrect token addresses, prettier incompat
* fix: make ERC20BridgeSampler support BalancerV2 non view sampler fns
* fix: use a struct for passing encoded bridge data for Balancer V2
* chore: add changelog entries
* fix: improve gas accuracy of gas schedule for Balancer V2 & Maker Psm
* fix: don't exclude sources with stale caches & wait for cache refresh
* rebase
* `@0x/asset-swapper`: Fix stack too deep errors in sampler
* `@0x/asset-swapper`: Add uniswap V3 sampler.
* `@0x/contracts-zero-ex`: Add UniswapV3 support to FQT
* `@0x/protocol-utils`: Update BridgeProtocols.
`@0x/asset-swapper`: Add sell integration for UniswapV3.
* `@0x/asset-swapper`: Remove unnecessary swap quote consumer constructor arg.
`@0x/asset-swapper`: Enable UniswapV3 on ropsten.
* `@0x/asset-swapper`: UniswapV3 fixes
* `@0x/asset-swapper`: Fix stuff based on latest deployed testnet contracts
* `@0x/asset-swapper`: Remove UniV3 from mainnet sources for now
* `@0x/asset-swapper`: Tweak univ3 gas schedule
* fix CI?
* `@0x/contracts-test-utils`: Set default ganache gas limit to 100e6
Co-authored-by: xianny <xianny@gmail.com >
Co-authored-by: Kim Persson <kimpersson88@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
2021-05-05 19:44:17 +10:00
Xianny
f9a794af93
feat: Balancer V2 integration ( #206 )
...
* add balancer v2
* fetch balancer v2 pools from subgraph
* feat: initial stab at a Balancer V2 Sampler WIP
* feat: add sampling for buys and fix build issues WIP [untested]
* fix: BalancerV2Sampler implementation issues, works on Kovan
* chore: BalancerV2 sampling boilerplate
* fix: update Balancer V2 mainnet address
* fix: consolidate differences between the 2 working branches
* fix: use mainnet Balancer V2 subgraph
* fix: stack too deep by minimizing and inline Balancer V2 vault interface
* fix: address review comments and clean up
* fix: sampler vault interface and pools cache assuming a pool has swaps
* address more review comments
* fix: TS type issues and add a comment about deadline argument
* fix: pools_cache_tests incorrect token addresses, prettier incompat
* fix: make ERC20BridgeSampler support BalancerV2 non view sampler fns
* fix: use a struct for passing encoded bridge data for Balancer V2
* chore: add changelog entries
* fix: improve gas accuracy of gas schedule for Balancer V2 & Maker Psm
* fix: don't exclude sources with stale caches & wait for cache refresh
* rebase
* `@0x/asset-swapper`: Fix stack too deep errors in sampler
Co-authored-by: Kim Persson <kimpersson88@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-05-05 11:01:28 +02:00
Jacob Evans
a2643674ca
Fix: PLP now generates a fallback ( #223 )
...
* fix: PLP requires a fallback
* update changelog
* Fix missed source exclusion
2021-05-05 08:22:19 +10:00
Jacob Evans
c00ce9daac
feat: Support ETH based Curve pools ( #220 )
...
* feat: Support ETH based Curve pools
* Disable Curve VIP for WETH trades
* feat: Support for sETH and ankrETH (Curve)
* Disable SnowSwap ETH pools
* feat: add BUSD Curve 3pool
* fix changelog
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
2021-05-05 07:33:41 +10:00
mzhu25
c68b5d7844
Fix/staking epoch finalization ( #221 )
...
* Patch staking and recover state in constructor
* Add ganache mainnet fork test
* Add ganache mainnet fork test
* update changelog
* hardcode last pool ID
* Separate patch contract to unbreak tests
2021-05-04 11:29:16 -07:00
Jacob Evans
09ed106d4c
feat: Deployed Balancer V2 and Curve ETH support ( #225 )
2021-05-04 16:52:36 +10:00
Jacob Evans
a6b92fc658
fix: Fix test forever with new sources being added
2021-05-04 16:49:16 +10:00
mzhu25
4be4a1a30b
Fix exchangeProxyGasOverhead used to compute fallback orders ( #215 )
...
* Fix exchangeProxyGasOverhead used to compute fallback orders
* update changelog
2021-05-04 13:41:21 +10:00
Romain Butteaud
9bede5d331
fix: reactive PancakeSwap, BakerySwap VIP on BSC ( #222 )
2021-05-04 13:40:57 +10:00
Romain Butteaud
b50d4aee6d
Chore: adding xSigma liquidity source [TKR-59] ( #201 )
...
* Chore: adding xSigma liquidity source
* fix: prettier
2021-05-03 19:50:26 -07:00
Jacob Evans
55bc367bd6
feat: Add LUSD Curve pool ( #218 )
2021-05-04 08:08:27 +10:00
Github Actions
7a59b7eafe
Publish
...
- @0x/contracts-integrations@2.7.39
- @0x/contracts-zero-ex@0.22 .3
- @0x/asset-swapper@6.9.1
- @0x/contract-wrappers-test@12.2.44
- @0x/migrations@8.0.5
2021-05-01 01:03:24 +00:00
Github Actions
9e59d41e44
Updated CHANGELOGS & MD docs
2021-05-01 01:03:19 +00:00
Jacob Evans
475e6c7bca
fix: Temporarily remove PancakeV2/Bakery from VIP ( #217 )
2021-05-01 10:35:54 +10:00
Github Actions
dbc5a5293e
Publish
...
- @0x/contracts-integrations@2.7.38
- @0x/contracts-treasury@1.1.5
- @0x/contracts-zero-ex@0.22 .2
- @0x/asset-swapper@6.9.0
- @0x/contract-wrappers-test@12.2.43
- @0x/migrations@8.0.4
2021-04-30 23:39:46 +00:00
Github Actions
f4bd2bd0d8
Updated CHANGELOGS & MD docs
2021-04-30 23:39:42 +00:00
Romain Butteaud
f1782a83ba
chore: BSC PancakeSwap forks VIP, PancakeSwapV2, Saddle BTC pool, Curve gas schedule [TKR-41] [TKR-11] [TKR-79] [TKR-86] ( #208 )
...
* chore: popular BSC Uniswap clones, Curve gas schedule update, Saddle BTC pool
* chore: adding PancakeSwapV2 VIP
* fix: yarn prettier
2021-05-01 08:48:10 +10:00
Jacob Evans
cbade0d558
fix: Ban colliding Kyber reserve ( #216 )
2021-04-29 15:24:39 +10:00
mzhu25
fe0c26387c
Fix treasury voting power calculation ( #214 )
...
* Fix treasury voting power calculation
* Update changelog
2021-04-28 10:22:52 -07:00
Github Actions
c03a014740
Publish
...
- @0x/contracts-asset-proxy@3.7.10
- @0x/contracts-broker@1.1.28
- @0x/contracts-coordinator@3.1.29
- @0x/contracts-dev-utils@1.3.27
- @0x/contracts-erc1155@2.1.28
- @0x/contracts-erc20@3.3.7
- @0x/contracts-erc721@3.1.28
- @0x/contracts-exchange-forwarder@4.2.29
- @0x/contracts-exchange-libs@4.3.28
- @0x/contracts-exchange@3.2.29
- @0x/contracts-extensions@6.2.23
- @0x/contracts-integrations@2.7.37
- @0x/contracts-multisig@4.1.29
- @0x/contracts-staking@2.0.36
- @0x/contracts-test-utils@5.3.25
- @0x/contracts-treasury@1.1.4
- @0x/contracts-utils@4.7.7
- @0x/contracts-zero-ex@0.22 .1
- @0x/asset-swapper@6.8.0
- @0x/contract-artifacts@3.14 .1
- @0x/contract-wrappers-test@12.2.42
- @0x/contract-wrappers@13.16 .0
- @0x/migrations@8.0.3
- @0x/order-utils@10.4.20
- @0x/protocol-utils@1.5.1
2021-04-28 07:48:31 +00:00
Github Actions
84e6d788aa
Updated CHANGELOGS & MD docs
2021-04-28 07:48:27 +00:00
Jacob Evans
cd296b8767
feat: Prune Paths + Fast ABI ( #183 )
...
* Cull paths which cannot improve price
* fixes and rename
* optimizations
* disable ABI optimization for sampler
* fix lint
* use fastabi
* Update to fastabi 0.0.2
* update packages
* Fix NaN case
* update to published packages
* rebased
* Update generated wrappers
2021-04-28 17:16:24 +10:00
Lawrence Forman
5946d32a7d
Berlin wrappers ( #212 )
...
* `@0x/contract-wrappers`: Regenerate wrappers using updated abi-gen
Update tools deps
* update deps to hopefully fix doc gen
2021-04-27 12:16:08 -04:00
Alex Kroeger
842dd8572b
bump NativeOrdersFeature version to 1.2 ( #213 )
...
* bump version to 1.2
* update changelog
2021-04-27 08:11:13 -07:00
Github Actions
33e260f9db
Publish
...
- @0x/contracts-integrations@2.7.36
- @0x/contracts-treasury@1.1.3
- @0x/contracts-zero-ex@0.22 .0
- @0x/asset-swapper@6.7.0
- @0x/contract-wrappers-test@12.2.41
- @0x/migrations@8.0.2
- @0x/protocol-utils@1.5.0
2021-04-26 23:59:58 +00:00
Github Actions
c44f8d0060
Updated CHANGELOGS & MD docs
2021-04-26 23:59:53 +00:00
Kim Persson
411548a33e
feat: PancakeSwap 2 integration [TKR-83] ( #211 )
...
* feat: PancakeSwap 2 integration
* chore: add PancakeSwap V2 changelog entry
Co-authored-by: Romain Butteaud <romain@0xproject.com >
2021-04-26 15:51:04 -07:00
Alex Kroeger
9a17ce1383
add registerAllowedSigner to NativeOrdersFeature ( #195 )
...
* add registerAllowedSigner to NativeOrdersFeature
* fix PR reference in changelog
* prettier
* add cancel pair orders functions for signers
* refactored cancelPairOrders logic, changed naming of signerRegistry to orderSigner registry everywhere, cleaned up tests
* updated changelog for protocol-utils, made batchCancelPairOrders functions more efficient
* clean up function documentation
* added additional tests for batchCancelPairsWithSigner functions, added additional checks for events being emitted correctly
* fix typos in function documentation
* fix typo in function documentation
* update docs
* update comments on cancel functions, small tweaks to docs
2021-04-26 14:32:35 -07:00
Romain Butteaud
2b120d0669
fix: feeType=positive_slippage logic [TKR-81] ( #209 )
...
* fix: Fix feeType=positive_slippage logic to not force the EP route
* fix: yarn prettier
2021-04-26 11:26:57 -07:00
Github Actions
6d877d5242
Publish
...
- @0x/contracts-integrations@2.7.35
- @0x/asset-swapper@6.6.0
2021-04-16 17:07:22 +00:00
Github Actions
e4abd690e7
Updated CHANGELOGS & MD docs
2021-04-16 17:07:17 +00:00
Jacob Evans
2a194384b6
[asset-swapper] Support Ropsten testnet ( #203 )
2021-04-16 13:55:35 +10:00
Jacob Evans
1e069e6f8a
Remove 10 days from protocol fees docs ( #202 )
2021-04-16 10:51:41 +10:00
Daniel Pyrathon
a019bb913d
only set Last Look parameter if it's explicitly set ( #200 )
...
* only set Last Look parameter if it's explicitly set
* remove expoectation of having isLastLook
2021-04-14 16:38:55 -07:00
Github Actions
9ce73931f7
Publish
...
- @0x/contracts-integrations@2.7.34
- @0x/asset-swapper@6.5.3
2021-04-14 20:56:21 +00:00
Github Actions
97020df178
Updated CHANGELOGS & MD docs
2021-04-14 20:56:14 +00:00
Lawrence Forman
dfb7b3de8f
Apply slippage to non-native orders [TKR-39] ( #198 )
...
* `@0x/asset-swapper`: Apply slippage to FQT bridge orders
* review comments
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-04-13 19:24:50 -04:00
Github Actions
9e152912fe
Publish
...
- @0x/contracts-integrations@2.7.33
- @0x/asset-swapper@6.5.2
2021-04-13 11:51:04 +00:00
Github Actions
b2c2f1e1aa
Updated CHANGELOGS & MD docs
2021-04-13 11:50:57 +00:00
Jacob Evans
629c7d8e92
Fix asset-swapper test ( #199 )
2021-04-13 21:01:26 +10:00
Jacob Evans
62f24d4356
[asset-swapper] add Native fee token on all chains ( #191 )
2021-04-13 08:21:26 +10:00
Github Actions
ae281c33ca
Publish
...
- @0x/contracts-integrations@2.7.32
- @0x/contracts-treasury@1.1.2
- @0x/contracts-zero-ex@0.21 .1
- @0x/asset-swapper@6.5.1
- @0x/contract-wrappers-test@12.2.40
- @0x/migrations@8.0.1
- @0x/protocol-utils@1.4.1
2021-04-12 20:37:59 +00:00
Github Actions
5d034dd106
Updated CHANGELOGS & MD docs
2021-04-12 20:37:55 +00:00
Romain Butteaud
c1f8df0eca
chore: Component.finance, Smoothy.finance, Saddle.finance, Curve open pools, Gas schedule [TKR-1] ( #182 )
...
* chore: Component.finance, Smoothy.finance (mainnet + BSC), Saddle.finance, Curve open pools, adjusting gas schedule, fixing Shell buys
* chore: adding a Sampler for Smoothy.finance to only use whats in the contracts reserve
* fix: Smoothy sampler, only use approx. for buys, removing y and BUSD curve pools
* add CHANGELOGs
* fix: prettier
* add: FRAX Curve open pool
* fix: prettier
* chore: adjusting gas schedule for BSC Smoothy
2021-04-08 18:07:12 -07:00
Github Actions
76dda9eeda
Publish
...
- @0x/contracts-integrations@2.7.31
- @0x/asset-swapper@6.5.0
2021-04-08 20:27:04 +00:00
Github Actions
a9b84a92ac
Updated CHANGELOGS & MD docs
2021-04-08 20:26:57 +00:00
mzhu25
0f7e881899
Add default liquidity provider registry and allow gas costs to be a function of tokens ( #196 )
2021-04-08 11:09:32 -07:00
mzhu25
6045f777ab
Add Kyber DMM as a liquidity source ( #194 )
...
* Add Kyber DMM as a liquidity source
* update changelog
2021-04-07 10:08:19 -07:00
Github Actions
5a15044ead
Publish
...
- @0x/contracts-asset-proxy@3.7.9
- @0x/contracts-broker@1.1.27
- @0x/contracts-coordinator@3.1.28
- @0x/contracts-dev-utils@1.3.26
- @0x/contracts-erc1155@2.1.27
- @0x/contracts-erc20@3.3.6
- @0x/contracts-erc721@3.1.27
- @0x/contracts-exchange-forwarder@4.2.28
- @0x/contracts-exchange-libs@4.3.27
- @0x/contracts-exchange@3.2.28
- @0x/contracts-extensions@6.2.22
- @0x/contracts-integrations@2.7.30
- @0x/contracts-multisig@4.1.28
- @0x/contracts-staking@2.0.35
- @0x/contracts-test-utils@5.3.24
- @0x/contracts-treasury@1.1.1
- @0x/contracts-utils@4.7.6
- @0x/contracts-zero-ex@0.21 .0
- @0x/asset-swapper@6.4.0
- @0x/contract-addresses@6.0.0
- @0x/contract-artifacts@3.14 .0
- @0x/contract-wrappers-test@12.2.39
- @0x/contract-wrappers@13.15 .0
- @0x/migrations@8.0.0
- @0x/order-utils@10.4.19
- @0x/protocol-utils@1.4.0
2021-04-01 21:09:06 +00:00
Github Actions
a69d76e487
Updated CHANGELOGS & MD docs
2021-04-01 21:09:02 +00:00
Kim Persson
3adfcdffa8
Maker PSM integration [TKR-2] ( #150 )
...
* ADDS basic boilerplate for PSM bridge WIP
* ADDS integrate the MakerPSM mixin and fix incorrect naming
* fix: take into account PSM fee when buying USDC from PSM
* feat: intial stab at a PSM sampler WIP
* feat: integrate MakerPsm into AS WIP
* refactor: get VAT contract address from PSM instead of passing it in
* fix: hardcode PSM Gemtoken to USDC
* fix: remove passing in authGem, get from PSM contract instead
* fix: use constant modified to avoid using storage variables
* fix: incorrect num decimals after multiplication in sampler
* fix: PSM buy sampling
* fix: use fillData to estimate gas schedule
* Rebased on latest development
* Guard and use latest Curve LiquidityProvider
* `@0x/contract-addresses`: Redeploy FQT on mainnet and ropsten
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2021-04-01 15:45:06 -04:00
Lawrence Forman
164a5d44d9
bsc<->development rebase ( #189 )
...
* FQT: Pack Protocol/source name into source ID (#162 )
* `@0x/contracts-zero-ex`: Encode protocol ID and source name in bridge source ID
`@0x/asset-swapper`: Use new bridge source ID encoding.
* fix linter issues
* contracts cleanup (#164 )
* `@0x/contracts-zero-ex`: Add PancakeSwapFeature
* `@0x/contracts-zero-ex`: Remove tokenspender/allowance target/greedy tokens stuff.'
`@0x/contract-addresses`: Add BSC addresses. Remove exchangeProxyAllowanceTarget.
`@0x/migrations`: Remove exchangeProxyAllowanceTarget.
* Update contracts/zero-ex/contracts/src/features/IPancakeSwapFeature.sol
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* `@0x/contracts-zero-ex`: Add sushiswap support to PancakeSwap
* `@0x/contract-artifacts`: Regenerate artifacts
`@0x/contract-wrappers`: Regenerate wrappers
* `@0x/contract-addresses`: Add BSC addresses
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* feat: Better chain support (#163 )
* feat: Better chain support
* feat: better chain support refactor deployment constants (#166 )
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* Rework WETH out, replacing with address(0)
* wat
* hack DeploymentConstants for now
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* remove duped network addresses
* Rework the bridge source encoder
* Use the constants NATIVE_FEE_TOKEN in EP consumer
* `@0x/contract-addresses`: Fix WBNB address (#170 )
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
* multichain enable cakez vip (#171 )
* feat: Better chain support
* feat: better chain support refactor deployment constants (#166 )
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* Rework WETH out, replacing with address(0)
* wat
* hack DeploymentConstants for now
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* remove duped network addresses
* `asset-swapper`: enable pancake VIP route generation
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* `@0x/contracts-zero-ex`: Fix `PancakeSwapFeature` sushi values (#172 )
* `@0x/contracts-zero-ex`: Fix `PancakeSwapFeature` sushi values
* `@0x/contracts-zero-ex`: I am a bad protocologist
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* feat: BSC Nerve + Dodo + Nerve + Ellipsis (#181 )
* feat: BSC Nerve + DODO v1
* CHANGELOGs
* Remove extra balance fetch
* Add Belt
* Added Ellipsis
* Update FQT address
* `@0x/contracts-zero-ex`: Delete TokenSpenderFeature and get stuff compiling
* `@0x/asset-swapper`: fix compilation
* prettier
* `@0x/asset-swapper`: Truncate LiquidityProvider source ID name
* Update packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts
Co-authored-by: Jacob Evans <jacob@dekz.net >
* Update packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts
Co-authored-by: Jacob Evans <jacob@dekz.net >
* `@0x/contracts-zero-ex`: Fix BakerySwap on PackageSwapFeature (#190 )
* address review comments
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-03-31 18:49:44 -04:00
phil-ociraptor
70ddab0231
[MKR-3] Prepare Asset Swapper for RFQM ( #187 )
...
* Prepare QuoteRequestor for RFQM
* Add unit tests for Quote Requestor changes
* Fix lint errors
2021-03-31 12:11:10 -05:00
Xianny
7bf009fbf6
Upgrade to typescript v4.2.2 ( #188 )
...
* upgrade to typescript v4.2.2
* prettier; remove outdated test
2021-03-30 13:26:05 -07:00
Daniel Pyrathon
525bc8197b
Revive quote report ( #184 )
...
* Revives Quote Report
* prettier
* Remove unused parameters
* updated a few issues with tests
* Remove old code
* Fixed other unit tests
2021-03-30 09:57:03 -07:00
Alex Kroeger
24397c51a8
improve logging for alt rfq request ( #158 )
...
* improve logging for alt rfq request
* clean up unsuccessful status code logic
* Fix quote requestor tests
* get rid of unnecessary promise handling
* remove unused code
* update changelog
* changed warning message for no quote
* appease prettier
2021-03-24 13:45:54 -07:00
phil-ociraptor
06b3464756
Rename {Rfqt=>Rfq} for types in Asset Swapper ( #179 )
...
* Rename {Rfqt=>Rfq} for types in Asset Swapper
* PR edit 1 - fix build errors
* PR edit 2 - rename mocked types used in tests
* PR edit 3 - fix broken test build
* PR edit 4 - rename SwapQuoterRfqOpts and add changelog entry
2021-03-23 17:21:50 -05:00
phil-ociraptor
bbaa90bd9a
Add a cancel token to manually enforce a timeout in Quote Requestor ( #176 )
...
* Add a cancel token to manually enforce a timeout in Quote Requestor
* Start setTimeout before making requests, add an extra buffer
* Run prettier
* Add comment to changelog
2021-03-22 17:08:51 -05:00
mzhu25
5c683cbc0f
Fix Multiplex multi-hop encoding issue ( #178 )
2021-03-17 22:28:35 -07:00
Alex Kroeger
95345f18bc
use the RfqOrder source flag for comparison price EP overhead ( #177 )
...
* use the RfqOrder source flag for comparison price EP overhead
* updated changelog
* changelog -> 6.4
2021-03-17 16:37:56 -07:00
Github Actions
4c3fbe83ac
Publish
...
- @0x/contracts-asset-proxy@3.7.8
- @0x/contracts-broker@1.1.26
- @0x/contracts-coordinator@3.1.27
- @0x/contracts-dev-utils@1.3.25
- @0x/contracts-erc1155@2.1.26
- @0x/contracts-erc20@3.3.5
- @0x/contracts-erc721@3.1.26
- @0x/contracts-exchange-forwarder@4.2.27
- @0x/contracts-exchange-libs@4.3.26
- @0x/contracts-exchange@3.2.27
- @0x/contracts-extensions@6.2.21
- @0x/contracts-integrations@2.7.29
- @0x/contracts-multisig@4.1.27
- @0x/contracts-staking@2.0.34
- @0x/contracts-test-utils@5.3.23
- @0x/contracts-treasury@1.1.0
- @0x/contracts-utils@4.7.5
- @0x/contracts-zero-ex@0.20 .0
- @0x/asset-swapper@6.3.0
- @0x/contract-artifacts@3.13 .0
- @0x/contract-wrappers-test@12.2.38
- @0x/contract-wrappers@13.14 .0
- @0x/migrations@7.0.1
- @0x/order-utils@10.4.18
- @0x/protocol-utils@1.3.1
2021-03-17 18:23:51 +00:00
Github Actions
7caa43d02c
Updated CHANGELOGS & MD docs
2021-03-17 18:23:47 +00:00
mzhu25
3d4c03c9df
Update asset-swapper to support MultiplexFeature ( #168 )
...
* Update asset-swapper to support MultiplexFeature
* Address PR feedback
* Update changelogs
2021-03-16 22:20:33 -07:00
Lawrence Forman
22e1ed35d3
docs: Fix EIP712 hashing docs for limit and RFQ orders ( #173 )
2021-03-16 15:09:00 -04:00
Alex Kroeger
dabe6fd793
add tx origin blacklist to RFQ options ( #169 )
...
* add tx origin blacklist to RFQ options
* Fix typo
* use set instead of array
* make sure tx origin is lower case
* changed default blacklist value from array to set
2021-03-11 18:05:16 -08:00
mzhu25
3cc639c8d0
MultiplexFeature and BatchFillNativeOrdersFeature ( #140 )
...
* WrappedFillFeature
* Address internal feedback
* create features/interfaces/ directory
* Split NativeOrdersFeature into mixins
* Rename mixins to use NativeOrders namespace
* Add BatchFillNativeOrdersFeature
* Rename WrapperFillFeature => MultiplexFeature and add natspec comments
* Emit LiquidityProviderSwap event
* post-rebase fixes
* Multiplex mainnet fork tests
* lint
* Add tests for batch fill functions
* Remove market functions
* Addres PR feedback
* Remove nested _batchFill calls from _multiHopFill
* Add BatchFillIncompleteRevertError type
* Use call{value: amount}() instead of transfer(amount)
* Remove outdated comment
* Update some comments
* Add events
* Address spot-check recommendations
* Remove-top level events, add ExpiredRfqOrder event
* Update changelog
* Change ExpiredRfqOrder event
* Update IZeroEx artifact and contract wrapper
2021-03-08 15:45:49 -08:00
mzhu25
22c8e0b6db
Make the proposal/quorum thresholds updatable ( #165 )
...
* Make the proposal/quorum thresholds updatable
* Test threshold updating
2021-03-04 10:56:37 -08:00
Oskar Paolini
f3ca4293bc
feat: add proxy configuration to axios instance in RFQT asset-swapper ( #159 )
...
* add proxy configuration to axios instance
* add support for additional axios instance opts
* move quoteRequestorHttpClient parameter
* fix tests, build errors
* prettier
* bump axios
* bumped mock-axios-adapter version
* downgrade axios again
* re-upgrade axios 🤦
* updated yarn.lock
* updated changelog
Co-authored-by: Alex Kroeger <alexrkroeger@gmail.com >
2021-03-03 11:38:54 -08:00
Lawrence Forman
db3e076d03
update deps and publish gh action for prerelease support
2021-03-03 01:16:22 -05:00
Lawrence Forman
1a6759820a
Mooniswap LP ( #143 )
...
* `@0x/asset-swapper`: Fix compiler error on `ILiquidityProvider` call
`@0x/protocol-utils`: Add VIP utils.
* `@0x/asset-swapper`: Clean up curve VIP integration
* `@0x/contracts-zero-ex`: Add `MooniswapLiquidityProvider`.
`@0x/asset-swapper`: Add Mooniswap "vip" to EP quote consumer.
* rebase and prettier
* fix linter error
* `@0x/contracts-zero-ex`: Add `MooniswapLiquidityProvider` tests.
* review feedback
* `@0x/contracts-zero-ex`: Emit `LiquidityProviderFill` events in LPs
* `@0x/asset-swapper`: Fix compilation error
* `@0x/asset-swapper`: Add EP gas overhead to Curve and Mooni LP bridge routes
* `@0x/asset-swapper`: Remove consumer gas overhead for LP VIPs
* `@0x/contracts-zero-ex`: Add more params to `LiquidityProviderFill` event
* `@0x/contracts-zero-ex`: Address review comments.
* `@0x/asset-swapper`: Update deployed Curve and Mooni LPs
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-03-02 16:50:37 -05:00
Github Actions
61c5e7b948
Publish
...
- @0x/contracts-integrations@2.7.28
- @0x/asset-swapper@6.2.0
2021-03-02 00:44:13 +00:00
Github Actions
5fd78ef32f
Updated CHANGELOGS & MD docs
2021-03-02 00:44:06 +00:00
Lawrence Forman
14ff9b827c
@0x/asset-swapper: Drop Y and BUSD curve pools (#161 )
2021-03-02 07:56:43 +10:00
Lawrence Forman
598dc2cd71
docs: update allowances blurb ( #160 )
2021-02-25 17:11:44 -05:00
Github Actions
08e1c5109f
Publish
...
- @0x/contracts-asset-proxy@3.7.7
- @0x/contracts-broker@1.1.25
- @0x/contracts-coordinator@3.1.26
- @0x/contracts-dev-utils@1.3.24
- @0x/contracts-erc1155@2.1.25
- @0x/contracts-erc20@3.3.4
- @0x/contracts-erc721@3.1.25
- @0x/contracts-exchange-forwarder@4.2.26
- @0x/contracts-exchange-libs@4.3.25
- @0x/contracts-exchange@3.2.26
- @0x/contracts-extensions@6.2.20
- @0x/contracts-integrations@2.7.27
- @0x/contracts-multisig@4.1.26
- @0x/contracts-staking@2.0.33
- @0x/contracts-test-utils@5.3.22
- @0x/contracts-treasury@1.0.2
- @0x/contracts-utils@4.7.4
- @0x/contracts-zero-ex@0.19 .0
- @0x/asset-swapper@6.1.0
- @0x/contract-addresses@5.11 .0
- @0x/contract-artifacts@3.12 .0
- @0x/contract-wrappers-test@12.2.37
- @0x/contract-wrappers@13.13 .0
- @0x/migrations@7.0.0
- @0x/order-utils@10.4.17
- @0x/protocol-utils@1.3.0
2021-02-24 04:42:41 +00:00
Github Actions
6f7a843742
Updated CHANGELOGS & MD docs
2021-02-24 04:42:32 +00:00
Jacob Evans
c9c9615bb5
Fix contract merge conflict
2021-02-24 14:08:54 +10:00
Romain Butteaud
f98609686d
feat: opt-in positive slippage fee for integrators ( #101 )
...
* feat: Positive Slippage Fee
* fix: rename ethToTakerAssetRate to takerAssetPriceForOneEth
* fix: rename takerAssetPriceForOneEth to takerAssetsPerEth
* fix: export AffiliateFeeType
* rebased off development
* Add a gasOverhead for non-deterministic operations
* CHANGELOGs
* rename outputTokens to outputAmount
* Confirm transformer addresses on Mainnet and Ropsten
* fix import
Co-authored-by: Jacob Evans <jacob@dekz.net >
2021-02-24 12:51:58 +10:00
Jacob Evans
5b8bbc34e8
fix: FQT in migrations ( #157 )
2021-02-24 12:36:58 +10:00
Jacob Evans
49cb00a9ab
feat: DODO V2, Linkswap ( #152 )
...
* feat: DODO V2
* Fix typo
* feat: Linkswap (#153 )
* fix: intermediate hops WBTC (#154 )
* feat: Linkswap
* fix: Re-add WBTC in default hop tokens
* Update review changes
* FQT deploy + no gas limit ETH refund (#155 )
* `@0x/contracts-zero-ex`: refund ETH with no gas limit in FQT
`@0x/contract-addresses`: Deploy FQT
* Update packages/contract-addresses/CHANGELOG.json
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
2021-02-24 12:19:26 +10:00
Alex Kroeger
74b240fb88
add exchange proxy overhead penalty to comparison price ( #156 )
...
* add exchange proxy overhead penalty to comparison price
* prettier
2021-02-23 17:32:15 -08:00
Alex Kroeger
514f9d2621
feat/alt RFQ MM implementation ( #139 )
...
* baseline adapter code [WIP]
* fixed adapter logic, quote_requester instantiation
* modified quote-requestor test to include alt implementation
* type changes, fixes to quote requestor test
* small fixes
* working tests, made alt utils more readable
* lint errors
* added alt indicative quote tests, minor fixes
* export alt MM market offering types
* altered alt market offering to have id instead of symbols
* addressed minor comments
* updated changelog
* got rid of unnecessary, large if-block, fixed the buy-sell assignment to be from the MM's perspective
* extra logging for debugging
* fixed existingOrder size
* get rid of only flag on test, get rid of extra logging
* prettier
2021-02-22 16:07:30 -08:00
Jacob Evans
fa78d1092a
feat: asset-swapper Fake Taker contract ( #151 )
2021-02-22 08:32:53 +10:00
Lawrence Forman
297342092b
@0x/asset-swapper: special case BNB in uni v1 sampler (#147 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-02-19 16:56:16 +10:00
Jacob Evans
076f263a86
feat: Validate v4 limit orders ( #148 )
...
re-renable tests
2021-02-19 16:42:10 +10:00
Jacob Evans
0c56207abc
fix: Protocol fee in fee schedule ( #146 )
...
* fix: Protocol fee in fee schedule
* CHANGELOG
* hack imports
2021-02-18 14:12:11 +10:00
Lawrence Forman
23953d8a5a
Update artifacts and wrappers ( #145 )
...
* `@0x/contract-artifacts`: Update artifacts.
`@0x/contract-wrappers`: Regenerate wrappers
* fix doc gen
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-02-17 14:34:43 -05:00
Jacob Evans
c6919eb25a
feat: Mirror Protocol tokens ( #142 )
...
* feat: Mirror Protocol tokens
* added .tap to builder
2021-02-17 10:14:38 +10:00
Lawrence Forman
d509604b52
@0x/contracts-zero-ex: Export CurveLiquidityProviderContract (#144 )
...
`@0x/asset-swapper`: Add deployed `CurveLiquidityProvider` addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-02-16 16:17:08 -05:00
Lawrence Forman
a74a3450eb
@0x/contracts-zero-ex: Add CurveLiquidityProvider and misc refactors (#127 )
...
* `@0x/contracts-zero-ex`: Add `CurveLiquidityProvider` and misc refactors
* `@0x/asset-swapper`: Fix compiler error on `ILiquidityProvider` call
`@0x/protocol-utils`: Add VIP utils.
* `@0x/contracts-zero-ex`: Rebase and fix comiler warnings
* `@0x/asset-swapper`: Clean up curve VIP integration
* `@0x/protocol-utils`: Update changelog
* `@0x/protocol-utils`: tsdoc new functions
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-02-11 19:13:17 -05:00
Jacob Evans
72c5399b9d
fix: Second hop source is missing ( #138 )
...
* fix: Second hop source is missing
* CHANGELOGs
2021-02-11 00:13:58 +10:00
Github Actions
b29196b983
Publish
...
- @0x/contracts-asset-proxy@3.7.6
- @0x/contracts-broker@1.1.24
- @0x/contracts-coordinator@3.1.25
- @0x/contracts-dev-utils@1.3.23
- @0x/contracts-erc1155@2.1.24
- @0x/contracts-erc20@3.3.3
- @0x/contracts-erc721@3.1.24
- @0x/contracts-exchange-forwarder@4.2.25
- @0x/contracts-exchange-libs@4.3.24
- @0x/contracts-exchange@3.2.25
- @0x/contracts-extensions@6.2.19
- @0x/contracts-integrations@2.7.26
- @0x/contracts-multisig@4.1.25
- @0x/contracts-staking@2.0.32
- @0x/contracts-test-utils@5.3.21
- @0x/contracts-treasury@1.0.1
- @0x/contracts-utils@4.7.3
- @0x/contracts-zero-ex@0.18 .2
- @0x/asset-swapper@6.0.0
- @0x/contract-addresses@5.10 .0
- @0x/contract-wrappers-test@12.2.36
- @0x/contract-wrappers@13.12 .3
- @0x/migrations@6.6.0
- @0x/order-utils@10.4.16
- @0x/protocol-utils@1.2.0
2021-02-10 09:49:05 +00:00
Github Actions
ce76a7033d
Updated CHANGELOGS & MD docs
2021-02-10 09:48:52 +00:00
Jacob Evans
3f4bb933d1
feat: v4 final ( #136 )
...
* v4 FillQuoteTransformer (#104 )
* Update FQT to support v4 orders
* `@0x/contracts-zero-ex`: Tweak FQT
`@0x/contracts-zero-ex`: Drop `ERC20BridgeTransfer` event and add `PartialQuoteFill` event.
* `@0x/contracts-utils`: Add `LibSafeMathV06.downcastToUint128()`
* `@0x/protocol-utils`: Update transformer utils for V4 FQT
* `@0x/contracts-zero-ex`: Fixing FQT tests...
* `@0x/contracts-zero-ex`: rename FQT bridge event
* `@0x/contracts-zero-ex`: Un-`only` tests
* `@0x/migrations`: Update `BridgeAdapter` deployment
* `@0x/contracts-integrations`: Delete `mtx_tests`
* `@0x/protocol-utils`: Address review comments
* `@0x/contracts-zero-ex`: Address review comments
* `@0x/migrations`: Update migrations
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* v4: Asset-swapper (main branch) (#113 )
* refactor quote_requestor
* WIP v4/asset-swapper: Clean up SwapQuoter and remove @0x/orderbook
* Start replacing SignedOrder everywhere
* wip: new order type
* wip
* remove order-utils from most places
* hack: Play around with VerboseX types (#119 )
* hack: Play around with VerboseX types
* More hacks
* Fix up the bridgeData encodings
* Rework Orderbook return type
* feat: Don't charge a protocol fee for RFQ orders WIP (#121 )
* fix simple build errors
* simplify types a little
* remove SwapQuoteCalculator: unnecessary abstraction
* Fix all ./src build errors; make types consistent
* export more types for use in 0x API; modify Orderbook interface
* stop overriding APIOrder
* feat: RFQ v4 + consolidated bridge encoders (#125 )
* feat: check if taker address is contract
* Rework bridge data
* Worst case adjustments
* RFQT v4
* Future/v4 validate orders (#126 )
* RFQT v4
* v4 validate native orders
* use default invalid signature
* refactor rfqt validations in swap quoter
* fix types
* fix RFQT unlisted api key
* remove priceAwareRFQFlag
* adjust maker/taker amounts
* update JSON schemas
* filter zero fillable orders
Co-authored-by: xianny <xianny@gmail.com >
* fix type export
Co-authored-by: xianny <xianny@gmail.com >
* remove order-utils as much as possible
* work on tests compile
* Comment out quote reporter test
* updated tests
* restore order-utils accidental changes
* some lints
* Remove old fill_test
* ts lint disable for now
* update quote report
* Re-enable quote report tests
* make fill data required field
* fix lint
* type guards
* force fillData as required
* fix lint
* fix naming
* exports
* adjust MultiBridge by slippage
* cleanups (checkpoint 1)
* cleanup types (checkpoint #2 )
* remove unused deps
* `@0x/contract-addresses`: Deploy new FQT (#129 )
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* commit bump to republish
* DRY up the rfqt mocker
* fix: Balancer load top pools (#131 )
* fix: Balancer load top 250 pools
* refetch top pools on an interval
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* Update post rebase
* prettier
* Remove test helpers exported in asset-swapper
* Clean up from review comments
* prettier
* lint
* recreate rfqt mocker
* change merge and INVALID_SIGNATURE
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Xianny <8582774+xianny@users.noreply.github.com >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
2021-02-10 19:20:15 +10:00
Greg Hysz
501b7b9b65
Updated releases ( #133 )
2021-02-08 18:32:21 -08:00
Daniel Pyrathon
c0ea88e864
lint fix ( #130 )
2021-02-05 09:56:35 -08:00
Lawrence Forman
48f8bea460
docs: Fix wrong method name for order signature generation (#128 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-02-02 23:30:26 -05:00
Github Actions
f4e5b6e38d
Publish
...
- @0x/contracts-integrations@2.7.25
- @0x/contracts-treasury@1.0.0
- @0x/asset-swapper@5.8.2
2021-01-28 21:36:31 +00:00
Github Actions
477cb0a48d
Updated CHANGELOGS & MD docs
2021-01-28 21:36:22 +00:00
Jacob Evans
d6bc0a3368
fix: [asset-swapper] prevent error when multihop data is not present ( #80 )
...
* fix: [asset-swapper] prevent error when multihop is not present for a route
* Update changelog
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
2021-01-28 13:04:32 -08:00
mzhu25
e544a804c2
ZrxTreasury ( #120 )
...
* `@0x/contracts-treasury` (squashed)
Fix @0x/contracts-zero-ex readme
Create package for governance contracts
Rename @0x/contracts-governance to @0x/contracts-treasury and write contracts
Write tests and such
Missed a few places where "governance" should be "treasury"`
Update changelog with PR number
Appease CI
Arbitrary treasury actions
Export treasury artifacts and wrappers
Continue to do battle with CI
Address PR feedback
* More PR feedback
2021-01-26 09:33:14 -08:00
Github Actions
96e0ad7899
Publish
...
- @0x/contracts-asset-proxy@3.7.5
- @0x/contracts-broker@1.1.23
- @0x/contracts-coordinator@3.1.24
- @0x/contracts-dev-utils@1.3.22
- @0x/contracts-erc1155@2.1.23
- @0x/contracts-erc20@3.3.2
- @0x/contracts-erc721@3.1.23
- @0x/contracts-exchange-forwarder@4.2.24
- @0x/contracts-exchange-libs@4.3.23
- @0x/contracts-exchange@3.2.24
- @0x/contracts-extensions@6.2.18
- @0x/contracts-integrations@2.7.24
- @0x/contracts-multisig@4.1.24
- @0x/contracts-staking@2.0.31
- @0x/contracts-test-utils@5.3.20
- @0x/contracts-utils@4.7.2
- @0x/contracts-zero-ex@0.18 .1
- @0x/asset-swapper@5.8.1
- @0x/contract-artifacts@3.11 .1
- @0x/contract-wrappers-test@12.2.35
- @0x/contract-wrappers@13.12 .2
- @0x/migrations@6.5.11
- @0x/order-utils@10.4.15
- @0x/protocol-utils@1.1.5
2021-01-26 08:02:10 +00:00
Github Actions
5a1fee5d31
Updated CHANGELOGS & MD docs
2021-01-26 08:02:03 +00:00
Lawrence Forman
3557a5e5a9
@0x/contracts-zero-ex: Update tests to work with ganache chainId of 1337 (#123 )
...
* `@0x/contracts-zero-ex`: Update tests to work with ganache chainId of 1337
* `update org deps
* `@0x/protocol-utils`: Use `Web3Wrapper.signTypedDataAsync()` instead of removed `Web3Wrapper.signTypedDataV4Async()` (#124 )
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* `update org deps
`@0x/order-utils`: Fix broken tests
* remove lingering console.logs
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-26 02:50:09 -05:00
Lawrence Forman
0bd43d5265
docs: add big-pantsuit-energy release ( #122 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-21 19:02:44 -05:00
Lawrence Forman
8fd7c1b386
@0x/migrations: Update dockerfile to override networkId and chainId in ganache-cli (#118 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-20 12:10:24 -05:00
Lawrence Forman
50068750f5
EP: Swallow reverts in batchGetLimit/RfqRelevantStates() ( #117 )
...
* `@0x/contracts-zero-ex`: Swallow reverts in `batchGetLimit/RfqRelevantStates()`.
* `@0x/contracts-zero-ex`: Fix typos
* `@0x/contracts-zero-ex`: Fix misleading RFQ typehash comment in `LibNativeOrder.sol`
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-20 00:25:48 -05:00
Daniel Pyrathon
a7a905de4c
fix: Upgrade quote server and Asset Swapper types (and specify protocol ve… ( #108 )
...
* Upgrade quote server and Asset Swapper types (and specify protocol version in API requests)
* add package and lockfile
* fix tests
2021-01-13 17:07:45 -08:00
Github Actions
f283108586
Publish
...
- @0x/contracts-asset-proxy@3.7.4
- @0x/contracts-broker@1.1.22
- @0x/contracts-coordinator@3.1.23
- @0x/contracts-dev-utils@1.3.21
- @0x/contracts-erc1155@2.1.22
- @0x/contracts-erc20@3.3.1
- @0x/contracts-erc721@3.1.22
- @0x/contracts-exchange-forwarder@4.2.23
- @0x/contracts-exchange-libs@4.3.22
- @0x/contracts-exchange@3.2.23
- @0x/contracts-extensions@6.2.17
- @0x/contracts-integrations@2.7.23
- @0x/contracts-multisig@4.1.23
- @0x/contracts-staking@2.0.30
- @0x/contracts-test-utils@5.3.19
- @0x/contracts-utils@4.7.1
- @0x/contracts-zero-ex@0.18 .0
- @0x/asset-swapper@5.8.0
- @0x/contract-addresses@5.9.0
- @0x/contract-wrappers-test@12.2.34
- @0x/contract-wrappers@13.12 .1
- @0x/migrations@6.5.10
- @0x/order-utils@10.4.14
- @0x/protocol-utils@1.1.4
2021-01-13 04:08:45 +00:00
Github Actions
9afe05095a
Updated CHANGELOGS & MD docs
2021-01-13 04:08:39 +00:00
Jacob Evans
3dab892978
feat: Kyber reserve discovery using getTradingReserves ( #111 )
...
* feat: Kyber reserve discovery using getTradingReserves
* refactor sampler operations with
* Added Mooniswap v2.1
2021-01-13 13:28:15 +10:00
Greg Hysz
e40ddb800e
Updated docs for Panettone release + v4 audit + v4 bounty ( #112 )
2021-01-12 15:19:50 -08:00
Lawrence Forman
72a74e7c66
Panettone cleanup ( #109 )
...
* `@0x/contracts-zero-ex`: Updates for panettone release
* `@0x/contract-addresses`: Update ganache snapshot addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-12 10:53:50 -08:00
Greg Hysz
e8ae64673f
Updating docs after cyberpants2077 release ( #110 )
2021-01-08 11:51:43 -08:00
mzhu25
2451f419c8
Update PLP sandbox addresses ( #107 )
2021-01-05 12:41:52 -08:00
Lawrence Forman
2394eb62aa
@0x/contracts-zero-ex: Use consistent returndatasize checks in UniswapFeature (#96 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-05 14:40:08 -05:00
Lawrence Forman
f9078bb1c3
`Add SPDX license IDs to 0.6+ solidity files ( #105 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-05 13:55:24 -05:00
Greg Hysz
bf25c81f1c
Added Panettone release to docs ( #95 )
...
* Updated releases to include Panettone
* Updated releases + addresses
2021-01-04 18:45:31 -08:00
Github Actions
03ecc530c3
Publish
...
- @0x/contracts-asset-proxy@3.7.3
- @0x/contracts-broker@1.1.21
- @0x/contracts-coordinator@3.1.22
- @0x/contracts-dev-utils@1.3.20
- @0x/contracts-erc1155@2.1.21
- @0x/contracts-erc20@3.3.0
- @0x/contracts-erc721@3.1.21
- @0x/contracts-exchange-forwarder@4.2.22
- @0x/contracts-exchange-libs@4.3.21
- @0x/contracts-exchange@3.2.22
- @0x/contracts-extensions@6.2.16
- @0x/contracts-integrations@2.7.22
- @0x/contracts-multisig@4.1.22
- @0x/contracts-staking@2.0.29
- @0x/contracts-test-utils@5.3.18
- @0x/contracts-utils@4.7.0
- @0x/contracts-zero-ex@0.17 .0
- @0x/asset-swapper@5.6.2
- @0x/contract-artifacts@3.11 .0
- @0x/contract-wrappers-test@12.2.33
- @0x/contract-wrappers@13.12 .0
- @0x/migrations@6.5.9
- @0x/order-utils@10.4.13
- @0x/protocol-utils@1.1.3
2021-01-04 23:22:36 +00:00
Github Actions
d52b1d24d0
Updated CHANGELOGS & MD docs
2021-01-04 23:22:26 +00:00
Lawrence Forman
5083fab06a
That time DevUtils wouldn't die ( #97 )
...
* `@0x/contracts-utils`: Allow for excess return data in `LibERC20TokenV06` compat* functions
* `@0x/contracts-zero-ex`: Add DevUtils-like functions to `NativeOrdersFeature`
* `@0x/contract-artifacts`: Update IZeroEx artifact
* `@0x/contract-wrappers`: Update IZeroExContract wrapper
* `@0x/contracts-zero-ex`: Address review feedback
* `@0x/contracts-utils`: Add `LibSafeMathV06.safeDowncastToUint128()`
* `@0x/contracts-zero-ex`: Fix changelog and add cancelled get relevant state tests
* `@0x/contracts-utils`: Fix changelog
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-04 17:52:29 -05:00
Romain Butteaud
1249bf9ccc
feat: adding UST, BBTC, OBTC, aDAI, aUSDC, aUSDT, sEUR, EURS, sETH pools ( #103 )
...
* feat: adding UST, BBTC, OBTC, aDAI, aUSDC, aUSDT, sEUR, EURS, sETH pools
* fix: comment seth curve pool
* fix: prettify, remove seth pool
2021-01-04 13:56:18 -08:00
Jacob Evans
681f6b3f07
chore: [asset-swapper] Update Shells to new version ( #102 )
2021-01-04 13:56:05 -08:00
Github Actions
d3ca1fe96b
Publish
...
- @0x/contracts-integrations@2.7.21
- @0x/asset-swapper@5.6.1
2020-12-31 04:02:02 +00:00
Github Actions
9e4f5815e4
Updated CHANGELOGS & MD docs
2020-12-31 04:01:53 +00:00
Jacob Evans
c3c27eaedc
fix: [asset-swapper] Encoded Buy fillAmount ( #106 )
2020-12-31 13:18:25 +10:00
Github Actions
4bf6a23d23
Publish
...
- @0x/contracts-integrations@2.7.20
- @0x/asset-swapper@5.6.0
2020-12-27 23:59:31 +00:00
Github Actions
aaaf0d02de
Updated CHANGELOGS & MD docs
2020-12-27 23:59:23 +00:00
Jacob Evans
825cc4d035
feat: [asset-swapper] Added Mooniswap V2 factory address ( #100 )
2020-12-28 09:23:52 +10:00
Github Actions
c2d44e5c10
Publish
...
- @0x/contracts-asset-proxy@3.7.2
- @0x/contracts-broker@1.1.20
- @0x/contracts-coordinator@3.1.21
- @0x/contracts-dev-utils@1.3.19
- @0x/contracts-erc1155@2.1.20
- @0x/contracts-erc20@3.2.14
- @0x/contracts-erc721@3.1.20
- @0x/contracts-exchange-forwarder@4.2.21
- @0x/contracts-exchange-libs@4.3.20
- @0x/contracts-exchange@3.2.21
- @0x/contracts-extensions@6.2.15
- @0x/contracts-integrations@2.7.19
- @0x/contracts-multisig@4.1.21
- @0x/contracts-staking@2.0.28
- @0x/contracts-test-utils@5.3.17
- @0x/contracts-utils@4.6.5
- @0x/contracts-zero-ex@0.16 .0
- @0x/asset-swapper@5.5.3
- @0x/contract-addresses@5.8.0
- @0x/contract-wrappers-test@12.2.32
- @0x/contract-wrappers@13.11 .2
- @0x/migrations@6.5.8
- @0x/order-utils@10.4.12
- @0x/protocol-utils@1.1.2
2020-12-23 02:55:08 +00:00
Github Actions
0efd0860c8
Updated CHANGELOGS & MD docs
2020-12-23 02:55:01 +00:00
Lawrence Forman
a890a06664
@0x/contract-addresses: Redeploy FQT (#99 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-23 13:13:49 +11:00
Jacob Evans
5befb87071
fix: CryptoCom rollup ( #98 )
2020-12-23 11:43:11 +11:00
mintcloud
12ba4c373a
Update staking.md
...
Changed epoch length
2020-12-18 11:14:49 -08:00
Github Actions
7fd25be02e
Publish
...
- @0x/contracts-asset-proxy@3.7.1
- @0x/contracts-broker@1.1.19
- @0x/contracts-coordinator@3.1.20
- @0x/contracts-dev-utils@1.3.18
- @0x/contracts-erc1155@2.1.19
- @0x/contracts-erc20@3.2.13
- @0x/contracts-erc721@3.1.19
- @0x/contracts-exchange-forwarder@4.2.20
- @0x/contracts-exchange-libs@4.3.19
- @0x/contracts-exchange@3.2.20
- @0x/contracts-extensions@6.2.14
- @0x/contracts-integrations@2.7.18
- @0x/contracts-multisig@4.1.20
- @0x/contracts-staking@2.0.27
- @0x/contracts-test-utils@5.3.16
- @0x/contracts-utils@4.6.4
- @0x/contracts-zero-ex@0.15 .0
- @0x/asset-swapper@5.5.2
- @0x/contract-addresses@5.7.0
- @0x/contract-wrappers-test@12.2.31
- @0x/contract-wrappers@13.11 .1
- @0x/migrations@6.5.7
- @0x/order-utils@10.4.11
- @0x/protocol-utils@1.1.1
2020-12-17 22:52:27 +00:00
Github Actions
aa688c4a92
Updated CHANGELOGS & MD docs
2020-12-17 22:52:20 +00:00
mzhu25
fb437551c9
Bancor FQT rollup ( #91 )
...
* Add MixinBancor for BridgeAdapter
* Update changelog
* Use 0.6 call value syntax
* `@0x/contract-addresses`: Deploy new FQT
* feat: Rollup CoFiX (#92 )
* `@0x/contract-addreses`: update FQT addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
2020-12-17 17:12:40 -05:00
Greg Hysz
6fa1de7889
Emergency docs ( #94 )
2020-12-17 10:24:16 -08:00
mzhu25
7a42df9a65
Only use subgraph query result to populate function history ( #93 )
...
* Only use subgraph query result to populate function history
* Fix rollback for functions with no rollback history
2020-12-16 23:14:19 -08:00
Github Actions
15a508f3ea
Publish
...
- @0x/contracts-integrations@2.7.17
- @0x/contracts-zero-ex@0.14 .0
- @0x/asset-swapper@5.5.1
- @0x/contract-wrappers-test@12.2.30
- @0x/migrations@6.5.6
- @0x/protocol-utils@1.1.0
2020-12-16 20:09:57 +00:00
Github Actions
b3c20ff909
Updated CHANGELOGS & MD docs
2020-12-16 20:09:48 +00:00
Lawrence Forman
682c07cb73
Add mtx tooling to @0x/protocol-utils ( #90 )
...
* `@0x/contracts-zero-ex`: Use the `MetaTransaction` class from `@0x/protocol-utils` in tests.
* `@0x/protocol-utils`: Add the `MetaTransaction` class for EP mtxs + refactors
* update changelogs
* `@0x/protocol-utils`: Add mtx tests
* `@0x/protocol-utils`: Rename `mtx.ts` to `meta_transactions.ts` and misc review feedback
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-16 14:22:00 -05:00
Jacob Evans
602605ab4b
Disable Bancor Service for non-mainnet ( #89 )
...
* Disable Bancor Service for non-mainnet
* Fix import
* Fix mocked tests
2020-12-16 21:58:39 +10:00
Github Actions
0eff2548d5
Publish
...
- @0x/contracts-asset-proxy@3.7.0
- @0x/contracts-broker@1.1.18
- @0x/contracts-coordinator@3.1.19
- @0x/contracts-dev-utils@1.3.17
- @0x/contracts-exchange-forwarder@4.2.19
- @0x/contracts-exchange@3.2.19
- @0x/contracts-extensions@6.2.13
- @0x/contracts-integrations@2.7.16
- @0x/contracts-multisig@4.1.19
- @0x/contracts-staking@2.0.26
- @0x/contracts-zero-ex@0.13 .0
- @0x/asset-swapper@5.5.0
- @0x/contract-wrappers-test@12.2.29
- @0x/migrations@6.5.5
2020-12-16 08:03:31 +00:00
Github Actions
93ee681204
Updated CHANGELOGS & MD docs
2020-12-16 08:03:25 +00:00
Jacob Evans
d7bea98075
fix: [asset-swapper] Rework Bancor to only use paths and sample best path ( #88 )
...
* Rework Bancor to only use paths and sample best path
* Deployed address
* Clean up and pin bancor sdk
* CHANGELOGs
2020-12-16 17:34:47 +10:00
Lawrence Forman
437a3b048d
EP: Address audit feedback ( #82 )
...
* `@0x/contracts-zero-ex`: Address audit feedback (1/2)
* `@0x/contracts-zero-ex`: Cap the ETH transfer amount to a liquidity provider to `msg.value`
* `@0x/contracts-zero-ex`: Bump feature contract versions
* `@0x/contracts-zero-ex`: Always transfer msg.value to the liqudity provider in LiquiidityProviderFeature
* Remove PLP backwards-compatibility (#85 )
* Remove backwards-compatibility from MixinZeroExBridge and LiquidityProviderSandbox
* `@0x/contracts-zero-ex`: Update CHANGELOG
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
2020-12-16 01:37:39 -05:00
Daniel Pyrathon
f55a9454b5
fix: Fix quote report ( #87 )
...
* updates market side liquidity with the appropriate firm and indicative quotes for reporting
* linting and fixing
* linting and fixing
2020-12-15 16:57:54 -08:00
Daniel Pyrathon
3b03ad0db4
fix: added SRA schema for V4 orders ( #86 )
...
* added SRA schema for V4 orders
* address comments
2020-12-14 17:39:42 -08:00
mzhu25
27d679e1f1
Rollback CLI tools ( #79 )
...
* Rollback CLI tools
* Refactor
* Address PR feedback
* Sort deployment history
* Rollback specific deployment
* Split calldata
2020-12-10 19:42:00 -08:00
Github Actions
1e16d59c23
Publish
...
- @0x/contracts-asset-proxy@3.6.9
- @0x/contracts-broker@1.1.17
- @0x/contracts-coordinator@3.1.18
- @0x/contracts-dev-utils@1.3.16
- @0x/contracts-erc1155@2.1.18
- @0x/contracts-erc20@3.2.12
- @0x/contracts-erc721@3.1.18
- @0x/contracts-exchange-forwarder@4.2.18
- @0x/contracts-exchange-libs@4.3.18
- @0x/contracts-exchange@3.2.18
- @0x/contracts-extensions@6.2.12
- @0x/contracts-integrations@2.7.15
- @0x/contracts-multisig@4.1.18
- @0x/contracts-staking@2.0.25
- @0x/contracts-test-utils@5.3.15
- @0x/contracts-utils@4.6.3
- @0x/contracts-zero-ex@0.12 .0
- @0x/asset-swapper@5.4.2
- @0x/contract-artifacts@3.10 .0
- @0x/contract-wrappers-test@12.2.28
- @0x/contract-wrappers@13.11 .0
- @0x/migrations@6.5.4
- @0x/order-utils@10.4.10
- @0x/protocol-utils@1.0.1
2020-12-09 03:40:56 +00:00
Github Actions
1e7c9bbb1f
Updated CHANGELOGS & MD docs
2020-12-09 03:40:51 +00:00
Lawrence Forman
edda1edc50
@0x/protocol-utils (#76 )
...
* add new packages
* `@0x/protocol-utils`: Update with latest code from `@0x/contracs-zero-ex` + misc stuff
* @0x/contracts-zero-ex`: Switch to using `@0x/protocol-utils` in most places
* @0x/protocol-types`: Delete this package.
* regen yarn lock
* `@0x/contracts-zero-ex`: Unpin `@0x/protocol-utils` dep.
* `@0x/contracts-integrations`: Fix borken test
* update changelogs
* `@0x/protocol-utils`: Update deps
* `@0x/protocol-utils`: add tests
* `@0x/protocol-utils`: More tests
* `@0x/protocol-utils`: Update readme.
* update deps
* run prettier
* `@0x/contract-artifacts`: Regenerate artifacts
* `@0x/contract-wrappers`: Regenerate wrappers
* `@0x/protocol-utils`: Update changelog
* `@0x/contract-wrappers`: Export stuff for doc gen
* `@0x/protocol-utils`: Use `Web3Wrapper.signTypedDataV4Async()` for MM compatibility.
* upgrade org deps
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-08 22:08:52 -05:00
Greg Hysz
d1eb6279b4
Updated addresses and transformer nonces after hot-pants ( #78 )
2020-12-08 11:33:36 -08:00
Greg Hysz
4ace79d947
Updated Releases + Fix Links ( #77 )
...
* Updated releases
* fixed some typos and links in docs
2020-12-08 10:44:59 -08:00
mzhu25
e5eee96487
Add naive selector collision test ( #74 )
2020-12-07 19:49:37 -08:00
Github Actions
907adf9145
Publish
...
- @0x/contracts-asset-proxy@3.6.8
- @0x/contracts-broker@1.1.16
- @0x/contracts-coordinator@3.1.17
- @0x/contracts-dev-utils@1.3.15
- @0x/contracts-erc1155@2.1.17
- @0x/contracts-erc20@3.2.11
- @0x/contracts-erc721@3.1.17
- @0x/contracts-exchange-forwarder@4.2.17
- @0x/contracts-exchange-libs@4.3.17
- @0x/contracts-exchange@3.2.17
- @0x/contracts-extensions@6.2.11
- @0x/contracts-integrations@2.7.14
- @0x/contracts-multisig@4.1.17
- @0x/contracts-staking@2.0.24
- @0x/contracts-test-utils@5.3.14
- @0x/contracts-utils@4.6.2
- @0x/contracts-zero-ex@0.11 .1
- @0x/asset-swapper@5.4.1
- @0x/contract-addresses@5.6.0
- @0x/contract-wrappers-test@12.2.27
- @0x/contract-wrappers@13.10 .3
- @0x/migrations@6.5.3
- @0x/order-utils@10.4.9
2020-12-07 22:56:33 +00:00
Github Actions
c046fe6220
Updated CHANGELOGS & MD docs
2020-12-07 22:56:27 +00:00
Lawrence Forman
84bf20de41
Update CHANGELOG.json ( #75 )
...
* Update CHANGELOG.json
* Update CHANGELOG.json
2020-12-07 17:17:43 -05:00
Lawrence Forman
f5a6f74d9a
Update mainnet and ropsten transformer addresses for hot-pants release ( #70 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-07 16:41:56 -05:00
Github Actions
7c7fc51ccf
Publish
...
- @0x/contracts-integrations@2.7.13
- @0x/asset-swapper@5.4.0
2020-12-07 20:42:41 +00:00
Github Actions
fa22f6de0d
Updated CHANGELOGS & MD docs
2020-12-07 20:42:34 +00:00
Kim Persson
4f41214af2
feat: add takerAssetToEthRate and makerAssetToEthRate to quote response ( #49 )
...
* ADDS expose ethToTakerAssetRate and ethToTakerAssetRate
* REFACTORS rename to more correct takerAssetToEth/makerAssetToEth naming
* ADDS asset-swapper change log entry
2020-12-07 20:40:56 +01:00
Github Actions
607b7169bc
Publish
...
- @0x/contracts-integrations@2.7.12
- @0x/asset-swapper@5.3.1
2020-12-03 23:05:32 +00:00
Github Actions
1253490a38
Updated CHANGELOGS & MD docs
2020-12-03 23:05:26 +00:00
Alex Kroeger
0a37a588e8
Added BalanceChecker contract ( #60 )
...
* Added BalanceChecker contract
* Upgraded to solidity 0.6, simplified contract, added tests
* uint -> uint256
* export BalanceChecker contract wrapper
* prettier
* removed superfluous test code
* prettier
2020-12-03 14:31:45 -08:00
Greg Hysz
23ee108089
updated release names ( #72 )
2020-12-03 11:00:44 -08:00
Github Actions
64feeeea75
Publish
...
- @0x/contracts-asset-proxy@3.6.7
- @0x/contracts-broker@1.1.15
- @0x/contracts-coordinator@3.1.16
- @0x/contracts-dev-utils@1.3.14
- @0x/contracts-erc1155@2.1.16
- @0x/contracts-erc20@3.2.10
- @0x/contracts-erc721@3.1.16
- @0x/contracts-exchange-forwarder@4.2.16
- @0x/contracts-exchange-libs@4.3.16
- @0x/contracts-exchange@3.2.16
- @0x/contracts-extensions@6.2.10
- @0x/contracts-integrations@2.7.11
- @0x/contracts-multisig@4.1.16
- @0x/contracts-staking@2.0.23
- @0x/contracts-test-utils@5.3.13
- @0x/contracts-utils@4.6.1
- @0x/contracts-zero-ex@0.11 .0
- @0x/asset-swapper@5.3.0
- @0x/contract-addresses@5.5.0
- @0x/contract-artifacts@3.9.1
- @0x/contract-wrappers-test@12.2.26
- @0x/contract-wrappers@13.10 .2
- @0x/migrations@6.5.2
- @0x/order-utils@10.4.8
2020-12-03 02:08:13 +00:00
Github Actions
2ebef23b8c
Updated CHANGELOGS & MD docs
2020-12-03 02:08:07 +00:00
mzhu25
cc9f43ba3b
Reenable PLP VIP and add gasCost field to LiquidityProviderRegistry ( #65 )
2020-12-02 17:26:48 -08:00
Xianny
5f1c139176
fix: handle potentially undefined path ( #69 )
...
* handle potentially undefined path
* Remove unused import
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
2020-12-02 16:23:19 -08:00
mzhu25
9eea7de340
Point to ILiquidityProvider interface in docs, not ILiquidityProviderSandbox ( #71 )
2020-12-02 14:38:46 -08:00
Lawrence Forman
4480f84efa
@0x/contracts-staking: Set isOfflineMode: false in compiler.json (#68 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-02 16:43:25 -05:00
Lawrence Forman
5a8b8afff1
Independent compilation for contracts-zero-ex package ( #67 )
...
* `@0x/contracts-zero-ex`: Update `compiler.json`
* update org deps and regen yarn lock
* fix `@0x/contracts-gen` being pinned (why?)
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-02 11:14:19 -05:00
xianny
67c95bc0b7
add changelog and comments to pr #62
2020-12-01 13:05:21 -08:00
Greg Hysz
e70ec02be8
updated releases ( #64 )
2020-12-01 12:47:15 -08:00
Xianny
db81a94adb
Return unoptimized quote in SwapQuote ( #62 )
...
* return unoptimized alternatives in SwapQuote
* refactor: dedupe
2020-12-01 12:40:48 -08:00
Lawrence Forman
475b608338
EP: FeeCollectorController ( #59 )
...
* `@0x/contracts-zero-ex`: Govern `FeeCollector`s through a separate `FeeCollectorController` contract.
* `@0x/contracts-integrations`: Fix broken EP protocol fees test.
`@0x/contracts-integrations`: Make this package private.
* `@0x/contract-addresses`: Update ganache snapshot addresses.
* Update contracts/zero-ex/contracts/src/external/FeeCollectorController.sol
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* Apply suggestions from code review
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* rebase
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
2020-12-01 12:17:21 -05:00
Jacob Evans
27e36b112e
feat: [asset-swapper] support selling entire balance ( #37 )
2020-12-01 12:54:06 +10:00
Jacob Evans
f698721484
feat: [asset-swapper] Add Crypto.com as a source ( #43 )
...
* feat: [asset-swapper] Add Crypto.com as a source
* Exclude in tests
* Disable hop sources to avoid excess inaccuracy
* Added CryptoCom Bridge and FQT rollup
* update test
* Deploy CryptoCom bridge
* Update package.json
* CHANGELOGs
2020-12-01 12:52:48 +10:00
Daniel Pyrathon
0c08353b2c
reanme function to Async ( #63 )
2020-11-30 17:02:28 -08:00
Greg Hysz
a074b49732
Added link to Transformer Deployer section + fixeed safety checklist in Features ( #61 )
2020-11-30 17:00:33 -08:00
Greg Hysz
43b75c7953
minor doc updates: include Best Practices for Feature Development. ( #58 )
2020-11-30 09:50:20 -08:00
Greg Hysz
84a78eafc4
minor doc improvements ( #57 )
2020-11-28 11:21:35 -08:00
Greg Hysz
3c1ab889dd
V4 Docs. See live on https://0xprotocol.readthedocs.io . ( #56 )
2020-11-28 00:51:50 -08:00
Steve Marx
012fff46f6
add permissionless transformer deployer ( #55 )
...
* add permissionless transformer deployer
2020-11-27 18:21:49 -05:00
Greg Hysz
6307ebc3a2
Replace PairOrdersCancelled event with PairCancelledLimitOrders and PairCancelledRfqOrders ( #54 )
2020-11-27 13:31:12 -08:00
Steve Marx
88d7e73eba
remove calldata signing ( #51 )
2020-11-25 16:55:12 -05:00
Steve Marx
9653eb9e70
RFQ order with 0 txOrigin is INVALID ( #50 )
2020-11-25 14:15:59 -05:00
Steve Marx
ad337271d3
Miscellaneous fixes to RFQ origin registration ( #48 )
...
* Contracts can no longer call registerAllowedRfqOrigins()
* registerAllowedRfqOrigins() is now plural, registers an array of
addresses
2020-11-25 14:08:15 -05:00
Lawrence Forman
7591e99316
Remove protocol fees from RFQ orders ( #45 )
...
* `@0x/contracts-zero-ex`: Remove protocol fees from native orders in certain scenarios.
* `@0x/contracts-zero-ex`: update changelog
* `@0x/contracts-zero-ex`: Add `taker` field to RFQ orders.`
`@0x/contracts-zero-ex`: Introduce protocol fees to all limit orders again.
* `@0x/contracts-zero-ex`: Rebase.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-24 18:24:06 -05:00
Lawrence Forman
ca20df4752
@0x/contracts-zero-ex: Fix TransformERC20Feature reverting when selling taker's entire balance when input token is ETH (#46 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-24 17:52:22 -05:00
Steve Marx
841e4ee666
require txOrigin for RFQ orders, allow origins to register alternate … ( #47 )
...
require txOrigin for RFQ orders, allow origins to register alternate addresses that can fill orders
2020-11-24 16:53:32 -05:00
Steve Marx
e2ee3414ea
limit order metatransactions ( #44 )
2020-11-24 13:39:40 -05:00
Steve Marx
5306cc03e9
Convert MetaTransactionsFeature to use the new LibSignature ( #31 )
2020-11-23 16:14:09 -05:00
F. Eugene Aumson
85f5d32de2
Allow injection of an RfqtFirmQuoteValidator and an RfqtQuoteObserver ( #11 )
...
* Allow injection of RFQT quote hooks
* Remove QuoteObserver
* Remove unnecessary `async`
* modernized the code based on latest spec
* prettify
Co-authored-by: Daniel Pyrathon <daniel@0x.org >
2020-11-23 12:05:28 -08:00
Lawrence Forman
ab698cec14
EP: misc fixes ( #38 )
...
* `@0x/contracts-zero-ex`: Fix NativeOrdersFeature order hash cancellation not emitting proper maker.
`@0x/contracts-zero-ex`: Revert to original (deployed) ZeroEx/EP proxy implementation. Optimized one is now at `ZeroExOptimized.sol`.
`@0x/contracts-zero-ex`: Add gas limits to first `transferFrom()` call in `LibTokenSpender` and `UniswapFeature`.
* `@0x/contracts-zero-ex`: Update changelog
* disable `no-empty-blocks` solidity linter rule
* `@0x/contracts-zero-ex`: Use bloom filters of greedy tokens in token transfer logic
`@0x/contracts-zero-ex`: Turn `LibTokenSpender` into `FixinTokenSpender`.
`@0x/contracts-zero-ex`: Misc renames for consistency.
* `@0x/contracts-zero-ex`: Export `GREEDY_TOKENS` list
* rebase and update changelog
* `@0x/contracts-zero-ex`: Change bloom filter hash algo based on discussions
* `@0x/contracts-zero-ex`: Fix changelog
* update orders docs
* `@0x/contracts-zero-ex`: revert if allowance call fails in uniswap feature
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-23 12:59:02 -05:00
Steve Marx
b463a39bfa
protocol fee / staking integration tests ( #40 )
2020-11-20 09:19:59 -05:00
Github Actions
018e25345b
Publish
...
- @0x/contracts-asset-proxy@3.6.6
- @0x/contracts-broker@1.1.14
- @0x/contracts-coordinator@3.1.15
- @0x/contracts-dev-utils@1.3.13
- @0x/contracts-erc1155@2.1.15
- @0x/contracts-erc20@3.2.9
- @0x/contracts-erc721@3.1.15
- @0x/contracts-exchange-forwarder@4.2.15
- @0x/contracts-exchange-libs@4.3.15
- @0x/contracts-exchange@3.2.15
- @0x/contracts-extensions@6.2.9
- @0x/contracts-integrations@2.7.10
- @0x/contracts-multisig@4.1.15
- @0x/contracts-staking@2.0.22
- @0x/contracts-test-utils@5.3.12
- @0x/contracts-utils@4.6.0
- @0x/contracts-zero-ex@0.10 .0
- @0x/asset-swapper@5.2.0
- @0x/contract-addresses@5.4.0
- @0x/contract-wrappers-test@12.2.25
- @0x/contract-wrappers@13.10 .1
- @0x/migrations@6.5.1
- @0x/order-utils@10.4.7
2020-11-19 05:32:03 +00:00
Github Actions
b60fa8a7d7
Updated CHANGELOGS & MD docs
2020-11-19 05:31:53 +00:00
Jacob Evans
048d8dee60
fix: [asset-swapper] disable off-chain sampling for Balancer and CREAM ( #41 )
...
* fix: [asset-swapper] disable off-chain sampling for Balancer and CREAM
* Modify Balancer off-chain test to expect only pools
* CHANGELOG
2020-11-19 15:00:09 +10:00
Alex Kroeger
927fe2b58b
Improved ComparisonPrice function ( #32 )
...
* separated comparison price function into a new file, accounted for backup orders
* removed scratch code
* Adjusted documentation, object naming
* Refactored comparisonPrice function to use adjusted rate from optimizer, used native order fee schedule to adjust for order fees
* Small fixes to function, added unit tests
* Adjusted fee calculation for comparisonPrice function
* use available OptimalPathRate object
* fix lint error in test, separate out fee calculation
* Fixed market operation utils test, added additional checks for fee schedule
* removed unused dep, prettier
2020-11-18 17:12:35 -08:00
mzhu25
89948b360c
Add checkAllowance flag to LibTokenSpender.spendERC20Tokens ( #39 )
2020-11-18 12:23:13 -08:00
Lawrence Forman
561b60a24d
EP Native Orders ( #27 )
...
* `@0x/contracts-zero-ex`: add limit orders feature
`@0x/contracts-utils`: add `uint128` functions to `LibSafeMathV06`
* `@0x/contract-addresses`: Update ganache snapshot addresses
* `@0x/contracts-zero-ex`: Mask EIP712 struct hash values.
* `@0x/contracts-zero-ex`: Add more limit order tests
* `@0x/contracts-zero-ex`: Fix typos
* `@0x/contracts-zero-ex`: Compute fee collector address after protocol fee zero check.
* `@0x/contracts-zero-ex`: Remove WETH payment logic from fee collector fixin
* `@0x/contracts-zero-ex`: Convert all ETH to WETH in `FeeCollector`.
* `@0x/contracts-zero-ex`: Address review feedback
* `@0x/contracts-zero-ex`: Export more utils
* `@0x/contracts-zero-ex`: Rename `LimitOrdersFeatures`, `LibLimitOrders`, etc. into `*NativeOrders*`.
`@0x/contracts-zero-ex`: Emit `protocolFeePaid` in native order fill events.
`@0x/contracts-zero-ex`: Refactor to get around stack limits.
`@0x/contracts-zero-ex`: Use different storage mappings for RFQ and limit order pair cancellations.
* `@0x/contracts-zero-ex`: Add `getProtocolFeeMultiplier()` and `transferProtocolFeesForPools()` to `NativeOrdersFeature`.
* `@0x/contracts-zero-ex`: Fix broken tests
* update orders docs
* `@0x/contracts-zero-ex`: Add more tests to `NativeOrdersFeature`
* rebuild after rebase
* `@0x/contract-addresses`: Fix changelog booboo
* `@0x/contracts-zero-ex`: Add method selectors output to generated artifacts
* `@0x/contracts-zero-ex`: Add maker address to order cancel events.
`@0x/contracts-zreo-ex`: Remove `UpTo` suffix from order pair cancellation functions.
`@0x/contracts-zreo-ex`: Address misc review comments.
* `@0x/contracts-zero-ex`: More SafeMath in native orders
* update orders docs
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-17 15:39:40 -05:00
Jacob Evans
4f82543bdf
feat: asset-swapper tweak the gas schedule + return decimals ( #34 )
...
* feat: asset-swapper Return decimals from sampler in quote
* feat: asset-swapper tweak the gas schedule
* fix lint
* CHANGELOG
2020-11-17 11:36:53 +10:00
Github Actions
3133c509f9
Publish
...
- @0x/contracts-integrations@2.7.9
- @0x/asset-swapper@5.1.1
2020-11-14 02:19:41 +00:00
Github Actions
426c15692d
Updated CHANGELOGS & MD docs
2020-11-14 02:19:33 +00:00
mzhu25
8c87a77faa
Remove PLP VIP path from EP swap quote consumer ( #36 )
2020-11-13 17:49:30 -08:00
Github Actions
d2018f07a2
Publish
...
- @0x/contracts-asset-proxy@3.6.5
- @0x/contracts-broker@1.1.13
- @0x/contracts-coordinator@3.1.14
- @0x/contracts-dev-utils@1.3.12
- @0x/contracts-erc1155@2.1.14
- @0x/contracts-erc20@3.2.8
- @0x/contracts-erc721@3.1.14
- @0x/contracts-exchange-forwarder@4.2.14
- @0x/contracts-exchange-libs@4.3.14
- @0x/contracts-exchange@3.2.14
- @0x/contracts-extensions@6.2.8
- @0x/contracts-integrations@2.7.8
- @0x/contracts-multisig@4.1.14
- @0x/contracts-staking@2.0.21
- @0x/contracts-test-utils@5.3.11
- @0x/contracts-utils@4.5.8
- @0x/contracts-zero-ex@0.9.0
- @0x/asset-swapper@5.1.0
- @0x/contract-addresses@5.3.0
- @0x/contract-artifacts@3.9.0
- @0x/contract-wrappers-test@12.2.24
- @0x/contract-wrappers@13.10 .0
- @0x/migrations@6.5.0
- @0x/order-utils@10.4.6
2020-11-13 21:14:01 +00:00
Github Actions
d2e57d8163
Updated CHANGELOGS & MD docs
2020-11-13 21:13:51 +00:00
mzhu25
7403c0255a
Feature/liquidity provider sandbox ( #16 )
...
* Update liquidity provider feature to use sandbox
* add support for liquidity provider feature in the exchange proxy swap quote consumer
* Move to off-chain liquidity provider registry
* Update ILiquidityProvider interface
* Remove some unused artifacts and wrappers
* Consolidate ILiquidityProvider
* prettier
* lint
* Address PR feedback
* Add failover to sandbox
* Add test for failover behavior in LiquidityProviderSandbox
* Update changelogs
* Emit events for the new LiquidityProvider scenarios
* Fix swap quote consumer bug
* post-rebase fixes
* `@0x/contracts-zero-ex`: bump feature versions
* Add default field to TokenAdjacencyGraph
* update addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-13 12:22:21 -08:00
Steve Marx
75dcd687e2
better protocol fee tests ( #25 )
...
* better protocol fee tests
2020-11-09 12:44:52 -05:00
Steve Marx
afd4805421
rewrite ZeroEx in Yul ( #23 )
...
rewrite ZeroEx in Yul
2020-11-06 22:03:07 -05:00
Github Actions
6aa582d140
Publish
...
- @0x/contracts-integrations@2.7.7
- @0x/asset-swapper@5.0.3
2020-11-05 23:57:34 +00:00
Github Actions
534d92fa00
Updated CHANGELOGS & MD docs
2020-11-05 23:57:28 +00:00
Romain Butteaud
37aae134ab
feat: adding Curve pools: PAX, hBTC, metapools: gUSD, hUSD, USDn, mUSD, tBTC ( #26 )
...
* feat: adding Curve pools: PAX, hbtc, metapools: gusd, husd, usdn, musd, tbtc
* feat: CHANGELOG
* fix: bad import
* fix: curve_y address downcase, use POOLS addresses for names
* feat: add metaToken attribute to disable metapools for non-metaTokens in Curve
* fix: CHANGELOG
2020-11-05 15:27:45 -08:00
Daniel Pyrathon
36bd8f68c9
adds amendments to the rollout feature flag. Rollout indicative quote… ( #30 )
...
* adds amendments to the rollout feature flag. Rollout indicative quotes indipendently from firm quotes.
* Updates based on Brandon's feedback
2020-11-05 12:46:06 -08:00
Github Actions
c3ad42221e
Publish
...
- @0x/contracts-asset-proxy@3.6.4
- @0x/contracts-broker@1.1.12
- @0x/contracts-coordinator@3.1.13
- @0x/contracts-dev-utils@1.3.11
- @0x/contracts-erc1155@2.1.13
- @0x/contracts-erc20@3.2.7
- @0x/contracts-erc721@3.1.13
- @0x/contracts-exchange-forwarder@4.2.13
- @0x/contracts-exchange-libs@4.3.13
- @0x/contracts-exchange@3.2.13
- @0x/contracts-extensions@6.2.7
- @0x/contracts-integrations@2.7.6
- @0x/contracts-multisig@4.1.13
- @0x/contracts-staking@2.0.20
- @0x/contracts-test-utils@5.3.10
- @0x/contracts-utils@4.5.7
- @0x/contracts-zero-ex@0.8.0
- @0x/asset-swapper@5.0.2
- @0x/contract-addresses@5.2.0
- @0x/contract-wrappers-test@12.2.23
- @0x/contract-wrappers@13.9.5
- @0x/migrations@6.4.7
- @0x/order-utils@10.4.5
2020-11-03 06:46:11 +00:00
Github Actions
602ac1f626
Updated CHANGELOGS & MD docs
2020-11-03 06:46:05 +00:00
Lawrence Forman
3126795efe
@0x/contract-addresses: deploy FQT with CORRECT address (#29 )
...
`@0x/contracts-zero-ex`: Trust `boughtAmount` returned by LP
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-03 01:12:57 -05:00
Github Actions
dbcb221a59
Publish
...
- @0x/contracts-asset-proxy@3.6.3
- @0x/contracts-broker@1.1.11
- @0x/contracts-coordinator@3.1.12
- @0x/contracts-dev-utils@1.3.10
- @0x/contracts-erc1155@2.1.12
- @0x/contracts-erc20@3.2.6
- @0x/contracts-erc721@3.1.12
- @0x/contracts-exchange-forwarder@4.2.12
- @0x/contracts-exchange-libs@4.3.12
- @0x/contracts-exchange@3.2.12
- @0x/contracts-extensions@6.2.6
- @0x/contracts-integrations@2.7.5
- @0x/contracts-multisig@4.1.12
- @0x/contracts-staking@2.0.19
- @0x/contracts-test-utils@5.3.9
- @0x/contracts-utils@4.5.6
- @0x/contracts-zero-ex@0.7.0
- @0x/asset-swapper@5.0.1
- @0x/contract-addresses@5.1.0
- @0x/contract-artifacts@3.8.2
- @0x/contract-wrappers-test@12.2.22
- @0x/contract-wrappers@13.9.4
- @0x/migrations@6.4.6
- @0x/order-utils@10.4.4
2020-11-03 04:16:44 +00:00
Github Actions
6bbc179f52
Updated CHANGELOGS & MD docs
2020-11-03 04:16:37 +00:00
Lawrence Forman
48e7a391c8
Deploy new FQT ( #28 )
...
* `@0x/contracts-zero-ex`: Change `ProtocolFeeUnfunded` event in FQT
`@0x/contracts-zero-ex`: Use new PLP interface in FQT.
* `@0x/contract-addresses`: Deploy new FQT
* fix failing FQT test
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-02 21:47:25 -05:00
Github Actions
2334e64d0c
Publish
...
- @0x/contracts-asset-proxy@3.6.2
- @0x/contracts-broker@1.1.10
- @0x/contracts-coordinator@3.1.11
- @0x/contracts-dev-utils@1.3.9
- @0x/contracts-erc1155@2.1.11
- @0x/contracts-erc20@3.2.5
- @0x/contracts-erc721@3.1.11
- @0x/contracts-exchange-forwarder@4.2.11
- @0x/contracts-exchange-libs@4.3.11
- @0x/contracts-exchange@3.2.11
- @0x/contracts-extensions@6.2.5
- @0x/contracts-integrations@2.7.4
- @0x/contracts-multisig@4.1.11
- @0x/contracts-staking@2.0.18
- @0x/contracts-test-utils@5.3.8
- @0x/contracts-utils@4.5.5
- @0x/contracts-zero-ex@0.6.0
- @0x/asset-swapper@5.0.0
- @0x/contract-artifacts@3.8.1
- @0x/contract-wrappers-test@12.2.21
- @0x/contract-wrappers@13.9.3
- @0x/migrations@6.4.5
- @0x/order-utils@10.4.3
2020-11-02 22:21:36 +00:00
Github Actions
14f920ee84
Updated CHANGELOGS & MD docs
2020-11-02 22:21:30 +00:00
Jacob Evans
e10a81023a
feat: [asset-swapper] more hops via token adjacency ( #24 )
...
* feat: [asset-swapper] more hops via token adjacency
* fix lint
* CHANGELOG
2020-11-03 07:48:37 +10:00
Lawrence Forman
f4709ed1cb
EP: Add LibSignature library ( #21 )
...
* `@0x/contracts-zero-ex`: Add `LibSignature` library
* `@0x/contracts-zero-ex`: Update package.json scripts
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-10-29 17:47:17 -04:00
Daniel Pyrathon
e2e14a977a
fix: [WIP] Adds RFQ price-aware comparison price to Quote Report ( #18 )
...
* Adds RFQ price-aware comparison price to Quote Report
* added linting fix
* added small lints
* better syntax
2020-10-29 08:48:01 -07:00
Jacob Evans
866f958a10
Update README.md
2020-10-29 17:12:23 +10:00
Jacob Evans
717db99b38
fix: Support Multiple Shells ( #17 )
...
* fix: Support Multiple Shells
* CHANGEGLOG
2020-10-29 17:09:23 +10:00
Lawrence Forman
02006118c7
Fix broken tools deps ( #20 )
...
* update tools deps to highest
add custom doc gen config
* remove phantom package in manifest
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-10-29 16:33:16 +10:00
Steve Marx
9816019bc5
add protocol fees fixin ( #2 )
2020-10-28 17:10:59 -04:00
Github Actions
9c821dbfc3
Publish
...
- @0x/contracts-asset-proxy@3.6.1
- @0x/contracts-broker@1.1.9
- @0x/contracts-coordinator@3.1.10
- @0x/contracts-dev-utils@1.3.8
- @0x/contracts-erc1155@2.1.10
- @0x/contracts-erc20@3.2.4
- @0x/contracts-erc721@3.1.10
- @0x/contracts-exchange-forwarder@4.2.10
- @0x/contracts-exchange-libs@4.3.10
- @0x/contracts-exchange@3.2.10
- @0x/contracts-extensions@6.2.4
- @0x/contracts-integrations@2.7.3
- @0x/contracts-multisig@4.1.10
- @0x/contracts-staking@2.0.17
- @0x/contracts-test-utils@5.3.7
- @0x/contracts-utils@4.5.4
- @0x/contracts-zero-ex@0.5.1
- @0x/asset-swapper@4.8.1
- @0x/contract-addresses@5.0.1
- @0x/contract-wrappers-test@12.2.20
- @0x/contract-wrappers@13.9.2
- @0x/migrations@6.4.4
- @0x/order-utils@10.4.2
2020-10-28 02:10:57 +00:00
Github Actions
af1b890423
Updated CHANGELOGS & MD docs
2020-10-28 02:10:51 +00:00
Romain Butteaud
673835d2de
fix: update kovan erc20BridgeSampler ( #14 )
...
* fix: update kovan erc20BridgeSampler
* fix update CHANGELOG
2020-10-27 17:51:51 -07:00
Greg Hysz
500b57e935
Adds Template for Specs ( #12 )
...
* Adds `docs` directory, along with boilerplate code and templates for readthedocs.org.
* docs: update orders spec
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-10-27 16:31:15 -07:00
Jacob Evans
3f7d0580c1
Set the FeeSchedule to Required ( #15 )
2020-10-28 09:26:14 +10:00
Github Actions
a71c356bba
Publish
...
- @0x/contracts-asset-proxy@3.6.0
- @0x/contracts-broker@1.1.8
- @0x/contracts-coordinator@3.1.9
- @0x/contracts-dev-utils@1.3.7
- @0x/contracts-erc1155@2.1.9
- @0x/contracts-erc20@3.2.3
- @0x/contracts-erc721@3.1.9
- @0x/contracts-exchange-forwarder@4.2.9
- @0x/contracts-exchange-libs@4.3.9
- @0x/contracts-exchange@3.2.9
- @0x/contracts-extensions@6.2.3
- @0x/contracts-integrations@2.7.2
- @0x/contracts-multisig@4.1.9
- @0x/contracts-staking@2.0.16
- @0x/contracts-test-utils@5.3.6
- @0x/contracts-utils@4.5.3
- @0x/contracts-zero-ex@0.5.0
- @0x/asset-swapper@4.8.0
- @0x/contract-addresses@5.0.0
- @0x/contract-wrappers-test@12.2.19
- @0x/contract-wrappers@13.9.1
- @0x/migrations@6.4.3
- @0x/order-utils@10.4.1
2020-10-27 21:13:56 +00:00
Github Actions
c3a95b7fb1
Updated CHANGELOGS & MD docs
2020-10-27 21:13:47 +00:00
Lawrence Forman
f01540fb35
fix publish
2020-10-27 16:42:30 -04:00
Daniel Pyrathon
689a8881c2
fix: Changed price-aware RFQ flag to be a argument parameter ( #13 )
...
* Changed price-aware RFQ flag to be a argument parameter
* prettified tests
* lint
2020-10-27 12:56:26 -07:00
Jacob Evans
99f5be8378
chore: [asset swapper] sampler Solidity 0.6 + Bridge addresses in AS ( #4 )
...
* Refactor excess interfaces
* Compiles on 0.6
* Refactored into try/catch
* Rebase and Refactored to v06
* Handle invalid registry in LP
* Update packages/asset-swapper/contracts/src/LiquidityProviderSampler.sol
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
* chore: [asset-swapper] Move Bridge Addresses and Gas schedule
* curve->pool
* lint
* Refactor to fix module load order
* Move FEE Schedule
* rollup: Swerve/Sushi/SnowSwap/DODO (#7 )
* rollup: Swerve/Sushi
* DODO Rollup + Snowswap Swerve
* hardcode addresses temporarily
* rebase
* rename to SUSHISWAP_ROUTER
* CHANGELOGs
* CHANGELOGs
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2020-10-27 15:16:09 +10:00
Lawrence Forman
8de0282d92
fix run:publish:gha package script
2020-10-23 17:11:56 -04:00
Github Actions
f99804d56a
Publish
...
- @0x/contracts-integrations@2.7.1
- @0x/contracts-zero-ex@0.4.0
- @0x/asset-swapper@4.7.1
- @0x/contract-wrappers-test@12.2.18
- @0x/migrations@6.4.2
2020-10-23 21:08:02 +00:00
Github Actions
f13d27b749
Updated CHANGELOGS & MD docs
2020-10-23 21:07:56 +00:00
Lawrence Forman
465fd59cbc
add publish github action
2020-10-23 16:56:36 -04:00
F. Eugene Aumson
5fdabe6612
Change contracts/integrations to use LOCAL a-s ( #9 )
...
Change contracts/integrations/package.json to refer to the LOCAL
asset-swapper, not a gitpkg one, since asset-swapper does live in this
same repo now.
2020-10-23 13:21:25 -04:00
Steve Marx
861871134b
add LibTokenSpender and convert to using that ( #3 )
...
add LibTokenSpender and convert to using that
This skips the allowance target. Allowances are instead just set on the
exchange proxy itself. There is a fallback, though, to try spending from
the allowance target if the original transfer fails.
2020-10-23 10:45:46 -04:00
Daniel Pyrathon
c246d98093
Merge pull request #1 from 0xProject/asset-swapper-update-lockfile
...
updated lockfile
2020-10-21 10:20:01 -07:00
Daniel Pyrathon
02076dba1b
updated lockfile
2020-10-21 10:07:56 -07:00
Lawrence Forman
7b136a5ad8
Publish
...
- @0x/contracts-asset-proxy@3.5.0
- @0x/contracts-broker@1.1.7
- @0x/contracts-coordinator@3.1.8
- @0x/contracts-dev-utils@1.3.6
- @0x/contracts-erc1155@2.1.8
- @0x/contracts-erc20@3.2.2
- @0x/contracts-erc721@3.1.8
- @0x/contracts-exchange-forwarder@4.2.8
- @0x/contracts-exchange-libs@4.3.8
- @0x/contracts-exchange@3.2.8
- @0x/contracts-extensions@6.2.2
- @0x/contracts-integrations@2.7.0
- @0x/contracts-multisig@4.1.8
- @0x/contracts-staking@2.0.15
- @0x/contracts-test-utils@5.3.5
- @0x/contracts-utils@4.5.2
- @0x/contracts-zero-ex@0.3.0
- @0x/asset-swapper@4.7.0
- @0x/contract-addresses@4.12 .0
- @0x/contract-artifacts@3.8.0
- @0x/contract-wrappers-test@12.2.17
- @0x/contract-wrappers@13.9.0
- @0x/migrations@6.4.1
- @0x/order-utils@10.4.0
2020-10-21 03:33:23 -04:00
Lawrence Forman
0c4a67fa35
Updated CHANGELOGS & MD docs
2020-10-21 03:33:18 -04:00
Lawrence Forman
668aeb77f7
disable coverage ci job
2020-10-21 03:08:33 -04:00
Lawrence Forman
135ae392d5
add @0x/asset-swapper to non contract packages
...
fix missing non-dev dep in `@0x/contracts-coordinator`
2020-10-21 02:53:41 -04:00
Lawrence Forman
88ba04307c
update deps
2020-10-21 02:27:55 -04:00
Lawrence Forman
e4b8000a48
update yarn.lock
2020-10-21 02:14:47 -04:00
Lawrence Forman
b9df108314
disable doc gen on contract packages
2020-10-21 02:13:27 -04:00
Lawrence Forman
6106185bf6
disable testing inactive packages in ci
2020-10-21 02:11:04 -04:00
Lawrence Forman
3a3e289864
pin doc related deps and regen yarn lock
2020-10-21 01:56:47 -04:00
Lawrence Forman
6558632f10
remove bundlewatch from static-tests ci job
2020-10-21 01:18:41 -04:00
Lawrence Forman
376ee6bdff
fix missing non-dev dependencies in packages
2020-10-21 01:18:41 -04:00
Lawrence Forman
fc5d759131
update typedoc-plugin-markdown deps
...
fix broken static-tests ci job
2020-10-21 00:54:56 -04:00
Lawrence Forman
7c16bb3df8
update prettierrc and run prettier
2020-10-20 23:52:44 -04:00
Lawrence Forman
5df74d35d0
@0x/contract-artifacts: Fix contract-artifacts tests
2020-10-20 23:24:42 -04:00
Lawrence Forman
72fc0c845a
Fix prettier minor version.
...
update lock file
2020-10-20 23:24:08 -04:00
Lawrence Forman
b995715a2c
update URLs in package manifests
2020-10-20 23:08:05 -04:00
Lawrence Forman
857b5c97b0
update deps
2020-10-20 23:00:26 -04:00
Lawrence Forman
178d9c280a
update repo scripts
2020-10-20 22:59:39 -04:00
Lawrence Forman
2416deba25
update root package.json
2020-10-20 20:53:39 -04:00
Lawrence Forman
0ce6243653
update @0x/tools deps
...
skip kyber bridge tests
ignore some contract packages in tests by default
update package deps
update README, CI, and GH configs
2020-10-20 20:53:39 -04:00
Lawrence Forman
40dc10729b
delete packages
2020-10-20 20:53:39 -04:00
Daniel Pyrathon
0571244e9e
Merge pull request #2720 from 0xProject/refactor_rfq_comparison_price_integration
...
feat: Refactor rfq comparison price integration
2020-10-20 16:17:04 -07:00
Daniel Pyrathon
3213131cad
Merge pull request #2735 from 0xProject/rfqt_comparison_feature_flag
...
Rfqt comparison feature flag
2020-10-20 15:48:29 -07:00
F. Eugene Aumson
61bf93aac2
Leave link to PR in comments
2020-10-20 14:30:04 -04:00
F. Eugene Aumson
a9d0cec6d1
Ran prettier
2020-10-20 14:17:48 -04:00
F. Eugene Aumson
b5e3f0b90c
Disable tests per IS_PRICE_AWARE_RFQ_ENABLED flag
2020-10-20 13:48:46 -04:00
F. Eugene Aumson
61f1fe42b0
Merge branch 'refactor_rfq_comparison_price_integration' into rfqt_comparison_feature_flag
2020-10-20 13:48:27 -04:00
F. Eugene Aumson
1cfdc49021
Ran prettier
2020-10-20 12:15:44 -04:00
Lawrence Forman
c4d58277cf
Merge pull request #2738 from 0xProject/feat/sol-compiler/changelog-fix
...
add updated changelog for sol-compiler
2020-10-20 12:10:18 -04:00
Lawrence Forman
9ac66c2130
add updated changelog for sol-compiler
2020-10-20 12:09:02 -04:00
Daniel Pyrathon
6366163006
small lint fix
2020-10-19 17:09:37 -07:00
Daniel Pyrathon
85fde8f9a5
comments and renaming
2020-10-19 17:03:26 -07:00
Daniel Pyrathon
a03d0800b0
Add changes for the feature flag
2020-10-19 16:58:45 -07:00
Romain Butteaud
9cb21006a7
Merge pull request #2729 from 0xProject/feat/snowswap
...
feat: SnowSwap
2020-10-19 16:21:31 -07:00
Romain Butteaud
649202f1c4
fix: prettier
2020-10-19 14:59:18 -07:00
Romain Butteaud
b798556774
feat: adjusting CURVE_CALL_GAS for SnowSwap, disabling yVaultUSDUnderlying pool for underlying tokens
2020-10-19 13:24:44 -07:00
Romain Butteaud
03bc15fbdf
fix: add _target comment for Swerve pool
2020-10-19 13:24:44 -07:00
Romain Butteaud
b2dfd8740c
feat: fix CURVE_CALL_GAS and SnowSwap pool addresses
2020-10-19 13:24:44 -07:00
Romain Butteaud
3182c12b4d
feat: use pool attribute instead of curve for all Curve like pools
2020-10-19 13:24:44 -07:00
Romain Butteaud
f783625d60
feat: adding yVaultUSDUnderlying
2020-10-19 13:24:44 -07:00
Romain Butteaud
891aa8e8bf
feat: SnowSwap
2020-10-19 13:24:44 -07:00
Daniel Pyrathon
4b508d255d
Merge branch 'development' of github.com:0xProject/0x-monorepo into refactor_rfq_comparison_price_integration
2020-10-19 13:04:25 -07:00
Lawrence Forman
1cad43bf5d
Merge pull request #2733 from 0xProject/feat/sol-compiler/0.7.x-pr-2710
...
sol-compiler: support 0.7x (#2710 )
2020-10-19 13:41:07 -04:00
Lawrence Forman
a0cd727832
@0x/sol-compiler: Update changelog
2020-10-19 13:40:36 -04:00
Lawrence Forman
ab90e15015
@0x.js: add pinned node types to 0x.js
2020-10-19 13:03:48 -04:00
Lawrence Forman
52cbddf054
@0x/sol-compiler: fix build error with new node types
2020-10-19 12:25:01 -04:00
Lawrence Forman
db98ff8cb7
fix sol-compiler linter error
...
pin `@types/node` to appease publish job
2020-10-19 12:04:38 -04:00
Lawrence Forman
1d8dd2f89c
Merge pull request #2710 from HenryNguyen5/feature/sol-compiler_support_v0.7
...
Support solidity v0.7.x
2020-10-19 11:52:17 -04:00
Daniel Pyrathon
0ae1c926d3
Merge branch 'development' of github.com:0xProject/0x-monorepo into refactor_rfq_comparison_price_integration
...
# Conflicts:
# packages/asset-swapper/src/utils/market_operation_utils/index.ts
2020-10-16 15:16:59 -07:00
Daniel Pyrathon
1fcab58e2f
cheap lint fix
2020-10-16 14:49:25 -07:00
Daniel Pyrathon
a8cbd1a16c
apply PR feedback
2020-10-16 14:47:37 -07:00
Alex Kroeger
3aaa0ad6b2
Merge pull request #2715 from 0xProject/feat/add-cream
...
feat: Add CREAM as a liquidity source
2020-10-16 14:18:09 -07:00
HenryNguyen5
e34bc77157
Support solidity v0.7.x
2020-10-16 17:02:39 -04:00
Alex Kroeger
088b331f19
Prettier, cleared up naming
2020-10-16 10:28:48 -07:00
Alex Kroeger
56f2dec441
Merge branch 'development' into feat/add-cream
2020-10-16 10:23:38 -07:00
Alex Kroeger
ac8b08d3cf
Fix type error in migrations
2020-10-15 23:35:23 -07:00
Jacob Evans
c4ead689a9
fix: [asset-swapper] excludedFeeSources. DODO Trade Allowed ( #2731 )
...
* fix: Fee sources and Ganache existence
* Added excludedFeeSources
* Comments and CHANGELOG
* fix: DODO Trade Allowed (#2732 )
2020-10-16 10:01:12 +10:00
Alex Kroeger
07ab10b000
Deployed CreamBridge, refactor to simplify code
2020-10-15 16:58:39 -07:00
F. Eugene Aumson
c969a8652a
Reduce solidity compiler optimizer runs...
...
...in order to accomodate now-too-big contract TestERC20BridgeSampler,
which imports the recently-added-to NativeOrderSampler.sol.
Fixes test failing like:
1) erc20-bridge-sampler
"before all" hook in "erc20-bridge-sampler":
RuntimeError: VM Exception while processing transaction: out of gas
2020-10-15 13:18:31 -04:00
Jacob Evans
fb21ca5404
fix: [asset-swapper] MultiHop edge cases ( #2730 )
...
* fix: [asset-swapper] MultiHop edge cases
* CHANGELOG
2020-10-15 17:31:22 +10:00
Alex Kroeger
bbfa9c34ab
Add CREAM to market operation utils constants 🤦
2020-10-14 12:42:06 -07:00
Alex Kroeger
7161bbe836
prettier
2020-10-14 11:38:05 -07:00
Alex Kroeger
ef65aa5bf6
further fixes in market operation utils
2020-10-14 11:37:03 -07:00
F. Eugene Aumson
2cf31f05a1
Drop |undefined from type of optional param
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2720#discussion_r500453526
2020-10-14 13:23:02 -04:00
F. Eugene Aumson
2b1a1ba0db
Fix failing test-doc-generation
2020-10-14 13:21:14 -04:00
F. Eugene Aumson
05b25c6229
Ran prettier
2020-10-14 13:02:17 -04:00
F. Eugene Aumson
2db52c6983
Fixed linter error
...
ERROR: 793:24 no-unnecessary-type-assertion This assertion is unnecessary since it does not change the type of the expression.
2020-10-14 13:02:17 -04:00
Alex Kroeger
4803e2f68c
Add peer dependencies for cream-sor, small fix to sampler routing
2020-10-14 09:56:23 -07:00
F. Eugene Aumson
7030572f1d
Stop referring to GetMarketOrdersOpts.shouldBat...
...
Because it doesn't exist on that type.
2020-10-14 11:58:18 -04:00
F. Eugene Aumson
6e2eb9c5bb
Merge branch 'development' into refactor_rfq_comparison_price_integration
2020-10-14 11:57:58 -04:00
Alex Kroeger
eb27e260e0
merged into development to grab dodo
2020-10-13 23:23:05 -07:00
Alex Kroeger
c72aa653e8
Integrated CREAM into asset-swapper
2020-10-13 20:27:08 -07:00
Jacob Evans
4d04b72674
feat: DODO ( #2701 )
...
* feat: DODO
* DODO Bridge
* export DODOFillData
* Use deployed DODOHelper
* Deployed Bridge. Half of buys supported
* other half of buys
* refactor
* CHANGELOGs
* Lint
2020-10-13 18:20:31 +10:00
F. Eugene Aumson
e3b92d2c8b
Fix linter errors
2020-10-12 18:01:22 -04:00
F. Eugene Aumson
4aa5a89cd7
Merge branch 'development' into refactor_rfq_comparison_price_integration
2020-10-12 12:44:30 -04:00
Alex Kroeger
c6b9ea5723
Merge branch 'development' into feat/add-cream
2020-10-11 20:11:24 -07:00
Alex Kroeger
2dc0bff1ea
Merge pull request #2725 from 0xProject/refactor-asset-swapper-v1
...
removed v0-specific code in asset-swapper
2020-10-09 09:55:15 -07:00
Alex Kroeger
408e66e8b4
altered changelog wording
2020-10-08 16:54:16 -07:00
Alex Kroeger
40fe12a86b
Updated changelog
2020-10-08 16:52:14 -07:00
Alex Kroeger
1adb56f092
prettier 🤦
2020-10-08 16:43:52 -07:00
Alex Kroeger
629d48c766
removed unused functions
2020-10-08 16:43:52 -07:00
Alex Kroeger
c8886febb9
removed v0-specific code in asset-swapper
2020-10-08 16:43:52 -07:00
Daniel Pyrathon
efe598c8fd
Merge branch 'development' of github.com:0xProject/0x-monorepo into refactor_rfq_comparison_price_integration
2020-10-08 15:27:14 -07:00
mzhu25
32218ce25e
Merge pull request #2728 from 0xProject/fix/uint80
...
add abi encoder support for uint80 lol
2020-10-08 15:12:57 -07:00
F. Eugene Aumson
f7ae697475
Merge pull request #2726 from 0xProject/fix/asset-swapper/rfqtMakerInteraction-with-blacklisting
...
asset-swapper: isBlacklisted in rfqtMakerInteraction
2020-10-08 14:19:10 -04:00
F. Eugene Aumson
6e954385ce
Include requestParams in maker-blacklisted log
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2726#discussion_r501332160
2020-10-08 09:15:58 -04:00
Daniel Pyrathon
f8df89b506
fixed broken package
2020-10-07 23:49:04 -07:00
Daniel Pyrathon
a3ff406461
update quote server
2020-10-07 19:37:38 -07:00
Daniel Pyrathon
221de054f4
fixes a few issues with the typing
2020-10-07 19:34:12 -07:00
Michael Zhu
98e6aa4bac
add abi encoder support for uint80 lol
2020-10-07 18:40:17 -07:00
Daniel Pyrathon
199808dc44
Merge branch 'development' of github.com:0xProject/0x-monorepo into refactor_rfq_comparison_price_integration
...
# Conflicts:
# packages/asset-swapper/src/utils/market_operation_utils/index.ts
2020-10-07 14:28:35 -07:00
F. Eugene Aumson
5d8e35fb68
asset-swapp: isBlacklisted in rfqtMakerInteraction
2020-10-07 16:32:22 -04:00
Jacob Evans
36546480b1
fix: [asset-swapper] Catch Uint256BinOp which can occur ( #2724 )
...
* fix: [asset-swapper] Catch Uint256BinOp which can occur
* Perform a local bounds check
2020-10-07 17:36:44 +10:00
Jacob Evans
cd9e408ea3
fix: exchange proxy overhead scaled by gas price ( #2723 )
2020-10-06 21:09:46 +10:00
Jacob Evans
7698f21517
feat: [asset-swapper] Shell 🐚 ( #2722 )
...
* feat: [asset-swapper] Shell
* Deployed and Changelogs
* Glue up the deployed address
* Glue for FQT rollup
2020-10-06 15:55:51 +10:00
mzhu25
10724e5745
Merge pull request #2691 from 0xProject/feature/liquidity_provider_swap
...
`@0x/contracts-zero-ex`: LiquidityProviderFeature
2020-10-05 19:01:41 -07:00
Daniel Pyrathon
dde76a4dbb
Mark decimal places
2020-10-05 17:36:52 -07:00
Michael Zhu
86ff5c53bb
account for EP gas overhead in multihop
2020-10-05 17:33:13 -07:00
Daniel Pyrathon
efef5f122f
added fix
2020-10-05 17:24:23 -07:00
Daniel Pyrathon
83c942ad8c
Added fix for decimals
2020-10-05 17:20:43 -07:00
Michael Zhu
31e90e314c
lint
2020-10-05 10:20:54 -07:00
Michael Zhu
33caae705e
Update changelogs
2020-10-05 10:09:06 -07:00
Michael Zhu
961273a2ff
Fix broken test
2020-10-05 10:09:06 -07:00
Michael Zhu
46e512a27c
Fix test-doc-generation
2020-10-05 10:09:06 -07:00
Michael Zhu
290a04a0ad
Appease linter
2020-10-05 10:09:06 -07:00
Michael Zhu
12ff4ec438
Add tests for exchange proxy gas overhead accounting in the path optimizer
2020-10-05 10:09:06 -07:00
Michael Zhu
1c15ecacb0
add tests for LiquidityProviderFeature
2020-10-05 10:09:06 -07:00
Michael Zhu
c6d738ed0c
Refactor asset-swapper
2020-10-05 10:09:06 -07:00
Michael Zhu
f089f5d87f
Add migrate function to LiquidityProviderFeature
2020-10-05 09:43:19 -07:00
Michael Zhu
78e3cd39d1
@0x/contracts-zero-ex: Add LiquidityProviderFeature contracts
2020-10-05 09:43:19 -07:00
Daniel Pyrathon
1588c1f362
Added initial unit tests and implementation
2020-10-02 15:04:50 -07:00
F. Eugene Aumson
a35d1b8a9d
Merge pull request #2714 from 0xProject/feat/asset-swapper/rfq-maker-blacklist-logging
...
asset-swapper: log RFQ maker (un)blacklistings
2020-10-02 15:52:23 -04:00
F. Eugene Aumson
32923ec7e1
Blacklist for timeout === max, not just >
2020-10-02 14:18:31 -04:00
F. Eugene Aumson
5a3bd716ad
Merge branch 'development' into feat/asset-swapper/rfq-maker-blacklist-logging
2020-10-02 13:44:31 -04:00
F. Eugene Aumson
84862f15c1
Store blacklistedUntil as local var, don't ref map
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2714#discussion_r497816501
2020-10-02 13:43:17 -04:00
Daniel Pyrathon
9e42dce5c4
added initial implementation
2020-10-01 14:28:36 -07:00
Daniel Pyrathon
a360109013
Merge pull request #2716 from 0xProject/fix/buy-orders-quote-report
...
fix: fixed a small bug with buys and quote reporter
2020-10-01 10:39:47 -07:00
F. Eugene Aumson
68d6b3a033
Merge branch 'development' into feat/asset-swapper/rfq-maker-blacklist-logging
2020-10-01 12:09:28 -04:00
Daniel Pyrathon
733c3046bc
fixed a small bug with buys and quote reporter
2020-09-30 17:02:09 -07:00
Daniel Pyrathon
23d4b6bf1c
Merge branch 'development' of github.com:0xProject/0x-monorepo into refactor_rfq_request_positioning
...
# Conflicts:
# packages/asset-swapper/src/utils/market_operation_utils/index.ts
2020-09-30 16:59:21 -07:00
Daniel Pyrathon
39bd0c5459
Merge pull request #2713 from 0xProject/refactor_reporter
...
[Price-aware RFQ requests] Decouple QuoteReporter from _generateOptimizedOrdersAsync
2020-09-30 14:11:43 -07:00
Daniel Pyrathon
c13ffb2072
added linting and prettifying
2020-09-30 13:54:48 -07:00
Daniel Pyrathon
38bcab1f86
Merge branch 'development' of github.com:0xProject/0x-monorepo into refactor_rfq_request_positioning
2020-09-30 11:18:32 -07:00
Daniel Pyrathon
a24f01c90f
added a few fixed and added some comments:
2020-09-29 23:07:14 -07:00
Daniel Pyrathon
708e34602b
added further unit tests
2020-09-29 23:00:02 -07:00
Daniel Pyrathon
d60c8ddd5a
added more unit tests
2020-09-29 22:25:24 -07:00
Daniel Pyrathon
eea63292f0
added initial RFQ tests
2020-09-29 17:02:12 -07:00
Alex Kroeger
a97342a594
updated changelog
2020-09-29 13:06:36 -07:00
Alex Kroeger
00f55be83e
Added cream bridge contract
2020-09-29 12:59:54 -07:00
Daniel Pyrathon
90ed283b20
performed linting
2020-09-29 02:08:00 -07:00
Daniel Pyrathon
61272961a8
fixed a broken import, renamed variable
2020-09-29 02:02:17 -07:00
Daniel Pyrathon
507690f9db
refactor coding and avoid running indicative quotes when sampling market liquidity
2020-09-29 00:59:14 -07:00
Daniel Pyrathon
90ad5eb6c4
refactor market side ops
2020-09-28 13:57:30 -07:00
Daniel Pyrathon
7bc9701c81
initial implementation
2020-09-28 13:15:44 -07:00
Daniel Pyrathon
a7d502a501
create quote report regardless of RFQT
2020-09-28 12:53:40 -07:00
F. Eugene Aumson
fbe99b41f8
asset-swapper: log RFQ maker (un)blacklistings
2020-09-28 14:14:52 -04:00
Lawrence Forman
66e2d93e9c
Merge pull request #2711 from 0xProject/fix/balancer-sampling
...
Handle max in/out ratio reverts in Balancer sampling functions
2020-09-25 00:45:47 -04:00
Lawrence Forman
4672c72fef
@0x/asset-swapper: compute max quote slippage from the first non-native order in getSwapMinBuyAmount()
2020-09-24 23:22:27 -04:00
Lawrence Forman
ac6b03cd4a
fix LP and MB sources leaking into getSell/BuyOperations() when they should be disabled
2020-09-24 23:22:27 -04:00
Lawrence Forman
d7de191947
@0x/asset-swapper: Handle native orders in getSwapMinBuyAmount()
2020-09-24 23:22:27 -04:00
Lawrence Forman
de7f1fc207
@0x/asset-swapper: rename getMinBuyAmount() to getSwapMinBuyAmount()` and export for use in API.
2020-09-24 23:22:27 -04:00
Lawrence Forman
99de5a3814
@0x/asset-swapper: factor affiliate fees into new minBuyAmount calculation in EP consumer
2020-09-24 23:22:27 -04:00
Lawrence Forman
4cf566cad8
@0x/asset-swapper: Special case two-hop quotes in getMinBuyAmount()
2020-09-24 23:22:27 -04:00
Lawrence Forman
6138955f93
@0x/asset-swapper: respect max slippage in EP consumer
2020-09-24 23:22:27 -04:00
Michael Zhu
a57cf68ee4
Handle max in/out ratio reverts in Balancer sampling functions
2020-09-24 23:22:25 -04:00
Daniel Pyrathon
20edcd1ae5
lint and fix
2020-09-24 16:32:56 -07:00
Daniel Pyrathon
5333befd89
optionally return a quote report too
2020-09-24 15:37:18 -07:00
Daniel Pyrathon
235e406620
initial decoupling of Quote reporter
2020-09-24 15:27:55 -07:00
Kim Persson
5f570b772d
asset-swapper: Quote report pass back optional fill data ( #2702 )
...
* ADDS quote report: pass back optional fill data for dex samples
* ADDS return fillData for Multihop in quote report
* FIXES quote report generator tests handle passing back fillData
* FIXES typing multi hop report source will always have fillData
* ADDS asset-swapper CHANGELOG entry
2020-09-24 15:06:44 +02:00
Jacob Evans
f2507cb94a
[asset-swapper]: Added Curve Tripool ( #2708 )
2020-09-23 17:03:03 +10:00
Lawrence Forman
f84b375cde
UniswapFeature ( #2703 )
...
* Minimal Uniswap accessor.
* Add comments
* Safe math
* mainnet gas benchmark
* Assembler Uniswap
* Selectors and addresses
* Fix bugs in ABI encoders
* Typo
* AsmUniswap test
* Fix wantAmount computation
* Golfing
* Bypass AllowanceTarget
* Generalized asm uniswapper
* Implement ordering
* Fix pair computation
* #6 Golfing Iron
* Remove 'to' argument (saves 377 gas)
* New contract api
* `@0x/contracts-zero-ex`: Add `UniswapFeature`
* `@0x/contract-artifacts`: Regenerate artifacts
* `@0x/contract-wrappers`: Regenerate wrappers
* `@0x/asset-swapper`: Add Uniswap VIP support.
`@0x/asset-swapper`: Add `includeSources` support.
* `@0x/contracts-zero-ex`: Fix misleading comments in `UniswapFeature`.
`@0x/asset-swapper`: Fix linter errors.
* `@0x/asset-swapper`: Fix source filter bugs.
* `@0x/contracts-zero-ex`: `UniswapFeature`: Reduce calldata size for AllowanceTarget call
`@0x/asset-swapper`: Fix failing test.
* `@0x/contracts-zero-ex`: Fix ETH buy tokens not being normalized to WETH.
* `@0x/asset-swapper`: Fix multi-hop weirdness with source filters.
* `@0x/asset-swapper`: Fix failing test.
* `@0x/asset-swapper`: Really fix that broken AS test.
* `@0x/asset-swapper`: use filter objects instead of source array for valid buy and sell sources/
* `@0x/asset-swapper`: Move some source filtering logic into the sampler operations.
* `@0x/contracts-zero-ex`: Address PR feedback
* `@0x/contracts-zero-ex`: Fix feature version bug.
* `@0x/asset-swapper`: Did I actually fix AS tests this time? Who knows.
Co-authored-by: Remco Bloemen <remco@0x.org >
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-09-23 16:27:48 +10:00
F. Eugene Aumson
32d11d1ba5
Merge pull request #2706 from 0xProject/feat/asset-swapper/punish-latent-rfqt-makers
...
asset-swapper: Punish latent RFQT makers
2020-09-18 18:06:12 -04:00
F. Eugene Aumson
5c9b6eb078
Add tests of class RfqMakerBlacklist
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2706#pullrequestreview-489852363
2020-09-16 19:18:13 -04:00
F. Eugene Aumson
f53a512e70
Blacklist when threshhold reached, not surpassed
2020-09-16 19:09:17 -04:00
F. Eugene Aumson
ec08715090
Streamline isMakerBlacklisted() logic
2020-09-16 19:09:17 -04:00
F. Eugene Aumson
79e0a9ef37
Add and use constant ONE_MINUTE_MS
...
Addresses review comments
https://github.com/0xProject/0x-monorepo/pull/2706#discussion_r489610605
and
https://github.com/0xProject/0x-monorepo/pull/2706#discussion_r489614731
2020-09-16 19:08:27 -04:00
F. Eugene Aumson
1ce8a33937
asset-swapper: Punish latent RFQT makers
2020-09-14 19:07:48 -04:00
xianny
b3053dfb91
remove Bancor from list of on-chain sources
2020-09-11 16:05:14 -07:00
Xianny
3da05f2812
batch requests with bancor SDK ( #2699 )
...
* upgrade bancor SDK for batch requests
* lint
* changes after review
* deploy bancor bridge
* small fixes
2020-09-11 11:09:10 -07:00
Steve Klebanoff
0ba79b060d
Merge pull request #2696 from 0xProject/bugfix/quote-report-generator-signature
...
Quote report generator: use signature instead of order hash for lookup
2020-09-09 17:32:51 -05:00
Steve Klebanoff
c4bcc26e29
Merge branch 'development' into bugfix/quote-report-generator-signature
2020-09-09 09:36:21 -05:00
Jacob Evans
630108ccb6
feat: Swerve Finance and SushiSwap ( #2698 )
...
* feat: Swerve Finance
* export SwerveFillData
* test and CHANGELOG
* feat: Sushiswap (#2700 )
* feat: SushiSwap
* Changelog
* fix tests
* Deployed SushiSwap bridge
* Fix test
* IGNORED_EXCESSIVE_TYPES
2020-09-09 21:35:24 +10:00
Steve Klebanoff
1ab33aa132
Merge branch 'development' into bugfix/quote-report-generator-signature
2020-09-08 11:35:14 -05:00
Steve Klebanoff
ee456ea6e7
remove unused import
2020-09-04 11:01:24 -05:00
Steve Klebanoff
e7541ac2af
update tests to use signatures instead of order hashes
2020-09-04 10:52:49 -05:00
Steve Klebanoff
d34d46b7fd
change look up from order hash to order signature
2020-09-04 09:54:47 -05:00
Lawrence Forman
08ae43aad3
Merge pull request #2657 from 0xProject/fix/ep/meta-transactions
...
EP: MetaTransactions fixes
2020-09-03 23:21:19 -04:00
Lawrence Forman
eb141075c7
Merge pull request #2692 from 0xProject/feat/ep/fqt-rfqt-kyber-mooni-events
...
FQT: RFQT, more rollups, etc
2020-09-03 21:02:17 -04:00
Lawrence Forman
bd3387a408
@0x/contract-addresses: Update EP addresses
2020-09-03 16:52:28 -04:00
Lawrence Forman
e1a48e80e1
@0x/asset-swapper: Fix mooniswap sell sampling bug
2020-09-03 14:45:03 -04:00
Lawrence Forman
bf899d40a0
@0x/contracts-zero-ex: Only deploy FlashWallet in TransformERC20 migration if it does not already exist.
2020-09-03 13:39:30 -04:00
Lawrence Forman
dc66f1b886
@0x/asset-swapper: Fix Mooniswap buy sampling bug.
2020-09-03 11:01:41 -04:00
Lawrence Forman
3753b1a7d0
@0x/asset-swapper: Increase default error tolerance on quote simulation tests.
...
Run prettier.
2020-09-03 09:45:54 -04:00
Lawrence Forman
05c5acdb15
@0x/contracts-zero-ex: Fix Mooniswap WETH buying bug
2020-09-03 03:27:58 -04:00
Lawrence Forman
ca63bcc9b0
@0x/migrations: Remove mooniswapRegistry from BridgeAdapter addreses
2020-09-03 01:21:21 -04:00
Lawrence Forman
3733d503db
@0x/contracts-zero-ex: Remove mooniswapRegistry from BridgeAdapter addreses
2020-09-03 01:21:09 -04:00
Lawrence Forman
ab28e42c22
@0x/asset-swapper: Fix mooniswap encoding
2020-09-03 01:07:00 -04:00
Lawrence Forman
7e53b4f834
@0x/contract-addresses: Update transformer deployer and transformers for champagne-problems deployment.
...
`@0x/migrations`: Reorder transformer deployments.
2020-09-02 22:23:20 -04:00
Lawrence Forman
3bb60fee19
@0x/asset-swapper: Export MooniswapFillData.
2020-09-02 21:22:24 -04:00
Lawrence Forman
9f7840e12b
@0x/contracts-zero-ex: Remove only from tests.
2020-09-02 21:22:07 -04:00
Lawrence Forman
f41e13b574
@0x/contracts-zero-ex: Decode secret mooniswap bridge data parameter.
2020-09-02 17:45:37 -04:00
Lawrence Forman
4049143630
@0x/asset-swapper: Return Mooniswap pool in sampler and encode it in bridge data
2020-09-02 17:42:03 -04:00
Lawrence Forman
705f46717f
@0x/contracts-integrations: Add EP + MTX + RFQT integration tests.
2020-09-02 15:58:41 -04:00
Lawrence Forman
a6cf8ae0b6
@0x/asset-swapper: Add rfqtTakerAddress to FillQuoteTransformerData
2020-09-02 15:58:41 -04:00
Lawrence Forman
dba6972281
@0x/order-utils: Add rfqtTakerAddress to FillQuoteTransformerData
2020-09-02 15:58:41 -04:00
Lawrence Forman
52d36f5a8b
@0x/migrations: Fix FQT deployment
2020-09-02 15:58:41 -04:00
Lawrence Forman
889b58a914
@0x/contracts-zero-ex: Add RFQT taker enforcement to FQT.
...
`@0x/contracts-zero-ex`: Remove redundant event from `BridgeAdapter`.
`@0x/contracts-zero-ex`: Treat all calldata as signed if quote signer is not in `TransformERC20Feature`.
`@0x/contracts-zero-ex`: Update bridge adapters
2020-09-02 15:58:38 -04:00
Lawrence Forman
43810835d7
@0x/utils: Fix broken test
2020-09-01 18:52:32 -04:00
Lawrence Forman
4b9867f167
update changelogs
2020-09-01 18:02:17 -04:00
Lawrence Forman
e9c91e59bd
@0x/contracts-zero-ex: Fix shadowed variable in TransformerDeployer.
2020-09-01 17:51:53 -04:00
Lawrence Forman
d8844f6970
@0x/contracts-integrations: Fix broken tests.
2020-09-01 17:32:29 -04:00
Lawrence Forman
1cdc6e7184
@0x/contracts-integrations: Remove stray only modifier.
2020-09-01 16:56:32 -04:00
Lawrence Forman
36ad373f03
@0x/utils: Fix StakingErrors.ExchangeManagerError incorrect param name
2020-09-01 16:55:04 -04:00
Lawrence Forman
78dfb6d525
@0x/migrations: Fix linter error.
2020-09-01 16:54:17 -04:00
Lawrence Forman
79254de7bc
@0x/contracts-exchange: Fix failing tests.
2020-09-01 16:53:49 -04:00
Lawrence Forman
1d6aef5cd6
@0x/contracts-zero-ex: Remove UniswapFeature
...
`@0x/contracts-zero-ex`: Fix broken tests.
2020-09-01 16:05:14 -04:00
Lawrence Forman
f9d02c9e27
@0x/utils: Fix nested revert decoding
2020-09-01 16:04:01 -04:00
Lawrence Forman
228246089e
Merge branch 'feat/exchange-proxy/vip-uniswap' into fix/ep/meta-transactions
2020-09-01 11:59:44 -04:00
Lawrence Forman
b6319ba3d8
@0x/contracts-zero-ex: Fix rebase artifacts.
2020-09-01 10:35:02 -04:00
Lawrence Forman
2636384ead
Merge remote-tracking branch 'origin/feat/exchange-proxy/post-cd-audit' into fix/ep/meta-transactions
2020-09-01 09:48:17 -04:00
Lawrence Forman
0425f76284
Merge remote-tracking branch 'origin/fix/zero-ex/transformer-deployer-kill-fix' into fix/ep/meta-transactions
2020-09-01 09:42:38 -04:00
Lawrence Forman
d93e72f56a
@0x/asset-swapper: Fix rebase conflicts
2020-09-01 09:41:00 -04:00
Lawrence Forman
195d543ce3
@0x/contracts-zero-ex: Remove bugged parity signature compatibility.
2020-09-01 09:41:00 -04:00
Lawrence Forman
9cda9f69cd
@0x/contracts-zero-ex: Add reentrancy guard to mtx functions
...
`@0x/contracts-zero-ex`: Add refund mechanism to mtxs
`@0x/contracts-zero-ex`: Pass sender to transfomers.
`@0x/contracts-zero-ex`: Refund protocol fees to `refundReceiver` in FQT.
`@0x/utils`: Add EP flavor of `IllegalReentrancyError`
`@0x/order-utils`: Add `refundReceiver` to FQT transform data.
`@0x/asset-swapper`: Add `refundReceiver` support to EP swap quote consumer.
2020-09-01 09:40:58 -04:00
F. Eugene Aumson
7b0a1c3630
Merge pull request #2684 from 0xProject/feat/asset-swapper/rfqt-indicative-without-takerAddress
...
asset-swapper: Stop requiring takerAddress for indicative RFQ-T quotes.
2020-08-31 20:14:30 -04:00
F. Eugene Aumson
a8f3a47240
asset-swapper: Update comments
2020-08-31 16:36:00 -04:00
F. Eugene Aumson
db0f3a8780
Merge branch 'development' into feat/asset-swapper/rfqt-indicative-without-takerAddress
2020-08-31 12:11:00 -04:00
Jacob Evans
514db24ceb
chore: Optional quote report generation ( #2687 )
2020-08-29 09:41:01 +10:00
F. Eugene Aumson
e738743c89
asset-swapper: ensure takerAddress for indiciative
...
Ensure the presence of a taker address query parameter in the request to
market maker endpoints for indicative RFQ-T quotes.
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2684#pullrequestreview-477242367
2020-08-28 16:30:01 -04:00
F. Eugene Aumson
f471e1a8a3
Merge branch 'development' into feat/asset-swapper/rfqt-indicative-without-takerAddress
2020-08-27 13:49:46 -04:00
Jacob Evans
a2f0d5eedf
feat: better Kyber quotes ( #2683 )
...
* feat: Kyber rework
* Get additional reserves per token
2020-08-27 15:58:57 +10:00
Jacob Evans
2f9b894d71
fix: bunny-hop small amounts ( #2685 )
...
* fix: bunny-hop small amounts
* fix lint and Dockerfile
* HACK: temporarily disable python
2020-08-27 10:49:14 +10:00
mzhu25
bab34c2d21
Feature/bunny hop ( #2647 )
...
* `@0x/contracts-erc20-bridge-sampler`: Add TwoHopSampler + refactor
* `@0x/asset-swapper`: Refactor + add two-hop skeleton
* Round out two-hop support in asset-swapper
* Add BalancerSampler, use it for two-hop quotes
* Fix bugs discovered from simbot
* rebases are hard
* Add intermediate token to MultiHop source breakdown
* Fix market buy bugs
* Use hybrid on-chain/off-chain sampling for Balancer
* Another day, another rebase
* Update changelogs
* Address PR feedback, CI fixes
* Address more PR feedback
2020-08-27 08:20:09 +10:00
F. Eugene Aumson
a68421b0f8
update CHANGELOG
2020-08-26 16:31:27 -04:00
F. Eugene Aumson
e9b0ac8820
asset-swapper: Stop req'ing takerAddr for RFQT ind
...
Stop requiring takerAddress for indicative RFQ-T quotes.
2020-08-25 17:42:02 -04:00
Jacob Evans
4f78f55c2a
fix: mooniswap usdt ( #2681 )
2020-08-25 21:43:19 +10:00
Daniel Pyrathon
156093127b
Merge pull request #2678 from 0xProject/moreLogging
...
adds more logging keys
2020-08-24 19:45:04 -07:00
Daniel Pyrathon
47d91bb4e0
adds more logging keys
2020-08-24 15:54:09 -07:00
Jacob Evans
cc31445189
feat: asset-swapper mooniswap ( #2675 )
...
* feat: asset-swapper sampler early exit
* feat: asset-swapper mooniswap
* tests and linter
* deploy to mainnet
* CHANGELOGs
* fix excluded sources difference
* typo
2020-08-24 11:21:01 +10:00
Xianny
af78238507
Feat/bancor v2 ( #2650 )
...
* Bancor Bridge contract
* refactor Quote and FillData types
* BancorService (wrapper for the Bancor SDK)
* disable bancor while waiting for bancor SDK update
* add bancor to test
2020-08-21 15:11:35 -07:00
Lawrence Forman
b30f87f50c
@0x/asset-swapper: Use IZeroExContract in EP swap quote consumer.
2020-08-20 16:56:40 -04:00
Lawrence Forman
3cd03ed0f1
@0x/migrations: Update EP migration
2020-08-20 16:55:47 -04:00
Lawrence Forman
e7ad7c3af7
@0x/contracts-zero-ex: Add IUniswapV2Feature.
...
`@0x/contracts-zero-ex`: Rename all feature contracts to have `Feature` suffix.
`@0x/contracts-zero-ex`: Return an `IZeroExContract` instance from `fullMigrateAsync()`.
2020-08-20 16:54:50 -04:00
Jacob Evans
7e8b56eef4
feat: mStable + FQT Rollup ( #2662 )
...
* feat: mStable
* deploy and CHANGELOG
* `@0x/contracts-utils`: Add more testnet addresses.
* `@0x/contract-addresses`: Deply Mstable on testnets
* `@0x/contract-addresses`: Remove testnet deployments of mStable :-)
* move `erc20-bridge-sampler` into `asset-swapper`
remove `DevUtils` dependency from sampler contract.
* `@0x/asset-swapper`: Add ERC20BridgeSampler support for validating orders in maker fees denominated in non-maker assets.
`@0x/asset-swapper`: Add tests for `NativeOrderSampler`.
* `@0x/asset-swapper`: Return `0` sample if native order asset data is unsupported.
* `@0x/asset-swapper`: Fix failing test.
* feat: ExchangeProxy FQT fruit rollup (#2645 )
* feat: Optimize Bridges in ExchangeProxy
* compile and most work
* work around to trust the delecall contract
* force allowances
* Update Kyber/Eth2Dai bridges
* Remove memory state where not required
* cleanup
* Combine Bridges into one adapter
* mixins
* refactor out ZeroExBridge
* move out interface
* comment out hacks
* update migrations
* remove simbot hacks
* AdapterAddresses and mStable
* Share constructor arg
* fix migration
* Remove whitespace
* `@0x/contracts-zero-ex`: BridgeAdapter -- revert if bridge address is 0.
* `@0x/contract-addresses`: Deploy FQT.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
* update ganache contract addresses
* fix: asset-swapper empty batch call (#2669 )
* update ganache contract addresses
* fix: asset-swapper prevent empty sampler batch call
* add sampler to migrations
* change migrations version
* Use contract-wrappers and artifacts
* remove extra data
* remove deps, set sampler to NULL_ADDRESS
* all the exports
* noop sell rate too
* update ganache contract addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2020-08-20 08:18:44 +10:00
mzhu25
458a014e6d
Merge pull request #2668 from 0xProject/improvement/nested-revert-decoding
...
`@0x/utils`: Add support for nested rich revert decoding
2020-08-19 11:12:54 -07:00
Lawrence Forman
9b6703398e
@0x/contracts-integrations: Add EP mtx tests.
2020-08-19 13:52:32 -04:00
Lawrence Forman
71700e69af
@0x/zero-ex: Address CD post-audit feedback.
...
Add `LogMetadataTransformer`.
2020-08-19 13:52:32 -04:00
Lawrence Forman
14d6330b40
@0x/asset-swaper: Use transformer utils from @0x/order-utils.
2020-08-19 13:52:32 -04:00
Lawrence Forman
d31d646ecc
@0x/order-utils: Fix EP signature utils schema assertion.
2020-08-19 13:52:32 -04:00
Michael Zhu
270d7a3f19
Update changelog
2020-08-19 10:11:25 -07:00
Michael Zhu
e078f3d479
Appease CI
2020-08-19 09:50:39 -07:00
Lawrence Forman
6aa8f17ed5
@0x/json-schemas: Add exchangeProxyMetaTransactionSchema.
2020-08-19 11:39:49 -04:00
Lawrence Forman
8e73ae3614
@0x/order-utils: Add findTransformerNonce() and getTransformerAddress() functions.
2020-08-18 16:39:59 -04:00
Michael Zhu
89117beda2
@0x/utils: Add support for nested rich revert decoding
2020-08-18 13:13:10 -07:00
Lawrence Forman
e27e6baabe
@0x/contracts-integrations: Add EP mtx tests.
2020-08-17 22:08:25 -04:00
Daniel Pyrathon
15ce90c0ec
Merge pull request #2665 from 0xProject/smaller_log
...
Smaller logs (avoid circular buffers) + add a boolean to indicate if order was included in the salad or not
2020-08-14 17:02:35 -07:00
Daniel Pyrathon
39e157499d
removed toJSON check
2020-08-14 16:29:52 -07:00
Daniel Pyrathon
d22c0641fb
are you included or not
2020-08-14 15:45:06 -07:00
Daniel Pyrathon
82806b6fcb
avoid returning objects with circular buffers
2020-08-14 14:54:53 -07:00
Daniel Pyrathon
fe293d91ee
added smaller log
2020-08-14 13:41:49 -07:00
Brandon Millman
7842bb4cad
Fix deprecation message in instant README
2020-08-13 13:33:45 -06:00
Brandon Millman
6f7e156f49
Add deprecation warning to Instant README
2020-08-13 13:32:57 -06:00
Daniel Pyrathon
0d19cac487
Merge pull request #2663 from 0xProject/feature/keepAlive-timeout
...
Feature/keep alive timeout
2020-08-12 09:15:54 -07:00
Daniel Pyrathon
f30dfcc572
adds a long TTL to quote requestor client
2020-08-12 07:38:57 -07:00
Daniel Pyrathon
3df39d8cfe
added httpAgent and httpsAgent timeouts
2020-08-11 19:12:53 -07:00
Daniel Pyrathon
ece93fed78
Merge pull request #2661 from 0xProject/feature/keepAlive
...
added keepAlive
2020-08-10 21:12:20 -07:00
Daniel Pyrathon
3a2c6ae9d6
updates balancer pinns to 0.3.2
2020-08-10 20:12:40 -07:00
Daniel Pyrathon
2ed71b36b6
Revert "added balancer packages"
...
This reverts commit ae9c301795 .
2020-08-10 20:08:15 -07:00
Daniel Pyrathon
ae9c301795
added balancer packages
2020-08-10 19:26:29 -07:00
Daniel Pyrathon
68206ffb6e
update balancer to 0.3.2
2020-08-10 18:10:50 -07:00
Daniel Pyrathon
25a3c18bfe
fixed small test bug
2020-08-10 17:59:37 -07:00
Daniel Pyrathon
d28476e9f7
export axios
2020-08-10 16:57:08 -07:00
Daniel Pyrathon
7cd30610f9
fixed tests
2020-08-10 16:33:42 -07:00
Daniel Pyrathon
ceb90989d0
Merge branch 'development' of github.com:0xProject/0x-monorepo into feature/keepAlive
...
# Conflicts:
# packages/asset-swapper/src/utils/quote_requestor.ts
2020-08-10 16:13:53 -07:00
Daniel Pyrathon
bb39d63d37
fixed class instantiation issue
2020-08-10 15:12:16 -07:00
Daniel Pyrathon
213709d020
added keepAlive
2020-08-10 14:47:15 -07:00
Jacob Evans
d0e9081852
feat: asset-swapper use ethToInputRate when ethToOutputRate is unavailable ( #2660 )
2020-08-10 20:41:17 +10:00
Jacob Evans
71cde281b9
fix: asset-swapper depth buy scale ( #2659 )
2020-08-09 16:38:59 +10:00
Lawrence Forman
c03f1586e6
asset-swapper: Fix optimization of buy paths ( #2655 )
...
* `@0x/asset-swapper`: Fix optimization of buy paths
* `@0x/asset-swapper`: Fix optimization of buy paths
* `@0x/asset-swapper`: Optimize the optimizer.
* `@0x/asset-swapper`: Remove unused `Fill` fields
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-08-07 13:03:52 +10:00
Lawrence Forman
10aceb164d
@0x/asset-swapper: Fix rebase conflicts
2020-08-06 22:48:55 -04:00
Lawrence Forman
34f516a417
@0x/contracts-zero-ex: Remove bugged parity signature compatibility.
2020-08-06 22:32:42 -04:00
Lawrence Forman
5dd686f22f
@0x/contracts-zero-ex: Add reentrancy guard to mtx functions
...
`@0x/contracts-zero-ex`: Add refund mechanism to mtxs
`@0x/contracts-zero-ex`: Pass sender to transfomers.
`@0x/contracts-zero-ex`: Refund protocol fees to `refundReceiver` in FQT.
`@0x/utils`: Add EP flavor of `IllegalReentrancyError`
`@0x/order-utils`: Add `refundReceiver` to FQT transform data.
`@0x/asset-swapper`: Add `refundReceiver` support to EP swap quote consumer.
2020-08-06 22:28:35 -04:00
mzhu25
5f47ad3363
Merge pull request #2658 from 0xProject/feat/asset-swapper/affiliate-fees
...
`@0x/asset-swapper`: Buy token affiliate fees
2020-08-06 10:39:37 -07:00
Michael Zhu
e166e9762a
update changelogs
2020-08-06 09:38:33 -07:00
Michael Zhu
341c5782e5
@0x/asset-swapper: Add affiliate fee support to EP swap quote consumer
2020-08-05 22:56:39 -07:00
mzhu25
d5180d3ebc
Merge pull request #2656 from 0xProject/refactor/migrations
...
Redeploy/verify testnet contracts
2020-08-04 15:35:24 -07:00
Michael Zhu
2c73bbd689
appease CI
2020-08-04 14:58:16 -07:00
Michael Zhu
b10522479c
Update changelogs
2020-08-04 11:13:09 -07:00
Michael Zhu
2b39ae4800
Redeploy/verify testnet contracts 🙄
2020-08-04 11:08:03 -07:00
Jacob Evans
788bdba8cd
fix: asset-swapper source collapse regression ( #2654 )
...
fixes source collapse regression where a split on the same source was collapsed into a single fill.
This should be kept distinct as separate fills.
2020-08-04 15:09:17 +10:00
Jacob Evans
222fd5d822
fix: Deploy UniswapV2 Bridge on Kovan ( #2652 )
...
* fix: Deploy UniswapV2 Bridge on Kovan
* CHANGELOG
2020-08-03 16:26:37 +10:00
Lawrence Forman
eedfc64a8c
Merge pull request #2649 from 0xProject/feat/contract-wrappers/exchangeProxy
...
Add `exchangeProxy` to `ContractWrappers`
2020-07-30 20:43:33 -04:00
Lawrence Forman
78170b26e9
Merge pull request #2648 from 0xProject/fix/ethereum-types/ConstructorAbi-payable
...
`@0x/ethereum-types`: Make `ConstructorAbi.payable` optional.
2020-07-30 16:29:47 -04:00
Lawrence Forman
f966b6f4df
@0x/ethereum-types: Make ConstructorAbi.payable optional.
2020-07-30 15:52:48 -04:00
Lawrence Forman
053b55fbbf
@0x/order-utils: Add gitpkg
2020-07-30 13:56:43 -04:00
Lawrence Forman
84a55a2d84
@0x/contract-wrappers: add exchangeProxy to ContractWrappers tyoe.
2020-07-30 13:56:00 -04:00
Steve Klebanoff
498a50b229
Merge pull request #2646 from 0xProject/feature/fix-quote-report-rfqt
...
Send in quoteRequestor to fix RFQT tracking
2020-07-28 14:32:28 -07:00
Steve Klebanoff
766888ec41
Send in quoteRequestor to fix RFQT tracking
2020-07-28 13:39:21 -07:00
Jacob Evans
466d962c07
fix: Redeploy ERC20BridgeSampler on Kovan ( #2644 )
2020-07-28 12:49:21 +10:00
Lawrence Forman
ae2a6fb685
asset-swapper: Quicker path-finding ( #2640 )
...
* `@0x/asset-swapper`: Speed up path optimizer.
* `@0x/asset-swapper`: address my own review comment
* `@0x/asset-swapper`: Update changelog
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
2020-07-27 15:09:49 +10:00
Jacob Evans
5afe2616a4
feat: asset-swapper market depth ( #2641 )
...
* feat: asset-swapper market depth
* split promises into 2
* fix lint and docs
* chore: refactor
* rebase off development
* CHANGELOG
2020-07-27 15:07:52 +10:00
Steve Klebanoff
72c869649a
Merge pull request #2627 from 0xProject/feature/new-order-reporter
...
asset-swapper: QuoteReport response
2020-07-23 17:50:48 -07:00
Steve Klebanoff
34138fc3b5
handle empty array in reduce
2020-07-23 17:15:04 -07:00
Steve Klebanoff
f67d2b96ac
fix up changelog
2020-07-23 16:25:24 -07:00
Steve Klebanoff
d877d3686c
linting
2020-07-23 16:03:09 -07:00
Steve Klebanoff
8260615b4e
fix merge conflict
2020-07-23 16:02:16 -07:00
Steve Klebanoff
c3f6d48966
Merge branch 'development' into feature/new-order-reporter
2020-07-23 16:01:27 -07:00
Steve Klebanoff
02f979bc74
linting
2020-07-23 15:55:56 -07:00
Steve Klebanoff
de1c71aacc
fix syntax
2020-07-23 15:54:34 -07:00
Steve Klebanoff
ca2aa72e0f
Merge development
2020-07-23 15:17:35 -07:00
Daniel Pyrathon
9a16f5736e
Merge pull request #2642 from 0xProject/only-rfqt
...
Add the `nativeExclusivelyRFQT` argument.
2020-07-23 15:05:02 -07:00
Lawrence Forman
82774df715
Merge pull request #2633 from 0xProject/feat/btc-curves
...
BTC Curves
2020-07-23 16:43:13 -04:00
Lawrence Forman
314f53c0b3
@0x/contract-addresses: Update CurveBridge on all networks.
2020-07-23 15:58:17 -04:00
Daniel Pyrathon
6553ee0130
reordered imports
2020-07-23 11:04:51 -07:00
Daniel Pyrathon
d7918ea047
prettified
2020-07-23 10:16:22 -07:00
Lawrence Forman
4aa9c85503
@0x/asset-swapper: Reenable some curves.
2020-07-23 09:59:30 -04:00
Lawrence Forman
f172591059
@0x/contracts-integrations: Fix curve bridge mainnet tests.
2020-07-23 09:59:03 -04:00
Steve Klebanoff
dfa7e30e42
fix version number, this is just a minor bump
2020-07-23 00:35:25 -07:00
Steve Klebanoff
3fe2013398
Merge branch 'development' into feature/new-order-reporter-merged
2020-07-22 23:59:09 -07:00
Steve Klebanoff
391d501ce6
Export rfqt opts
2020-07-22 23:56:07 -07:00
Steve Klebanoff
9edaa3a64e
fix
2020-07-22 23:50:55 -07:00
Steve Klebanoff
6e4e313792
Merge branch 'development' into feature/new-order-reporter-merged
2020-07-22 23:50:28 -07:00
Daniel Pyrathon
e6dcf92ec8
added new parameter nativeExclusivelyRFQT
2020-07-22 23:02:40 -07:00
Daniel Pyrathon
f359de2cac
fixed a small bug in indicative quotes
2020-07-22 22:46:25 -07:00
Lawrence Forman
2d29014091
@0x/contracts-erc20-bridge-sampler: address review comments
2020-07-23 00:37:58 -04:00
Lawrence Forman
0450e430f1
@0x/asset-swapper: Support more varied curves.
2020-07-23 00:37:58 -04:00
Lawrence Forman
b6700af6a8
@0x/contract-wrappers: Regenerate ERC20BridgeSampler wrapper.
2020-07-23 00:37:57 -04:00
Lawrence Forman
bcee7546ae
0x/contract-artifacts: Regenerate ERC20BridgeSampler artifact.
2020-07-23 00:37:32 -04:00
Lawrence Forman
4dac620156
@0x/contracts-asset-proxy: Update CurveBridge to support more varied curves.
...
`@0x/contracts-erc20-bridge-sampler`: Refactor.
`@0x/contracts-erc20-bridge-sampler`: Add support for more varied curves.
`@0x/contracts-integrations`: Update curve bridge tests.
2020-07-23 00:36:32 -04:00
Lawrence Forman
74d9df2fb0
Merge pull request #2626 from 0xProject/feat/zero-ex/TransformERC20-call-data-validation
...
ZeroEx: transformERC20 call data validation
2020-07-23 00:35:34 -04:00
Lawrence Forman
9d1615fa23
@0x/contract-wrappers: Fix doc gen
2020-07-23 00:03:23 -04:00
Lawrence Forman
b1b9949e72
@0x/contract-wrappers: Add IZeroEx wrapper.
2020-07-22 23:41:11 -04:00
Lawrence Forman
957ef5ab77
@0x/contract-artifacts: Add IZeroEx artifact.
2020-07-22 23:41:11 -04:00
Lawrence Forman
07a681c77e
@0x/contracts-zero-ex: Add IZeroEx contract.
2020-07-22 22:59:46 -04:00
Lawrence Forman
145ec8ede1
address review comments
2020-07-22 22:18:41 -04:00
Lawrence Forman
5f5a158060
@0x/contracts-zero-ex: Update TransformERC20 and MetaTransactions to handle signed calldata.
2020-07-22 22:18:39 -04:00
Steve Klebanoff
3e99c95791
Linting
2020-07-22 13:26:31 -07:00
Steve Klebanoff
4f83521be8
Merge branch 'development' into feature/new-order-reporter-merged
2020-07-22 13:25:35 -07:00
Jacob Evans
aae93bb6a7
fix: asset-swapper yield to the event loop every mix path ( #2637 )
...
* fix: allow a empty overrides to signal no default
* fix: asset-swapper yield to the event loop every mix path
* fix: optimizations skip order find if Native excluded
* changelogs
* chore: update protocol fee multiplier
* fix: tests async
2020-07-21 17:06:05 +10:00
xianny
b5eb1c9ee8
Publish
...
- @0x/contracts-asset-proxy@3.4.0
- @0x/contracts-broker@1.1.6
- @0x/contracts-coordinator@3.1.7
- @0x/contracts-dev-utils@1.3.5
- @0x/contracts-erc1155@2.1.7
- @0x/contracts-erc20-bridge-sampler@1.7.0
- @0x/contracts-erc20@3.2.1
- @0x/contracts-erc721@3.1.7
- @0x/contracts-exchange-forwarder@4.2.7
- @0x/contracts-exchange-libs@4.3.7
- @0x/contracts-exchange@3.2.7
- @0x/contracts-extensions@6.2.1
- @0x/contracts-integrations@2.6.0
- @0x/contracts-multisig@4.1.7
- @0x/contracts-staking@2.0.14
- @0x/contracts-test-utils@5.3.4
- @0x/contracts-utils@4.5.1
- @0x/contracts-zero-ex@0.2.0
- 0x.js@9.2.0
- @0x/abi-gen@5.3.1
- @0x/assert@3.0.9
- @0x/asset-swapper@4.6.0
- @0x/base-contract@6.2.3
- @0x/connect@6.0.9
- @0x/contract-addresses@4.11 .0
- @0x/contract-artifacts@3.7.1
- @0x/contract-wrappers-test@12.2.16
- @0x/contract-wrappers@13.8.0
- @0x/contracts-gen@2.0.10
- @0x/dev-utils@3.3.0
- ethereum-types@3.2.0
- @0x/instant@1.0.53
- @0x/json-schemas@5.1.0
- @0x/migrations@6.4.0
- @0x/monorepo-scripts@1.0.54
- @0x/order-utils@10.3.0
- @0x/orderbook@2.2.7
- @0x/sol-compiler@4.1.1
- @0x/sol-coverage@4.0.10
- @0x/sol-doc@3.1.8
- @0x/sol-profiler@4.1.0
- @0x/sol-resolver@3.1.0
- @0x/sol-trace@3.0.10
- @0x/sol-tracing-utils@7.1.0
- @0x/sra-spec@3.0.9
- @0x/subproviders@6.1.1
- @0x/tslint-config@4.1.0
- @0x/types@3.2.0
- @0x/typescript-typings@5.1.1
- @0x/utils@5.5.1
- @0x/web3-wrapper@7.2.0
2020-07-14 21:48:14 -07:00
xianny
9d3755db36
Updated CHANGELOGS & MD docs
2020-07-14 21:47:59 -07:00
Jacob Evans
762e0aec2d
fix: Update to use KNP getExpectedRateAfterFee ( #2629 )
...
* Update to use KNP getExpectedRateAfterFee
* hack: use overrides instead of forking in ganache
* fix: added some tests using overrides
* override sampler
* Overrides in bridge_sampler_mainnet_test
* use getContracts to fake out tests
* chore: supply devUtils address
* feat: specify the call override by default
* CHANGELOGs
* export SamplerOverrides
* fix package.json
* fix: after rebase
2020-07-15 14:05:57 +10:00
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
Steve Klebanoff
5c1ffe7fc8
add exclude to EXTERNAL_TYPE_MAP
2020-07-13 17:11:53 -07:00
Steve Klebanoff
b1c3c60def
additional imports
2020-07-13 16:45:40 -07:00
Steve Klebanoff
8763713596
ds -> dq
2020-07-13 15:49:39 -07:00
Steve Klebanoff
3e823cc9e3
export new types
2020-07-10 16:07:14 -07:00
Steve Klebanoff
1c84709db3
isApiKeyWhitelisted helper fn
2020-07-10 16:03:14 -07:00
Steve Klebanoff
9150d6bd2a
major version bump
2020-07-10 16:00:24 -07:00
Steve Klebanoff
10f29b66b8
newline
2020-07-10 15:58:31 -07:00
Steve Klebanoff
259aec52a9
linting
2020-07-10 15:58:06 -07:00
Steve Klebanoff
6554bf9f08
test for buy amount and no quote requestor
2020-07-10 15:57:06 -07:00
Steve Klebanoff
d8558f5956
QuoteReportGenerator test
2020-07-10 15:45:59 -07:00
Lawrence Forman
18bc701e8b
Merge pull request #2610 from 0xProject/feat/zero-ex/meta-transactions
...
EP: MetaTransactions
2020-07-10 11:12:58 -04:00
Lawrence Forman
a47795fd3f
@0x/contract-wrappers-test: Increase test timeout.
2020-07-10 03:05:56 -04:00
Lawrence Forman
a55e8b268c
@0x/contracts-zero-ex: Fix linter errors.
2020-07-10 02:36:25 -04:00
Lawrence Forman
e8106f04b5
@0x/contracts-zero-ex: Address review feedback.
2020-07-10 02:36:25 -04:00
Lawrence Forman
bdc1dbf08a
@0x/order-utils: Address review feedback.
2020-07-10 02:36:25 -04:00
Lawrence Forman
06eeb2088b
@0x/types: Address review feedback.
2020-07-10 02:36:25 -04:00
Lawrence Forman
7da9ec2c75
@0x/contract-addresses: Update ganache snapshot addresses for the Exchange Proxy.
2020-07-10 02:36:24 -04:00
Lawrence Forman
297ff10c14
@0x/contracts-zero-ex: add SignatureValidator and MetaTransactions features.
2020-07-10 02:36:00 -04:00
Lawrence Forman
1305f4314d
@0x/0x.js: Export ExchangeProxyMetaTransaction and SignedExchangeProxyMetaTransaction
2020-07-10 02:36:00 -04:00
Lawrence Forman
55474c0599
@0x/types: Add ExchangeProxyMetaTransactionHash().
2020-07-10 02:36:00 -04:00
Lawrence Forman
687c79ae81
@0x/utils: Add more revert errors to ZeroExRevertErrors
2020-07-10 02:36:00 -04:00
Lawrence Forman
829a353b14
@0x/order-utils: Add getOrderHash(), getExchangeTransactionHash(), getExchangeProxyTransactionHash()
2020-07-10 02:36:00 -04:00
Lawrence Forman
aced474dc5
Merge pull request #2628 from 0xProject/fix/dfb-redeploy-kovan-07-10-20
...
Redeploy DFB on kovan.
2020-07-10 02:35:37 -04:00
Lawrence Forman
7c08d5f198
etheereum-types: Touch this package to fix publish.
2020-07-10 01:53:02 -04:00
Lawrence Forman
c546787994
@0x/contract-addresses: Redeploy DFB on kovan.
...
`@0x/contracts-utils`: Reorganize `DeploymentConstants` addresses.
2020-07-10 01:29:28 -04:00
Steve Klebanoff
31fa530845
add CHANGELOG entry
2020-07-08 15:54:19 -07:00
Steve Klebanoff
120714ecfc
linting and remove unused function
2020-07-08 15:49:42 -07:00
Steve Klebanoff
615874d2ec
always pass through quoterequestor
2020-07-08 15:38:36 -07:00
Steve Klebanoff
67b195c942
take out old todo comment
2020-07-08 15:13:53 -07:00
Steve Klebanoff
75689cee96
create new quote requestor each time
2020-07-08 15:07:36 -07:00
Steve Klebanoff
8ba77e95a4
export swap quoter types into own object
2020-07-08 15:07:20 -07:00
Lawrence Forman
7967a8416c
Merge pull request #2625 from 0xProject/feat/deploy-new-fqt-2608
...
Deploy FQT from #2608
2020-07-07 16:05:04 -04:00
Steve Klebanoff
934fbca860
make QuoteReport optional instead of forcing it for bash operaitons, fix tests so build works
2020-07-07 11:00:03 -07:00
Steve Klebanoff
e78c8038c7
take out delete note
2020-07-06 22:24:02 -07:00
Steve Klebanoff
f64a42ebb5
return quote report
2020-07-06 22:18:22 -07:00
Lawrence Forman
9164cff234
@0x/contract-addresses: Deploy FQT from PR 2608
2020-07-07 01:10:16 -04:00
Lawrence Forman
017f98e87e
Merge pull request #2616 from 0xProject/fix/dfb-revert
...
Fix DFB instability
2020-07-07 01:08:51 -04:00
Lawrence Forman
f33d8670aa
@0x/contract-addresses: Update DFB addresses.
2020-07-07 01:07:44 -04:00
Steve Klebanoff
e79db7de89
new quotereporter type
2020-07-06 22:07:33 -07:00
Lawrence Forman
845a42e73a
@0x/asset-proxy: Fix DFB instability
2020-07-07 01:06:46 -04:00
Steve Klebanoff
e58c25aa18
hold onto maker uris when fetching responses
2020-07-06 21:27:20 -07:00
Steve Klebanoff
8ec44b63b1
WIP: add quoteReport response
2020-07-06 21:06:43 -07:00
Lawrence Forman
41907936a1
@0x/contracts-zero-ex: Fix TransformerDeployer.kill() calling the wrong die() interface.
2020-07-06 23:19:35 -04:00
Jacob Evans
406d2cefc5
feat: ExchangeProxy FillQuoteTransformer bridge direct ( #2608 )
...
* Detect Bridge orders and fill direct
* Mark as external for try/catch
* Initial tests
* discuss: Continue if protocol fee insufficient
* Emit ProtocolFeeUnfunded
* put the clamps on taker balance
* feat: GST free and optimize
* fix: low level GST free call
* fix: review feedback
* remove unused return struct
2020-07-07 07:37:26 +10:00
Lawrence Forman
41cdbc0ec4
Merge pull request #2622 from 0xProject/migration/exchange-proxy/affiliate-fee-transformer-initial
...
Deploy AffiliateFeeTransformer
2020-07-02 23:40:35 -04:00
Lawrence Forman
c6ec261c5c
@0x/asset-swapper: Fix failing test.
2020-07-02 21:45:39 -04:00
Lawrence Forman
a2db1a3275
@0x/migrations: Add affiliateFeeTransformer and exchangeProxyFlashWallet to ganache snapshot migration.
2020-07-02 21:45:39 -04:00
Lawrence Forman
1e8f2f0e83
@0x/contract-addresses: Add affiliateFeeTransformer and exchangeProxyFlashWallet addresses.
2020-07-02 16:04:33 -04:00
Lawrence Forman
8491abe142
@0x/contracts-zero-ex: Export AffiliateFeeTransformer.
2020-07-02 16:04:33 -04:00
Lawrence Forman
d4302538bf
Merge pull request #2620 from 0xProject/feat/contract-wrappers/geth-call-support
...
geth eth_call support.
2020-07-02 11:48:35 -04:00
Lawrence Forman
c34e3765ef
@0x/dev-utils: Export GethCallOverrides type
2020-07-02 01:57:01 -04:00
Lawrence Forman
1f86bc06ef
@0x/web3-wrapper: Export GethCallOverrides and GethCallOverridesRPC.
2020-07-02 01:56:33 -04:00
Lawrence Forman
7e892fac2d
@0x/asset-swapper: Increase test timeout for slow CI
2020-07-02 00:33:23 -04:00
Lawrence Forman
23789b0692
@0x/contract-wrappers: Export GethCallOverrides.
2020-07-01 22:33:52 -04:00
Lawrence Forman
89adbe4127
0x.js: Export GethCallOverrides.
2020-07-01 21:08:25 -04:00
Lawrence Forman
11940fb98e
@0x/json-schemas: Rename CallData.value -> CallData.balance and make it `wholeNumberSchema type.'
...
`@0x/web3-wrapper`: Only supply overrides to eth_call RPC if provided.
2020-07-01 20:43:33 -04:00
Lawrence Forman
13ae335811
0x/ethereum-types: Add geth eth_call types.
...
`0x/json-schemas`: Add geth eth_call properties to `CallData`.
`@0x/web3-wrapper`: Add geth geth eth_call support.
2020-07-01 15:54:49 -04:00
Lawrence Forman
b2dc6ad2fa
@0x/asset-swapper: "Fix" forwarder buys of low decimal tokens. (#2618 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-07-01 20:30:12 +10:00
Jacob Evans
85ca926fd0
feat: asset-swapper singleton gas price oracle ( #2619 )
2020-07-01 18:43:47 +10:00
Jacob Evans
676698a59b
fix: asset-swapper ethgasstation url option ( #2617 )
...
* fix: asset-swapper order-utils version
* fix: asset-swapper specify ethgasstation url as option
* default to real EGS
* fix: bad package.json
2020-07-01 13:47:34 +10:00
Lawrence Forman
22408ecd58
@0x/asset-swapper: Fix best/worst case asset amount calculations. (#2615 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
2020-06-30 17:58:06 +10:00
Jacob Evans
d36acc7ec7
fix: asset-swapper EthGasStation proxy url ( #2614 )
2020-06-30 17:41:52 +10:00
Lawrence Forman
a5a68acfec
Add Exchange Proxy to Ganache snapshot ( #2612 )
...
* `@0x/contracts-zero-ex`: Expose migration tools.
* `@0x/contract-addresses`: Update ganache snapshot Exchange Proxy addresses
* `@0x/migrations`: Add Exchange Proxy migration
2020-06-25 13:52:01 +10:00
Jacob Evans
7431651666
fix: package.json from publish ( #2611 )
2020-06-24 15:44:42 +10:00
Jacob Evans
4f91bfd907
Updated CHANGELOGS & MD docs
2020-06-24 14:12:56 +10:00
mzhu25
8d2086870b
Merge pull request #2607 from 0xProject/fix/sol-profiler-returns
...
Fix sol-profiler bugs
2020-06-22 14:35:52 -07:00
Daniel Pyrathon
1511ef1a98
Merge pull request #2609 from 0xProject/feature/quote-requestor-strings
...
Quote Requestor Fix: BigNumbers to Strings
2020-06-19 15:40:58 -07:00
Daniel Pyrathon
4e030ce1e8
remove legacy taker request
2020-06-19 15:07:39 -07:00
Steve Klebanoff
2507ad274b
remove BigNumbers from expectedParams
2020-06-19 14:42:45 -07:00
Steve Klebanoff
fb1c149eb9
another comment
2020-06-19 13:43:27 -07:00
Steve Klebanoff
d4662f428a
change BNs to strings
2020-06-19 13:29:19 -07:00
F. Eugene Aumson
73c779c13a
Merge pull request #2582 from 0xProject/feat/asset-swapper/use-quote-server
...
asset-swapper: Use @0x/quote-server, not local typedefs; and adapt to renamed taker request parameters
2020-06-19 13:05:10 -04:00
F. Eugene Aumson
b8cc164af1
asset-s: rm refs to quoteExpiry for RFQT tests
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2582#discussion_r441836846
2020-06-17 17:29:35 -04:00
Michael Zhu
64a391b5f8
Update changelogs
2020-06-17 12:23:49 -07:00
Michael Zhu
21a202dd16
Fix sol-profiler bugs
2020-06-17 12:08:29 -07:00
F. Eugene Aumson
187dd2fdc3
asset-swapper: Prune dead code
2020-06-17 14:56:39 -04:00
F. Eugene Aumson
c18f3f0b33
asset-s: use RFQT-specific types in MarketOpUtils
2020-06-17 14:56:04 -04:00
F. Eugene Aumson
7162935028
asset-s: use RFQT-specific types in MarketOpUtils
2020-06-17 10:39:48 -04:00
Lawrence Forman
9215a73b6c
Merge pull request #2604 from 0xProject/feat/order-utils/transformer-encoders
...
order-utils: ERC20 Transformer utils
2020-06-17 09:32:43 -04:00
Lawrence Forman
edd840794c
@0x/asset-swapper: Fix linter errors.
2020-06-17 02:12:32 -04:00
Lawrence Forman
c30a6eb1aa
@0x/contracts-zero-ex: Fix linter errors.
2020-06-17 01:23:08 -04:00
Lawrence Forman
233642af29
@0x/asset-swapper: Remove dependency on contracts-zero-ex.
2020-06-17 01:23:08 -04:00
Lawrence Forman
7dffd0a03e
@0x/contracts-zero-ex: Use transformer utils from order-utils.
2020-06-17 01:23:08 -04:00
Lawrence Forman
f7bc3ff49d
@0x/order-utils: Add ERC20 Transformer utils and export useful constants.
2020-06-17 01:23:08 -04:00
Lawrence Forman
53aabe3cdb
Merge pull request #2605 from 0xProject/feat/zero-ex/transform-erc20-make-creatTransformWallet-onlyOwner
...
Flip `TransformERC20.createTransformWallet()` to `onlyOwner`
2020-06-17 01:17:43 -04:00
Lawrence Forman
09b8d7cfc9
@0x/contracts-zero-ex: Flip TransformERC20.createTransformWallet() to onlyOwner.
2020-06-16 18:07:03 -04:00
F. Eugene Aumson
1512afc7e6
CI: persist test-publish npm logs as Artifacts
2020-06-16 17:33:30 -04:00
F. Eugene Aumson
dde0c76112
Merge branch 'development' into feat/asset-swapper/use-quote-server
2020-06-16 10:26:56 -04:00
Xianny
f14b6f2ba2
Fix/erc20 sampler/uniswap v2 buys ( #2603 )
...
* `@0x/contracts-erc20-bridge-sampler`: Fix `sampleBuysFromUniswapV2()`
* fix uniswapV2 buys
* redeploy ERC20BridgeSampler to fix Uniswap buys
* fix changelog, move artifact to correct dir
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2020-06-12 15:54:19 -07:00
Lawrence Forman
4fced276c4
Merge pull request #2591 from 0xProject/feat/asset-swapper/exchange-proxy-support
...
asset-swapper: Exchange Proxy support
2020-06-12 01:52:07 -04:00
Lawrence Forman
7590471d62
@0x/migrations: Add uniswapV2Bridge entry that was lost in rebase.
2020-06-12 00:40:37 -04:00
Lawrence Forman
0b6bcf6739
@0x/asset-swapper: Fix linter errors.
2020-06-11 23:59:54 -04:00
Lawrence Forman
3a5ce86ed9
@0x/sol-compiler: Fix CompilerOptions schema.
...
`@0x/contract-addresses`: Add `exchangeProxyGovernor`.
`@0x/contract-addresses`: Add deployed EP addresses.
`@0x/migrations`: Add `exchangeProxyGovernor`.
2020-06-11 23:59:24 -04:00
Lawrence Forman
7b298939e2
@0x/asset-swapper: Guess deployment nonce from transformer address.
...
`@0x/asset-swapper`: Fix ETH not being passed as the token to `transformERC20()`.
2020-06-11 23:53:18 -04:00
Lawrence Forman
f1f6aa7d80
Switch to using deployment nonce instead of transformer addresses.
2020-06-11 23:53:18 -04:00
Lawrence Forman
7ce7dd7252
@0x/asset-swapper: Address review feedback
2020-06-11 23:53:16 -04:00
Lawrence Forman
01aa556ede
@0x/abi-gen: Update python wrappers generation to work with leading underscores in identifiers.'
2020-06-11 23:52:59 -04:00
Lawrence Forman
48ad39c1c7
@0x/asset-swapper: Add ExchangeProxySwapQuoteConsumer.
2020-06-11 23:52:56 -04:00
Lawrence Forman
9cab034448
@0x/migrations: Use new ContractAddresses type.
2020-06-11 23:52:39 -04:00
Lawrence Forman
0d7a22634c
@0x/contract-addresses: Add exchange proxy address placeholders.
2020-06-11 23:51:45 -04:00
Lawrence Forman
3e3bc5c06d
@0x/contract-artifacts: Add ITransformERC20 artifact.
...
`@0x/contract-wrappers`: Add `ITransformERC20Contract`.
2020-06-11 23:50:25 -04:00
Lawrence Forman
2a81e468c7
@0x/contracts-zero-ex: Add transformer decoders
2020-06-11 23:49:52 -04:00
Lawrence Forman
0ba67a363e
@0x/instant: Pin asset-swapper version.
2020-06-11 23:49:52 -04:00
Lawrence Forman
deae846864
@0x/contracts-broker: Fix broken tests.
2020-06-11 23:49:52 -04:00
Lawrence Forman
3a0d48ad77
Run broker tests on CI
2020-06-11 23:49:52 -04:00
Jacob Evans
81d4803b4d
fix: UniswapV2 path order ( #2601 )
2020-06-12 13:26:56 +10:00
mzhu25
e936c7c507
Merge pull request #2593 from 0xProject/feature/multibridge/asset-swapper
...
Add MultiBridge support to AssetSwapper
2020-06-11 14:26:32 -07:00
F. Eugene Aumson
ad868af96e
asset-swapper: use RFQT-specific response types
...
@0x/quote-server was recently updated to offer RFQT- and RFQM-specific
types, in addition to abstracted types. Since everything here is RFQT
specific, usage has been changed to use those specific types.
Addresses review comments
https://github.com/0xProject/0x-monorepo/pull/2582#discussion_r437623138
and
https://github.com/0xProject/0x-monorepo/pull/2582#discussion_r437625305
2020-06-11 15:57:49 -04:00
Michael Zhu
cd14a45414
Update sampler artifacts/wrappers
2020-06-11 12:47:54 -07:00
F. Eugene Aumson
f7cd7110ea
asset-s: Remove erroneous addition of API key
...
It was added due to the introduction of the use of the TakerRequest type
from @0x/quote-server, as it's included in that structure. However,
that structure is primarily used within the quote server as the output
of parameter parsing, and that parsing routine transforms the API key
HEADER from the request into the TakerRequest type. In short, the API
key is input as a header, not a parameter.
Addresses review comment
https://github.com/0xProject/0x-monorepo/pull/2582#discussion_r437624647
2020-06-11 14:17:45 -04:00
Michael Zhu
44262bf747
MultiBridge support in AssetSwapper
2020-06-11 11:14:48 -07:00
Xianny
0fbbabe208
Add Uniswap V2 support to @0x/asset-swapper ( #2599 )
...
* add uniswapV2
* update changelogs
* remove unused import
* add tests for Uniswap V2 ETH
* rename UniswapV2 and UniswapV2Eth
* use correct token address path
* update contract addresses after deploy
2020-06-11 10:23:50 -07:00
Lawrence Forman
b39189fde3
Merge pull request #2594 from 0xProject/feat/contracts-zero-ex/AffiliateFeeTransformer
...
Exchange Proxy: AffiliateFeeTransformer
2020-06-08 22:24:17 -04:00
Lawrence Forman
18fc1d78f4
@0x/contracts-zero-ex: Rebase
2020-06-08 21:34:09 -04:00
Lawrence Forman
d44a91d10b
@0x/contracts-zero-ex: Address review feedback.
2020-06-08 21:33:27 -04:00
Lawrence Forman
5e9829b2d8
@0x/contracts-zero-ex: Add AffiliateFeeTransformer tests.
2020-06-08 21:33:27 -04:00
Lawrence Forman
2176deae36
@0x/contracts-zero-ex: Rebase
2020-06-08 21:33:27 -04:00
Lawrence Forman
7c5035aa39
@0x/contracts-zero-ex: Use array of structs in AffiliateFeeTransformer data.
2020-06-08 21:33:27 -04:00
Lawrence Forman
5707993995
@0x/contracts-zero-ex: Add AffiliateFeeTransformer.
2020-06-08 21:33:26 -04:00
Lawrence Forman
f81697527c
Merge pull request #2592 from 0xProject/feat/zero-ex/transformer-deployer
...
Exchange Proxy: TransformerDeployer
2020-06-08 20:30:09 -04:00
Lawrence Forman
967eff4c58
Merge pull request #2597 from 0xProject/fix/zero-ex/transform-erc20-audit
...
Exchange Proxy: Address audit feedback (2)
2020-06-08 20:29:27 -04:00
F. Eugene Aumson
d5d07dd34e
Merge branch 'development' into feat/asset-swapper/use-quote-server
2020-06-08 19:15:07 -04:00
F. Eugene Aumson
b91cc3781d
asset-swapper: Use newer @0x/quote-server
2020-06-08 18:07:59 -04:00
Lawrence Forman
87ed0071c4
@0x/contracts-zero-ex: Make TransformerDeployer boring.
2020-06-08 15:30:56 -04:00
Lawrence Forman
0fed48630c
@0x/contracts-zero-ex: Add TransformDeployer contract.
2020-06-08 15:30:56 -04:00
Lawrence Forman
7b3e7c98ac
@0x/contracts-zero-ex: Add missing docstrings + fix compilation errors.
2020-06-08 15:28:27 -04:00
Lawrence Forman
09f44b0375
Update changelogs
2020-06-08 15:28:27 -04:00
Lawrence Forman
ebfa62637e
@0x/contracts-zero-ex: Address audit feedback.
2020-06-08 15:28:27 -04:00
Lawrence Forman
cb2cc05cac
@0x/contracts-erc20: Update LibERC20TokenV06 comments.
2020-06-08 15:28:27 -04:00
Lawrence Forman
f9c9131d81
@0x/contracts-utils: Update V06 contracts to get around 0.6.9 docstring errors
2020-06-08 15:28:27 -04:00
Lawrence Forman
1be9a1cbc7
@0x/utils: Update ZeroExRevertErrors.
2020-06-08 15:28:27 -04:00
F. Eugene Aumson
b7fda8ecf0
Merge pull request #2598 from 0xProject/fix/py-ci-mypy-0.780
...
Python: pin mypy to <= 0.770
2020-06-08 12:27:30 -04:00
F. Eugene Aumson
db16392821
Python: pin mypy to <= 0.770
...
See also https://github.com/python/mypy/issues/8953
2020-06-08 11:51:38 -04:00
Xianny
7127f541c3
UniswapV2Bridge ( #2590 )
...
* implement UniswapV2 Bridge
* More tests for UniswapV2Bridge
* cleanup and remove ERC20BridgeSampler changes
* enable multihop; address review comments
* solidity 0.6.9 doesnt allow devdoc for public storage vars
* codestyle improvements
2020-06-05 11:56:52 -07:00
Lawrence Forman
32793cc008
Merge pull request #2595 from 0xProject/feat/erc20-bridge-sampler/uniswapv2-tests
...
Add Uniswap V2 to ERC20BridgeSampler
2020-06-04 12:14:07 -04:00
xianny
fbaf55cb25
update @0x/contract-artifacts and @0x/contract-wrappers
2020-06-03 13:45:35 -07:00
xianny
b8d51fc4e8
rename contract to UniswapV2Router01
...
https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/UniswapV2Router01.sol
2020-06-03 12:08:08 -07:00
Lawrence Forman
0c6e05d220
Merge pull request #2576 from 0xProject/feat/contracts-zero-ex/0x-api-erc20-transformers
...
ZeroEx: ERC20 Transformers
2020-06-03 14:09:20 -04:00
Lawrence Forman
4066c17a0f
@0x/contracts-erc20-bridge-sampler: Add UniswapV2.
2020-06-03 14:01:09 -04:00
Lawrence Forman
429f2bb8dd
@0x/contracts-utils: Add UniswapV2 to DeploymentConstants.
2020-06-03 13:57:59 -04:00
Lawrence Forman
112f4fc4f0
@0x/contracts-zero-ex: Address review comments.
2020-06-02 22:01:22 -04:00
Lawrence Forman
ecfbd6280f
@0x/contracts-zero-ex: Address review feedback.
2020-05-28 11:56:59 -04:00
Lawrence Forman
bf84409839
@0x/utils: Update InvalidTransformDataError.
2020-05-28 11:56:59 -04:00
Lawrence Forman
a7ce72cae0
@0x/contracts-zero-ex: Rebase against development
2020-05-28 11:56:59 -04:00
Lawrence Forman
28402ff7d8
@0x/contracts-zero-ex: Add self-destructing to transformers
2020-05-28 11:56:59 -04:00
Lawrence Forman
e1d213d1a3
@0x/utils: Add more transformer revert errors.
2020-05-28 11:56:59 -04:00
Lawrence Forman
c610dd96f5
@0x/contracts-zero-ex: Rebase, returning nonces in transform().
2020-05-28 11:56:59 -04:00
Lawrence Forman
2ba3818b65
@0x/contracts-zero-ex: Introduce transformer contracts.
2020-05-28 11:56:59 -04:00
Lawrence Forman
0e1a5a375a
@0x/contracts-test-utils: Add msg param to assertIntegerRoughlyEquals
2020-05-28 11:56:59 -04:00
Lawrence Forman
cfc3daeb65
@0x/utils: Add ERC20 transformer revert errors.
2020-05-28 11:56:59 -04:00
Lawrence Forman
6359f1950e
@0x/contracts-zero-ex: Address review feedback.
2020-05-28 11:56:59 -04:00
Lawrence Forman
d2f581853d
@x/utils: Address review feedback.
2020-05-28 11:56:59 -04:00
Lawrence Forman
030cb285da
@0x/contracts-zero-ex: Use immutable owner in Puppet instead of Ownable.
2020-05-28 11:56:59 -04:00
Lawrence Forman
af45409959
@0x/contracts-zero-ex: Revamp TransformERC20.
2020-05-28 11:56:59 -04:00
Lawrence Forman
d9a9bc35e3
@0x/zero-ex: Rebase and use "slot" instead of "offset" language in storage buckets.
2020-05-28 11:56:59 -04:00
Lawrence Forman
c911c3352c
@0x/contracts-zero-ex: Make TokenSpender's puppet contract a distinct contract type and rename getTokenSpenderPuppet() to getAllowanceTarget()
2020-05-28 11:56:58 -04:00
Lawrence Forman
654abbac25
@0x/contracts-zero-ex: Introduce the TransformERC20 feature.
2020-05-28 11:56:58 -04:00
Lawrence Forman
46d5f42c9d
@0x/utils: Add new ZeroExRevertErrors revert types
2020-05-28 11:56:58 -04:00
Lawrence Forman
1509da1215
@0x/contracts-utils: Convert more 0.6 contracts
2020-05-28 11:56:58 -04:00
F. Eugene Aumson
98a99d96aa
Merge pull request #2588 from 0xProject/feuGeneA-patch-4
...
asset-swapper: For RFQ, don't log error status code if there isn't one
2020-05-27 19:31:43 -04:00
F. Eugene Aumson
d62d81af17
Update quote_requestor.ts
2020-05-27 14:19:24 -04:00
Lawrence Forman
dba67eb927
asset-swapper: Increase timeout for tests. ( #2587 )
...
* `@0x/asset-swapper`: Increase timeout for tests.
* Update packages/asset-swapper/CHANGELOG.json
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
2020-05-27 09:51:20 -04:00
Lawrence Forman
548c30d6a0
ZeroEx: Audit Fixes ( #2586 )
...
* `@0x/utils`: Remove unused revert error.
* `@0x/contracts-zero-ex`: Address audit feedback.
2020-05-26 20:57:55 -04:00
F. Eugene Aumson
1b8b9186a8
asset-swapper: Fix test-publish
2020-05-26 18:46:19 -04:00
F. Eugene Aumson
a8cfcfb371
Fix test-publish CI failure
2020-05-26 15:24:43 -04:00
F. Eugene Aumson
f7a414bc29
asset-s/RFQ: adapt to renamed TakerRequest fields
2020-05-26 15:24:42 -04:00
F. Eugene Aumson
e05cd1d66b
asset-s/QuoteRequestor: use TakerRequest type
2020-05-26 15:24:38 -04:00
F. Eugene Aumson
511cd90c44
Merge pull request #2585 from 0xProject/fix/asset-swapper/rfqt-error-status-logging
...
asset-s/QuoteRequestor: fix statusCode logging
2020-05-21 18:43:04 -04:00
F. Eugene Aumson
8fb2d8da88
asset-s/QuoteRequestor: fix statusCode logging
2020-05-21 16:37:37 -04:00
Lawrence Forman
2fce332ed7
ZeroEx: TransformERC20, TokenSpender ( #2545 )
...
* `@0x/contracts-utils`: Convert more 0.6 contracts
* `@0x/contracts-erc20`: Add solidity 0.6 contracts.
* `@0x/utils`: Add new `ZeroExRevertErrors` revert types
* `@0x/contracts-zero-ex`: Introduce the `TransformERC20` feature.
* `@0x/subproviders`: Update ganache-core.
`@0x/web3-wrapper`: Update ganache-core.
* `@0x/contracts-zero-ex`: Make `TokenSpender`'s puppet contract a distinct contract type and rename `getTokenSpenderPuppet()` to `getAllowanceTarget()`
* `@0x/zero-ex`: Rebase and use "slot" instead of "offset" language in storage buckets.
* `@0x/web3-wrapper`: Add `getAccountNonceAsync()` to `Web3Wrapper`
* `@0x/contracts-zero-ex`: Revamp TransformERC20.
* `@0x/contracts-zero-ex`: Remove `payable` from `IERC20Transformer.transform()` and disable hex capitalization linter rule because of prettier conflicts.
* `@0x/contracts-zero-ex`: Use `immutable` owner in `Puppet` instead of `Ownable`.
* `@x/utils`: Address review feedback.
* `@0x/contracts-zero-ex`: Address review feedback.
* `@0x/contracts-utils`: Address review feedback.
* `@0x/contracts-zero-ex`: Return deployment nonce in `transform()`.
* `@0x/contracts-zero-ex`: Finish returning deployment nonce in `transform()`.
* `@0x/contracts-zero-ex`: Fix doc-gen bug.
* `@0x/contracts-zero-ex`: Address review comments.
* `@0x/utils`: Add `NegativeTransformERC20OutputERror`
* `@0x/contracts-zero-ex`: Revert if the taker's output amount decreases.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-05-20 22:47:21 -04:00
Francesco Agosti
b23f1eb145
Merge pull request #2583 from 0xProject/feat/estimated-gas-token-refund
...
Expose fills object in asset-swapper quote orders
2020-05-20 14:56:49 -07:00
fragosti
f694072b5a
Run prettier
2020-05-20 14:20:54 -07:00
fragosti
10de266e0f
Remove unused variable SignedOrderWithFillableAmounts
2020-05-20 13:13:01 -07:00
fragosti
71811ed04f
Remove unused variable
2020-05-20 12:53:58 -07:00
fragosti
e9638ef95e
Add to changelog
2020-05-20 12:52:35 -07:00
fragosti
5226bb5596
Expose fills in asset-swapper quote
2020-05-20 12:50:15 -07:00
F. Eugene Aumson
b9984b6df4
asset-swapper: fix bug: bad maker response throws
...
Formerly, a maker sending back a non-JSON was causing an exception to be
thrown.
2020-05-15 01:20:30 -04:00
F. Eugene Aumson
9c11835fee
asset-s: use @0x/quote-server, not local typedefs
2020-05-15 01:20:29 -04:00
F. Eugene Aumson
d9e13d6b99
Merge pull request #2581 from 0xProject/fix/asset-swapper/rfqt-logging
...
asset-swapper: Improve logging for 0x API consumption
2020-05-11 19:13:07 -04:00
F. Eugene Aumson
dede076835
asset-s/QuoteRequestor: clarify axios error type
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2581#discussion_r423337773
2020-05-11 18:34:32 -04:00
F. Eugene Aumson
c929782e0d
asset-swapper/RFQT: Log params sent to maker
...
* Include in RFQ-T info log entry the query parameters that were sent to
the maker.
* Re-organize log entry
* Rename top-level field from rfqtMakerResponse to
rfqtMakerInteraction.
* Create separate `request` and `response` sub-objects.
* Rename field `latency` to `latencyMs`.
2020-05-11 18:01:06 -04:00
F. Eugene Aumson
a43c7e36f8
asset-swapper/RFQT: log maker response metadata
2020-05-11 17:40:19 -04:00
F. Eugene Aumson
b95cec9c32
asset-swapper: fix bug: RFQ-T info log was broken
2020-05-11 17:39:30 -04:00
F. Eugene Aumson
9a7d9abe3c
asset-swapper: consolidate RFQ-T usage of Axios
2020-05-11 13:52:42 -04:00
F. Eugene Aumson
c77b620453
asset-swapper: Improve RFQ-T logging for 0x API
...
* Change QuoteRequestor logger parameters to conform to pino logging
library, duplicating (one of) their LogFunction prototype interfaces for
our purposes here. With this, every log emission now includes BOTH a
human-readable message AND a JSON object. Also, this pattern has been
applied to both the error logger and the info logger.
* Do better handling of Axios errors when logging them. Before we were
(a) logging errors in a separate log entry than the message that
explains it, and (b) dumping the whole error object to the log entry,
which was resulting in an object so massive that pino/Kibana was
splitting it into 3 separate entries. Now, we (a) follow the pattern
described in the previous bullet, which puts the error object and the
human readable message into the same log entry, and (b) we check to see
if an error object is Axios-specific, and if so then we use the
AxiosError.toJSON() method to strip out the irrelevant properties.
* Log a uniform maker response metric, with maker endpoint URL, status
code, and latency, for both successful cases and erroneous ones.
(Before, we were only doing this for successful cases.)
2020-05-11 13:38:37 -04:00
Lawrence Forman
b348084e2a
@0x/zero-ex: Always offset storage bucket ID by 1. (#2579 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-05-08 20:13:45 -04:00
F. Eugene Aumson
ff1811ef90
Merge pull request #2574 from 0xProject/rfqt-follow-ups
...
asset-swapper: RFQ-T follow ups
2020-05-07 17:44:02 -04:00
F. Eugene Aumson
39cf4a7576
Ran prettier...on development code! wtf?
...
Maybe something weird happened in the merge conflict resolution? Though
I didn't see anything in particular.
2020-05-07 01:39:22 -04:00
F. Eugene Aumson
21b67625a6
Merge branch 'development' into rfqt-follow-ups
2020-05-07 01:07:41 -04:00
Jacob Evans
fb0311e675
feat: ERC20BridgeSampler Unlock Kyber collisions ( #2575 )
...
* feat: ERC20BridgeSampler Unlock Kyber collisions
* Updated fallback strategy
* Address comments
* Eth2Dai hop sampler
* Update packages/asset-swapper/src/utils/market_operation_utils/index.ts
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
* Set DFB expiry to 2hr
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2020-05-07 07:56:03 +10:00
F. Eugene Aumson
8a14b4afff
asset-swapper: clarify comment
...
This comment recently got moved from one context to another. In the old
context, the whole comment made sense, but in the new context it needed
paring down.
2020-05-06 13:24:20 -04:00
F. Eugene Aumson
e42701599a
asset-s/RFQT: log each maker resp. time, not agg.
...
Log each maker's individual response times, rather than logging them in
aggregate.
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2574#discussion_r419769846
2020-05-06 13:23:35 -04:00
F. Eugene Aumson
352b1b43f2
asset-s: restore type safety to rfqt.skipBuyReq's
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2574#discussion_r420465928
2020-05-06 13:16:23 -04:00
F. Eugene Aumson
2922ebd095
asset-s/test: stop unnecessarily priming mock
...
Addresses review comment 93bdaba8ee (r419774170)
2020-05-05 17:17:47 -04:00
F. Eugene Aumson
a9e72085dd
asset-s: fix bug handling RFQ-T skipBuyRequest
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2574#discussion_r419772045
2020-05-05 17:17:47 -04:00
F. Eugene Aumson
ed3d194c90
asset-s: ignore case verifying RFQT taker address
...
Do case INsensitive comparison when verifying that RFQ-T firm quote
contains the requested taker address.
This commit also introduces some changes around the RfqtRequestOpts
parameter. Without these changes, there were errors (tsc or tslint?
can't remember) about takerAddress being possibly undefined.
Rather than asserting it yet again (which we're already doing via
assertTakerAddressOrThrow()), I decided to change the RfqtRequestOpts
param to be required, not optional. Coincidentally, this brings the
requestRfqtFirmQuotesAsync() interface into alignment with the
requestRfqtIndicativeQuotesAsync() one, which already requires the
options parameter.
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2574#discussion_r419770087
2020-05-05 17:17:46 -04:00
F. Eugene Aumson
125c53827b
asset-s: check RFQ expiry more canonically
...
For firm quotes, re-use orderCalculationUtils.willOrderExpire(), just
like utils.order_prune_utils.
For indicative quotes, duplicate the logic used in that
willOrderExpire() function, since it can't be re-used for an indicative
quote (it's not a full Order object), and since the logic is very
minimal.
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2574#discussion_r419768395
2020-05-05 17:16:48 -04:00
F. Eugene Aumson
38781807cd
asset-s: simplify test util usage
2020-05-05 12:53:31 -04:00
F. Eugene Aumson
c046943269
asset-s: fix bug: expiry is BigNumber, not string
2020-05-05 12:43:41 -04:00
Lawrence Forman
fe36cd86bb
Merge pull request #2573 from 0xProject/fix/contracts-zero-ex/initial-migration-self-destruct
...
ZeroEx: InitialMigration Race Condition/Self-destruct
2020-04-30 15:02:16 -04:00
F. Eugene Aumson
401410089c
asset-s/QuoteRequestor: info log Objects, not strs
...
In the QuoteRequestor class, when _infoLogger() is used, log objects
directly, rather than stringifying them first. This changes the 0x API
log rendering from
{"level":"info","time":1588209135290,"pid":13022,"hostname":"precision5510","msg":"{\"aggregatedRfqtLatencyMs\":4}","v":1}
to
{"level":"info","time":1588224481908,"pid":3637,"hostname":"precision5510","aggregatedRfqtLatencyMs":2,"v":1}
This facilitates parsing of these logs by Kibana.
2020-04-30 01:32:06 -04:00
F. Eugene Aumson
fa23337519
asset-swapper: Ran prettier
2020-04-29 17:50:16 -04:00
F. Eugene Aumson
ae5421f76e
asset-s: Use expiryBufferMs to filter RFQ-T quotes
2020-04-29 17:24:51 -04:00
F. Eugene Aumson
a2e2b429d5
asset-s: exclude RFQ-T orders w/ bad takerAddress
2020-04-29 17:24:42 -04:00
F. Eugene Aumson
ac852b23b3
asset-s: allow disabling of buy req's for RFQ-T
2020-04-29 17:23:16 -04:00
F. Eugene Aumson
e12389a002
asset-s: don't ignore default SwapQuoter RFQT opts
2020-04-29 17:23:16 -04:00
F. Eugene Aumson
da18e42d2a
asset-s: Fix prettier command to match monorepo's
2020-04-29 17:23:15 -04:00
F. Eugene Aumson
93bdaba8ee
asset-s: skip RFQT makers not supporting reqd pair
...
Skip querying an RFQ-T maker for a quote when the requested asset pair
isn't supported by that maker.
2020-04-29 17:23:10 -04:00
F. Eugene Aumson
4cb08a61d5
asset-s: RFQT info logger; log maker response time
2020-04-29 17:22:59 -04:00
Lawrence Forman
133692ca92
@0x/contract-wrappers-test: Increase test timeout for CI
2020-04-29 17:11:00 -04:00
F. Eugene Aumson
4bcc4b3cf8
asset-s: relay expiration time in indicative quote
2020-04-29 15:45:35 -04:00
F. Eugene Aumson
4eb20ca4b6
asset-s/QuoteRequestor: use constructor assignment
2020-04-29 15:45:35 -04:00
Lawrence Forman
69f7343be5
@0x/contracts-zero-ex: Lock the caller of InitialMigration.deploy() and actually self-destruct.
2020-04-29 14:26:55 -04:00
F. Eugene Aumson
19b28a58d6
Merge pull request #2544 from 0xProject/fix/pyfail-dupe-docstrings
...
Python: unpin Sphinx dependency, clean up warnings
2020-04-29 13:53:18 -04:00
Lawrence Forman
3c33a93b9c
Merge pull request #2572 from 0xProject/feat/contracts-zero-ex/syntactic-sugar-1
...
ZeroEx: Switch rich revert style.
2020-04-29 13:52:39 -04:00
Lawrence Forman
f2e16dfb21
@0x/contracts-zero-ex: Switch rich revert style.
...
`@0x/contracts-zero-ex`: Merge `FixinOwnable` -> `FixinCommon`.
2020-04-29 13:01:19 -04:00
F. Eugene Aumson
0f689e8051
Merge pull request #2571 from 0xProject/fix/pylint-upgrade
...
Python: adapt to latest version of pylint
2020-04-29 12:15:31 -04:00
F. Eugene Aumson
5b44e6ef64
Python: adapt to latest version of pylint
2020-04-29 10:10:18 -04:00
Lawrence Forman
49e4ade66f
Merge pull request #2570 from 0xProject/fix/redeploy-sampler-on-kovan
...
`@0x/contract-addresses`: Redeploy sampler on kovan
2020-04-28 17:33:02 -04:00
Lawrence Forman
3bae27d039
@0x/contract-addresses: Redeploy sampler on kovan
2020-04-28 15:05:51 -04:00
Lawrence Forman
a77f0c606d
Merge pull request #2569 from 0xProject/feat/contracts-zero-ex/iownable-compat
...
ZeroEx: IOwnable(V06) compatibility
2020-04-28 14:29:33 -04:00
Lawrence Forman
f1de64dcaf
@0x/contracts-zero-ex: Make Ownable feature conform to IOwnable.
2020-04-28 12:16:30 -04:00
Lawrence Forman
feb672c3cd
@0x/contracts-utils: Make IOwnableV06 conform to IOwnable.
2020-04-28 12:16:11 -04:00
mzhu25
a90b463a7d
Merge pull request #2567 from 0xProject/fix/instanceof-array-isArray
...
instanceof Array -> Array.isArray
2020-04-28 01:03:02 -07:00
Jacob Evans
5f5f25c978
fix: contract-addresses ERC20BridgeSampler ( #2568 )
...
* fix: contract-addresses ERC20BridgeSampler
* CHANGELOG
2020-04-28 17:48:32 +10:00
Michael Zhu
351ea8bc1c
instanceof Array -> Array.isArray
2020-04-27 18:28:56 -07:00
Jacob Evans
b34edcbf87
[asset-swapper] clip native fill data ( #2565 )
...
* [asset-swapper] clip native fill data
* Test for createFillPaths
* CHANGELOG
2020-04-25 08:44:48 +10:00
Alex Towle
160519e1fe
Merge pull request #2566 from 0xProject/fix/dangling-promises-asset-swapper
...
[asset-swapper] Fixed dangling promises
2020-04-24 16:53:30 -05:00
Alex Towle
44d626e12e
Changed style
2020-04-24 13:31:47 -05:00
Alex Towle
efb9dc51c9
Fix linting error
2020-04-24 13:07:15 -05:00
Alex Towle
deb51434fd
Fixed dangling promises
2020-04-24 12:44:05 -05:00
Lawrence Forman
501070bfb0
Merge pull request #2564 from 0xProject/feat/contracts-zero-ex/consolidate-bootstrap-features
...
ZeroEx: Merge Migrate and Ownable Features
2020-04-24 01:43:04 -04:00
Lawrence Forman
712958d8c8
@0x/asset-swapper: Fix sporadically failing quote simulation tests.
2020-04-24 01:07:16 -04:00
Lawrence Forman
4d8d944fe5
@0x/contracts-utils: Update package.json
2020-04-24 01:06:44 -04:00
Lawrence Forman
0042e42160
@0x/contracts-zero-ex: Merge Migrate into Ownable
2020-04-24 01:06:44 -04:00
Lawrence Forman
85509ea251
@0x/utils: ZeroExRevertErrors.Migrate -> ZeroExRevertErrors.Ownable
2020-04-24 01:06:44 -04:00
Jacob Evans
6063854d06
Add Curve sUSD ( #2563 )
2020-04-24 07:06:36 +10:00
F. Eugene Aumson
456f8a90b1
Merge pull request #2562 from 0xProject/feature/rfqt-warning-logger
...
asset-swapper: support RFQ-T logger callback
2020-04-23 01:48:43 -04:00
F. Eugene Aumson
980246d07a
asset-swapper: use lambda not .bind()
2020-04-23 01:11:15 -04:00
F. Eugene Aumson
141c30b173
asset-swapper: remove debug logging
2020-04-23 01:08:26 -04:00
F. Eugene Aumson
22f9b03fce
asset-swapper: Remove superfluous conditional
2020-04-23 01:07:57 -04:00
Lawrence Forman
be2db504b9
Merge pull request #2561 from 0xProject/feat/contracts-zero-ex/unused-storage-id
...
ZeroEx: Add `Unused` to `StorageId` enum
2020-04-23 00:23:35 -04:00
Jacob Evans
cac6f5234f
Collapse on-chain sources into DexForwarderBridge ( #2560 )
...
* Collapse on-chain sources into DexForwarderBridge
* Fix tests. CHANGELOG
2020-04-23 13:12:46 +10:00
F. Eugene Aumson
eb6b32b6ee
asset-swapper: support RFQ-T logger callback
...
For use in integrations that have specific log formats to adhere to.
2020-04-22 20:59:17 -04:00
F. Eugene Aumson
07acc9529e
Merge pull request #2555 from 0xProject/rfq-t-indicative
...
asset-swapper: RFQ-T indicative quotes
2020-04-22 16:34:02 -04:00
Lawrence Forman
f7f0152573
@0x/contracts-zero-ex: Add Unused to StorageId enum
2020-04-22 16:06:49 -04:00
F. Eugene Aumson
153533f1d5
Fix bug in prior revision: wrong asset data
...
I tried to get fancy back in 5effc6ec90 .
I changed something more than the single refactor targetted by the
commit, and it broke things! This reverts part of that commit,
restoring clean runs of 0x API tests.
2020-04-22 11:58:09 -04:00
F. Eugene Aumson
11622c586a
asset-s: Add RfqtRequestOpts.isIndicative
2020-04-22 11:58:09 -04:00
Lawrence Forman
7396bb508a
Merge pull request #2540 from 0xProject/feat/contracts/zero-ex
...
ZeroEx: Universal proxy
2020-04-21 23:37:35 -04:00
Lawrence Forman
7df6530f3a
@0x/contracrts-zero-ex: Address more review comments.
2020-04-21 22:29:46 -04:00
Lawrence Forman
80787456fa
@0x/contracts-zero-ex: Fix comments.
2020-04-21 22:29:46 -04:00
Lawrence Forman
4446ac1ca3
@0x/contracts-zero-ex: Use (scaled) enums for storage IDs
2020-04-21 22:29:46 -04:00
Lawrence Forman
220039ab00
@0x/contracts-zero-ex: Allow any call target to bootstrap().
2020-04-21 22:29:46 -04:00
Lawrence Forman
12f2250ab5
@0x/contracts-zero-ex: bootstrap() is now a temporary feature, registered in the ZeroEx constructor.
...
`@0x/contracts-zero-ex`: `bootstrap()` de-registers itself and self-destructs once it's called.
`@0x/contracts-zero-ex`: `bootstrap()` now takes arbitrary call data, but the callee is fixed in an immutable.
`@0x/contracts-zero-ex`: `bootstrap()` caller is fixed in an immutable.
`@0x/contracts-zero-ex`: `bootstrap()` only calls a single target.
`@0x/contracts-zero-ex`: Renamed `BasicMigration` to `InitialMigration`.
`@0x/contracts-zero-ex`: `InitialMigration` is now the bootstrap target and multiplexes to the initial features.
`@0x/contracts-zero-ex`: Add `Migrate` feature and tests.
`@0x/contracts-zero-ex`: Re-organize contract locatins (remove `interfaces` folder).
2020-04-21 22:29:46 -04:00
Lawrence Forman
0c33aa16a1
@0x/utils: Add more ZeroEx rich reverts.
...
`@0x/utils: Display revert error payload in stack traces.
2020-04-21 22:29:46 -04:00
Lawrence Forman
72908b02fe
@0x/contracts-zero-ex: Address review feedback.
...
`@0x/contracts-zero-ex`: Add target implementation address to `rollback()`.
`@0x/contracts-zero-ex`: Add storage ID uniqueness test.
`@0x/contracts-zero-ex`: Add rollback history querying functions to `SimpleFunctionRegistry`.
2020-04-21 22:29:46 -04:00
Lawrence Forman
223aa04424
@0x/utils: Change SimpleFunctionRegistry NoRollbackHistoryError to NotInRollbackHistoryError.
2020-04-21 22:29:46 -04:00
Lawrence Forman
e53248cca6
@0x/sol-compiler: Address review feedback.
2020-04-21 22:29:46 -04:00
Lawrence Forman
c11d661b39
@0x/contracts-zero-ex`: Create ZeroEx (proxy) contracts
2020-04-21 22:29:46 -04:00
Lawrence Forman
4212a08337
@0x/contracts-utils: Add solidity 0.6 contracts
2020-04-21 22:29:46 -04:00
Lawrence Forman
c0553fa9eb
Add @0x/contracts-zero-ex project to monorepo.
...
Tweak circleci config to avoid running out of memory.
2020-04-21 22:29:46 -04:00
Lawrence Forman
7f26fafed7
@0x/utils: ZeroExRevertErrors.
2020-04-21 22:29:46 -04:00
Lawrence Forman
3e9309c003
@0x/sol-compiler: Strip receive functions from 0.6 ABI output
2020-04-21 22:29:46 -04:00
Lawrence Forman
1017707475
ethereum-types: Update MethodAbi definition for solidity 0.6
2020-04-21 22:29:46 -04:00
F. Eugene Aumson
e8ff5da209
asset-swapper: update CHANGELOG
2020-04-21 01:49:28 -04:00
F. Eugene Aumson
03ed3ac1b0
Merge branch 'development' into rfq-t-indicative
2020-04-21 00:50:50 -04:00
F. Eugene Aumson
2c97208e74
asset-s: simplify type with ?, not |undefined
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411081841
2020-04-21 00:49:30 -04:00
Jacob Evans
a458e81f8d
ERC20BridgeSampler: Additional Buy support ( #2551 )
...
* ERC20BridgeSampler: Sample Curve Buy
* Fake Buy Kyber/PLP
* Deploy mainnet
* Add Kyber rates for buy tests
* CHANGELOGs
* Provide maxIterations and targetSlippage as options
* Cleanup ERC20BridgeSampler for re-use
* Redeploy Mainnet Kovan
* Feedback fixes
* Handle OOG/revert 0s
* Redeploy Mainnet refactor
2020-04-21 13:26:12 +10:00
F. Eugene Aumson
83289bc801
asset-s: consider falsey takerAddress as absent
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411543876
2020-04-20 22:56:44 -04:00
F. Eugene Aumson
ba2ac6a7b5
asset-s: Clarify indicative quote enablement
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411498729
2020-04-20 22:56:44 -04:00
F. Eugene Aumson
245b6da577
asset-s: Require RfqtRequestOpts.intentOnFilling
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411083497
2020-04-20 22:56:44 -04:00
F. Eugene Aumson
8875f924b0
asset-s: test requestRfqtIndicativeQuotesAsync
2020-04-20 22:56:44 -04:00
F. Eugene Aumson
ad7868ebe1
asset-s: clean up order faking for indicative RFQT
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411545804
2020-04-20 22:56:44 -04:00
F. Eugene Aumson
5effc6ec90
asset-swapper: extract method
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r411514718
2020-04-20 22:56:43 -04:00
F. Eugene Aumson
4cc9ceabd2
asset-swapper: Rm unused ERC20BridgeSource.Rfqt
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2555#discussion_r410517580
2020-04-20 22:56:43 -04:00
F. Eugene Aumson
464c918134
asset-swapper: test RFQT indicative quote handling
2020-04-20 22:56:43 -04:00
F. Eugene Aumson
2456adcb68
asset-swapper: validate RFQT indicative quotes
...
Validate that the responses returned from maker endpoints both conform
to expected JSON schema data types and also have the expected asset
data, per the taker's request.
2020-04-20 22:56:43 -04:00
F. Eugene Aumson
45bc967f30
asset-swapper: Differentiate RFQT warning messages
2020-04-17 02:34:36 -04:00
F. Eugene Aumson
d6d4d29257
asset-swapper: RFQ-T indicative quotes
...
These changes have been exercised via mocha tests in the 0x-api repo.
Not sure why I had to add GetMarketOrdersRfqtOpts to the package
exports. `yarn test:generate_docs:circleci` said:
$ node ./packages/monorepo-scripts/lib/doc_generate.js --package @0x/asset-swapper
GENERATE_DOCS: Generating Typedoc JSON for @0x/asset-swapper...
GENERATE_DOCS: Generating Typedoc Markdown for @0x/asset-swapper...
GENERATE_DOCS: Modifying Markdown To Exclude Unexported Items...
Error: @0x/asset-swapper package needs to export:
GetMarketOrdersRfqtOpts
From it's index.ts. If any are from external dependencies, then add them to the EXTERNAL_TYPE_MAP.
at DocGenerateUtils._lookForMissingReferenceExportsThrowIfExists (/root/repo/packages/monorepo-scripts/lib/utils/doc_generate_utils.js:288:19)
at DocGenerateUtils.<anonymous> (/root/repo/packages/monorepo-scripts/lib/utils/doc_generate_utils.js:255:34)
at step (/root/repo/packages/monorepo-scripts/lib/utils/doc_generate_utils.js:32:23)
at Object.next (/root/repo/packages/monorepo-scripts/lib/utils/doc_generate_utils.js:13:53)
at fulfilled (/root/repo/packages/monorepo-scripts/lib/utils/doc_generate_utils.js:4:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
2020-04-17 02:34:36 -04:00
F. Eugene Aumson
33fdfdc8c0
asset-swapper: Extract method inferQueryParams
...
For use in upcoming implementation of indicative quotes.
2020-04-17 01:18:46 -04:00
F. Eugene Aumson
80c8712b2a
asset-swapper: Rm unused field in SwapQuoterOpts
2020-04-17 01:18:28 -04:00
F. Eugene Aumson
957e3eb93c
asset-swapper: Restructure RFQ-T request options
...
There's one subtlety here: apiKey has been moved to be within the rfqt
namespace, after talking to Fabio and discovering that he only needs to
re-use the API key in 0x API, not in asset-swapper.
2020-04-17 01:18:07 -04:00
F. Eugene Aumson
110e1afa8e
Merge pull request #2541 from 0xProject/rfq-t
...
asset-swapper: RFQ-T firm quotes
2020-04-15 15:24:48 -04:00
F. Eugene Aumson
1da8f68871
migrations: Add independent yarn prettier script
2020-04-15 14:17:03 -04:00
F. Eugene Aumson
513ddb4cca
Merge branch 'development' into rfq-t
2020-04-15 11:12:30 -04:00
F. Eugene Aumson
3bdfcb8542
Update {asset-s,migrat,contract-ad}* CHANGELOGs
2020-04-15 01:47:13 -04:00
F. Eugene Aumson
aee758eca2
Fix bug: Stop ignoring default SwapQuoteRequestOps
...
SwapQuoter._getSwapQuoteAsync() was merging defaults into the options
sent into SwapQuoteCalculator.calculateMarket{Buy,Sell}SwapQuoteAsync(),
but it was using the unmerged options function parameter for the RFQ-T
options and also for the gas price option.
2020-04-15 01:47:01 -04:00
Steve Klebanoff
47ef7fffce
RFQ-T: validate assetData & add more tests ( #2552 )
...
* test for returning a 200 with invalid data, and additonal logging for that case
* Ensure RFQ-T response has asset data we expect
* validate signed order schema
* give more descriptive variable names and test an unsigned order
* takeout unused var
2020-04-15 00:11:37 -04:00
F. Eugene Aumson
58d6256607
Bug fix: RFQ-T orders werent going through sorting
2020-04-13 12:53:08 -04:00
F. Eugene Aumson
b854fcdb72
Remove an unnecessary type annotation
2020-04-13 12:53:08 -04:00
F. Eugene Aumson
27ca75d94f
Clarify parallelization of orderbook & RFQT
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406955099
2020-04-13 12:53:08 -04:00
F. Eugene Aumson
bb15f78af0
Validate maker endpoint responses with JSON Schema
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406957115
2020-04-13 12:53:08 -04:00
F. Eugene Aumson
ccc9e18132
Type Axios response with undefined, not void
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406956436
2020-04-13 12:53:08 -04:00
F. Eugene Aumson
d55108ab60
Eliminate unnecessary else
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405906319
2020-04-13 12:53:07 -04:00
Steve Klebanoff
84adbcb683
asset-swapper: Mockable axios for QuoteRequestor ( #2549 )
...
* Mockable axios for QuoteRequestor
* Move RFQT Mocker to src
* move MockedRfqtFirmQuoteResponse into types file
* fix import
2020-04-10 23:09:56 -04:00
F. Eugene Aumson
0cb5e4553b
Await Axios response so we don't circumvent catch
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406604110
2020-04-10 15:34:06 -04:00
F. Eugene Aumson
264407b707
In Opts types, REQUIRE rfqt SUB-options
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406505994
2020-04-09 21:58:22 -04:00
F. Eugene Aumson
eb5ec58453
Add yarn prettier script, & call it from lint
2020-04-09 21:58:22 -04:00
F. Eugene Aumson
39c2a757be
Promote a closure to a function
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405953107
2020-04-09 18:39:46 -04:00
F. Eugene Aumson
8cdc05f582
Promote max maker response time to a global option
2020-04-09 17:21:36 -04:00
F. Eugene Aumson
5f4778c852
Don't throw when RFQ-T client isn't whitelisted
...
Addresses review comments
https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405964457
and
https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406040453
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
70add44fc1
Push RFQ-T opts to SwapQuoterReqOpts subnamespace
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405969509
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
fa617d2e9d
Demote public member to private
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405963834
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
3c795d365d
Demote instance member to just constructor a arg
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405963779
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
93872ad7a3
Push RFQ-T opts to own SwapQuoterOpts subnamespace
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405963240
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
227676c150
Remove unused intentOnFilling method parameter
...
Addresses review comments
https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405952889
and
https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406048104
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
5f23833b43
rm unused SwapQuoteRequestOpts key enableRfqt
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r406043111
2020-04-09 17:21:35 -04:00
F. Eugene Aumson
121d51b414
Use try...catch instead of Promise.catch()
...
Addresses review comments
https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405953735
and
https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405966703
2020-04-09 17:21:34 -04:00
Jacob Evans
0e196a59d9
Always use DFB in asset-swapper ( #2542 )
...
* Always use DFB in asset-swapper
* Clean up
2020-04-09 15:52:15 +10:00
F. Eugene Aumson
63bfd23310
Pass QuoteRequestor via SwapQuoteOpts not ctor arg
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405900525
2020-04-09 00:29:58 -04:00
F. Eugene Aumson
aadcf8fed0
Parallelize RFQ-T with orderbook query
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405905572
2020-04-09 00:29:57 -04:00
F. Eugene Aumson
37390e03b4
Use Array.push instead of Array.concat
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405905052
2020-04-09 00:09:10 -04:00
F. Eugene Aumson
98fc780ade
Use map idiom instead of for loop
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405904035
2020-04-08 23:14:06 -04:00
F. Eugene Aumson
1670b21123
Use NULL_ADDRESS instead of literal
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405901406
2020-04-08 22:56:11 -04:00
F. Eugene Aumson
5602aacbd2
mk SwapQuoterOpt rfqtTakerApiKeyWhitelist optional
...
Addresses review comment https://github.com/0xProject/0x-monorepo/pull/2541#discussion_r405749147
2020-04-08 22:48:21 -04:00
F. Eugene Aumson
6ddbea207f
Stop using 3rd party sphinx typehints plugin
...
Because sphinx itself supports typehints now, and a recent update to
plugin caused it to start spewing massive amounts of warnings.
2020-04-08 14:09:50 -04:00
F. Eugene Aumson
261bced822
Fix redundant docstrings and unpin sphinx
...
The latest version of Sphinx (documentation generation utility) was
giving a warning (which we were configured to treat as an error) about
there being multiple docstring definitions for the same class. This had
never been flagged before.
2020-04-08 14:09:49 -04:00
Lawrence Forman
a80d1f861c
Merge pull request #2536 from 0xProject/feat/asset-swapper/DexForwarderBridge-support
...
asset-swapper: DFB support + refactors
2020-04-07 14:35:01 -04:00
Lawrence Forman
c541340ef5
Update CHANGELOG.json
...
`@0x/contract-addresses`: Redeploy `DexForwarderBridge` on Mainnet with Gas Token freeing
`@0x/contract-addresses`: Revert to older Curve Bridge (without Gas Tokens)
2020-04-07 13:41:37 -04:00
Lawrence Forman
434af0ae64
@0x/contracts-asset-proxy: Update CHANGELOG
2020-04-07 13:38:35 -04:00
Jacob Evans
c6379ca1d4
Update DexForwarderBridge address
2020-04-07 12:35:18 -04:00
Jacob Evans
cdbcada49b
Authorize sender adddress
2020-04-07 12:35:18 -04:00
Jacob Evans
282930cb9b
Add GST support to DFB
2020-04-07 12:35:18 -04:00
Lawrence Forman
b09c751942
@0x/asset-swapper: Remove deprecated swap_quote_calculator tests
2020-04-07 12:35:18 -04:00
Lawrence Forman
b2047b90b3
@0x/asset-proxy: Fix failing test.
2020-04-07 12:35:18 -04:00
Lawrence Forman
0c8aec30bd
@0x/asset-swapper: Fix linter lies.
2020-04-07 12:35:18 -04:00
Lawrence Forman
fafaa3e69b
@0x/asset-swapper: Lint and remove @0x/contracts-asset-proxy dep.
2020-04-07 12:35:18 -04:00
Lawrence Forman
d19bb3de8d
@0x/asset-swapper: Run prettier
2020-04-07 12:35:18 -04:00
Lawrence Forman
481136166c
@0x/asset-swapper: Remove unused Order export from index.ts.
2020-04-07 12:35:18 -04:00
Lawrence Forman
4df81a0b9e
@0x/asset-swapper: add quote fill simulation tests
2020-04-07 12:35:18 -04:00
Lawrence Forman
da1e9c2d97
@0x/asset-swapper: Add DFB support + refactor swap quote calculation utils
2020-04-07 12:35:18 -04:00
F. Eugene Aumson
4b5a02c246
asset-swapper, migrations: incl. prettier in lint
2020-04-07 01:41:47 -04:00
F. Eugene Aumson
0e1572cfd7
migrations: add yarn publish:private
2020-04-07 01:41:47 -04:00
F. Eugene Aumson
343caa1ff6
migrations: Deploy ERC20BridgeSampler
2020-04-07 01:41:47 -04:00
F. Eugene Aumson
403fb3826d
asset-swapper: support firm RFQ-T quote requests
2020-04-07 01:41:47 -04:00
F. Eugene Aumson
3cdccb7b4e
prep asset-swapper: rename variable
2020-04-07 00:48:25 -04:00
F. Eugene Aumson
d9be78cdb4
py/contract_wrappers: Pin sphinx to prev version ( #2539 )
2020-04-07 00:47:45 -04:00
F. Eugene Aumson
16dc8255e1
Pin pytests to ganache snapshot 6.0.0 ( #2535 )
2020-04-06 20:01:54 -04:00
Lawrence Forman
2086bfff25
Merge pull request #2532 from 0xProject/feat/sol-compiler/support-0.6
...
sol-compiler: 0.6 support
2020-04-01 15:07:18 -04:00
Lawrence Forman
b9a68c0b8e
@0x/sol-compiler: Address review feedback.
2020-04-01 14:30:17 -04:00
Lawrence Forman
74647f0e88
@0x/sol-compiler: remove fs.promises usage
2020-04-01 13:42:48 -04:00
Lawrence Forman
6e29c8bea9
@0x/sol-compiler: Make source paths in output artifacts nicer if they're within modules.
...
`@0x/sol-compiler`: Makea Add v0.6 solidity test.
2020-04-01 13:42:48 -04:00
Lawrence Forman
b36373ab81
@0x/sol-compiler: Insert compiler version in input artifacts.
2020-04-01 13:42:48 -04:00
Lawrence Forman
dc437aacf1
@0x/sol-compiler`: Refactor + add solidity 0.6 support
2020-04-01 13:42:48 -04:00
Lawrence Forman
e19dae9b28
@0x/typescript-typings: Add version() to SolcInstance
2020-04-01 13:42:48 -04:00
Jacob Evans
424cbd4831
Forwarder Market sell specified amount or throw ( #2521 )
...
* Forwarder Market sell specified amount or throw
* Address feedback comments
* Break if we have only protocol fee remaining
* Lint
* Update deployed addresses
* Updated artifacts and wrappers
* [asset-swapper] Forwarder throws on market sell if amount not sold (#2534 )
2020-03-31 16:25:34 +10:00
Lawrence Forman
350feed993
Merge pull request #2531 from 0xProject/feat/erc20-bridge-sampler/dev-utils-as-param
...
ERC20BridgeSampler: Pass in `DevUtils` address as a constructor arg
2020-03-30 18:02:33 -04:00
Jacob Evans
7ca4aa0ff4
[asset-swapper] Fix getBatchMarketBuyOrdersAsync ( #2533 )
2020-03-31 04:21:03 +10:00
Lawrence Forman
bf00e67245
Merge pull request #2525 from 0xProject/feat/bridge/DexForwarderBridge
...
DexForwarderBridge
2020-03-27 17:44:47 -04:00
Lawrence Forman
c5a6e49681
update ganache forwarder address
2020-03-27 16:50:11 -04:00
Lawrence Forman
a509af2875
@0x/contract-addresses: Add dexForwarderBridge address.
...
`@0x/migrations`: Add `dexForwarderBridge` address field.
2020-03-27 16:40:46 -04:00
Lawrence Forman
1f789bf396
@0x/contracts-asset-proxy: Add DexForwarderBridge.executeBridgeCall() test.
2020-03-27 16:39:57 -04:00
Lawrence Forman
0ccbc7d3d2
@0x/contracts-asset-proxy: Fix typos and remove BridgeTransferFromCallFailed event from DexForwarderBridge.
2020-03-27 16:39:57 -04:00
Lawrence Forman
f3c6f26f85
@0x/contracts-asset-proxy: Fix typo in DFB tests.
2020-03-27 16:39:57 -04:00
Lawrence Forman
338c358df2
@0x/contracts-asset-proxy: Address review comments.
2020-03-27 16:39:57 -04:00
Lawrence Forman
4bdaa48303
@0x/contracts-asset-proxy: Create DexForwarderBridge bridge contract.
2020-03-27 16:39:57 -04:00
Lawrence Forman
36267746da
@0x/contracts-erc20-bridge-sampler: Cache DevUtils address in getOrderFillableTakerAssetAmounts.
2020-03-26 12:11:14 -04:00
Lawrence Forman
7775541eed
@0x/contracts-integrations: Update ERC20BridgeSampler tests
2020-03-26 12:09:14 -04:00
Lawrence Forman
5029be4c83
@0x/contracts-erc20-bridge-sampler: Pass in DevUtils address as a constructor parameter
2020-03-26 11:58:25 -04:00
Jacob Evans
277dbacf68
Set GSTCollector address and deploy Curve ( #2530 )
...
* Set GSTCollector address and deploy Curve
* CHANGELOGs
2020-03-26 18:26:16 +10:00
Lawrence Forman
0fdfb03f3c
Merge pull request #2529 from 0xProject/fix/contract-addresses/fix-dydx-bridge-mainnet-address
...
Fix DydxBridge addresses.
2020-03-25 23:30:00 -04:00
Lawrence Forman
17d81bf014
@0x/contract-addresses: Fix DydxBridge mainnet/kovan address.
...
`@0x/contract-addresses`: Lowercase GodsUnchained/broker addresses.
2020-03-25 22:40:18 -04:00
Jacob Evans
568e9be07e
Gas Tokens in Bridges ( #2523 )
...
* Gas Tokens in Bridges
* Added freesGasTokensFromCollector.
To handle the case where GST2 is being traded and the balanceOf checks become confusing
* Update CHANGELOGs
2020-03-26 11:58:28 +10:00
Lawrence Forman
99b0a95f8a
Merge pull request #2526 from 0xProject/fix/asset-swapper/optimizer-fee-bugs
...
AssetSwapper: Fix quote optimizer fee bug
2020-03-24 09:56:09 -04:00
Lawrence Forman
0fdd31892a
@0x/asset-swapper: Fix quote optimizer bug not properly accounting for fees.
2020-03-20 15:59:48 -04:00
Lawrence Forman
7a682604f9
Merge pull request #2524 from 0xProject/feat/erc20-bridge/less-ambiguous-transfer-event-args
...
Rename `ERC20BridgeTransfer` event args
2020-03-13 23:04:57 -04:00
Lawrence Forman
ce96e35d7d
@0x/contracts-asset-proxy: Rename ERC20BridgeTransfer event args to be less ambiguous.
2020-03-13 21:00:35 -04:00
Xianny
b7fb5394a7
add gitpkg to contract-wrappers ( #2520 )
2020-03-13 10:10:32 -07:00
Lawrence Forman
aaa62beca7
Merge pull request #2522 from 0xProject/fix/asset-swapper/fee-schedule
...
`@0x/asset-swapper`: Fix fee schedule not being scaled by gas price.
2020-03-13 01:14:23 -04:00
Lawrence Forman
2b58a7242b
@0x/asset-swapper: Fix changelog.
2020-03-13 00:40:19 -04:00
Lawrence Forman
5ed919df79
@0x/asset-swapper: Fix fee schedule not being scaled by gas price.
2020-03-13 00:10:04 -04:00
Lawrence Forman
baf6372179
Merge pull request #2513 from 0xProject/feat/asset-swapper/death-to-reverts
...
Asset-swapper: Fallback orders + refactors
2020-03-12 18:45:27 -04:00
Lawrence Forman
1a9063a55b
@0x/asset-swapper: Address review comments.
2020-03-11 12:24:32 -04:00
Lawrence Forman
87999f402f
@0x/asset-swapper: Sort native path fills by ADJUSTED rate.
2020-03-11 01:17:23 -04:00
Lawrence Forman
109d466260
@0x/asset-swapper: Fix double bridgeSlippage on generated orders.
2020-03-10 23:02:41 -04:00
Lawrence Forman
37597eca75
@0x/asset-swapper: Fix getPathSize() and getAdjustedPathSize() bug.
...
`@0x/asset-swapper`: Add `maxFallbackSlippage` option.
2020-03-10 14:25:13 -04:00
Lawrence Forman
5fd767b739
@0x/instant: Fix changelog.
2020-03-10 13:25:39 -04:00
Lawrence Forman
0e7a473116
@0x/asset-swapper: Clean up source breakdown code a bit.
...
`@0x/asset-swapper`: Allow Kyber conflicts in fallback path.
2020-03-10 00:05:14 -04:00
Lawrence Forman
05bf55dca8
@0x/asset-swapper: Add gasSchedule option to SwapQuoter.
...
`@0x/asset-swapper`: Rename `fees` `SwapQuoter` option to `feeSchedule`.
2020-03-09 22:33:33 -04:00
Lawrence Forman
cc12ad8d86
@0x/asset-swapper: Only generate fallbacks for native orders in optimal path.
...
`@0x/asset-swapper`: Exclude conflicting sources across both optimal and fallback paths.
2020-03-09 21:44:30 -04:00
Lawrence Forman
847a7f470c
@0x/instant: Fix for changed asset-swapper configs.
2020-03-09 21:44:30 -04:00
Lawrence Forman
95bebd6d1d
@0x/asset-swapper: Clean up median price calls.
2020-03-09 21:44:30 -04:00
Lawrence Forman
8179a964ea
@0x/asset-swapper: Reintroduce runLimit option.
...
`@0x/asset-swapper`: Make native fills one single path.
`@0x/asset-swapper`: Redo the optimizer algo again to be more thorough.
`@0x/asset-swapper`: Make `getMedianSellRate()` return `1` if maker token == taker token.
2020-03-09 21:44:30 -04:00
Lawrence Forman
d0805d4bbb
@0x/asset-swapper: Rebase and fix some minor bugs.
2020-03-09 21:44:29 -04:00
Lawrence Forman
f901c401b7
rebase
2020-03-09 21:44:29 -04:00
Lawrence Forman
6ccadcb928
@0x/asset-swapper: Refactor market op utils.
...
`@0x/asset-swapper`: add fallback orders.
`@0x/asset-swapper`: Remove `noConflicts` and `dustThreshold` options.
`@0x/asset-swapper`: Add `allowFallback` option.
2020-03-09 21:44:29 -04:00
Daniel Pyrathon
58b6c25d5c
Merge pull request #2519 from 0xProject/PirosB3-patch-1
...
Update addresses.json
2020-03-09 10:44:44 -07:00
Daniel Pyrathon
9cbab26202
added CHANGELOG changes
2020-03-09 10:36:32 -07:00
Daniel Pyrathon
74bcb468ca
Update addresses.json
2020-03-09 10:23:20 -07:00
Daniel Pyrathon
07a6ba88f4
Merge pull request #2515 from 0xProject/PirosB3-patch-1
...
Update CHANGELOG.json
2020-03-06 13:44:22 -08:00
Daniel Pyrathon
49dff49993
Update CHANGELOG.json
2020-03-06 12:47:18 -08:00
Daniel Pyrathon
68207aac80
Merge pull request #2505 from 0xProject/feature/plp-integration
...
🔂 Liquidity Provider Asset Swapper integration
2020-03-06 12:34:45 -08:00
Francesco Agosti
64652b2ff0
Merge pull request #2514 from 0xProject/feat/add-gitpkg-to-contract-addresses
...
Add private:publish to contract-addresses
2020-03-06 12:17:22 -08:00
Daniel Pyrathon
659e8991de
Completed feedback
2020-03-06 12:02:36 -08:00
fragosti
9f495b6dc9
Add private:publish to contract-addresses
2020-03-06 11:32:08 -08:00
Daniel Pyrathon
d8498134ad
Merge branch 'development' of github.com:0xProject/0x-monorepo into feature/plp-integration
...
# Conflicts:
# packages/contract-addresses/addresses.json
# packages/contract-wrappers/package.json
2020-03-06 09:59:16 -08:00
Daniel Pyrathon
17b2320b0d
remove unit tests that were ported to erc20-bridge-sampler package
2020-03-06 09:53:54 -08:00
Daniel Pyrathon
36c457f483
added unit tests for the Liquidity Provider
2020-03-06 09:47:17 -08:00
Lawrence Forman
b8ec7f5e26
Merge pull request #2512 from 0xProject/fix/contracts/bridges-usdt-fix
...
Bridges: USDT/KNC fix + ERC20BridgeTransfer events
2020-03-05 19:41:55 -05:00
Daniel Pyrathon
dbc5c0d5d8
moved unit tests to the appropriate sections
2020-03-05 16:29:34 -08:00
Daniel Pyrathon
fa886aa849
prettify and lint
2020-03-05 16:21:15 -08:00
Daniel Pyrathon
32e1ae2b18
added unit tests to avoid regression due to variable order
2020-03-05 16:07:49 -08:00
Daniel Pyrathon
61f03b0ea2
invert maker and taker token variable
2020-03-05 16:07:10 -08:00
Lawrence Forman
c47825a820
@0x/contract-addresses: Redeploy bridges.
2020-03-05 18:39:48 -05:00
Lawrence Forman
2d7cb63c7b
@0x/contracts-asset-proxy: Address review comments.
2020-03-05 18:21:38 -05:00
Lawrence Forman
c3d4c13936
@0x/contracts-erc20: Switch LibERC20Token.approveIfBelowMax() to LibERC20Token.approveIfBelow().
...
`@0x/contracts-asset-proxy`: Use `LibERC20Token.approveIfBelow()` for bridge approvals.
2020-03-05 18:21:38 -05:00
Lawrence Forman
3f51b9322f
@0x/contracts-asset-proxy: Emit ERC20BridgeTransfer events in bridges.
2020-03-05 18:21:38 -05:00
Lawrence Forman
b604e2bd4e
@0x/contracts-erc20: Add LibERC20Token.approveIfBelowMax().
...
`@0x/contracts-asset-proxy`: Use `LibERC20Token.approveIfBelowMax` in all DEX bridges.
2020-03-05 18:21:38 -05:00
mzhu25
bcd92473d1
Merge pull request #2511 from 0xProject/feature/extensions/max-gasprice-orders
...
`@0x/contracts-extensions`: Maximum gas price contract
2020-03-05 12:30:03 -08:00
Michael Zhu
6f5bf9d146
Add artifacts, wrappers, and addresses
2020-03-05 10:53:02 -08:00
Michael Zhu
490094939f
Address comments
2020-03-04 22:12:48 -08:00
Daniel Pyrathon
d0d7d2772f
upgrades contracts-erc20-bridge-sampler dependency
2020-03-04 14:33:43 -08:00
Daniel Pyrathon
59091896b4
Merge branch 'development' of github.com:0xProject/0x-monorepo into feature/plp-integration
...
# Conflicts:
# packages/asset-swapper/package.json
# packages/asset-swapper/src/utils/market_operation_utils/sampler.ts
# packages/asset-swapper/src/utils/market_operation_utils/types.ts
# packages/asset-swapper/test/market_operation_utils_test.ts
2020-03-04 14:11:17 -08:00
Daniel Pyrathon
3eb1429a25
adds possibility to exclude PLP
2020-03-04 13:50:07 -08:00
Daniel Pyrathon
bc7504c469
refresh wrappers and artifacts
2020-03-04 08:24:35 -08:00
Daniel Pyrathon
99dc4b8e07
refactor more code
2020-03-04 08:17:01 -08:00
Daniel Pyrathon
807904bb86
addressed PR comments
2020-03-04 07:59:09 -08:00
Francesco Agosti
7b8c8348f4
Merge pull request #2502 from 0xProject/feat/gitpkg-asset-swapper
...
Install gitpkg in asset-swapper
2020-03-04 07:30:22 -08:00
Michael Zhu
9c5ac26170
Update changelog
2020-03-03 17:30:53 -08:00
Michael Zhu
5db065644c
Add tooling and unit tests
2020-03-03 17:30:53 -08:00
Alex Towle
0cc3a99169
Merge pull request #2504 from 0xProject/feature/better_resolver_errors
...
Update resolver errors to include parent filename
2020-03-03 16:56:26 -08:00
Michael Zhu
2b1545145b
MaximumGasPrice contract
2020-03-03 15:39:45 -08:00
Daniel Pyrathon
49b7c9c8a4
update sampler address
2020-03-03 14:02:15 -08:00
fragosti
114119f7c8
Build before publish
2020-03-03 13:45:25 -08:00
fragosti
b4ef866c10
Update gitpkg to use fork
2020-03-03 13:27:43 -08:00
Jacob Evans
15f75a08d5
Publish
...
- @0x/contracts-asset-proxy@3.2.5
- @0x/contracts-broker@1.1.4
- @0x/contracts-coordinator@3.1.5
- @0x/contracts-dev-utils@1.3.3
- @0x/contracts-erc1155@2.1.5
- @0x/contracts-erc20-bridge-sampler@1.5.1
- @0x/contracts-erc20@3.1.5
- @0x/contracts-erc721@3.1.5
- @0x/contracts-exchange-forwarder@4.2.5
- @0x/contracts-exchange-libs@4.3.5
- @0x/contracts-exchange@3.2.5
- @0x/contracts-extensions@6.1.5
- @0x/contracts-integrations@2.5.1
- @0x/contracts-multisig@4.1.5
- @0x/contracts-staking@2.0.12
- @0x/contracts-test-utils@5.3.2
- @0x/contracts-utils@4.4.3
- 0x.js@9.1.5
- @0x/asset-swapper@4.4.0
- @0x/contract-addresses@4.9.0
- @0x/contract-wrappers-test@12.2.13
- @0x/contract-wrappers@13.6.3
- @0x/instant@1.0.50
- @0x/migrations@6.2.4
- @0x/order-utils@10.2.4
- @0x/orderbook@2.2.5
2020-03-03 18:26:46 +11:00
Jacob Evans
29f9c5473d
Updated CHANGELOGS & MD docs
2020-03-03 18:26:14 +11:00
Jacob Evans
ea1528aea6
[asset-swapper] Add latest BUSD Curve ( #2506 )
...
* [asset-swapper] Add latest BUSD Curve
* Update Compound Curve
2020-03-03 17:53:35 +11:00
Daniel Pyrathon
18ce19a84d
refactored imports
2020-03-02 11:03:11 -08:00
Daniel Pyrathon
b0fd78d68d
added linting to the contracts
2020-03-02 10:48:52 -08:00
Daniel Pyrathon
8186d6277e
fixed a bug with imports
2020-03-02 10:16:40 -08:00
Daniel Pyrathon
599af2b1a9
factored out interfaces in types.ts
2020-03-02 10:12:51 -08:00
Daniel Pyrathon
82de5adbe9
refactored sampler operations into a single external file
2020-03-02 10:06:43 -08:00
Daniel Pyrathon
82b0f85258
transformed the new artifacts
2020-03-02 10:01:06 -08:00
David Sun
cded58c30d
Merge pull request #2491 from 0xProject/fix/instant/support-erc721
...
[FIX] Instant + Asset-swapper support for ERC721
2020-03-01 14:57:18 -05:00
David Sun
da17b49b81
added changelog
2020-03-01 13:54:14 -05:00
David Sun
4728cdfa7c
added changelog
2020-03-01 13:36:56 -05:00
Alex Towle
d97b30dcee
Improve error message for nested errors
2020-02-28 17:11:30 -08:00
Daniel Pyrathon
fa8e8ad52d
Update artifacts after rename
2020-02-28 17:09:48 -08:00
Daniel Pyrathon
7495ac8111
performed a rename
2020-02-28 16:54:05 -08:00
Daniel Pyrathon
08619e2c06
re-generate ERC20BridgeSampler artifacts
2020-02-28 15:59:46 -08:00
Daniel Pyrathon
5d4bbd5b37
Merge branch 'development' of github.com:0xProject/0x-monorepo into feature/plp-integration
...
# Conflicts:
# packages/asset-swapper/package.json
2020-02-28 15:50:34 -08:00
Daniel Pyrathon
9d2aef5006
Added linting and prettifying
2020-02-28 12:36:47 -08:00
Daniel Pyrathon
bcc3e5ebb0
refactor tests, and add more tests
2020-02-28 12:28:09 -08:00
Daniel Pyrathon
e5df51a83a
tidy up tests, add other tests
2020-02-28 12:12:58 -08:00
David Sun
97fb843f01
prettier
2020-02-28 14:03:54 -05:00
David Sun
8afb044877
address feedback
2020-02-28 13:15:50 -05:00
David Sun
7f869868c9
prettier + lint
2020-02-28 13:13:46 -05:00
David Sun
31275228ac
patch asset-swapper to support ERC721
2020-02-28 13:13:18 -05:00
Daniel Pyrathon
7181be8768
added more unit tests, reinforced existing tests, added more implementation
2020-02-28 10:02:18 -08:00
Lawrence Forman
3b446e887a
Merge pull request #2503 from 0xProject/feat/deploy-erc20-bridge-sampler
...
Redeploy `ERC20BridgeSampler`
2020-02-28 12:01:06 -05:00
Lawrence Forman
431196c391
@0x/contract-addresses: Redeploy ERC20BridgeSampler.
2020-02-28 01:18:24 -05:00
Daniel Pyrathon
9608d8fb46
added more unit tests for PLP DEX sampling
2020-02-27 16:03:44 -08:00
mzhu25
d574ca1628
Merge pull request #2501 from 0xProject/fix/bridge-sampler/get-liquidity-provider-from-registry
...
Fix getLiquidityProviderFromRegistry
2020-02-27 14:09:28 -08:00
Daniel Pyrathon
8be60e2ff5
initial unit tests for DEX sampler
2020-02-27 14:00:08 -08:00
Daniel Pyrathon
3c0fd540b1
generated wrappers for ERC20 sampler
2020-02-27 13:53:52 -08:00
fragosti
23a7dc9a8a
Install gitpkg in asset-swapper
2020-02-27 13:51:28 -08:00
Michael Zhu
f97e6892b6
Fix getLiquidityProviderFromRegistry
2020-02-27 13:39:03 -08:00
Jacob Evans
7742901e5c
Publish
...
- @0x/contracts-asset-proxy@3.2.4
- @0x/contracts-broker@1.1.3
- @0x/contracts-coordinator@3.1.4
- @0x/contracts-dev-utils@1.3.2
- @0x/contracts-erc1155@2.1.4
- @0x/contracts-erc20-bridge-sampler@1.5.0
- @0x/contracts-erc20@3.1.4
- @0x/contracts-erc721@3.1.4
- @0x/contracts-exchange-forwarder@4.2.4
- @0x/contracts-exchange-libs@4.3.4
- @0x/contracts-exchange@3.2.4
- @0x/contracts-extensions@6.1.4
- @0x/contracts-integrations@2.5.0
- @0x/contracts-multisig@4.1.4
- @0x/contracts-staking@2.0.11
- @0x/contracts-test-utils@5.3.1
- @0x/contracts-utils@4.4.2
- 0x.js@9.1.4
- @0x/asset-swapper@4.3.2
- @0x/contract-addresses@4.8.0
- @0x/contract-wrappers-test@12.2.12
- @0x/contract-wrappers@13.6.2
- @0x/instant@1.0.49
- @0x/migrations@6.2.3
- @0x/order-utils@10.2.3
- @0x/orderbook@2.2.4
2020-02-28 08:13:33 +11:00
Jacob Evans
de68cb25d0
Updated CHANGELOGS & MD docs
2020-02-28 08:13:09 +11:00
Daniel Pyrathon
77d7afe505
created DummyPLPRegistry and DummyPLP + generated wrappers for these new contracts and their respective interfaces
2020-02-27 12:52:13 -08:00
Daniel Pyrathon
68fb6c2c27
Merge pull request #2499 from 0xProject/feature/erc20-bridge-sampler/liquidity-provider-registry
...
`@0x/contracts-erc20-bridge-sampler`: LiquidityProviderRegistry
2020-02-27 12:37:10 -08:00
Michael Zhu
a47c031ad1
Catch reverts when calling registry
2020-02-27 11:23:25 -08:00
Michael Zhu
817049456c
Get liquidity provider from registry in the sampler
2020-02-27 11:05:56 -08:00
Lawrence Forman
e1a061789f
Merge pull request #2500 from 0xProject/fix/asset-swapper/native-order-prune
...
[asset-swapper] Fix native fill prune
2020-02-27 13:38:49 -05:00
Jacob Evans
28573ba772
[asset-swapper] Fix native fill prune
2020-02-27 16:42:20 +11:00
David Sun
880b9413f6
Merge pull request #2492 from 0xProject/fix/instant/constant-polling
...
[Fix] Instant call destroyAsync on unmount
2020-02-26 19:36:48 -05:00
mzhu25
9a7c4b21a9
@0x/contracts-erc20-bridge-sampler: Generic liquidity provider sampling (#2487 )
...
* Add methods to Sampler contract to plug into generic on-chain liquidity provider
2020-02-26 11:54:48 -08:00
mzhu25
ac56038eca
Add Broker, GodsUnchainedValidator, ChainlinkStopLimit to ContractAddresses interface ( #2498 )
2020-02-26 11:54:32 -08:00
Lawrence Forman
4dd2fb6903
Merge pull request #2478 from 0xProject/feat/contracts/integrations/chai-bridge-benchmarks
...
`@0x/contracts-integrations`: Add `ChaiBridge` and `DydxBridge` gas b…
2020-02-26 14:17:15 -05:00
Lawrence Forman
0baec61f06
@0x/contracts/integrations: Update wallets and add comments with last run gas costs to benchmarks.
2020-02-26 12:57:03 -05:00
Lawrence Forman
d4751788d1
@0x/contracts-integrations: Add ChaiBridge and DydxBridge gas benchmark tests.
2020-02-26 11:29:44 -05:00
Lawrence Forman
ae68c061d1
@0x/asset-proxy: Add more functions to IDydx.
...
`@0x/dev-utils`: Fix all the weird dydx base unit madness.
2020-02-26 11:29:26 -05:00
Lawrence Forman
b0387245f0
@0x/contracts-utils: Roll back additions to LibFractions.
...
`@0x/contracts-dev-utils`: Add `D18` library for working with base-10, 18-digit decimals.
`@0x/contracts-dev-utils`: Use `D18` library instead of `LibFractions` in `LibDydxBalance`.
2020-02-26 11:29:16 -05:00
Lawrence Forman
c2d06a4a23
Cherry pick dydx validation from #2456
2020-02-26 11:29:02 -05:00
Lawrence Forman
270108abb7
Cherry pick DevUtils refactor code from #2456
2020-02-26 11:26:57 -05:00
Lawrence Forman
e76c33232d
Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
2020-02-26 11:26:57 -05:00
Jacob Evans
58ff2dc492
Publish
...
- @0x/contracts-asset-proxy@3.2.3
- @0x/contracts-broker@1.1.2
- @0x/contracts-coordinator@3.1.3
- @0x/contracts-dev-utils@1.3.1
- @0x/contracts-erc1155@2.1.3
- @0x/contracts-erc20-bridge-sampler@1.4.2
- @0x/contracts-erc20@3.1.3
- @0x/contracts-erc721@3.1.3
- @0x/contracts-exchange-forwarder@4.2.3
- @0x/contracts-exchange-libs@4.3.3
- @0x/contracts-exchange@3.2.3
- @0x/contracts-extensions@6.1.3
- @0x/contracts-integrations@2.4.2
- @0x/contracts-multisig@4.1.3
- @0x/contracts-staking@2.0.10
- @0x/contracts-utils@4.4.1
- 0x.js@9.1.3
- @0x/abi-gen@5.2.2
- @0x/asset-swapper@4.3.1
- @0x/contract-wrappers-test@12.2.11
- @0x/instant@1.0.48
- @0x/migrations@6.2.2
- @0x/orderbook@2.2.3
- @0x/sol-doc@3.1.6
2020-02-26 11:34:29 +11:00
Jacob Evans
13c45a0e96
Updated CHANGELOGS & MD docs
2020-02-26 11:34:00 +11:00
henrynguyen5
90cb86911a
Update resolver errors to include parent filename
2020-02-25 18:40:45 -05:00
Jacob Evans
be7b1a1bd4
Include bin in npm publish ( #2496 )
...
* Include bin in npm publish
* Include bin in files
* Update CHANGELOG
* Changelog
2020-02-26 10:12:52 +11:00
Amir Bandeali
132a3c6705
Merge pull request #2495 from 0xProject/feat/defaults-should-save-standard-input
...
Update boilerplate
2020-02-25 10:56:26 -08:00
Amir
5e73257557
Set shouldSaveStandardInput to true in all compiler.json files
2020-02-25 10:04:19 -08:00
Amir
e83346fbbb
Do not prettify Solidity
2020-02-25 10:04:19 -08:00
Jacob Evans
2dd47a2103
Publish
...
- @0x/contracts-asset-proxy@3.2.2
- @0x/contracts-broker@1.1.1
- @0x/contracts-coordinator@3.1.2
- @0x/contracts-dev-utils@1.3.0
- @0x/contracts-erc1155@2.1.2
- @0x/contracts-erc20-bridge-sampler@1.4.1
- @0x/contracts-erc20@3.1.2
- @0x/contracts-erc721@3.1.2
- @0x/contracts-exchange-forwarder@4.2.2
- @0x/contracts-exchange-libs@4.3.2
- @0x/contracts-exchange@3.2.2
- @0x/contracts-extensions@6.1.2
- @0x/contracts-integrations@2.4.1
- @0x/contracts-multisig@4.1.2
- @0x/contracts-staking@2.0.9
- @0x/contracts-test-utils@5.3.0
- @0x/contracts-utils@4.4.0
- 0x.js@9.1.2
- @0x/abi-gen@5.2.1
- @0x/assert@3.0.7
- @0x/asset-swapper@4.3.0
- @0x/base-contract@6.2.1
- @0x/connect@6.0.7
- @0x/contract-addresses@4.7.0
- @0x/contract-artifacts@3.6.1
- @0x/contract-wrappers-test@12.2.10
- @0x/contract-wrappers@13.6.1
- @0x/contracts-gen@2.0.8
- @0x/dev-utils@3.2.1
- @0x/instant@1.0.47
- @0x/json-schemas@5.0.7
- @0x/migrations@6.2.1
- @0x/monorepo-scripts@1.0.51
- @0x/order-utils@10.2.2
- @0x/orderbook@2.2.2
- @0x/sol-compiler@4.0.8
- @0x/sol-coverage@4.0.8
- @0x/sol-doc@3.1.5
- @0x/sol-profiler@4.0.8
- @0x/sol-trace@3.0.8
- @0x/sol-tracing-utils@7.0.8
- @0x/sra-spec@3.0.7
- @0x/subproviders@6.0.8
- @0x/utils@5.4.1
- @0x/web3-wrapper@7.0.7
2020-02-25 20:43:55 +11:00
Jacob Evans
f31e530b6e
Updated CHANGELOGS & MD docs
2020-02-25 20:43:31 +11:00
Jacob Evans
eb50f3fa9c
Xlab/fix/extra space ( #2494 )
...
* Fix extra space in `provider.send` signature from fabio. Fixes #2285 .
* Fix style and update changelog.
Co-authored-by: Maxim <max@kc.vc >
2020-02-25 19:56:33 +11:00
Lawrence Forman
8417fe4fdb
Merge pull request #2493 from 0xProject/feat/redeploy-devutils
...
Redeploy DevUtils
2020-02-25 00:40:58 -05:00
Lawrence Forman
0f1c15a6ca
Asset-Swapper: Incorporate fees into fill path optimization ( #2481 )
...
* `@0x/asset-swapper`: Incorporate fees into fill optimization.
* `@0x/asset-swapper`: Address review comments.
* `@0x/asset-swapper`: Rebase and update tests for curve.
* `@0x/asset-swapper`: Bring back a form of native order pruning.
`@0x/asset-swapper`: Bring back dust thresholds.
`@0x/asset-swapper`: Avoid calling `getMedianSellRate()` if output token is ETH.
* Update devdoc for `fees` option
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-02-25 14:47:33 +11:00
Lawrence Forman
9345c4fb7f
@0x/contract-addresses: Update DevUtils addresses.
2020-02-24 12:47:33 -05:00
Lawrence Forman
5e0758917b
@0x/contracts-utils: Update DevUtils address in DeploymentConstants.
2020-02-24 12:42:01 -05:00
David Sun
f56839ec6b
call destroyAsync on unmount
2020-02-24 12:24:07 -05:00
Lawrence Forman
cbb23a42e2
Merge pull request #2466 from 0xProject/feat/contracts/dev-utils/dydx-validation
...
DevUtils: DydxBridge validation
2020-02-20 13:36:22 -07:00
Kim Persson
5a59c286d0
Merge pull request #2488 from 0xProject/kim/fix-readme-spelling
...
FIXES spelling in exchange readme
2020-02-20 17:27:32 +01:00
Kim Persson
2e8c600d7a
FIXES spelling in exchange readme
2020-02-20 14:45:53 +01:00
Lawrence Forman
e851cb1cbc
@0x/contracts-dev-utils: Move D18 out to @0x/contracts-utils.
2020-02-19 16:19:38 -05:00
Lawrence Forman
3da03da32a
@0x/contracts-utils: Add D18 library.
2020-02-19 16:19:09 -05:00
Lawrence Forman
3ec8924e7f
@0x/contracts-dev-utils: Rebase.
2020-02-19 16:02:35 -05:00
Lawrence Forman
a04722b612
@0x/contracts-integrations: Add USDC->DAI forked dydx bridge order validation.
2020-02-19 15:51:05 -05:00
Lawrence Forman
f9a7857a90
@0x/contracts-dev-utils: Address review comments.
2020-02-19 15:51:05 -05:00
Lawrence Forman
58f772c74e
foo
2020-02-19 15:51:05 -05:00
Lawrence Forman
a425c7e260
Regenerate artifacts and wrappers
2020-02-19 15:50:10 -05:00
Lawrence Forman
809885afd0
@0x/contracts-asset-proxy: Add getMarketMarginPremium() to IDydx.
...
`@0x/contracts-dev-utils`: Handle dydx market premiums.
2020-02-19 15:49:41 -05:00
Lawrence Forman
bf9b4b993f
@0x/contracts-test-utils: Fix blockchainTests fork config to work with other tests.
2020-02-19 15:49:41 -05:00
Lawrence Forman
d94a26f0f4
@0x/contracts-integrations: Add DydxBridge validation integration tests.
2020-02-19 15:49:41 -05:00
Lawrence Forman
bd9c9cedca
@0x/contracts-test-utils: Add blockchainTests.config
2020-02-19 15:45:27 -05:00
Lawrence Forman
651e94bd94
@0x/asset-proxy: Add more functions to IDydx.
...
`@0x/dev-utils`: Fix all the weird dydx base unit madness.
2020-02-19 15:45:27 -05:00
Lawrence Forman
162b6f1a74
@0x/dev-utils: Fix dydx min CR not being +1.
...
`@0x/dev-utils`: Fix withdraw rate vs order conversion rate check .
2020-02-19 15:45:27 -05:00
Lawrence Forman
865a253eb5
@0x/contracts-utils: Roll back additions to LibFractions.
...
`@0x/contracts-dev-utils`: Add `D18` library for working with base-10, 18-digit decimals.
`@0x/contracts-dev-utils`: Use `D18` library instead of `LibFractions` in `LibDydxBalance`.
2020-02-19 15:45:27 -05:00
Lawrence Forman
9b3781abf1
Cherry pick dydx validation from #2456
2020-02-19 15:45:27 -05:00
Lawrence Forman
d89243a0d3
Cherry pick DevUtils refactor code from #2456
2020-02-19 15:44:59 -05:00
Lawrence Forman
b4cefc64b4
Cherry pick library linking code from #2456
2020-02-19 15:44:59 -05:00
Lawrence Forman
2fd26587e5
Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
2020-02-19 15:44:59 -05:00
David Sun
282a351859
Merge pull request #2404 from 0xProject/feature/instant/fortmatic-integration
...
Formatic integration into instant
2020-02-18 13:58:10 -06:00
David Sun
a84b848ea9
prettier
2020-02-18 14:20:30 -05:00
David Sun
d329320fc2
linted
2020-02-18 14:02:48 -05:00
David Sun
bc096554b5
fixed webpack issues
2020-02-18 13:58:22 -05:00
David Sun
5902d878d8
fixed affiliate + fortmatic
2020-02-18 12:13:38 -05:00
Jacob Evans
4a133ca36f
Publish
...
- @0x/contracts-asset-proxy@3.2.1
- @0x/contracts-broker@1.1.0
- @0x/contracts-coordinator@3.1.1
- @0x/contracts-dev-utils@1.1.1
- @0x/contracts-erc1155@2.1.1
- @0x/contracts-erc20-bridge-sampler@1.4.0
- @0x/contracts-erc20@3.1.1
- @0x/contracts-erc721@3.1.1
- @0x/contracts-exchange-forwarder@4.2.1
- @0x/contracts-exchange-libs@4.3.1
- @0x/contracts-exchange@3.2.1
- @0x/contracts-extensions@6.1.1
- @0x/contracts-integrations@2.4.0
- @0x/contracts-multisig@4.1.1
- @0x/contracts-staking@2.0.8
- @0x/contracts-test-utils@5.1.5
- @0x/contracts-utils@4.3.1
- 0x.js@9.1.1
- @0x/asset-swapper@4.2.0
- @0x/contract-addresses@4.6.0
- @0x/contract-artifacts@3.6.0
- @0x/contract-wrappers-test@12.2.9
- @0x/contract-wrappers@13.6.0
- @0x/instant@1.0.46
- @0x/migrations@6.2.0
- @0x/order-utils@10.2.1
- @0x/orderbook@2.2.1
2020-02-15 17:39:09 +11:00
Jacob Evans
f7252f919a
Updated CHANGELOGS & MD docs
2020-02-15 17:38:47 +11:00
Jacob Evans
e05a03a842
Curve ERC20Bridge ( #2480 )
...
* Curve ERC20Bridge
* ERC20BridgeSampler Curve (#2483 )
* ERC20Sampler Curve
* Use Bridge Sources for each Curve
* Support multiple versions of the Curve contract
* CHANGELOG and redeployed Curve (mainnet)
* Fix Market ops utils test
* Added Curve DAI USDC USDT TUSD
* Bump sampler gas limit default
* Decode the Curve in tests
* Disable Curve in Buy tests
* blockchainTests.fork.resets Curve and Sampler
2020-02-15 17:02:19 +11:00
mzhu25
dcce8276b8
Add decoders for broker and stop-limit data ( #2484 )
...
* Add decoders for broker and stop-limit data
* update changelogs
* Address comments
2020-02-14 17:38:43 -08:00
Alex Towle
fd47947e55
Merge pull request #2454 from 0xProject/fix/dev-utils/and-another-one
...
Another one...
2020-02-13 20:45:34 -08:00
Alex Towle
ae151df2eb
Addressed amir's review feedback
2020-02-13 18:07:45 -08:00
Alex Towle
79de188683
Updated addresses again
2020-02-13 17:37:03 -08:00
Alex Towle
6e5c788e13
Added a test that fails for the old DevUtils
2020-02-13 17:37:03 -08:00
Alex Towle
f53606007d
Updated DevUtils again
2020-02-13 17:37:03 -08:00
Greg Hysz
a4ac418bc9
Merge pull request #2479 from 0xProject/test/dydx-mainnet-tests/updateDeployment
...
Fixed dYdX Bridge Tests
2020-02-13 14:42:47 -08:00
Greg Hysen
a8c09d0bdb
Updated contracts-integrations changelog.
2020-02-13 13:21:07 -08:00
Greg Hysen
871105a48a
Fixed dYdX Bridge Tests
2020-02-13 13:19:26 -08:00
Fabio B
3b61129ade
Update link to docs for web3-wrapper
2020-02-12 22:08:10 +01:00
mzhu25
f471c79b59
Chainlink stop-limit orders ( #2473 )
...
* Contracts for Chainlink stop-limit orders
* Tests and asset data utils
* Update contracts-integrations changelog
* Address comments
* Remove priceFreshness parameter
* Remove LibSafeMath
* fix typo
* Add ChainlinkStopLimit addresses to @0x/contract-addresses
2020-02-11 15:10:06 -08:00
Lawrence Forman
dfd9443f74
Merge pull request #2477 from 0xProject/feat/batched-sampler
...
ERC20BridgeSampler: batchCall()
2020-02-11 14:32:48 -07:00
Lawrence Forman
a36ff9e365
`@0x/asset-swapper: Address review comments.
2020-02-11 12:08:15 -07:00
Lawrence Forman
12e65bbf26
@0x/contracts-erc20-bridge-sampler: Fix failing tests.
2020-02-11 12:08:15 -07:00
Lawrence Forman
ab9841e60b
@0x/contract-addresses: Update ERC20BridgeSampler addresses on mainnet and kovan.
2020-02-11 12:08:15 -07:00
Lawrence Forman
7a52f12e57
Rebase and update contract artifacts + wrappers.
2020-02-11 12:07:48 -07:00
Lawrence Forman
11fd4506ac
@0x/asset-swapper: Fix failing asset-swapper test.
2020-02-11 12:07:48 -07:00
Lawrence Forman
0c9c68030e
@0x/asset-swapper: Use batchCall() version of the ERC20BridgeSampler contract
2020-02-11 12:07:48 -07:00
Lawrence Forman
55d6eddbb2
@0x/contract-artifacts: Update IERC20BridgeSampler wrapper.
2020-02-11 12:07:48 -07:00
Lawrence Forman
8341e60edb
@0x/contract-artifacts: Update ERC20BridgeSampler artifact.
2020-02-11 12:07:48 -07:00
Lawrence Forman
6273a1ca73
@0x/contracts-erc20-bridge-sampler: Remove wrapper functions and introduce batchCall().
2020-02-11 12:07:48 -07:00
mzhu25
1b83ebdf89
Merge pull request #2469 from 0xProject/feature/broker/deployments
...
Broker-related updates to contract-artifacts, contract-wrappers, contract-addresses
2020-02-10 18:41:24 -08:00
Michael Zhu
fef7f0506f
rebase 🙄
2020-02-10 17:38:16 -08:00
Michael Zhu
f44eb4e383
Update changelogs for Forwarder changes
2020-02-10 17:11:01 -08:00
Michael Zhu
05df485c4a
Update Forwarder in contract-artifacts and contract-wrappers
2020-02-10 17:11:00 -08:00
Michael Zhu
44857c526b
Remove DutchAuction and OrderValidator from python contract addresses
2020-02-10 17:10:36 -08:00
Michael Zhu
b8ad5d5d32
Update Forwarder addresses
2020-02-10 17:10:36 -08:00
Michael Zhu
e3e0d00e21
Add Broker and GodsUnchainedValidator to contract-wrappers
2020-02-10 17:10:14 -08:00
Michael Zhu
a9b1ea9690
Add Broker and GodsUnchainedValidator to contract-addresses
2020-02-10 17:09:34 -08:00
Michael Zhu
8e5dd0f8d9
Add Broker and GodsUnchainedValidator to contract-artifacts
2020-02-10 17:08:24 -08:00
David Sun
3b0c8f6d92
fortmatic patches
2020-02-09 21:08:46 -05:00
David Sun
21058c2227
changes to fetch account state behavior
2020-02-09 21:08:46 -05:00
David Sun
f3b8ae0781
fix for fortmatic
2020-02-09 21:08:46 -05:00
David Sun
d590b004c1
incomplete, fixes for heartbeater
2020-02-09 21:08:46 -05:00
David Sun
02e21141c6
added minor polish + bug fixes
2020-02-09 21:08:46 -05:00
David Sun
f839a3087d
add yarn.lock
2020-02-09 21:08:46 -05:00
David Sun
f458815541
fixing + testing fortmatic integration
2020-02-09 21:08:46 -05:00
apane
7ba754d2a4
Fixs styling
2020-02-09 21:08:46 -05:00
apane
09706e4ae2
Fix metamask logo size on connect and on install
2020-02-09 21:08:46 -05:00
apane
d18de4c541
Fixs styling
...
Removes unused imports
2020-02-09 21:08:46 -05:00
apane
001c7bfdbc
Fixs order details only when a wallet is connected
2020-02-09 21:08:46 -05:00
apane
d4e04dc712
Fix chevron icon
...
Fixs metamask icon size
2020-02-09 21:08:46 -05:00
apane
8650cb5217
Disables order details if no payment method is selected
2020-02-09 21:08:46 -05:00
apane
0eaaddeb95
Removes unused colors
...
Adds white background
Adds phone.svg
2020-02-09 21:08:46 -05:00
apane
1cf8663f20
Adds phone svg
...
Updates design of payment methods
2020-02-09 21:08:46 -05:00
apane
5130259552
Remove icon on connect button
2020-02-09 21:08:46 -05:00
apane
ba5e19a015
Fix lint errors
...
Remove icon
2020-02-09 21:08:46 -05:00
apane
c0400fa986
Removes onUnlockFormatic, just uses onUnlockGenericWallet
...
Removes unlockWalletWithFormaticProvider, now just uses unlockWalletAndDispatchToStore with getProviderStateBasedOnProviderType
Adds getProviderStateBasedOnProviderType
Adds orderSource to providerState type
2020-02-09 21:08:46 -05:00
apane
51179d10ce
Adds webpack config to use env var
...
Updates env example
Adds unlockWalletWithFormaticProvider on connect
2020-02-09 21:08:46 -05:00
apane
78752f9178
Adds connect to formatic button if the user does not have metamask installed
2020-02-09 21:08:46 -05:00
apane
762db417d7
Adds setProviderState action
...
unlockWalletAndDispatchToStore now changes the provider state based on the provider type
Adds button to connect with fortmatic
Adds FORTMATIC_API_KEY constant
2020-02-09 21:08:45 -05:00
apane
85bdccbc06
Adds Fortmatic to providerType
...
Uses fortmatic as default provider
2020-02-09 21:08:45 -05:00
apane
9f8cb99340
Removes prompt formatic
...
Fixs wallet prompt, adds marginTop props, splits border into border and borderColor
Adds fortmaticPrimary and fortmaticSecondary prop colors
2020-02-09 21:08:45 -05:00
apane
87b90bb04b
Adds fortmatic button
...
Adds fortmatic colors
2020-02-09 21:08:45 -05:00
apane
e961d88277
Adds fortmatic dependency
2020-02-09 21:08:45 -05:00
Jacob Evans
5754c11e34
Publish
...
- @0x/contracts-asset-proxy@3.2.0
- @0x/contracts-broker@1.0.2
- @0x/contracts-coordinator@3.1.0
- @0x/contracts-dev-utils@1.1.0
- @0x/contracts-erc1155@2.1.0
- @0x/contracts-erc20-bridge-sampler@1.3.0
- @0x/contracts-erc20@3.1.0
- @0x/contracts-erc721@3.1.0
- @0x/contracts-exchange-forwarder@4.2.0
- @0x/contracts-exchange-libs@4.3.0
- @0x/contracts-exchange@3.2.0
- @0x/contracts-extensions@6.1.0
- @0x/contracts-integrations@2.3.0
- @0x/contracts-multisig@4.1.0
- @0x/contracts-staking@2.0.7
- @0x/contracts-test-utils@5.1.4
- @0x/contracts-utils@4.3.0
- 0x.js@9.1.0
- @0x/abi-gen@5.2.0
- @0x/assert@3.0.6
- @0x/asset-swapper@4.1.2
- @0x/base-contract@6.2.0
- @0x/connect@6.0.6
- @0x/contract-addresses@4.5.0
- @0x/contract-artifacts@3.5.0
- @0x/contract-wrappers-test@12.2.8
- @0x/contract-wrappers@13.5.0
- @0x/contracts-gen@2.0.7
- @0x/dev-utils@3.2.0
- ethereum-types@3.1.0
- @0x/instant@1.0.45
- @0x/json-schemas@5.0.6
- @0x/migrations@6.1.0
- @0x/monorepo-scripts@1.0.50
- @0x/order-utils@10.2.0
- @0x/orderbook@2.2.0
- @0x/sol-compiler@4.0.7
- @0x/sol-coverage@4.0.7
- @0x/sol-doc@3.1.4
- @0x/sol-profiler@4.0.7
- @0x/sol-resolver@3.0.3
- @0x/sol-trace@3.0.7
- @0x/sol-tracing-utils@7.0.7
- @0x/sra-spec@3.0.6
- @0x/subproviders@6.0.7
- @0x/types@3.1.2
- @0x/typescript-typings@5.0.2
- @0x/utils@5.4.0
- @0x/web3-wrapper@7.0.6
2020-02-09 09:37:34 +10:00
Jacob Evans
7bd88c1bb8
Updated CHANGELOGS & MD docs
2020-02-09 09:37:04 +10:00
Lawrence Forman
445b686c6c
Merge pull request #2463 from 0xProject/feat/abi-gen/library-linking
...
Support contracts with unlinked libraries
2020-02-08 00:23:57 -05:00
Lawrence Forman
0cb7b75214
Merge pull request #2464 from 0xProject/feat/contracts/dev-utils/public-libraries-refactor
...
DevUtils refactor into public libraries
2020-02-07 23:53:16 -05:00
Lawrence Forman
a08399dfee
regenerate artifacts and wrappers
2020-02-07 23:23:23 -05:00
Lawrence Forman
4016808fa4
Cherry pick DevUtils refactor code from #2456
2020-02-07 23:23:23 -05:00
Lawrence Forman
8635849977
Address review comments and regenerate contract-wrappers
2020-02-07 23:22:58 -05:00
Lawrence Forman
1a9ed4d4fe
Add es2018.promises tsconfig lib target.
2020-02-07 23:22:58 -05:00
Lawrence Forman
e7b3246dd0
Cherry pick library linking code from #2456
2020-02-07 23:22:58 -05:00
Lawrence Forman
19589aec57
Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
2020-02-07 23:22:58 -05:00
Lawrence Forman
4d33ff0417
Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
2020-02-07 23:22:58 -05:00
Lawrence Forman
93a5ab5b33
Merge pull request #2462 from 0xProject/fix-and-feat/restore-contract-tests-and-refactors
...
Fix contracts tests + refactors
2020-02-07 23:16:50 -05:00
Lawrence Forman
59ada06cdf
Fix linter errors.
2020-02-07 22:39:56 -05:00
Lawrence Forman
ae650849b0
Rebase and address review comments.
2020-02-07 22:29:32 -05:00
Lawrence Forman
3e8f9a6b53
Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
2020-02-07 22:10:10 -05:00
Lawrence Forman
79362b0dba
Merge pull request #2476 from 0xProject/fix/erc20-bridge-sampler/dev-utils-gas-stipend
...
ERC20BridgeSampler: Catch DevUtils reverts
2020-02-07 10:08:40 -05:00
Lawrence Forman
3e3df06d57
@0x/contracts-erc20-bridge-sampler: Fix catching invalid opcode from DevUtils
...
`@0x/contract-addresses`: Update `ERC20BridgeSampler` mainnet and kovan addresses.
2020-02-07 03:07:33 -05:00
Lawrence Forman
6b220eb1c5
Merge pull request #2474 from 0xProject/feat/eth2dai-bridge/market-migration
...
Update Eth2Dai address
2020-02-07 02:42:29 -05:00
Lawrence Forman
a1c61cae11
@0x/contract-addresses: Redeploy ERC20BridgeSampler
2020-02-07 02:10:19 -05:00
Jacob Evans
d48a917bf3
[erc20-bridge-sampler] gas stipend for DevUtils
2020-02-07 16:57:11 +10:00
Lawrence Forman
646b6dafb2
@0x/contract-addresses Redeploy Eth2DaiBridge and ERC20BridgeSampler.
2020-02-07 01:56:59 -05:00
Lawrence Forman
8d10f33a3f
@0x/contracts-utils: Update Eth2Dai address.
2020-02-07 01:56:59 -05:00
Jacob Evans
5d603b2f80
Publish
...
- @0x/contracts-asset-proxy@3.1.3
- @0x/contracts-broker@1.0.1
- @0x/contracts-coordinator@3.0.6
- @0x/contracts-dev-utils@1.0.6
- @0x/contracts-erc1155@2.0.6
- @0x/contracts-erc20-bridge-sampler@1.2.1
- @0x/contracts-erc20@3.0.6
- @0x/contracts-erc721@3.0.6
- @0x/contracts-exchange-forwarder@4.1.0
- @0x/contracts-exchange-libs@4.2.0
- @0x/contracts-exchange@3.1.2
- @0x/contracts-extensions@6.0.0
- @0x/contracts-integrations@2.2.3
- @0x/contracts-multisig@4.0.6
- @0x/contracts-staking@2.0.6
- @0x/contracts-test-utils@5.1.3
- @0x/contracts-utils@4.2.1
- 0x.js@9.0.7
- @0x/abi-gen@5.1.2
- @0x/assert@3.0.5
- @0x/asset-swapper@4.1.1
- @0x/base-contract@6.1.2
- @0x/connect@6.0.5
- @0x/contract-artifacts@3.4.1
- @0x/contract-wrappers-test@12.2.7
- @0x/contract-wrappers@13.4.2
- @0x/contracts-gen@2.0.6
- @0x/dev-utils@3.1.3
- @0x/instant@1.0.44
- @0x/json-schemas@5.0.5
- @0x/migrations@6.0.2
- @0x/monorepo-scripts@1.0.49
- @0x/order-utils@10.1.3
- @0x/orderbook@2.1.2
- @0x/sol-compiler@4.0.6
- @0x/sol-coverage@4.0.6
- @0x/sol-doc@3.1.3
- @0x/sol-profiler@4.0.6
- @0x/sol-trace@3.0.6
- @0x/sol-tracing-utils@7.0.6
- @0x/sra-spec@3.0.5
- @0x/subproviders@6.0.6
- @0x/utils@5.3.0
- @0x/web3-wrapper@7.0.5
2020-02-06 21:24:29 +10:00
Jacob Evans
0e1b08ff54
Updated CHANGELOGS & MD docs
2020-02-06 21:24:05 +10:00
David Sun
befc22d718
[FIX] asset-swapper liquidity breakdown ( #2472 )
...
* changed divided
* added changelog
* prettier
Co-authored-by: Jacob Evans <dekz@dekz.net >
2020-02-06 15:09:39 +10:00
Jacob Evans
4a62e80967
[asset-swapper] Bump sampler gas limit and allow for override ( #2471 )
...
* [asset-swapper] Bump sampler gas limit and allow for override
* Fix imports
* Set to 36e6
2020-02-06 12:31:28 +10:00
Jacob Evans
ee9ef9f2c1
[asset-swapper] prune before dummy order creation ( #2470 )
2020-02-06 07:08:31 +10:00
mzhu25
93dcb68437
Merge pull request #2455 from 0xProject/feature/broker/gods-unchained
...
`@0x/contracts-broker`: Property-based Gods Unchained orders
2020-02-04 10:53:54 -08:00
Michael Zhu
0691cc7909
rename _transferEthRefund -> _unwrapAndTransferEth
2020-02-04 10:13:07 -08:00
Michael Zhu
d82f34fe59
add weth-related integration tests
2020-02-04 10:13:07 -08:00
Michael Zhu
d2313b30af
Address PR feedback and add support for affiliate fees
2020-02-04 10:13:07 -08:00
Michael Zhu
329719472a
Move LibAssetDataTransfer and MixinWeth(Utils) to contracts-extensions
2020-02-04 10:13:02 -08:00
Michael Zhu
a2fcab47d4
skip coordinator client test
2020-02-04 10:08:25 -08:00
Michael Zhu
4ab5951c25
Add comments
2020-02-04 10:08:25 -08:00
Michael Zhu
403cabb201
more integrations tests
2020-02-04 10:08:25 -08:00
Michael Zhu
3da7c5d3e2
Move LibAssetDataTransfer from forwarder to exchange-libs package
2020-02-04 10:08:21 -08:00
Michael Zhu
c5e0de51aa
Add Broker rich errors
2020-02-04 10:06:12 -08:00
Michael Zhu
c581f1bba4
Update Broker README
2020-02-04 10:06:12 -08:00
Michael Zhu
b8ac9c2edd
lint
2020-02-04 10:06:10 -08:00
Michael Zhu
1027ee2481
Broker integrations tests
2020-02-04 10:05:17 -08:00
Michael Zhu
2f311f7821
GodsUnchainedValidator unit tests
2020-02-04 10:04:19 -08:00
Michael Zhu
a98c95b514
Broker contracts
2020-02-04 10:04:19 -08:00
Michael Zhu
5bbbae5b23
create contracts-broker package
2020-02-04 10:04:19 -08:00
Jacob Evans
f9c9b9f924
Prevent docs dir from being completely removed
2020-02-04 20:29:16 +10:00
Jacob Evans
5921208ea6
Publish
...
- @0x/contracts-asset-proxy@3.1.2
- @0x/contracts-coordinator@3.0.5
- @0x/contracts-dev-utils@1.0.5
- @0x/contracts-erc1155@2.0.5
- @0x/contracts-erc20-bridge-sampler@1.2.0
- @0x/contracts-erc20@3.0.5
- @0x/contracts-erc721@3.0.5
- @0x/contracts-exchange-forwarder@4.0.5
- @0x/contracts-exchange-libs@4.1.1
- @0x/contracts-exchange@3.1.1
- @0x/contracts-extensions@5.1.4
- @0x/contracts-integrations@2.2.2
- @0x/contracts-multisig@4.0.5
- @0x/contracts-staking@2.0.5
- @0x/contracts-test-utils@5.1.2
- @0x/contracts-utils@4.2.0
- 0x.js@9.0.6
- @0x/abi-gen@5.1.1
- @0x/asset-swapper@4.1.0
- @0x/base-contract@6.1.1
- @0x/contract-addresses@4.4.0
- @0x/contract-wrappers-test@12.2.6
- @0x/contract-wrappers@13.4.1
- @0x/contracts-gen@2.0.5
- @0x/dev-utils@3.1.2
- @0x/instant@1.0.43
- @0x/migrations@6.0.1
- @0x/monorepo-scripts@1.0.48
- @0x/order-utils@10.1.2
- @0x/orderbook@2.1.1
- @0x/sol-compiler@4.0.5
- @0x/sol-coverage@4.0.5
- @0x/sol-doc@3.1.2
- @0x/sol-profiler@4.0.5
- @0x/sol-trace@3.0.5
- @0x/sol-tracing-utils@7.0.5
- @0x/subproviders@6.0.5
2020-02-04 20:22:07 +10:00
Jacob Evans
f89c78abd1
Updated CHANGELOGS & MD docs
2020-02-04 20:21:45 +10:00
David Sun
74d3b9334c
Add liquidity source breakdown to asset-swapper ( #2465 )
...
* add liquidity source breakdown to asset-swapper
* remove debug line
* use OptimizedMarketOrder metadata
* updated change-log
* prettier + lint
* bug fixes
* fixes
* Prettier
* Fix types
Co-authored-by: Jacob Evans <dekz@dekz.net >
2020-02-04 19:03:28 +10:00
Xianny
919fc66b9d
Stop hardcoding contract addresses ( #2461 )
...
* stop hardcoding contract addresses
* update changelog
* export ContractAddresses for docs
2020-02-04 17:49:45 +10:00
Francesco Agosti
400fb5a5bb
Merge pull request #2468 from 0xProject/feat/fix-test-publish
...
Bump maxBuffer?
2020-02-03 19:59:03 -08:00
fragosti
3bb4f9085c
Add post-instal step
2020-02-03 18:13:31 -08:00
Jacob Evans
714c6cec3c
Bump maxBuffer?
2020-02-03 17:50:32 -08:00
Lawrence Forman
cb69921202
ERC20BridgeSampler: Unlock full sampling on Kovan ( #2459 )
...
* `@0x/contracts-utils`: Update kovan addresses in `DeploymentConstants`
* `@0x/contracts-erc20-bridge-sampler`: Make source IDs static on all networks, not inherited from `DeploymentConstants`.
* `@0x/contract-addresses`: Update `ERC20BridgeSampler` addresses on mainnet and kovan.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-01-31 11:27:28 -05:00
Jacob Evans
277a0adac9
[base-contract] throw string revert error ( #2453 )
2020-01-24 07:48:26 +10:00
Jacob Evans
02d14f504f
Remove docs from sol-doc gitignore
2020-01-23 12:10:42 +10:00
Jacob Evans
1ab7664a60
Publish
...
- @0x/contracts-integrations@2.2.1
- 0x.js@9.0.5
- @0x/asset-swapper@4.0.1
- @0x/instant@1.0.42
2020-01-23 11:58:27 +10:00
Jacob Evans
1be46ffb7e
Updated CHANGELOGS & MD docs
2020-01-23 11:58:10 +10:00
Lawrence Forman
6ca52aed0d
@0x/asset-swapper: Fix understimated protocol fee in worst case quote. (#2452 )
2020-01-22 18:22:56 -05:00
Jacob Evans
74e20970e2
Create docs folder for sol-doc
2020-01-22 18:56:10 +10:00
Jacob Evans
93f2b6b4d8
Publish
...
- @0x/contracts-asset-proxy@3.1.1
- @0x/contracts-coordinator@3.0.4
- @0x/contracts-dev-utils@1.0.4
- @0x/contracts-erc1155@2.0.4
- @0x/contracts-erc20-bridge-sampler@1.1.0
- @0x/contracts-erc20@3.0.4
- @0x/contracts-erc721@3.0.4
- @0x/contracts-exchange-forwarder@4.0.4
- @0x/contracts-exchange-libs@4.1.0
- @0x/contracts-exchange@3.1.0
- @0x/contracts-extensions@5.1.3
- @0x/contracts-integrations@2.2.0
- @0x/contracts-multisig@4.0.4
- @0x/contracts-staking@2.0.4
- @0x/contracts-test-utils@5.1.1
- @0x/contracts-utils@4.1.0
- 0x.js@9.0.4
- @0x/abi-gen@5.1.0
- @0x/assert@3.0.4
- @0x/asset-swapper@4.0.0
- @0x/base-contract@6.1.0
- @0x/connect@6.0.4
- @0x/contract-addresses@4.3.0
- @0x/contract-artifacts@3.4.0
- @0x/contract-wrappers-test@12.2.5
- @0x/contract-wrappers@13.4.0
- @0x/contracts-gen@2.0.4
- @0x/dev-utils@3.1.1
- @0x/instant@1.0.41
- @0x/json-schemas@5.0.4
- @0x/migrations@6.0.0
- @0x/monorepo-scripts@1.0.47
- @0x/order-utils@10.1.1
- @0x/orderbook@2.1.0
- @0x/sol-compiler@4.0.4
- @0x/sol-coverage@4.0.4
- @0x/sol-doc@3.1.1
- @0x/sol-profiler@4.0.4
- @0x/sol-trace@3.0.4
- @0x/sol-tracing-utils@7.0.4
- @0x/sra-spec@3.0.4
- @0x/subproviders@6.0.4
- @0x/utils@5.2.0
- @0x/web3-wrapper@7.0.4
2020-01-22 18:49:46 +10:00
Jacob Evans
00e616b57a
Updated CHANGELOGS & MD docs
2020-01-22 18:49:24 +10:00
Jacob Evans
e436673304
[asset-swapper] Change Exchange sell to marketSellOrdersFillOrKill ( #2450 )
...
* Change Exchange sell to marketSellOrdersFillOrKill
* Update Changelog
2020-01-22 18:25:09 +10:00
James Towle
ce04d3ce41
Fix regression in DevUtils ( #2449 )
...
* fix bug in OrderTransferSimulationUtils causing failures for 721 assets
* Patched the regression and added tests
* Added regression test for fillable order
* Created a test for in and out of process ganache
* Split up DevUtils into two contracts
* Updated migration
* Remove the in and out of process ganache test
* Fixed contract addresses
* Appease linter
* Addressed review comments and updated artifacts, wrappers, and snapshots
* Fixed regression after refactor
* Update DevUtils and libTransactionDecoder contracts on mainnet and testnets
* Addressed @mzhu's review feedback
* Addressed @hysz's review feedback
* Updated devUtils address on testnets and mainnet after deployment
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Fabio B <kandinsky454@protonmail.ch >
2020-01-22 12:54:10 +10:00
Jacob Evans
4e46bf4697
Merge pull request #2427 from 0xProject/feature/erc20-bridge-sampler/query-multiple-buys-sells
...
ERC20BridgeSampler: Allow for batching multiple buy/sell samples
2020-01-22 11:54:45 +10:00
Jacob Evans
9b95508f99
Merge pull request #2445 from 0xProject/feat/asset-swapper/better-best-price-quote
...
asset-swapper: provide more accurate best quote price
2020-01-22 11:16:40 +10:00
Jacob Evans
c8c24456c1
Fix prettier
2020-01-22 10:01:18 +10:00
Lawrence Forman
80a6e82e1b
@0x/contracts-erc20-bridge-sampler: Fix linter error.
2020-01-21 17:47:27 -05:00
Lawrence Forman
80cec20d38
Update packages/asset-swapper/src/utils/swap_quote_calculator.ts
...
Co-Authored-By: Jacob Evans <jacob@dekz.net >
2020-01-21 16:53:02 -05:00
Lawrence Forman
26cb22020d
Update packages/asset-swapper/src/utils/swap_quote_calculator.ts
...
Co-Authored-By: Jacob Evans <jacob@dekz.net >
2020-01-21 16:52:54 -05:00
Lawrence Forman
09d05d09c9
@0x/asset-swapper: Provide more accurate best quote price.
2020-01-21 15:48:35 +10:00
Jacob Evans
160c91f908
Rename to Batch
2020-01-21 15:48:35 +10:00
Jacob Evans
58f41bcd42
Update asset-swapper WIP
2020-01-21 15:46:31 +10:00
Jacob Evans
0235429995
Update contract addresses
2020-01-21 09:15:47 +10:00
Lawrence Forman
f79697e117
@0x/contract-wrappers: Fix linter error.
2020-01-20 13:30:58 +10:00
Lawrence Forman
6f0019c71e
@0x/contract-wrappers: Update IERC20BridgeSampler wrapper.
2020-01-20 13:30:58 +10:00
Lawrence Forman
1a04a18245
@0x/contract-artifacts: Update IERC20BridgeSampler artifact.
2020-01-20 13:30:57 +10:00
Lawrence Forman
0cf3ff8209
@0x/contracts-erc20-bridge-sampler: Increase gas forwarded to kyber and eth2dai.
...
`@0x/contracts-erc20-bridge-sampler`: Bail as soon as any quote from a DEX fails.
`@0x/contracts-erc20-bridge-sampler`: Fix broken tests.
2020-01-20 13:30:57 +10:00
Lawrence Forman
7f56091fbd
@0x/asset-swapper: Add exponential sampling, exposed by sampleDistributionBase.
...
`@0x/asset-swapper`: Disable ethgasstation polling in tests.
`@0x/asset-swapper`: Tweak default hyper parameters to be friendlier to big fills.
2020-01-20 13:30:57 +10:00
F. Eugene Aumson
391f9b31f6
wrappers.py: satisfy linter (rm unnecessary pass)
2020-01-20 13:30:56 +10:00
F. Eugene Aumson
1d7c0f504a
abi-gen: ran black on CLI test Python output
2020-01-20 13:30:56 +10:00
F. Eugene Aumson
9cdc62f918
abi-gen: fix bug w/ 2D arrays of UDT's in Python
...
Fix bug in handling 2-dimensional arrays of user defined data types in
generated Python code.
2020-01-20 13:30:56 +10:00
F. Eugene Aumson
6027d0481e
wrappers.py: fix clean not rm'ing gen'd code
2020-01-20 13:30:55 +10:00
F. Eugene Aumson
277fb92f9e
abi-gen: exit when black fails to parse Python
...
Note: this is not the same case as when the black executable can't be
found; that case is still just a (non-fatal) warning.
2020-01-20 13:30:55 +10:00
Jacob Evans
79b6c3c1af
Update CHANGELOGs
2020-01-20 13:30:55 +10:00
Jacob Evans
ad17174119
Rename to Batch
2020-01-20 13:30:54 +10:00
Jacob Evans
6c2692eec0
Enable batch fetching from orderbook. Refactor
2020-01-20 13:30:54 +10:00
Jacob Evans
08640e8575
Update asset-swapper WIP
2020-01-20 13:30:54 +10:00
Jacob Evans
4a2575136f
Allow for batching multiple buy/sell samples
2020-01-20 13:30:52 +10:00
Jacob Evans
e792afad17
Merge pull request #2441 from 0xProject/kroeger/fix_function_name_in_readme
...
Fixed function name in README, network -> chain
2020-01-20 13:29:45 +10:00
Jacob Evans
5ecc4b027d
Merge pull request #2448 from 0xProject/fix/python-latest-ganache
...
Fix/python latest ganache
2020-01-20 13:25:26 +10:00
Jacob Evans
bc540f0cf0
[python] change gas estimate expected
2020-01-20 12:53:34 +10:00
Jacob Evans
a24b14c465
Pull 0xorg/ganache-cli:6.0.0 in circleci
2020-01-20 12:06:28 +10:00
Jacob Evans
c3f36c3123
Change python to use latest ganache
2020-01-20 11:50:43 +10:00
fabioberger
1d34da7557
Remove -v3-beta from snapshot name
2020-01-19 20:10:06 +01:00
fabioberger
27d74a4327
Update ganache-cli version to Istanbul-compatible version
2020-01-19 20:09:50 +01:00
mzhu25
8a20cc682c
Merge pull request #2446 from 0xProject/feature/contract-addresses/update-dev-utils-1-17-20
...
`@0x/contract-addresses`: update DevUtils addresses
2020-01-17 13:38:04 -08:00
mzhu25
9b20359e7b
Merge pull request #2431 from 0xProject/feature/fuzz/revert-assertions
...
`@0x/contracts-integrations`: Negative assertions for fuzzing
2020-01-17 13:10:00 -08:00
Michael Zhu
8866d0ccef
update contract-addresses changelog
2020-01-17 12:42:56 -08:00
Michael Zhu
7fa91a9971
update dev-utils addresses
2020-01-17 12:39:07 -08:00
Amir Bandeali
28d1f3eef0
Merge pull request #2440 from 0xProject/feat/dev-utils/chai-bridge-validation
...
Add ChaiBridge order balance/allowance checks to DevUtils
2020-01-17 11:46:27 -08:00
Amir
f321cf6655
Update DevUtils contract wrapper
2020-01-17 11:08:04 -08:00
Amir
14ade737da
Fix linting errors
2020-01-17 10:47:17 -08:00
Amir
41b1b1f141
Skip failing dydxBridge tests
2020-01-17 10:47:17 -08:00
Amir
25dfd47d32
Fix Ganache migrations
2020-01-17 10:47:17 -08:00
Amir
6afa9c8b92
Add mainnet integration tests for checking balances/allowances of ChaiBridge orders using DevUtils
2020-01-17 10:00:16 -08:00
Amir
2fc449da4c
Fix integrations tests build
2020-01-17 10:00:16 -08:00
Amir
5dd3b8cf9d
Special case unlimited allowance for Chai
2020-01-17 09:59:03 -08:00
Amir
e834fa0050
Split Dai calculation and erc20 balance checks into separate functions
2020-01-17 09:59:03 -08:00
Amir
9a97401606
Add ChaiBridge allowance checks
2020-01-17 09:59:03 -08:00
Amir
410a3fef18
Add ChaiBridge balance checks to DevUtils
2020-01-17 09:59:03 -08:00
Amir Bandeali
969b9814d5
Merge pull request #2442 from 0xProject/feat/forwarder/1155-support
...
Add 1155 support to Forwarder
2020-01-16 11:41:20 -08:00
Amir
2275e27b87
Rename internal functions in LibAssetDataTransfer and fix tests
2020-01-15 18:33:02 -08:00
Amir
62b06cd204
Add tests for transfering ERC1155 tokens out
2020-01-15 18:33:02 -08:00
Amir
350934ca21
Remove unused params
2020-01-15 18:32:57 -08:00
mzhu25
6332673434
Merge pull request #2436 from 0xProject/fix/dev-utils/map-fixes
...
`@0x/contracts-dev-utils`: LibAssetData fixes
2020-01-15 16:10:11 -08:00
Michael Zhu
f217840998
address comments
2020-01-15 13:22:53 -08:00
Michael Zhu
089ec35ceb
update changelog
2020-01-15 13:22:53 -08:00
Michael Zhu
fecd0b809e
tslint be trippin
2020-01-15 13:20:54 -08:00
Michael Zhu
4707a46561
Add negative assertions for endEpoch
2020-01-15 13:20:54 -08:00
Michael Zhu
616533c5a8
Add negative assertions for moveStake
2020-01-15 13:20:54 -08:00
Michael Zhu
c5b2991821
fix bug in finalizePool
2020-01-15 13:20:54 -08:00
Michael Zhu
c36d0fdc7c
invalidWithdrawDelegatorRewardsAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
544e09cf4b
invalidUnstakeAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
c110dc9e6a
generic assertion for TRANSFER_FAILED reverts; _invalidStake generator
2020-01-15 13:20:54 -08:00
Michael Zhu
3bf37d6afd
invalidDecreaseStakingPoolOperatorShareAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
b80ae5796b
invalidCreateStakingPoolAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
2083632299
Update addresses, artifact, wrapper
2020-01-15 10:38:57 -08:00
Amir
3ca2f8ac9e
Split out transfer logic into library, add 1155 support
2020-01-14 20:27:12 -08:00
Greg Hysz
7172432084
Merge pull request #2443 from 0xProject/fix/abiDecoder/LogDecodingDynamicData
...
Fixes log decoding of dynamic data
2020-01-14 18:33:57 -08:00
Greg Hysz
0e6afd147f
Merge pull request #2437 from 0xProject/test/contracts-integrations/fuzzOrderMatching
...
Fuzz order matching
2020-01-14 18:04:27 -08:00
Greg Hysen
46275a4f43
Minor fixes to order matching fuzz code
2020-01-14 17:32:10 -08:00
Michael Zhu
1dca378e03
add division-by-zero check for ERC1155 too
2020-01-14 16:32:18 -08:00
Greg Hysen
06669594b1
Updated changelogs.
2020-01-14 16:18:50 -08:00
Greg Hysen
c09ac58ac0
Fuzz testing for matchOrders and matchOrdersWithMaximalFill.
2020-01-14 16:17:43 -08:00
Greg Hysen
e01d32ef1a
added order matching functions to Taker actor.
2020-01-14 16:17:43 -08:00
Greg Hysen
5ea3bcf59e
Added matchOrders and matchOrdersWithMaximalFill to the reference functions.
2020-01-14 16:17:43 -08:00
Greg Hysen
aa8b14b7ee
Added order martching to Maker actor. Also fixed the joinStakingPool to record the pool id.
2020-01-14 16:17:43 -08:00
Greg Hysen
e1722cf739
Updated changelogs
2020-01-14 15:01:02 -08:00
Greg Hysen
7a7f70e15d
Updating tests after fixing log decoding
2020-01-14 14:17:45 -08:00
Greg Hysen
b3c3ec16e5
Fixed log decoding. Dynamic structures were not decoding properly. Now uses AbiEncoder from utils package.
2020-01-14 14:17:42 -08:00
Michael Zhu
149f863951
unbreak migrations cli
2020-01-14 09:15:17 -08:00
Michael Zhu
684d09faac
refactor LibAssetData tests
2020-01-13 15:29:37 -08:00
Michael Zhu
8a42691c80
Add test cases
2020-01-13 14:10:55 -08:00
Michael Zhu
d591b3dd98
LibAssetData fixes
2020-01-13 14:10:55 -08:00
Alex Kroeger
a90fb4d8b6
Fixed function name in README, network -> chain
2020-01-13 13:33:54 -08:00
Lawrence Forman
ebd08d9c63
Contract wrappers: Catch empty reverts on live networks ( #2433 )
...
* `@0x/utils`: Allow strict decoding of return values.
* `@0x/base-contract`: Catch empty call reverts on live networks.
`@0x/abi-gen`: Catch empty call reverts on live networks.
* `@0x/contracts-integrations`: Add mainnet contract wrapper `callAsync()` revert behavior tests.
* `@0x/contract-wrappers`: Regenerate wrappers to catch empty reverts on live networks.
* Update CHANGELOGs
* `@0x/contracts-integrations`: Fix solidity linter errors.
* `@0x/abi-gen`: Regenerate test outputs.
* `@0x/base-contract`: Update CHANGELOG.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-01-13 15:33:45 -05:00
Lawrence Forman
71731d223b
Update contract wrappers (esp Forwarder + asset-swapper) ( #2432 )
...
* `@0x/contract-artifacts`: Update artifacts.
* `@0x/contract-wrappers`: Regenerate wrappers.
* `@0x/migrations`: Update Forwarder migration.
* `@0x/asset-swapper`: Update forwarder fees for new forwarder contract.
* `@0x/dev-utils`: Make `"istanbul"` the default `hardfork` when creating a ganache provider.
* `@0x/asset-swapper`: Remove debug code.
* `@0x/asset-swapper`: Remove `getSmartContractParamsOrThrowAsync()` because why does it even exist?
`@0x/asset-swapper`: Fix broken tests.
`@0x/asset-swapper`: Correctly handle affiliate fees in `getCalldataOrThrow()`.
* `@0x/contract-wrappers`: Export `ExchangeOwnershipTransferredEventArgs`.
`@0x/0x.js`: Export `ExchangeOwnershipTransferredEventArgs`.
`@0x/asset-swapper`: Unexport `MethodAbi`, `ConstructorStateMutability`, and `StateMutability`.
* Update changelogs
* Update packages/migrations/CHANGELOG.json
Co-Authored-By: Jacob Evans <jacob@dekz.net >
* Update packages/asset-swapper/CHANGELOG.json
Co-Authored-By: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Jacob Evans <dekz@dekz.net >
2020-01-09 15:35:22 -05:00
David Sun
726ea5e01e
Merge pull request #2430 from 0xProject/feature/instant/enable-aggregator
...
Instant: whitelist tokens using bridge orders array
2020-01-08 16:50:40 -08:00
David Sun
16c7d2964b
typo
2020-01-08 16:17:25 -08:00
David Sun
5a6e494bda
lint + prettier
2020-01-08 16:16:29 -08:00
David Sun
88c6d89fbb
whitelist constants array
2020-01-08 13:55:53 -08:00
Lawrence Forman
de12da18da
Exchange signature validation fuzz tests ( #2425 )
...
* `@0x/contracts-integrations`: Add Exchange signature validation fuzz tests.
* `@0x/contracts-integrations`: Switch from actor pattern to just pure function generators.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-01-07 17:35:25 -05:00
Amir Bandeali
8d10736934
Merge pull request #2390 from 0xProject/feat/forwarder/v2-backwards-compatibility
...
Make Forwarder backwards compatible with v2
2020-01-07 13:04:27 -08:00
Amir
2328e02d82
Redeploy Forwarder
2020-01-07 11:03:18 -08:00
Michael Zhu
87cd5fca90
address comments
2020-01-07 11:03:18 -08:00
Michael Zhu
b70cb726c5
remove _noTakerFee (i.e. disallow StaticCall takerFeeAssetData)
2020-01-07 11:03:18 -08:00
Michael Zhu
295811ed5a
add integrations tests
2020-01-07 11:03:18 -08:00
Michael Zhu
4bc55551c6
Add unit tests
2020-01-07 11:03:18 -08:00
Michael Zhu
2b8c6dc8f9
Forwarder StaticCall and MultiAsset buy support
2020-01-07 11:03:18 -08:00
Amir Bandeali
8b27380feb
Fix dep version
2020-01-07 11:03:18 -08:00
Amir Bandeali
8de3a90851
Update CHANGELOG
2020-01-07 11:03:18 -08:00
Amir Bandeali
f8bb94d721
Remove unnecessary BigNumber cast
2020-01-06 22:12:05 -08:00
Amir Bandeali
0c6d06e7bb
Redeploy bridges and Forwarder on mainnet
2020-01-06 22:12:05 -08:00
Amir Bandeali
b0aa5d3af2
Check makerFeeAssetData length before attempting to read id
2020-01-06 22:12:05 -08:00
Amir Bandeali
27d09713fd
Add forwarder mainnet tests
2020-01-06 22:12:05 -08:00
Amir Bandeali
ff18852879
Fix build
2020-01-06 22:12:05 -08:00
Amir Bandeali
e515c91e5e
Do not attempt to transfer asset if fill failed
2020-01-06 22:12:05 -08:00
Amir Bandeali
1d5800c4f7
Fix WETH compilation
2020-01-06 22:12:05 -08:00
Amir Bandeali
de8f190945
Change erc-20 package compiler target to istanbul
2020-01-06 22:12:05 -08:00
Amir Bandeali
f371e3c8d3
Regenerate boilerplate
2020-01-06 22:12:05 -08:00
Amir Bandeali
b15a6290a7
Handle v2 order edge cases
2020-01-06 22:12:05 -08:00
Amir Bandeali
0f151db355
Enable istanbul in Ganache
2020-01-06 22:12:05 -08:00
Amir Bandeali
fa99b75d1f
Redeploy Forwarder and all bridges
2020-01-06 22:12:05 -08:00
Amir Bandeali
4a299c1f39
Change EVM target to istanbul for all contract packages except erc-20
2020-01-06 22:12:05 -08:00
Amir Bandeali
30a2015a68
Fix build
2020-01-06 22:12:05 -08:00
Amir Bandeali
c7c8a4891f
Update TS boilerplate
2020-01-06 22:12:05 -08:00
Amir Bandeali
fe9fc6b459
Allow v2 orders to be filled if their makerAssetFeeData field uses a v2 order id
2020-01-06 22:12:05 -08:00
Jacob Evans
2113fb490d
Publish
...
- @0x/contracts-asset-proxy@3.1.0
- @0x/contracts-coordinator@3.0.3
- @0x/contracts-dev-utils@1.0.3
- @0x/contracts-erc1155@2.0.3
- @0x/contracts-erc20-bridge-sampler@1.0.3
- @0x/contracts-erc20@3.0.3
- @0x/contracts-erc721@3.0.3
- @0x/contracts-exchange-forwarder@4.0.3
- @0x/contracts-exchange-libs@4.0.3
- @0x/contracts-exchange@3.0.3
- @0x/contracts-extensions@5.1.2
- @0x/contracts-integrations@2.1.0
- @0x/contracts-multisig@4.0.3
- @0x/contracts-staking@2.0.3
- @0x/contracts-test-utils@5.1.0
- @0x/contracts-utils@4.0.3
- 0x.js@9.0.3
- @0x/abi-gen@5.0.3
- @0x/assert@3.0.3
- @0x/asset-swapper@3.0.3
- @0x/base-contract@6.0.3
- @0x/connect@6.0.3
- @0x/contract-addresses@4.2.0
- @0x/contract-artifacts@3.3.0
- @0x/contract-wrappers-test@12.2.4
- @0x/contract-wrappers@13.3.0
- @0x/contracts-gen@2.0.3
- @0x/dev-utils@3.1.0
- @0x/instant@1.0.40
- @0x/json-schemas@5.0.3
- @0x/migrations@5.1.0
- @0x/monorepo-scripts@1.0.46
- @0x/order-utils@10.1.0
- @0x/orderbook@2.0.1
- @0x/sol-compiler@4.0.3
- @0x/sol-coverage@4.0.3
- @0x/sol-doc@3.1.0
- @0x/sol-profiler@4.0.3
- @0x/sol-trace@3.0.3
- @0x/sol-tracing-utils@7.0.3
- @0x/sra-spec@3.0.3
- @0x/subproviders@6.0.3
- @0x/utils@5.1.2
- @0x/web3-wrapper@7.0.3
2020-01-06 11:10:22 +10:00
Jacob Evans
0afedbd252
Updated CHANGELOGS & MD docs
2020-01-06 11:10:03 +10:00
Jacob Evans
3dec38450a
Merge pull request #2396 from Arctek/patch-1
...
Fix circular reference
2020-01-06 10:29:19 +10:00
Jacob Evans
d7a00b05e3
Merge pull request #2423 from 0xProject/fix/migrations-docker-wget-timestamping
...
@0x/migrations/Dockerfile: Remove --timestamping arg from wget invocation
2020-01-06 10:27:35 +10:00
Lawrence Forman
ff2cc8c887
Add aggregator mainnet tests ( #2407 )
...
* `@0x/contracts-erc20-bridge-sampler`: Add gas limits to external quote calls.
`@0x/contract-addresses`: Point `erc20BridgeSampler` to new version.
* `@0x/contracts-utils`: Add kovan addresses to `DeploymentConstants`.
`@0x/contract-addresses`: Add kovan `ERC20BridgeSampler` address.
* `@0x/contracts-erc20-bridge-sampler`: Fix changelog.
* `@0x/asset-swapper`: Ignore zero sample results from the sampler contract.
`@0x/asset-swapper`: Allow skipping Uniswap when dealing with low precision amounts with `minUniswapDecimals` option.
`@0x/asset-swapper`: Increase default `runLimit` from `1024` to `4096`.
`@0x/asset-swapper`: Increase default `numSamples` from `8` to `10`
`@0x/asset-swapper`: Fix ordering of optimized orders.
`@0x/asset-swapper`: Fix best and worst quotes being reversed sometimes.
`@0x/asset-swapper`: Fix rounding of quoted asset amounts.
* `@0x/asset-swapper`: Change default `minUniswapDecimals` option from 8 to 7.
* `@0x/asset-swapper`: Revert uniswap decimals fix.
* `@0x/contracts-test-utils`: Add `blockchainTests.live()` for live network tests.
`@0x/contracts-test-utils`: Add modifiers to `blockchainTests.fork()`.
`@0x/contracts-integrations`: Add aggregator mainnet tests.
* `@0x/contracts-integrations`: Fix `fork/resets` modifier ordering on dydx tests.
`@0x/contracts-integrations`: Move and tweak aggregation tests.
* `@0x/contracts-integrations`: Handle non-responsive third-party SRA ordebooks with a little more grace.
* `@0x/contracts-integrations`: Fix linter error.
* `@0x/contracts-test-utils`: Consolidate fork provider logic into `mocha_blockchain.ts`.
* `@0x/contracts-integrations`: Run prettier on aggregation fill tests.
* `@0x/dev-utils`: Add `locked` to `Web3Config`.
* `@0x/contracts-integrations`: Update mainnet fork tests.
`@0x/contracts-test-utils`: Fix forked tests being skipped.
`@0x/contracts-erc20-bridge-sampler`: Regenerate artifacts.
* `@0x/contracts-test-utils`: Remove unecessary `locked` option when creating forked ganache provider.
* Fix redundant zero check
* Set fee amount in fillable amounts test
Co-authored-by: Jacob Evans <dekz@dekz.net >
2020-01-03 23:47:40 -05:00
Lawrence Forman
0571a96cea
Fix asset-swapper bugs and misc improvements. ( #2406 )
...
* `@0x/contracts-erc20-bridge-sampler`: Add gas limits to external quote calls.
`@0x/contract-addresses`: Point `erc20BridgeSampler` to new version.
* `@0x/asset-swapper`: Ignore zero sample results from the sampler contract.
`@0x/asset-swapper`: Allow skipping Uniswap when dealing with low precision amounts with `minUniswapDecimals` option.
`@0x/asset-swapper`: Increase default `runLimit` from `1024` to `4096`.
`@0x/asset-swapper`: Increase default `numSamples` from `8` to `10`
`@0x/asset-swapper`: Fix ordering of optimized orders.
`@0x/asset-swapper`: Fix best and worst quotes being reversed sometimes.
`@0x/asset-swapper`: Fix rounding of quoted asset amounts.
* `@0x/contracts-utils`: Add kovan addresses to `DeploymentConstants`.
`@0x/contract-addresses`: Add kovan `ERC20BridgeSampler` address.
* `@0x/asset-swapper`: Change default `minUniswapDecimals` option from 8 to 7.
* `@0x/contracts-erc20-bridge-sampler`: Fix changelog.
* `@0x/asset-swapper`: Revert uniswap decimals fix.
* `@0x/asset-swapper`: Undo bridge slippage when computing best case quote.
* `@0x/asset-swapper`: Take asset data from input orders instead of output orders in quote result calculation.
* `@0x/asset-swapper`: Move `SAMPLER_CONTRACT_GAS_LIMIT` constant to `market_operation_utils/constants`.
* Compare equivalent asset data
* Fix redundant zero check
* Update CHANGELOG
* Set fee amount in fillable amounts test
Co-authored-by: Jacob Evans <dekz@dekz.net >
2020-01-03 23:21:39 -05:00
Lawrence Forman
b7b457b076
Generate (complete) solidity docs ( #2391 )
...
* `@0x/sol-doc`: New doc generator.
* `@0x/sol-compiler`: Be more tolerant of AST-only compilation targets.
* `@0x/contracts-exchange`: Add more devdoc comments.
`@0x/contracts-exchange-libs`: Add more devdoc comments.
* `@0x/sol-doc`: Update package script.
* `@0x/sol-doc`: Remove unused files and update package scripts to be easier to configure.
* Add more devdocs to contracts.
* `@0x/sol-doc`: Remove doc artifacts.
* `@0x/sol-doc`: Add `.gitignore` and `.npmignore`.
* `@0x/contracts-exchange`: Fix compilation errors.
* Fix more broken contracts.
* `@0x/contracts-erc20-bridge-sampler`: Fix failing tests.
* `@0x/contracts-asset-proxy`: Remove accidentally introduced hackathion file (lol).
* `@0x/sol-doc`: Prevent some inherited contracts from being included in docs unintentionally.
* `@0x/sol-doc`: Rename test file.
* `@0x/contracts-exchange`: Update `orderEpoch` devdoc.
* `@0x/sol-doc`: Tweak event and function docs.
* Update CODEOWNERS.
* `@0x/sol-doc` Tweak function md generation.
* `@0x/sol-doc`: add `transformDocs()` tests.
* `@0x/sol-doc`: add `extract_docs` tests.
* `@0x/sol-doc` Fix linter errors.
* `@0x/contracts-erc20-bridge-sampler`: Fix broken `ERC20BridgeSampler.sol` compile.
* `@0x/sol-doc` Fix mismatched `dev-utils` dep version.
* `@0x/sol-doc`: Add `gen_md` tests.
* `@0x/sol-doc`: Remove `fs.promises` calls.
* `@0x/sol-doc`: Fix linter errors.
* `@0x/sol-doc`: Export all relevant types and functions.
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-01-03 22:59:18 -05:00
F. Eugene Aumson
d2c12005b2
Also publish versioned docker image tag
...
Not just `latest`
2020-01-03 16:51:02 -05:00
F. Eugene Aumson
25f26d7e5f
Remove --timestamping arg from wget invocation
2020-01-03 12:40:40 -05:00
F. Eugene Aumson
9d5724e1a0
Fix 0xorg/ganache-cli docker image not supporting re-runs ( #2420 )
...
* Overwrite existing snapshot when unzipping
* Don't re-download snapshot if it isn't updated
* Update CHANGELOG.json
2020-01-02 20:19:06 -05:00
David Sun
784d23ec87
Merge pull request #2416 from 0xProject/feature/instant/disable-file-removal--in-s3
...
Instant - Added should_remove_files_in_s3 flag in discharge configuration
2019-12-22 20:54:43 -08:00
James Towle
709689a7ee
Merge pull request #2417 from 0xProject/tests/fix/dev-utils-tests
...
Fixed the DevUtils tests
2019-12-21 16:55:33 -08:00
F. Eugene Aumson
35d5d3d995
Pare down Mesh env vars in Py test env ( #2418 )
2019-12-21 13:19:00 -05:00
Alex Towle
630a8d8a4e
Addressed dorothy's nit
2019-12-20 19:14:52 -08:00
Alex Towle
54eb1d9055
Fixed the DevUtils tests
2019-12-20 15:51:45 -08:00
David Sun
cb63caea61
prettier
2019-12-20 12:57:40 -08:00
David Sun
8e046bb022
updated to new flag name
2019-12-20 12:07:59 -08:00
David Sun
189b53b8c4
added removal flag in configuration
2019-12-20 11:40:54 -08:00
Lawrence Forman
9b7277d464
Fix Kyber and Uniswap ERC20Bridges ( #2412 )
...
* `@0x/contracts-asset-proxy`: Fix `UniswapBridge` token -> token transfer logic.
`@0x/contract-addresses`: Update `UniswapBridge` mainnet address.
* `@0x/asset-proxy`: Fix `KyberBridge` incorrect `minConversionRate` calculation.
* `@0x/contract-addresses`: Update `KyberBridge` mainnet address.
2019-12-20 13:41:52 -05:00
F. Eugene Aumson
551a65c069
0x-sra-client.py: Fix bug in config_order, and other small improvements ( #2399 )
...
* Bug fix: unescape backslashes in regexes
Root problem is that there are too many backslashes in the SRA spec
itself. See https://github.com/0xProject/0x-monorepo/issues/1727
This was previously fixed for heavily-tested endpoints (get and post
order, etc), but was only recently discovered for the get-order-config
endpoint.
* Demonstrate get_order_config()
* Rename DefaultApi to RelayerApi
* Simplify RelayerApi instantiation
* Document paylod and response schemas
* Stop caring which contracts are wrapped
* Increase platform agnosticism
* Update CHANGELOG
* Remove unnecessary f-string
2019-12-20 12:24:55 -05:00
F. Eugene Aumson
4c21a697f4
sra_client.py: Tweak Mesh block polling interval used in tests ( #2413 )
...
* Change Mesh block polling interval to 50ms
* Increase Mesh's Ethereum node RPC rate limit
2019-12-20 11:26:57 -05:00
Greg Hysz
a8506c07ae
Merge pull request #2401 from 0xProject/feat/asset-proxy/DyDxBridgeTests
...
DydxBridge Contract Integration Tests
2019-12-19 22:16:44 -08:00
Greg Hysen
b0feb85b5c
Fixed merge conflict
2019-12-19 21:36:43 -08:00
Greg Hysen
f371eba8ad
Hardcoded address of ERC20BridgeProxy in unlocked accounts
2019-12-19 21:32:03 -08:00
Greg Hysen
265fa52ace
Rounding error tests in DydxBridgeProxy
2019-12-19 21:32:03 -08:00
Greg Hysen
c1f5322d38
Added TestDydxUser contract - this is deployed to mainnent as the dYdX Account Owner for the mainnet integration tests.
2019-12-19 21:32:03 -08:00
Greg Hysen
4415e00b38
Added more integration tests for DydxBridge with the Exchange (demonstrates use cases)
2019-12-19 21:32:03 -08:00
Greg Hysen
d4e46c5a9c
Updated Changelogs
2019-12-19 21:32:03 -08:00
Greg Hysen
bf5b9949fe
Ran prettier
2019-12-19 21:32:03 -08:00
Greg Hysen
3c11a2b1da
Increased mocha timeout for mainnet tests
2019-12-19 21:32:03 -08:00
Greg Hysen
1248868169
Added mainnet DydxBridge integration tests with dYdX SoloMargin contract
2019-12-19 21:32:03 -08:00
Greg Hysen
930b95a548
Added integration tests for DydxBridge with Exchange contract
2019-12-19 21:32:03 -08:00
Greg Hysen
27c9f68c7c
Added dydx bridge to contract-addresses package
2019-12-19 21:32:02 -08:00
Greg Hysen
358d4d86a7
Added ERC20BridgeProxy.transferFrom tests for DydxBridge
2019-12-19 21:31:07 -08:00
Lawrence Forman
d55eea2239
ERC20BridgeSampler: Gas limits ( #2405 )
...
* `@0x/contracts-erc20-bridge-sampler`: Add gas limits to external quote calls.
`@0x/contract-addresses`: Point `erc20BridgeSampler` to new version.
* `@0x/contracts-utils`: Add kovan addresses to `DeploymentConstants`.
`@0x/contract-addresses`: Add kovan `ERC20BridgeSampler` address.
* `@0x/contracts-erc20-bridge-sampler`: Fix changelog.
* `@0x/contracts-erc20-bridge-contracts`: Fix invalid CHANGELOG json (I hope).
2019-12-20 00:08:39 -05:00
David Sun
4507954ea5
Merge pull request #2410 from 0xProject/fix/instant/coverage
...
Fix bundlewatch for instant and passing static-test
2019-12-19 22:37:42 -05:00
David Sun
8e0a83f8d8
bundlewatch
2019-12-19 19:20:24 -08:00
David Sun
b6ec09e6cf
Merge pull request #2409 from 0xProject/feature/instant/minor-fixes-dai-aggregator
...
Fixes for instant (DAI + disable aggregator functionality)
2019-12-19 20:21:59 -05:00
David Sun
ed4e90623d
more fixes
2019-12-19 16:49:20 -08:00
David Sun
38cdb48748
fixes
2019-12-19 16:36:00 -08:00
James Towle
71bfe9b745
Merge pull request #2402 from 0xProject/deploy/dev-utils/12-18-2019
...
Added artifacts, addresses, and wrappers
2019-12-19 14:38:01 -08:00
Alex Towle
9e7645a167
Removed hand-written timestamps
2019-12-19 13:26:00 -08:00
Alex Towle
6dccc37143
Removed forbidden fields in artifact
2019-12-19 11:40:49 -08:00
Alex Towle
3310310d8c
Added artifacts, addresses, and wrappers
2019-12-19 10:32:01 -08:00
Greg Hysz
abb499aad8
Merge pull request #2403 from 0xProject/fix/circle/yarnInstall
...
Fix Circle builds
2019-12-19 10:24:48 -08:00
Greg Hysen
1afc09b08a
Workaround for https://github.com/yarnpkg/yarn/issues/7773
2019-12-19 01:12:46 -08:00
Alex Browne
0e86d72f05
Merge pull request #2384 from 0xProject/update-code-owners-contracts-albrow
...
Update CODEOWNERS
2019-12-18 13:48:31 -08:00
mzhu25
c9857a2764
Merge pull request #2392 from 0xProject/feature/fuzz/better-input-gen
...
`@0x/contracts-integrations`: Better input generation for fuzzing
2019-12-18 12:03:23 -08:00
Michael Zhu
701ba3902c
add comments
2019-12-18 11:38:33 -08:00
Michael Zhu
bb3ec970a9
lint
2019-12-18 11:38:33 -08:00
Michael Zhu
1d023e6db5
Add optional parameter to sample and sampleSize
2019-12-18 11:38:33 -08:00
Michael Zhu
1bd906ecb3
Add optional distribution parameter to Pseudorandom.integer, use Kumaraswamy distribution for operator share
2019-12-18 11:38:33 -08:00
James Towle
7cbffdb86b
Merge pull request #2400 from 0xProject/feature/dev-utils/duplicate-erc721-bug-fix
...
Duplicate ERC721 Bug Fix
2019-12-18 10:46:27 -08:00
Alex Towle
b979196ffd
Remove the taker patch
2019-12-17 19:02:57 -08:00
Alex Towle
2949db5f49
Fixed the bug and added tests that fail without the patch
2019-12-17 19:02:57 -08:00
Alex Towle
47c3ed9705
Fixed the bug and moved "contracts-tests" to "contracts-integrations"
2019-12-17 19:02:57 -08:00
xianny
51ca3109eb
Publish
...
- @0x/contracts-asset-proxy@3.0.2
- @0x/contracts-coordinator@3.0.2
- @0x/contracts-dev-utils@1.0.2
- @0x/contracts-erc1155@2.0.2
- @0x/contracts-erc20-bridge-sampler@1.0.2
- @0x/contracts-erc20@3.0.2
- @0x/contracts-erc721@3.0.2
- @0x/contracts-exchange-forwarder@4.0.2
- @0x/contracts-exchange-libs@4.0.2
- @0x/contracts-exchange@3.0.2
- @0x/contracts-extensions@5.1.1
- @0x/contracts-integrations@2.0.2
- @0x/contracts-multisig@4.0.2
- @0x/contracts-staking@2.0.2
- @0x/contracts-test-utils@5.0.1
- @0x/contracts-tests@0.0.8
- @0x/contracts-utils@4.0.2
- 0x.js@9.0.2
- @0x/abi-gen@5.0.2
- @0x/assert@3.0.2
- @0x/asset-swapper@3.0.2
- @0x/base-contract@6.0.2
- @0x/connect@6.0.2
- @0x/contract-addresses@4.1.0
- @0x/contract-artifacts@3.2.0
- @0x/contract-wrappers-test@12.2.3
- @0x/contract-wrappers@13.2.0
- @0x/contracts-gen@2.0.2
- @0x/dev-utils@3.0.2
- @0x/instant@1.0.39
- @0x/json-schemas@5.0.2
- @0x/migrations@5.0.2
- @0x/monorepo-scripts@1.0.45
- @0x/order-utils@10.0.1
- @0x/orderbook@2.0.0
- @0x/sol-compiler@4.0.2
- @0x/sol-coverage@4.0.2
- @0x/sol-doc@3.0.2
- @0x/sol-profiler@4.0.2
- @0x/sol-resolver@3.0.2
- @0x/sol-trace@3.0.2
- @0x/sol-tracing-utils@7.0.2
- @0x/sra-spec@3.0.2
- @0x/subproviders@6.0.2
- @0x/types@3.1.1
- @0x/typescript-typings@5.0.1
- @0x/utils@5.1.1
- @0x/web3-wrapper@7.0.2
2019-12-16 16:05:16 -08:00
xianny
2bcb79dc44
Updated CHANGELOGS & MD docs
2019-12-16 16:05:03 -08:00
xianny
ecec985649
pin python regex version
2019-12-16 14:22:48 -08:00
Lawrence Forman
994908549d
Asset-swapper aggregator utils ( #2353 )
...
* `@0x/asset-swapper`: Add ERC20Bridge aggregator library.
* `@0x/asset-swapper`: Finish off `aggregate.ts`.
* `@0x/types`: Add `OrderWithoutDomain` type.
* `@0x/asset-swapper`: Add testing infra for sampler/aggregator.
* `@0x/types`: Add `SignedOrderWithoutDomain` type.
* `@0x/asset-swapper`: Update aggregator to take and return orders with signatures.
* `@0x/asset-swapper`: Fix broken aggregator tests.
* `@0x/asset-swapper`: Pass the sampler contract into aggregator entry points.
* `@0x/contract-artifacts`: Add `IERC20BridgeSampler` artifact.
* `@0x/contract-wrappers`: Add `IERC20BridgeSampler` wrapper.
* `@0x/asset-swapper`: Address review comments.
* fixed testing
* refactored aggregate.ts and embeded into asset-swapper
* added adjusted rates for taker and maker fees
* remove PrunedSignedOrders
* updated contract-addresses and addressed some other todos
* streamlined logic
* patched in lawrences changes
* renamed aggregator utils and removed market_utils.ts
* added ack heartbeats
* fixed bug
* patches
* added dummy order things
* Dummy with valid sig
* Tweak gas price calculation to wei
* added test coverage and fixed bugs
* fixed migrations
* Fix CHANGELOGs and types export
* Deploy latest ERC20BridgeSampler on Mainnet
* `@0x/types` Revert CHANGELOG.
* `@0x/asset-swapper`: Address review comments.
`@0x/contract-addresses`: Make kyber lowercase.
* made protocol fee multiplier async
* `@0x/asset-swapper: Fix build errors and do some code cleanup.
* use assetDataUtils where possible
2019-12-16 12:35:58 -08:00
Arctek
e00f059a4a
Fix circular refence
2019-12-14 16:00:05 +10:30
Greg Hysz
6808e0d531
Merge pull request #2365 from 0xProject/feat/asset-proxy/DyDxBridge
...
dYdX Bridge
2019-12-13 13:46:06 -08:00
Greg Hysen
410c95308a
Updated dydx account encoding to assume that all actions are on partial balances
2019-12-13 12:02:23 -08:00
Greg Hysen
bec1f23616
Fixed merge conflicts
2019-12-13 11:06:16 -08:00
Greg Hysen
34596b7f83
Use safeGetPartialAmountFloor
2019-12-13 10:58:22 -08:00
Greg Hysen
5ca7169ee5
Reverted to version of dydx bridge that only allows from to be the account owner
2019-12-13 10:58:22 -08:00
Greg Hysen
3300aaa1b9
Refactored so that deposits are done from taker asset data and withdrawals from maker asset data.
2019-12-13 10:58:22 -08:00
Greg Hysen
54afc8a4a1
Fixed merge conflicts
2019-12-13 10:58:22 -08:00
Greg Hysen
f19f4310f4
Updating bridge to work w/o MultiAssetProxy
2019-12-13 10:57:57 -08:00
Greg Hysen
444125a7e1
Simplified the dydx bridge implememtation that does not use the bridge as the maker.
2019-12-13 10:57:57 -08:00
Greg Hysen
56cbb69401
DyDx bridge implementation using contract as maker with signature validation.
2019-12-13 10:56:54 -08:00
Lawrence Forman
70870ffcd2
Swallow reverts in ERC20BridgeSampler ( #2395 )
...
* `@0x/erc20-bridge-sampler`: Do not query empty/unsigned orders. Swallow revets on DEX quotes.
* `@0x/contracts-utils`: Add `DEV_UTILS_ADDRESS` and `KYBER_ETH_ADDRESS` to `DeploymentConstants`.
* `@0x/contracts-erc20-bridge-sampler`: Address review comments.
2019-12-13 10:53:25 -08:00
mzhu25
a556d91673
Merge pull request #2387 from 0xProject/feature/fuzz/staking-rewards
...
`@0x/contracts-integrations`: Staking rewards fuzz test
2019-12-12 15:43:29 -08:00
Michael Zhu
8ecbde8e1e
Chagne StoredBalance functions to not mutate in place
2019-12-12 15:21:42 -08:00
Michael Zhu
a24b293818
register actors in the SimulationEnvironment constructor
2019-12-12 14:38:07 -08:00
Xianny
cab5ebf94b
re-enable coordinator client tests ( #2394 )
2019-12-12 14:36:52 -08:00
Jacob Evans
a54b5baef2
Merge pull request #2393 from 0xProject/feature/orderbook-orderstore-async
...
orderbook: Make OrderStore async for use in db adapter
2019-12-12 10:30:17 -08:00
Jacob Evans
c324fe204e
Make OrderStore async for use in db adapter
...
CHANGELOGS
2019-12-12 09:43:07 -08:00
Amir Bandeali
37d972ed9e
Merge pull request #2389 from 0xProject/feat/contracts/mainnet-fork
...
Allow mainnet fork to be used for contract tests
2019-12-11 22:50:09 -08:00
Michael Zhu
e4a3b1cb05
fix bug in LibFractions reference function
2019-12-11 18:12:02 -08:00
Michael Zhu
49538f272e
address comments
2019-12-11 16:54:48 -08:00
mzhu25
1283232144
Merge pull request #2372 from 0xProject/feature/fuzz/prng
...
`@0x/contracts-integrations`: Seeded RNG and simulation logging
2019-12-11 10:23:08 -08:00
Michael Zhu
2f9891f0aa
fix CI failures
2019-12-10 00:32:48 -08:00
Michael Zhu
865a2b1fb0
add/update comments
2019-12-09 23:45:38 -08:00
Michael Zhu
1fde62eeb6
fix bug in finalizePool
2019-12-09 23:45:38 -08:00
Michael Zhu
6754cd48e2
refactor + fix lint
2019-12-09 23:45:38 -08:00
Michael Zhu
ccb477687a
fixing bugs
2019-12-09 23:45:38 -08:00
Michael Zhu
be0e6c8925
Staking rewards simulation/fuzz test
2019-12-09 23:45:38 -08:00
Michael Zhu
1c2cb947c0
Add assertion generators to keeper, staker, taker mixins for the new function assertions
2019-12-09 23:45:38 -08:00
Michael Zhu
4663eec950
Add function assertions required for staking rewards fuzzing: withdrawDelegatorRewards, finalizePool, and endEpoch. Also adds payProtocolFee-related assertions to fillOrder
2019-12-09 23:45:37 -08:00
Michael Zhu
fff3c1eb36
update pool membership simulation to use multiple makers and takers, partial fills
2019-12-09 23:43:16 -08:00
Michael Zhu
4b7434d1e8
post-rebase lockfile update
2019-12-09 23:42:32 -08:00
Michael Zhu
8cc35a60e6
Add yarn command to run a specific fuzz test
2019-12-09 23:42:32 -08:00
Michael Zhu
130653a1aa
move logger, pseudorandom, wrapper_interfaces to framework/utils/
2019-12-09 23:42:32 -08:00
Michael Zhu
1dcbebd130
lint
2019-12-09 23:42:32 -08:00
Michael Zhu
faf306ad23
Simulation logging, hopefully address function assertion lifetime issue
2019-12-09 23:42:32 -08:00
Michael Zhu
d11cdcd5d2
Use seeded rng for simulations
2019-12-09 23:42:32 -08:00
Amir Bandeali
0e59bd0bf3
Add mainnet config tests
2019-12-09 16:16:22 -08:00
Amir Bandeali
c0c6154ec1
Add fork option to describe and blockchainTests
2019-12-09 16:14:41 -08:00
Amir Bandeali
cb5384c2fb
Use fork configs if FORK_RPC_URL env var is set
2019-12-09 16:14:41 -08:00
Amir Bandeali
038c836fe5
Rename fillorder_test to fill_order_test
2019-12-09 16:14:41 -08:00
xianny
6b0f3570b9
Publish
...
- @0x/contracts-asset-proxy@3.0.1
- @0x/contracts-coordinator@3.0.1
- @0x/contracts-dev-utils@1.0.1
- @0x/contracts-erc1155@2.0.1
- @0x/contracts-erc20-bridge-sampler@1.0.1
- @0x/contracts-erc20@3.0.1
- @0x/contracts-erc721@3.0.1
- @0x/contracts-exchange-forwarder@4.0.1
- @0x/contracts-exchange-libs@4.0.1
- @0x/contracts-exchange@3.0.1
- @0x/contracts-extensions@5.1.0
- @0x/contracts-integrations@2.0.1
- @0x/contracts-multisig@4.0.1
- @0x/contracts-staking@2.0.1
- @0x/contracts-test-utils@5.0.0
- @0x/contracts-tests@0.0.7
- @0x/contracts-utils@4.0.1
- 0x.js@9.0.1
- @0x/abi-gen@5.0.1
- @0x/assert@3.0.1
- @0x/asset-swapper@3.0.1
- @0x/base-contract@6.0.1
- @0x/connect@6.0.1
- @0x/contract-artifacts@3.1.0
- @0x/contract-wrappers-test@12.2.2
- @0x/contract-wrappers@13.1.0
- @0x/contracts-gen@2.0.1
- @0x/dev-utils@3.0.1
- @0x/instant@1.0.38
- @0x/json-schemas@5.0.1
- @0x/migrations@5.0.1
- @0x/monorepo-scripts@1.0.44
- @0x/order-utils@10.0.0
- @0x/orderbook@1.0.1
- @0x/sol-compiler@4.0.1
- @0x/sol-coverage@4.0.1
- @0x/sol-doc@3.0.1
- @0x/sol-profiler@4.0.1
- @0x/sol-resolver@3.0.1
- @0x/sol-trace@3.0.1
- @0x/sol-tracing-utils@7.0.1
- @0x/sra-spec@3.0.1
- @0x/subproviders@6.0.1
- @0x/types@3.1.0
- @0x/utils@5.1.0
- @0x/web3-wrapper@7.0.1
2019-12-09 14:53:19 -08:00
xianny
71de0d04f3
Updated CHANGELOGS & MD docs
2019-12-09 14:53:05 -08:00
Xianny
99debff5d2
Add syntactic sugar for assetDataUtils ( #2388 )
...
* add syntactic sugar for assetDataUtils
2019-12-09 13:55:58 -08:00
Amir Bandeali
3bac6fcb27
Merge pull request #2377 from 0xProject/feat/forwarder/multi-affiliate-fees
...
Forwarder affiliate fee usability improvements
2019-12-08 19:13:28 -08:00
Amir Bandeali
4b842b81a0
Address PR feedback
2019-12-08 16:28:00 -08:00
Amir Bandeali
e2e4d048ab
Update tests to use new Forwarder interface
2019-12-04 21:23:55 -08:00
Amir Bandeali
5574c368cd
Allow different ETh fees to be specified for different feeRecipient addresses
2019-12-04 21:23:55 -08:00
Amir Bandeali
0d34f7b92e
Add EthFeeLengthMismatchError
2019-12-04 21:23:55 -08:00
Amir Bandeali
5be0632e01
Add tests with multiple fee recipients
2019-12-04 21:23:55 -08:00
Amir Bandeali
79ea0bf9f4
Allow affiliate fee to be split between multiple fee recipient addresses
2019-12-04 21:23:54 -08:00
Amir Bandeali
b1929cb688
Update affiliate fee tests
2019-12-04 21:23:54 -08:00
Amir Bandeali
5ad98700e5
Remove FeePercentageTooLargeError rich revert
2019-12-04 21:22:54 -08:00
Amir Bandeali
a54624b697
Do not return ethFeePaid
2019-12-04 21:22:54 -08:00
Amir Bandeali
ca34c865af
Remove max fee percentage for affiliate fees
2019-12-04 21:22:54 -08:00
Amir Bandeali
dde57b1eca
Make affiliate fee a flat amount
2019-12-04 21:22:54 -08:00
Amir Bandeali
264b06938e
Merge pull request #2378 from 0xProject/feat/bridges/chai-bridge
...
Implement ChaiBridge
2019-12-04 16:25:46 -08:00
John Johnson
99edb303e2
Merge pull request #2386 from 0xProject/feature/fix-unbound-provider
...
Fix unbound method in provider standardizer
2019-12-04 15:44:22 -08:00
John Johnson
104cc24dfc
Fixing unbound provider (metamask v7.7 incorrectly binds this)
2019-12-04 15:09:00 -08:00
Xianny
fcbcbac889
Remove assetDataUtils everywhere ( #2373 )
...
* remove assetDataUtils everywhere
* export IAssetDataContract from @0x/contract-wrappers to allow @0x/instant to decode asset data synchronously
* export generic function `decodeAssetDataOrThrow` and add ERC20Bridge support
* export `hexUtils` from order-utils instead of contracts-test-utils
2019-12-04 13:08:08 -08:00
mzhu25
b86d19028c
Merge pull request #2366 from 0xProject/feature/fuzz/makers-and-takers
...
Pool Member Fuzz Tests
2019-12-04 11:12:55 -08:00
F. Eugene Aumson
4f17a251d3
Python publish for v3 ( #2383 )
...
* Remove pre-release suffixes from version numbers
* For wrapper test, pull latest ganache image first
* For wrapper test, unpin ganache, use beta snapshot
* In docs, advise using beta ganache snapshot
Because we haven't yet published the non-beta snapshot
* Unpin package interdependencies
* unpin tests from beta 0xorg/ganache-cli version
* use beta ganache snapshot
* Set release date in CHANGELOGs
* In testing deployment, stop testing pre-releases
* Include rmtree("build") in all clean commands
* Fix clean not cleaning what it thought it was
* In monorepo script, install pkgs 1st then dev deps
* Stop pinning ganache snapshot version
* In test setup, wait longer for mesh to start up
* Fix broken hyperlinks in docs
* fix missing \n that was breaking doc rendering
* In monorepo script comment, fix typo, and clarify
2019-12-04 08:42:00 -08:00
Alex Browne
731a823cc2
Update CODEOWNERS
...
Remove albrow as code owner for the `contract-addresses` and `contract-artifacts` packages. It's been a long time since I've worked on these packages and I am no longer the best person to review changes to them.
2019-12-03 17:19:08 -08:00
Michael Zhu
3d79fe2bf4
post-rebase lockfile update
2019-12-03 15:34:59 -08:00
Alex Towle
474399154f
Addressed last review comment
2019-12-03 14:41:53 -08:00
Alex Towle
19f5153d0e
Addressed some review feedback
2019-12-03 14:41:53 -08:00
Alex Towle
ce11271866
Appease the linter
2019-12-03 14:40:18 -08:00
Alex Towle
86cf353296
Improved the fuzz test
2019-12-03 14:40:07 -08:00
Alex Towle
36df5dc721
Implemented a hacky version of the fillOrder fuzz tests
2019-12-03 14:40:07 -08:00
Alex Towle
1e44a9c942
Made function assertions work with the new wrappers
2019-12-03 14:39:29 -08:00
mzhu25
8685cf9036
Merge pull request #2357 from 0xProject/refactor/integrations/transaction-tests
...
`@0x/contracts-integrations`: Transaction integration tests
2019-12-03 11:04:11 -08:00
Michael Zhu
2232870b09
address comments
2019-12-03 10:35:59 -08:00
Amir Bandeali
b68acd101e
Fix failing tests
2019-12-03 08:46:47 -08:00
Amir Bandeali
173ba9b2b5
Add ChaiBridge unit tests
2019-12-02 16:42:17 -08:00
Amir Bandeali
64ed1f87d3
Rethrow custom error string if draw call fails
2019-12-02 16:42:17 -08:00
Michael Zhu
1ca085ec4a
address comments
2019-12-02 15:39:03 -08:00
Michael Zhu
e332b7535c
prettier
2019-12-02 15:39:02 -08:00
Michael Zhu
79eb613b3e
Use AbiEncoder for methodAbiToFunctionSignature
2019-12-02 15:39:02 -08:00
Michael Zhu
5a79ec28d1
transaction protocol fee integration tests
2019-12-02 15:39:02 -08:00
Michael Zhu
97e65a02c0
fix test nesting
2019-12-02 15:39:02 -08:00
Michael Zhu
e87c786b77
fix dataItemsToABIString
2019-12-02 15:39:02 -08:00
Michael Zhu
251d30d47f
refactor transaction integration tests to use new framework
2019-12-02 15:39:02 -08:00
fabioberger
761d0a0f18
Publish
...
- @0x/contracts-asset-proxy@3.0.0
- @0x/contracts-coordinator@3.0.0
- @0x/contracts-dev-utils@1.0.0
- @0x/contracts-erc1155@2.0.0
- @0x/contracts-erc20-bridge-sampler@1.0.0
- @0x/contracts-erc20@3.0.0
- @0x/contracts-erc721@3.0.0
- @0x/contracts-exchange-forwarder@4.0.0
- @0x/contracts-exchange-libs@4.0.0
- @0x/contracts-exchange@3.0.0
- @0x/contracts-extensions@5.0.0
- @0x/contracts-integrations@2.0.0
- @0x/contracts-multisig@4.0.0
- @0x/contracts-staking@2.0.0
- @0x/contracts-test-utils@4.0.0
- @0x/contracts-tests@0.0.6
- @0x/contracts-utils@4.0.0
- 0x.js@9.0.0
- @0x/abi-gen@5.0.0
- @0x/assert@3.0.0
- @0x/asset-swapper@3.0.0
- @0x/base-contract@6.0.0
- @0x/connect@6.0.0
- @0x/contract-addresses@4.0.0
- @0x/contract-artifacts@3.0.0
- @0x/contract-wrappers-test@12.2.1
- @0x/contract-wrappers@13.0.0
- @0x/contracts-gen@2.0.0
- @0x/dev-utils@3.0.0
- ethereum-types@3.0.0
- @0x/instant@1.0.37
- @0x/json-schemas@5.0.0
- @0x/migrations@5.0.0
- @0x/monorepo-scripts@1.0.43
- @0x/order-utils@9.0.0
- @0x/orderbook@1.0.0
- @0x/sol-compiler@4.0.0
- @0x/sol-coverage@4.0.0
- @0x/sol-doc@3.0.0
- @0x/sol-profiler@4.0.0
- @0x/sol-resolver@3.0.0
- @0x/sol-trace@3.0.0
- @0x/sol-tracing-utils@7.0.0
- @0x/sra-spec@3.0.0
- @0x/subproviders@6.0.0
- @0x/tslint-config@4.0.0
- @0x/types@3.0.0
- @0x/typescript-typings@5.0.0
- @0x/utils@5.0.0
- @0x/web3-wrapper@7.0.0
2019-12-02 15:31:06 +01:00
fabioberger
ae4b1e74f9
Updated CHANGELOGS & MD docs
2019-12-02 15:30:53 +01:00
Jacob Evans
ac44618e58
Remove DIST_TAG
2019-12-03 00:44:01 +11:00
Jacob Evans
d634cbf924
Major version CHANGELOGs
2019-12-03 00:26:25 +11:00
Jacob Evans
21db0e6275
Publish
...
- @0x/contracts-asset-proxy@2.3.0-beta.4
- @0x/contracts-coordinator@2.1.0-beta.4
- @0x/contracts-dev-utils@0.1.0-beta.4
- @0x/contracts-erc1155@1.2.0-beta.4
- @0x/contracts-erc20-bridge-sampler@1.0.0-beta.2
- @0x/contracts-erc20@2.3.0-beta.4
- @0x/contracts-erc721@2.2.0-beta.4
- @0x/contracts-exchange-forwarder@3.1.0-beta.4
- @0x/contracts-exchange-libs@3.1.0-beta.4
- @0x/contracts-exchange@2.2.0-beta.4
- @0x/contracts-extensions@4.1.0-beta.4
- @0x/contracts-integrations@1.0.3-beta.2
- @0x/contracts-multisig@3.2.0-beta.4
- @0x/contracts-staking@1.1.0-beta.4
- @0x/contracts-test-utils@3.2.0-beta.4
- @0x/contracts-tests@0.0.5
- @0x/contracts-utils@3.3.0-beta.4
- 0x.js@8.0.0-beta.3
- @0x/abi-gen@4.4.0-beta.4
- @0x/assert@2.2.0-beta.3
- @0x/asset-swapper@2.1.0-beta.4
- @0x/base-contract@5.5.0-beta.4
- @0x/connect@5.1.0-beta.3
- @0x/contract-addresses@3.3.0-beta.5
- @0x/contract-artifacts@2.3.0-beta.4
- @0x/contract-wrappers-test@12.2.0
- @0x/contract-wrappers@12.2.0-beta.4
- @0x/contracts-gen@1.1.0-beta.4
- @0x/dev-utils@2.4.0-beta.4
- @0x/instant@1.0.36
- @0x/json-schemas@4.1.0-beta.3
- @0x/migrations@4.4.0-beta.4
- @0x/monorepo-scripts@1.0.42
- @0x/order-utils@8.5.0-beta.4
- @0x/orderbook@0.1.0-beta.4
- @0x/sol-compiler@3.2.0-beta.4
- @0x/sol-coverage@3.1.0-beta.4
- @0x/sol-doc@2.1.0-beta.4
- @0x/sol-profiler@3.2.0-beta.4
- @0x/sol-resolver@2.1.0-beta.3
- @0x/sol-trace@2.1.0-beta.4
- @0x/sol-tracing-utils@6.1.0-beta.4
- @0x/sra-spec@2.1.0-beta.3
- @0x/subproviders@5.1.0-beta.3
- @0x/types@2.5.0-beta.3
- @0x/utils@4.6.0-beta.3
- @0x/web3-wrapper@6.1.0-beta.3
2019-12-02 23:38:04 +11:00
Jacob Evans
ce426fd3f4
Updated CHANGELOGS & MD docs
2019-12-02 23:37:43 +11:00
Jacob Evans
b5d4c91207
Update Changelogs to beta
2019-12-02 23:11:48 +11:00
Jacob Evans
b43263be77
Merge pull request #2382 from 0xProject/fix/contract-wrappers-remove-artifacts
...
Remove contract-artifacts dep from contract-wrappers
2019-12-02 22:09:01 +10:00
Jacob Evans
207cf7ca24
Fix unused export
2019-12-02 22:48:09 +11:00
Jacob Evans
00e34758c4
Remove artifacts dep from contract-wrappers
2019-12-02 18:51:47 +11:00
Amir Bandeali
7a3f878c11
Add ChaiBridge to boilerplate
2019-12-01 15:57:01 -08:00
Amir Bandeali
b8439598bc
Remove redundant getters from bridges
2019-12-01 15:55:27 -08:00
Amir Bandeali
7fb0818923
Implement ChaiBridge
2019-12-01 15:54:58 -08:00
Amir Bandeali
a7c435adc4
Add mainnet deployment addresses for Dai, Chai, and ERC20BridgeProxy
2019-12-01 15:40:29 -08:00
Amir Bandeali
dd90aabad6
Merge pull request #2375 from Arctek/fix/coordinator-client
...
Fix for typo in constructor and gas price to apply to meta transaction.
2019-12-01 13:06:00 -08:00
Joshua Richardson
5bded1946e
Fix for typo in constructor and gas price to apply to meta transaction.
2019-12-01 16:14:31 +10:30
Amir Bandeali
3642e96154
Merge pull request #2374 from 0xProject/feat/redeploy-forwarder-3.0
...
Redeploy 3.0 Forwarder on all networks
2019-11-30 14:17:52 -08:00
Amir Bandeali
9da09ee3a6
Update CHANGELOGs
2019-11-30 13:31:42 -08:00
Amir Bandeali
141c140f53
Update Forwarder artifact and wrapper
2019-11-30 13:31:36 -08:00
Amir Bandeali
84b660d2ef
Pass in WETH address into Forwarder constructor
2019-11-29 18:20:07 -08:00
Amir Bandeali
6beedba957
Update Forwarder addresses on all networks
2019-11-29 15:55:49 -08:00
Xianny
d73982819b
Deprecate abi-gen-wrappers ( #2370 )
...
* generate wrappers in @0x/contract-wrappers and delete abi-gen-wrappers
* trim exports from contract-wrappers
* separate contract-wrappers tests to get rid of dependency cycle
* remove dummy token contracts
* temporarily skip coordinator test until we can upgrade coordinator server
2019-11-27 17:50:24 -08:00
Jacob Evans
6ac5bcc907
Merge pull request #2362 from 0xProject/fix/revert-errors-utils
...
Re-export the RevertErrors
2019-11-27 12:27:37 +10:00
Jacob Evans
389d4d10f1
Import from @0x/utils
2019-11-27 13:02:37 +11:00
Jacob Evans
89dcbd0229
Fix import of LibBytesRevertErrors
2019-11-27 11:57:56 +11:00
Jacob Evans
ad8caa2b51
Remove moved RevertErrors
2019-11-27 11:52:14 +11:00
Jacob Evans
9c42241269
Re-export the RevertErrors
2019-11-27 11:43:12 +11:00
mzhu25
38dd45cce2
Merge pull request #2356 from 0xProject/feature/forwarder/erc20-bridge-buy
...
`@0x/contracts-exchange-forwarder`: ERC20Bridge buy support in Forwarder
2019-11-26 15:20:54 -08:00
Michael Zhu
aa90253c62
update TestUniswapExchangeFactory
2019-11-26 14:39:59 -08:00
Michael Zhu
41576652dc
address more comments
2019-11-26 14:19:37 -08:00
Michael Zhu
74830854ca
update changelogs
2019-11-26 14:16:54 -08:00
Michael Zhu
2542b1b44d
address comments and tests
2019-11-26 14:16:54 -08:00
Michael Zhu
51f5e60224
static tests
2019-11-26 14:16:54 -08:00
Michael Zhu
bb5885e2bb
integration tests
2019-11-26 14:16:54 -08:00
Michael Zhu
d51bbb0008
Unit tests
2019-11-26 14:16:54 -08:00
Michael Zhu
49e898b189
add ERC20Bridge buy support
2019-11-26 14:16:54 -08:00
F. Eugene Aumson
42c4fe5705
Pre-release version bumps; test fixes for latest mesh/ganache versions ( #2363 )
...
* Use pre-release ver's for tests against deployment
* Pre-release version number bumps
* pin sra_client dev deps to prereleases
for testing against deployed package
* middlewares: incl doctest in tests of deployment
* Unpin mesh, use new snapshot, & pay protocol fees
* .gitignore gen'd wrappers for new contracts
* test build_tx() & support for empty TxParams.from_
* fix doc: fill TAKERAssetAmount, not maker...
2019-11-26 13:27:49 -05:00
Jacob Evans
4b5f2c36b9
Merge pull request #2336 from 0xProject/feature/upgrade-instant-v3
...
Upgrade instant v3
2019-11-26 20:43:58 +10:00
Jacob Evans
935dca67e6
ERC1155 Wrapper without chai
2019-11-26 17:56:30 +11:00
Jacob Evans
d431790e19
Re-export orderHashUtils
...
Rather than have hacks spread through the codebase
2019-11-26 15:14:36 +11:00
Jacob Evans
56310b7bd4
Revert to abi-gen-wrappers. Clean package.json
2019-11-26 13:58:21 +11:00
Lawrence Forman
f15e21faad
Merge pull request #2344 from 0xProject/feat/erc20-bridge-aggregator
...
ERC20BridgeSampler
2019-11-25 20:33:19 -05:00
Jacob Evans
44aa6a2b38
Clean up package.json dependencies
2019-11-26 11:33:08 +11:00
David Sun
9f32347c01
revert svg loader
2019-11-26 11:33:07 +11:00
David Sun
3d5b229c46
prettier
2019-11-26 11:33:07 +11:00
David Sun
5863ccc0a0
replay @dekz commits
2019-11-26 11:33:07 +11:00
David Sun
d220a16b99
fixed contract-wrappers again
2019-11-26 11:33:06 +11:00
David Sun
79784fc8ee
fixed wrappers usage in contract-wrappers
2019-11-26 11:33:06 +11:00
David Sun
a83bc53c6a
updated protocol fee utils
2019-11-26 11:33:05 +11:00
David Sun
85de0b91b1
added todo
2019-11-26 11:33:05 +11:00
Jacob Evans
d91c6e5702
Round affiliate fee for non whole amounts
2019-11-26 11:33:05 +11:00
Jacob Evans
ab7689d188
Re-enable affiliate fee
2019-11-26 11:33:05 +11:00
Jacob Evans
c81455c760
Update SwapQuoteUpdater with gas estimator
2019-11-26 11:33:04 +11:00
David Sun
39bfc97a7a
fix build issues
2019-11-26 11:33:04 +11:00
David Sun
88aac78282
removed asset-buyer from residual files
2019-11-26 11:33:04 +11:00
David Sun
863e830d24
prettier + lint
2019-11-26 11:32:34 +11:00
David Sun
6c705728a4
passing instant tests
2019-11-26 11:32:34 +11:00
David Sun
7f00279ffb
fixed CI tests for swapper
2019-11-26 11:32:34 +11:00
David Sun
c198d0079e
prettier + minor changes
2019-11-26 11:32:33 +11:00
David Sun
1135d5a971
updated unit tests
2019-11-26 11:32:33 +11:00
David Sun
e299fa27a0
update to swapper
2019-11-26 11:32:32 +11:00
David Sun
46e0bc940a
refactored and added fees
2019-11-26 11:32:32 +11:00
David Sun
9a552012f2
fixed bugs preventing build
2019-11-26 11:32:31 +11:00
David Sun
6498d385ee
reworked largely all the asset-buyer legacy code
2019-11-26 11:32:30 +11:00
David Sun
dd00f2016f
removed asset-buyer
2019-11-26 11:32:30 +11:00
David Sun
64d25e6522
removed buyer and adding in asset-swapper
2019-11-26 11:32:29 +11:00
Lawrence Forman
1462ab08de
@0x/contracts-erc20-bridge-sampler: Clean up linter workaround in tests.
2019-11-25 17:55:12 -05:00
Lawrence Forman
a8e93a594d
@0x/contracts-erc20-bridge-sampler: Throw sampling two of the same tokens.
...
`@0x/contracts-erc20-bridge-sampler`: Address review comments.
2019-11-25 17:48:53 -05:00
Lawrence Forman
dea30b37ef
@0x/contracts-erc20-bridge-sampler: Update README and add index.ts.
2019-11-25 17:48:53 -05:00
Lawrence Forman
39571dda0b
Add erc20-bridge-sampler to prettierignore
2019-11-25 17:48:53 -05:00
Lawrence Forman
c7d801b6c2
@0x/contracts-erc20-bridge-sampler: Update DEPLOYS.json
2019-11-25 17:48:53 -05:00
Lawrence Forman
57731be689
@0x/contracts-erc20-bridge-sampler: Remove gitkeep files
2019-11-25 17:48:53 -05:00
Lawrence Forman
f00524e518
@0x/contracts-erc20-bridge-sampler: Update README
2019-11-25 17:48:53 -05:00
Lawrence Forman
5567c40bae
Update changelogs
2019-11-25 17:48:53 -05:00
Lawrence Forman
5d1a7613dd
Add @0x/contracts-erc20-bridge-sampler to CI
2019-11-25 17:48:53 -05:00
Lawrence Forman
fa768dc112
@0x/contracts-erc20-bridge-sampler: Finish off tests.
2019-11-25 17:48:53 -05:00
Lawrence Forman
27fb51d37f
@0x/contracts-asset-proxy: Tweak IUniswapExchangeFactory.
2019-11-25 17:48:53 -05:00
Lawrence Forman
d02db3864e
@0x/contracts-erc20-bridge-sampler: Fix kyber bug and add test contract.
2019-11-25 17:48:53 -05:00
Lawrence Forman
a26c3036a7
@0x/contracts-erc20-bridge-sampler: Get contracts compiling.
2019-11-25 17:48:53 -05:00
Lawrence Forman
0af346aad8
@0x/contracts-erc20-bridge-aggregator: Create package.
...
`@0x/contracts-erc20`: Add `decimals()` to `LibERC20Token`.
`@0x/contracts-erc20-bridge-sampler`: Created package.
2019-11-25 17:48:53 -05:00
James Towle
c3c8ee7292
Merge pull request #2367 from 0xProject/feature/staking/authorizable-tests
...
Added unit tests for Authorizable
2019-11-25 15:59:15 -06:00
David Sun
5fbdfa66d9
Merge pull request #2368 from 0xProject/fix/reenable-builds-for-v3
...
Reenable CircleCi tests for swapper + orderbook, and fix migrations bug
2019-11-25 16:35:56 -05:00
David Sun
15b75715ee
enable tests
2019-11-25 15:14:02 -05:00
Alex Towle
1fd92b6cbd
Added unit tests for onlyAuthorized
2019-11-25 14:02:53 -06:00
David Sun
2918b5d74e
add coverage for swapper
2019-11-25 14:40:35 -05:00
David Sun
669c5be344
prettier
2019-11-25 14:28:34 -05:00
Jacob Evans
e1b40ec46e
Update Mesh fixtures
2019-11-26 00:07:30 +11:00
Jacob Evans
15767538eb
Deploy Forwarder after Exchange is configured
2019-11-25 18:20:26 +11:00
David Sun
de2b16c464
fixed migrations
2019-11-25 01:05:24 -05:00
Alex Towle
d5e6b38450
Added unit tests for Authorizable
2019-11-24 22:55:17 -06:00
Xianny
a636e87a4f
remove matchOrders; must be executed directly through Exchange contract ( #2364 )
2019-11-22 14:19:18 -08:00
Xianny
50d5b4fa37
Refactor/3.0/coordinator client ( #2348 )
...
* deduplicate migrateOnceAsync() test helper
* move and rename coordinator client to @0x/contracts-coordinator
2019-11-22 12:19:00 -08:00
Jacob Evans
f6d26392fb
Merge pull request #2361 from 0xProject/fix/migrations-massage
...
Massage the migrations to match contract-addresses
2019-11-22 11:36:35 +11:00
Jacob Evans
2705bcce15
Massage the migrations to match contract-addresses
2019-11-22 11:06:07 +11:00
Fabio B
379a31ece6
Merge pull request #2355 from 0xProject/fix/increaseKeepAliveOnGanacheDockerImage
...
Extend keepAliveTimeout config on Ganache-cli Docker Image
2019-11-21 23:16:18 +00:00
F. Eugene Aumson
daa593d225
Updated DevUtils contract artifact ( #2358 )
...
* Add updated DevUtils contract artifact
New contract methods were added in #2321 , but this artifact was not
updated.
* fix for breaking change in eth_utils
2019-11-20 20:50:49 -05:00
Amir Bandeali
ed8340affa
Merge pull request #2359 from 0xProject/fix/migrations/verify-exchange-registration
...
Warn if Exchange contract not registered in StakingProxy
2019-11-20 16:45:38 -08:00
Amir Bandeali
b3c1e72577
Warn if Exchange contract not registered in StakingProxy
2019-11-20 16:43:02 -08:00
fabioberger
3da09d140a
Extend keepAliveTimeout on Ganache-cli server to 40sec to fix Mesh issue
2019-11-20 17:36:24 +01:00
Lawrence Forman
51f254bbb1
Merge pull request #2352 from 0xProject/feat/asset-proxy/KyberBridge
...
KyberBridge
2019-11-20 06:20:52 -05:00
Lawrence Forman
30ee456d4c
@0x/contracts-asset-proxy: Use DeploymentConstants from @0x/contracts-utils in bridges.
...
`@0x/contracts-asset-proxy`: Add fallback function to `KyberBridge`.
`@0x/contracts-asset-proxy`: Minor changes to `KyberBridge` contracts based on feedback.
2019-11-20 05:50:15 -05:00
Lawrence Forman
460d5f2517
@0x/contracts-utils: Add DeploymentConstants.
2019-11-20 05:50:15 -05:00
Lawrence Forman
5da1fc8445
@0x/contracts-asset-proxy: Add KyberBridge.
2019-11-20 05:50:15 -05:00
Jacob Evans
1166b43946
Publish
...
- @0x/contracts-asset-proxy@2.3.0-beta.3
- @0x/contracts-coordinator@2.1.0-beta.3
- @0x/contracts-dev-utils@0.1.0-beta.3
- @0x/contracts-erc1155@1.2.0-beta.3
- @0x/contracts-erc20@2.3.0-beta.3
- @0x/contracts-erc721@2.2.0-beta.3
- @0x/contracts-exchange-forwarder@3.1.0-beta.3
- @0x/contracts-exchange-libs@3.1.0-beta.3
- @0x/contracts-exchange@2.2.0-beta.3
- @0x/contracts-extensions@4.1.0-beta.3
- @0x/contracts-integrations@1.0.3-beta.1
- @0x/contracts-multisig@3.2.0-beta.3
- @0x/contracts-staking@1.1.0-beta.3
- @0x/contracts-test-utils@3.2.0-beta.3
- @0x/contracts-tests@0.0.4
- @0x/contracts-utils@3.3.0-beta.3
- 0x.js@8.0.0-beta.2
- @0x/abi-gen-wrappers@5.4.0-beta.3
- @0x/abi-gen@4.4.0-beta.3
- @0x/asset-buyer@6.2.0-beta.3
- @0x/asset-swapper@2.1.0-beta.3
- @0x/base-contract@5.5.0-beta.3
- @0x/contract-addresses@3.3.0-beta.4
- @0x/contract-wrappers@12.2.0-beta.3
- @0x/contracts-gen@1.1.0-beta.3
- @0x/dev-utils@2.4.0-beta.3
- @0x/instant@1.0.35
- @0x/migrations@4.4.0-beta.3
- @0x/monorepo-scripts@1.0.41
- @0x/order-utils@8.5.0-beta.3
- @0x/orderbook@0.1.0-beta.3
- @0x/sol-compiler@3.2.0-beta.3
- @0x/sol-coverage@3.1.0-beta.3
- @0x/sol-doc@2.1.0-beta.3
- @0x/sol-profiler@3.2.0-beta.3
- @0x/sol-trace@2.1.0-beta.3
- @0x/sol-tracing-utils@6.1.0-beta.3
2019-11-20 19:34:17 +11:00
Jacob Evans
0a6903c4c3
Updated CHANGELOGS & MD docs
2019-11-20 19:33:49 +11:00
Jacob Evans
62fae9af93
All modified CHANGELOGS are beta
2019-11-20 19:16:55 +11:00
James Towle
509a1c2eb5
Merge pull request #2328 from 0xProject/refactor/integrations/match-orders
...
Match Orders Integration tests
2019-11-19 16:40:52 -08:00
David Sun
8b94bbbc5e
Merge pull request #2350 from 0xProject/fix/asset-swapper/rebase-and-pay-protocol-fees
...
asset-swapper V3 rebase, pay protocol fees, etc.
2019-11-19 16:40:15 -05:00
Alex Towle
bb923d2b7d
Addressed more review feedback and fixed a bug in Actor
2019-11-19 13:03:18 -08:00
Lawrence Forman
38adc72954
@0x/asset-swapper: Remove redundant protocol fee calculation.
2019-11-19 15:11:27 -05:00
Lawrence Forman
362c7c57fa
@0x/monorepo-scripts: Add Set to EXTERNAL_TYPE_MAP.
2019-11-19 14:49:38 -05:00
Lawrence Forman
6529b7eebf
@0x/asset-swapper: Fix static test errors.
2019-11-19 14:49:38 -05:00
Lawrence Forman
439c98a6e5
@0x/asset-swapper: Rebase against development and pay protocol fees.
2019-11-19 14:49:38 -05:00
Lawrence Forman
32258ef666
@0x/migrations: Deploy Forwarder AFTER hooking up staking.
2019-11-19 14:49:38 -05:00
Amir Bandeali
176e088d4e
Merge pull request #2349 from 0xProject/feat/3.0/migrations-patch
...
Redeploy 3.0 contracts
2019-11-19 07:57:24 -08:00
Alex Towle
4fe57ba025
@0x:contracts-integrations Addressed review comments
2019-11-18 17:56:07 -08:00
Alex Towle
2818e56932
@0x:contracts-integrations Addressed some lingering review comments
2019-11-18 17:56:07 -08:00
Alex Towle
5428a19617
@0x:contracts-integrations Fixed naming collision of fee recipients
2019-11-18 17:56:07 -08:00
Alex Towle
b58cbca61a
@0x:contracts-integrations Addressed review feedback
2019-11-18 17:56:07 -08:00
Alex Towle
5fc6a03784
@0x:contracts-integrations Reduced reliance on DevUtils even more
2019-11-18 17:56:07 -08:00
Alex Towle
eb4ad0ba1b
@0x:contracts-integrations Reduced reliance on devUtils
2019-11-18 17:56:07 -08:00
Alex Towle
72cdd1ea50
@0x:contracts-integrations Removed dependence on number_utils from staking
2019-11-18 17:56:07 -08:00
Alex Towle
18769f0b8f
@0x:contracts-integrations Fixed issues after rebase
2019-11-18 17:56:07 -08:00
Alex Towle
b7d92c3c12
@0x:contracts-integrations Added tests with protocol fees for batch order matching
2019-11-18 17:56:07 -08:00
Alex Towle
b976101dca
@0x:contracts-integrations Refactored match_orders_test to handle weth fees for matchOrdersWithMaximalFill
2019-11-18 17:56:07 -08:00
Alex Towle
8943b670a4
@0x:contracts-integrations Refactored match_order_test to do some testing with Weth protocol fees
2019-11-18 17:56:07 -08:00
Alex Towle
c92ff7c622
@0x:contracts-integrations Polished up match order tester
2019-11-18 17:56:07 -08:00
Alex Towle
301b5e1721
@0x:contracts-integrations Added a sanity check for different token types
2019-11-18 17:56:07 -08:00
Alex Towle
4e50b9b479
@0x:contracts-integrations Refactored match_orders_test
2019-11-18 17:56:07 -08:00
Alex Towle
f8b7b8cc28
@0x:contracts-integrations Made an initial refactor of MatchOrderTester
2019-11-18 17:56:07 -08:00
Alex Towle
2a6ea74be7
@0x:contracts-integrations Moved matchOrders into integrations
2019-11-18 17:56:06 -08:00
Jacob Evans
6d6a0c12cd
Merge pull request #2343 from 0xProject/optimize/refactor-templates
...
abi-gen-wrappers: Move shared logic into BaseContract
2019-11-19 11:53:30 +10:00
Amir Bandeali
784a03300a
Update CHANGELOGs
2019-11-18 16:10:54 -08:00
Amir Bandeali
392f578567
Make timelock configs synchronous
2019-11-18 16:10:54 -08:00
Amir Bandeali
a91b1d2dd2
Update mainnet ZrxVault in MixinDeploymentConstants
2019-11-18 16:10:54 -08:00
Amir Bandeali
400b3d961e
Fix custom timelock config
2019-11-18 16:10:54 -08:00
Amir Bandeali
4f128470bd
Update addresses for all networks
2019-11-18 16:10:54 -08:00
Amir Bandeali
fe06f41136
Add UniswapBridge and Eth2DaiBridge deployments to testnet migration script
2019-11-18 16:10:54 -08:00
Amir Bandeali
f81a99565e
Update staking logic contract address, add UniswapBridge and Eth2DaiBridge addresses
2019-11-18 16:10:54 -08:00
Jacob Evans
81e146650b
Merge branch 'development' into optimize/refactor-templates
2019-11-19 10:07:46 +10:00
Jacob Evans
bd4e04d331
Update mesh-rpc-client to 7.0.4-beta-0xv3
2019-11-19 09:55:48 +10:00
Fabio B
7663d2c64b
Merge pull request #2347 from 0xProject/refactor/supportDocsForContractPackages
...
docs: Generate MD docs for contracts-* packages and a few others
2019-11-18 23:54:24 +00:00
fabioberger
443c3c2802
Add missing export from stakiong
2019-11-19 00:02:43 +01:00
fabioberger
17a546af5d
Add more exessive type ignores
2019-11-18 23:42:45 +01:00
fabioberger
71faf46735
Add exception for EnvVars because we use it in a lot of places
2019-11-18 23:04:15 +01:00
fabioberger
ac28744df6
Stop exporting types from integrations package
2019-11-18 23:00:16 +01:00
fabioberger
adaf304b4e
Add missing staking exports
2019-11-18 22:44:48 +01:00
fabioberger
16b13f9768
Fix exports from exchange
2019-11-18 22:32:47 +01:00
fabioberger
d64bf98dc0
Update mesh dep
2019-11-18 22:21:24 +01:00
Jacob Evans
71f57d13fa
Update Wrappers after rebase
2019-11-18 20:43:44 +10:00
Jacob Evans
469c10e45f
Fix Rich Error test bind context
2019-11-18 20:37:27 +10:00
Jacob Evans
62def596af
Reuse getABIEncodedTransactionData
2019-11-18 20:37:27 +10:00
Jacob Evans
aa10844d9e
Remove Lodash as a dependency in BaseContract
2019-11-18 20:37:27 +10:00
Jacob Evans
be52079182
Re-enable estimateGas in sendTransaction
2019-11-18 20:37:27 +10:00
Jacob Evans
255aca8789
Moved shared logic into BaseContract
...
Shared validation and default application can be moved into BaseContract
Assignment before return can be skipped here as it saves a line and
makes a dramatic difference.
Store the functionSignature once and reuse, this saving is large for
Exchange functions with order tuples.
2019-11-18 20:35:38 +10:00
fabioberger
117f4a282d
Add EnvVars type
2019-11-18 10:29:25 +00:00
fabioberger
e1ea65525f
Add doc generation to several more packages and fix up their index.ts files so all public interface types are exported
2019-11-18 10:29:25 +00:00
fabioberger
d0a3495b5f
Refactor docgen command to also support generating docs for contracts-* packages
2019-11-18 10:24:48 +00:00
xianny
9e9e0d6592
Publish
...
- @0x/contracts-asset-proxy@2.3.0-beta.2
- @0x/contracts-coordinator@2.1.0-beta.2
- @0x/contracts-dev-utils@0.1.0-beta.2
- @0x/contracts-erc1155@1.2.0-beta.2
- @0x/contracts-erc20@2.3.0-beta.2
- @0x/contracts-erc721@2.2.0-beta.2
- @0x/contracts-exchange-forwarder@3.1.0-beta.2
- @0x/contracts-exchange-libs@3.1.0-beta.2
- @0x/contracts-exchange@2.2.0-beta.2
- @0x/contracts-extensions@4.1.0-beta.2
- @0x/contracts-integrations@1.0.2
- @0x/contracts-multisig@3.2.0-beta.2
- @0x/contracts-staking@1.1.0-beta.2
- @0x/contracts-test-utils@3.2.0-beta.2
- @0x/contracts-tests@0.0.3
- @0x/contracts-utils@3.3.0-beta.2
- 0x.js@8.0.0-beta.1
- @0x/abi-gen-wrappers@5.4.0-beta.2
- @0x/abi-gen@4.4.0-beta.2
- @0x/assert@2.2.0-beta.2
- @0x/asset-buyer@6.2.0-beta.2
- @0x/asset-swapper@2.1.0-beta.2
- @0x/base-contract@5.5.0-beta.2
- @0x/connect@5.1.0-beta.2
- @0x/contract-addresses@3.3.0-beta.3
- @0x/contract-artifacts@2.3.0-beta.3
- @0x/contract-wrappers@12.2.0-beta.2
- @0x/contracts-gen@1.1.0-beta.2
- @0x/dev-utils@2.4.0-beta.2
- ethereum-types@2.2.0-beta.2
- @0x/instant@1.0.34
- @0x/json-schemas@4.1.0-beta.2
- @0x/migrations@4.4.0-beta.2
- @0x/monorepo-scripts@1.0.40
- @0x/order-utils@8.5.0-beta.2
- @0x/orderbook@0.1.0-beta.2
- @0x/sol-compiler@3.2.0-beta.2
- @0x/sol-coverage@3.1.0-beta.2
- @0x/sol-doc@2.1.0-beta.2
- @0x/sol-profiler@3.2.0-beta.2
- @0x/sol-resolver@2.1.0-beta.2
- @0x/sol-trace@2.1.0-beta.2
- @0x/sol-tracing-utils@6.1.0-beta.2
- @0x/sra-spec@2.1.0-beta.2
- @0x/subproviders@5.1.0-beta.2
- @0x/tslint-config@3.1.0-beta.2
- @0x/types@2.5.0-beta.2
- @0x/typescript-typings@4.4.0-beta.2
- @0x/utils@4.6.0-beta.2
- @0x/web3-wrapper@6.1.0-beta.2
2019-11-17 18:03:29 -05:00
xianny
cb5f9ba97d
Updated CHANGELOGS & MD docs
2019-11-17 18:03:13 -05:00
xianny
34538f2ced
prettier
2019-11-17 17:14:28 -05:00
xianny
2575644920
update CHANGELOG.json for beta publish
2019-11-17 17:11:35 -05:00
Greg Hysz
b4b43a9e9e
Updated Coordinator wrappers and artifacts ( #2346 )
...
* Updated Coordinator wrappers and artifacts
* Use contracts-coordinator package for Coordinator
* disable custom CoordinatorWrapper
* trim disallowed artifact fields; fix exports for docs; lint
2019-11-16 19:22:22 -05:00
F. Eugene Aumson
df97b20913
abi-gen/Py: fix incorrect method return types and other small issues ( #2345 )
...
* .gitignore gen'd Python staking contract wrappers
* abi-gen/test-cli: check Python type hints in lint
* sra_client.py: Update doc for replicating examples
* abi-gen/Py: fix call() return type incl. tx hash
Previously, generated wrappers for contract methods were including type
hints that suggested that a call() (as opposed to a send_transaction())
might return either the underlying return type or a transaction hash.
This doesn't make sense because a call() will never return a TX hash.
Now, the type hint just has the return type of the underlying method.
* abi-gen: fix test_cli:lint checking wrong code
test_cli:lint is meant to be a rudimentary test of the code generated by
abi-gen. However, previously, this script was incorporated into `yarn
lint`, and in CircleCI `static-tests` runs independently of `build`.
Consequently, the runs of test_cli:lint were checking the OLD code,
which was previously generated and checked in to git, NOT the code
generated with the version of abi-gen represented by the git repo. Now,
test_cli:lint happens during `yarn test` rather than `yarn lint`,
because `yarn test` IS dependent on `yarn build`.
* contract_wrappers.py: fix misplaced doc
Previously, the routines `order_to_jsdict()` and `jsdict_to_order()`
were moved from contract_wrappers.exchange.types to
contract_wrappers.order_conversions. However, the module-level
docstring describing those routines was accidentally left behind in
exchange.types.
* abi-gen/Py: stop documenting return types for TXs
Previously the send_transaction() interface included docstring
documentation for the return types of the contract method, but that
doesn't make any sense because send_transaction() returns a transaction
hash rather than any actual return values.
* abi-gen/Py: stop gen'ing send_tx for const methods
* abi-gen/Py: add build_tx to contract methods
* abi-gen/Py: fix incorrect method return types
Fixes #2298 .
* abi-gen/Py: rm validator arg to no-input methods
* abi-gen: mv Py Handlebars helpers to own module
Move all existing Python-related Handlebars helpers to the newly created
python_handlebars_helpers module.
* abi-gen: refactor internal interface
No functionality is changed. Sole purpose of this commit is to
facilitate an upcoming commit.
* abi-gen: refactor internal interface
No functionality is changed. Sole purpose of this commit is to
facilitate an upcoming commit.
* abi-gen/Py: name tuples w/internalType, not hash
Use the new `internalType` field on the `DataItem`s in the contract
artifact to give generated tuple classes a better name than just hashing
their component field names.
* Fix CI errors
* abi-gen/Py/wrapper: make internal member private
* Update CHANGELOGs
2019-11-15 18:27:45 -05:00
mzhu25
9e3cc379ed
Merge pull request #2335 from 0xProject/refactor/integrations/move-balance-stores
...
`@0x/contracts-integrations`: Restructure directories, welcome core.ts and balance stores
2019-11-15 11:10:02 -08:00
Michael Zhu
c1d78a94a2
move ValidatorWalletAction to signature_validator.ts
2019-11-15 09:53:06 -08:00
Michael Zhu
7f4cbba076
Refactor integrations directory structure; move core.ts, balance stores, and FillOrderWrapper to integrations
2019-11-15 09:49:20 -08:00
Fabio B
bdca84fe72
Merge pull request #2342 from 0xProject/update/bigNumberDep
...
Update BigNumber dep to ~9.0.0
2019-11-15 11:53:47 +00:00
fabioberger
cf8fd7103b
Add changelog entry re: BigNumber version change in packages that export BigNumber
2019-11-15 11:11:08 +00:00
fabioberger
8e8cdbd413
Update BigNumber dep to ~9.0.0
2019-11-15 11:04:53 +00:00
Jacob Evans
30f01681d4
Merge pull request #2341 from 0xProject/fix/parity-revert-errors
...
RevertError: Decode Parity revert errors
2019-11-15 20:31:40 +10:00
Fabio B
ecf1ad8da1
Merge pull request #2340 from 0xProject/fix/ciPublish
...
Fix CI test-publish
2019-11-15 10:23:28 +00:00
Jacob Evans
42dc112a13
RevertError: Decode Parity revert errors
2019-11-15 19:39:06 +10:00
Jacob Evans
58276cefce
Merge pull request #2323 from 0xProject/feat/3.0-staking-ganache
...
ganache: Added Staking, Forwarder, ERC20Bridge
2019-11-15 13:05:37 +10:00
Amir Bandeali
4b6501a739
Merge pull request #2338 from 0xProject/fix/contracts/exchange/marketBuyOrdersNoThrow-rounding
...
Round up in `marketBuyOrdersNoThrow()`
2019-11-14 18:57:29 -08:00
Jacob Evans
724085e068
Remove TestStaking
...
CHANGELOG updates
Rebase and clean imports
Fix lint
2019-11-15 12:34:41 +10:00
Jacob Evans
21fab3ef9f
Added Staking and ERC20 Bridge to migrations
2019-11-15 11:38:43 +10:00
Amir Bandeali
db8837f4ce
Redeploy DevUtils and ZeroExGovernor on testnets
2019-11-15 11:34:31 +10:00
Lawrence Forman
5781cdf6da
ran prettier (again)
2019-11-14 18:36:34 -05:00
Lawrence Forman
874eb1602f
@0x/contracts-exchange: Round up in marketBuyOrdersNoThrow() so marketBuyOrdersFillOrKill() doesn't throw up.
2019-11-14 17:55:11 -05:00
fabioberger
82149917b7
Update mesh-rpc-client dep to latest version
2019-11-14 22:54:39 +00:00
F. Eugene Aumson
f11d8a5bd8
@0x/order-utils refactors for v3: orderParsingUtils, signatureUtils, orderHashUtils, RevertErrors, transactionHashUtils ( #2321 )
...
* move orderParsingUtils from order-utils to connect
* Remove many functions from signatureUtils
Removed from the exported object, that is. All of them are used in
other existing code, so they were all moved to be as local to their
usage as possible.
* remove orderHashUtils.isValidOrderHash()
* Move all *RevertErrors from order-utils...
...into their respective @0x/contracts- packages.
* Refactor @0x/order-utils' orderHashUtils away
- Move existing routines into @0x/contracts-test-utils
- Migrate non-contract-test callers to a newly-exposed getOrderHash()
method in DevUtils.
* Move all *RevertErrors from @0x/utils...
...into their respective @0x/contracts- packages.
* rm transactionHashUtils.isValidTransactionHash()
* DevUtils.sol: Fail yarn test if too big to deploy
* Refactor @0x/order-utils transactionHashUtils away
- Move existing routines into @0x/contracts-test-utils
- Migrate non-contract-test callers to a newly-exposed
getTransactionHash() method in DevUtils.
* Consolidate `Removed export...` CHANGELOG entries
* Rm EthBalanceChecker from devutils wrapper exports
* Stop importing from '.' or '.../src'
* fix builds
* fix prettier; dangling promise
* increase max bundle size
2019-11-14 17:14:24 -05:00
Xianny
f0d7d10fe7
update abi-gen with new method interfaces ( #2325 )
...
* update abi-gen with new method interfaces
* wip: get all packages to build
* wip: get all packages to build
* Fix two contract wrapper calls
* Export necessary types part of the contract wrapper public interfaces
* Revive and fix wrapper_unit_tests
* Remove duplicate type
* Fix lib_exchange_rich_error_decoder tests
* Fix remaining test failures in contracts-* packages
* Prettier fixes
* remove transactionHelper
* lint and update changelogs
* Fix prettier
* Revert changes to reference docs
* Add back changelog already published and add revert changelog entry
* Add missing CHANGELOG entries
* Add missing comma
* Update mesh-rpc-client dep
* Update Mesh RPC logic in @0x/orderbook to v6.0.1-beta
* Align package versions
2019-11-14 11:22:29 -05:00
Fabio B
9d4d9ce978
Merge pull request #2337 from 0xProject/refactor/0xjsInterfaceAndDocs
...
Remove IWallet/IValidator from 0x.js & update doc gen
2019-11-14 15:38:04 +00:00
fabioberger
96a38602b8
Fix package.json
2019-11-14 14:57:11 +00:00
fabioberger
90d3558d31
Add CHANGELOG entry
2019-11-14 14:56:35 +00:00
fabioberger
e491a56dd0
Remove IValidator and IWallet contracts from 0x.js interface since no beginner uses them
2019-11-14 14:53:26 +00:00
fabioberger
4d8eb61924
Stop generating and uploading docs for asset-buyer since about to get removed
2019-11-14 14:51:44 +00:00
fabioberger
17fab541c6
Stop pushing ethereum-types and web3-wrapper docs to S3 since we no longer want to render them on the website
2019-11-14 14:49:55 +00:00
Amir Bandeali
91de35e8e9
Merge pull request #2333 from 0xProject/fix/staking/operator-share
...
Fix 100% operator share
2019-11-13 10:17:28 -08:00
Amir Bandeali
f61964676a
Add test for when operatorShare == 0
2019-11-13 09:48:04 -08:00
Amir Bandeali
41a34c19bb
Add zrxVault config tests in migrations
2019-11-13 09:46:33 -08:00
Amir Bandeali
d90810d127
Add tests for setting operator share to 100%
2019-11-12 22:42:55 -08:00
Amir Bandeali
7f3d281faa
Allow operator share to be set to existing share
2019-11-12 20:14:48 -08:00
Greg Hysz
812c306805
Merge pull request #2332 from 0xProject/fix/staking/paramDocsForRewardsPaidOutEvent
...
Updated `RewardsPaid` event docs
2019-11-12 17:47:47 -08:00
Steve Klebanoff
fc1c59f374
Merge pull request #2329 from 0xProject/feature/debug-subprovider
...
Add DebugSubprovider
2019-11-12 15:18:00 -08:00
Amir Bandeali
35eac1e3ff
Merge pull request #2322 from 0xProject/feat/3.0-mainnet-migrations
...
Mainnet migrations
2019-11-12 14:50:36 -08:00
Greg Hysen
e16041d7fa
Updated RewardsPaid event docs
2019-11-12 14:24:39 -08:00
Amir Bandeali
b8fc84ecc8
Remove test constants from Staking ABI
2019-11-12 13:53:58 -08:00
Amir Bandeali
572c576e15
Update DevUtils addresses on all networks
2019-11-12 13:53:58 -08:00
Amir Bandeali
9df7f80fbb
Move extension deployments after contract configurations
2019-11-12 13:53:58 -08:00
Amir Bandeali
f003400135
Add check for if ERC20BridgeProxy is registered in the Exchange
2019-11-12 13:53:58 -08:00
Amir Bandeali
ca7616c1d2
Update CHANGELOGs
2019-11-12 13:53:58 -08:00
Amir Bandeali
a4a2bfdf35
Finish ZrxVault and StakingProxy configs without batch transaction
2019-11-12 13:53:58 -08:00
Amir Bandeali
eb6bbb6e78
Replace Staking artifact with TestStaking to allow params to be passed into constructor
2019-11-12 13:53:58 -08:00
Amir Bandeali
4d0172f634
Fix directory to write standard input
2019-11-12 13:53:58 -08:00
Amir Bandeali
3b61e0e126
Add v3 mainnet addresses
2019-11-12 13:53:58 -08:00
Amir Bandeali
1540a91835
Update testnet migrations to do most configuration outside of batch transsaction
2019-11-12 13:53:58 -08:00
Amir Bandeali
2bcce9eed0
Add mainnet ZrxVault address to deployment constants
2019-11-12 13:53:58 -08:00
Amir Bandeali
1e53564386
Redeploy DevUtils and ZeroExGovernor on testnets
2019-11-12 13:53:58 -08:00
Amir Bandeali
d1c72706ef
Add governor and staking configs for each network
2019-11-12 13:53:58 -08:00
Amir Bandeali
bd9e531257
Add flag for saving standard input during compilation
2019-11-12 13:53:58 -08:00
mzhu25
48436424db
Merge pull request #2317 from 0xProject/feature/integration-tests/hot-fuzz
...
`@0x/contracts-integrations`: Pool management, stake management fuzz tests
2019-11-12 13:43:19 -08:00
Michael Zhu
4f10d7f859
post-rebase woes
2019-11-12 13:10:34 -08:00
Francesco Agosti
80e5a29444
Merge pull request #2326 from 0xProject/feature/remove_network_id_from_sra
...
Remove chainId from @0x/connect related tooling
2019-11-12 13:08:25 -08:00
F. Eugene Aumson
0ec8a4a160
sra_client.py: remove support for chainId parameter
2019-11-12 15:28:11 -05:00
F. Eugene Aumson
810bf7af0c
Merge branch 'development' into feature/remove_network_id_from_sra
2019-11-12 15:26:00 -05:00
Michael Zhu
e7825206bf
asyncIterator polyfill
2019-11-12 12:06:01 -08:00
Michael Zhu
2b887c336a
devutils 😕
2019-11-12 12:05:39 -08:00
Michael Zhu
48ecd32d5d
address comments
2019-11-12 12:05:39 -08:00
Michael Zhu
1f5a0987cb
static tests, my nemesis
2019-11-12 12:05:39 -08:00
Michael Zhu
f33a9d162a
moveStake assertion; use SimulationEnvironment to track global stake and staking pools
2019-11-12 12:05:38 -08:00
Michael Zhu
c2919bcdb0
tslint needs to _chill_
2019-11-12 12:05:38 -08:00
Michael Zhu
120d554a6b
split up pool/stake management simulations, change some types
2019-11-12 12:05:38 -08:00
Michael Zhu
44f268a7ee
decouple state (SimulationEnvironment) and Simulation
2019-11-12 12:05:38 -08:00
Michael Zhu
3c7a0bcd85
add createStakingPool and decreaseStakingPoolOperatorShare
2019-11-12 12:05:14 -08:00
Michael Zhu
8e2e9e9331
proof of concept with a single actor and valid stakes/unstakes
2019-11-12 12:05:14 -08:00
Michael Zhu
91c26fc046
rename Result -> FunctionResult
2019-11-12 12:02:49 -08:00
Fabio B
afcfe58add
Merge pull request #2330 from 0xProject/refactor/reduceContractPkgBundle
...
Reduce bundle-size of contracts-* packages
2019-11-13 04:00:05 +08:00
Steve Klebanoff
8d423be223
Use strings instead of bignumbers, and add JSON.stringify call
2019-11-12 11:30:24 -08:00
fabioberger
03b7314550
Disable linter for txn returning PromiseWithTransactionHash
2019-11-12 19:24:29 +00:00
fragosti
1a7e425780
Run linters
2019-11-12 11:18:23 -08:00
fabioberger
8bc5faff3c
Move DeploymentManager back into test dir since only used in integrations package
2019-11-12 16:55:36 +00:00
Fabio B
2676278a66
Merge pull request #1990 from 0xProject/removeTestnetFaucet
...
Remove testnet-faucet from monorepo
2019-11-12 22:23:51 +08:00
fabioberger
6376b3baf3
Update yarn.lock
2019-11-12 13:50:24 +00:00
fabioberger
e569abe740
Update yarn.lock
2019-11-12 13:50:10 +00:00
fabioberger
71be9ef92a
Update yarn.lock
2019-11-12 13:50:10 +00:00
fabioberger
4990c4903d
Remove testnet-faucet from monorepo
2019-11-12 13:49:38 +00:00
fabioberger
9d468e2383
Move dep back since used in types
2019-11-12 13:05:25 +00:00
fabioberger
109cac013c
Add CHANGELOG entries
2019-11-12 13:04:26 +00:00
fabioberger
0d8a9921cd
Fix package.json
2019-11-12 12:33:09 +00:00
fabioberger
2a5f5f7312
Move deps to devDeps not used in src dir
2019-11-12 12:27:21 +00:00
fabioberger
fe54fbefbb
Improve comment in npmignores
2019-11-12 11:47:11 +00:00
fabioberger
fc824b8d06
Fix prettier issues
2019-11-12 11:35:34 +00:00
fabioberger
d91a7b6d0e
Add generate-artifacts and generated-wrappers nested under test dir to prettierignore
2019-11-12 11:35:28 +00:00
fabioberger
aa4b3f93fa
Add ERC20 artifacts explicitly to TransactionHelper
2019-11-12 11:27:41 +00:00
fabioberger
efe8225d18
Fix import ordering
2019-11-12 10:52:04 +00:00
fabioberger
b2c0f8c158
Fix .prettierrc to proper json
2019-11-12 10:45:20 +00:00
fabioberger
66dce8794d
Add missing dep
2019-11-12 10:45:08 +00:00
fabioberger
30d54407e6
Fix remaining imports
2019-11-12 10:13:25 +00:00
fabioberger
6324a92ec5
Refactor contracts-* exports so none in test dir so npmignore works as intended
2019-11-11 21:49:29 +00:00
fabioberger
67e7b5c124
Merge branch 'development' into refactor/reduceContractPkgBundle
2019-11-11 21:00:36 +00:00
Fabio B
35099d9b2f
Merge pull request #2324 from 0xProject/refactor/removeUnusedContractWrappers
...
Remove unused contract wrappers
2019-11-12 04:59:18 +08:00
fabioberger
e07f7b54e0
Stop using directory level exports
2019-11-11 19:50:13 +00:00
fabioberger
5c409929b4
Remove ethBalanceChecker dir
2019-11-11 19:29:47 +00:00
fabioberger
1a504fdde9
Remove last references of eth_balance_checker in python tooling
2019-11-11 19:01:04 +00:00
fabioberger
4b06fd511b
Uniform dep version
2019-11-11 18:18:02 +00:00
fabioberger
def6727286
Remove EthBalanceChecker from Python lib
2019-11-11 18:17:26 +00:00
fabioberger
bedaa0db16
Fix deps
2019-11-11 17:54:57 +00:00
fabioberger
90640a4fcf
Fix linter
2019-11-11 17:53:07 +00:00
fabioberger
0142d07f10
Fix linter
2019-11-11 17:53:07 +00:00
fabioberger
c9d85cfc7d
Remove EthBalanceChecker as standalone contract artifact/wrapper
2019-11-11 17:53:07 +00:00
fabioberger
64304c1991
Bump dummyTransactionCount to 6 to avoide changing all contract addresses now that we don't deploy DutchAuction anymore
2019-11-11 17:53:07 +00:00
fabioberger
993adc3578
Pass down DevUtils to fillOrder combinatorial tests
2019-11-11 17:53:07 +00:00
fabioberger
8813bd26f6
Pass around DevUtilsContract so it's only instantiated once
2019-11-11 17:53:07 +00:00
fabioberger
35925de320
Update CHANGELOGs
2019-11-11 17:53:07 +00:00
fabioberger
3b426a3f07
Update migration to continue deploying the old coordinator contract
2019-11-11 17:53:07 +00:00
fabioberger
5104fd5dcf
Remove unused import
2019-11-11 17:53:07 +00:00
fabioberger
a5a9ca9e46
Deploy OrderValidator _not_ OrderValidationUtils in migrations script
2019-11-11 17:53:07 +00:00
fabioberger
ba0f07e3b2
Fix prettier issues
2019-11-11 17:52:32 +00:00
fabioberger
8614475324
Move TradeSide and TransferType types to contract-exchange package
2019-11-11 17:52:32 +00:00
fabioberger
744dda144b
Remove unused types from order-utils export
2019-11-11 17:52:32 +00:00
fabioberger
13d47915f4
Fix linter issues
2019-11-11 17:52:32 +00:00
fabioberger
3059b85e41
Remove ZRX exports from 0x.js too
2019-11-11 17:52:32 +00:00
fabioberger
184ea4a67f
Remove ZRXToken related exports
2019-11-11 17:52:32 +00:00
fabioberger
8032f536ed
Add caret to version
2019-11-11 17:52:32 +00:00
fabioberger
fba3870ef1
Move ExchangeTransferSimulator into contract-exchange tests since that's the only place it's still used and we no longer want to expose it to external developers
2019-11-11 17:50:48 +00:00
fabioberger
2915ee08ea
Remove ZRXToken, AssetProxies and DutchAuction contract from abi-gen-wrappers and contract-wrappers packages
2019-11-11 17:50:01 +00:00
fabioberger
86b76a3e75
Introduce publicFacingContracts config in all package.jsons, refactor all imports from src in contracts packages
2019-11-11 15:10:15 +00:00
fabioberger
bc1dca3f6f
Fix contracts-gen so make sure all dirs are created
2019-11-11 12:39:36 +00:00
fabioberger
5db1820123
Only export non-test source Solidity source-code
2019-11-11 11:46:03 +00:00
Steve Klebanoff
657c35fb86
Adds CHANGELOG
2019-11-10 22:05:32 -08:00
Steve Klebanoff
9432a84468
Upgrade @types/ethereumjs-tx and add DebugSubprovider
2019-11-10 21:58:50 -08:00
fabioberger
15a5bc02ef
Fix remaining build issues
2019-11-11 00:13:44 +00:00
fabioberger
f011be9347
Update all contracts-*is package.json, tsconfig.json, compiler.json, artifacts/ts and wrappers.js
2019-11-10 23:41:56 +00:00
fabioberger
b6094fdb34
Add gitignore for new generted artifacts/wrappers dirs
2019-11-10 17:23:05 +00:00
fabioberger
9e6ab9f585
First pass contracts-* separation of test and publish artifacts/wrappers
2019-11-10 17:22:29 +00:00
F. Eugene Aumson
869d2c02fa
CI/test-python: give launch-kit-backend CHAIN_ID, not NETWORK_ID ( #2327 )
...
* CI/test-python: give LK ID of chain, not network
For CircleCI job test-python, change docker config for
launch-kit-backend to set an environment variable for the chain ID,
not for the network ID. This was failing on all branches after a recent
update to the `0xorg/launch-kit-backend:v3` tag.
* Update docker config used for local testing
* Update documentation of test environment
2019-11-09 20:25:14 -05:00
fragosti
3b1dca0e70
Add asset-buyer hack
2019-11-08 17:51:25 -08:00
fragosti
595358fa69
Remove chainId when using connect from asset-swapper
2019-11-08 17:41:26 -08:00
fragosti
8a8ec79c6c
Remove chainId from the orderbook pacakge
2019-11-08 16:32:22 -08:00
fragosti
6252446bd3
Update error example in SRA
2019-11-08 16:29:28 -08:00
fragosti
403ceebff9
Remove chainId from json-schemas and connect
2019-11-08 16:09:53 -08:00
fabioberger
4767882ed3
Add .npmignore to all contracts-* packages so we only publish the Solidity source and lib dir (minus tests)
2019-11-08 18:20:47 +00:00