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
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
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
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
56310b7bd4
Revert to abi-gen-wrappers. Clean package.json
2019-11-26 13:58:21 +11:00
David Sun
3d5b229c46
prettier
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
de2b16c464
fixed migrations
2019-11-25 01:05:24 -05: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
Lawrence Forman
439c98a6e5
@0x/asset-swapper
: Rebase against development and pay protocol fees.
2019-11-19 14:49:38 -05:00