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
Lawrence Forman
3e3bc5c06d
@0x/contract-artifacts: Add ITransformERC20 artifact.
...
`@0x/contract-wrappers`: Add `ITransformERC20Contract`.
2020-06-11 23:50:25 -04:00
Michael Zhu
8e5dd0f8d9
Add Broker and GodsUnchainedValidator to contract-artifacts
2020-02-10 17:08:24 -08:00
Lawrence Forman
4016808fa4
Cherry pick DevUtils refactor code from #2456
2020-02-07 23:23:23 -05: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
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
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
fabioberger
c9d85cfc7d
Remove EthBalanceChecker as standalone contract artifact/wrapper
2019-11-11 17:53:07 +00:00
Alex Towle
b4e00baa07
@0x:artifacts Added the Staking and StakingProxy artifacts
2019-10-31 10:18:40 -07:00
fabioberger
e43f2d39bf
Add ERC1155Mintable to artifacts and abi-gen-wrappers packages
2019-10-17 12:16:08 +09:00
Jacob Evans
eb21718462
Added DevUtils Wrappers
2019-08-13 14:44:53 +10:00
Amir Bandeali
424f984ea8
Add ERC1155Proxy and StaticCallProxy artifacts
2019-08-06 09:45:39 +10:00
Fabio Berger
43afe67593
Add EthBalanceChecker contract to monorepo
2019-06-11 08:45:15 -07:00
Jacob Evans
fa1db64a8e
Add a test to keep artifact sizes down
2019-04-04 12:30:41 +01:00
Jacob Evans
9164d58dc7
Simulate maker transfer in order validation
2019-03-28 14:00:27 +01:00
Fabio Berger
5eedc1edca
Add Coordinator contracts to contract-artifacts package
2019-03-11 14:38:00 +01:00
Jacob Evans
e3b3f82c8c
feature(migrations): Add MultiAssetProxy Migration
2019-01-12 18:49:16 +11:00
Greg Hysen
43b648e7dc
Dutch wrapper
2019-01-07 15:50:48 -08:00
Alex Browne
974ec23ecd
Apply various PR feedback
2018-10-15 13:38:33 -07:00
Alex Browne
1da3604351
Create contract-artifacts package (needed to solve dependency cycle)
2018-10-15 13:36:59 -07:00