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
f1f6aa7d80
Switch to using deployment nonce instead of transformer addresses.
2020-06-11 23:53:18 -04: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
cd14a45414
Update sampler artifacts/wrappers
2020-06-11 12:47:54 -07:00
xianny
fbaf55cb25
update @0x/contract-artifacts and @0x/contract-wrappers
2020-06-03 13:45:35 -07: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
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
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
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
Michael Zhu
6f5bf9d146
Add artifacts, wrappers, and addresses
2020-03-05 10:53:02 -08:00
Daniel Pyrathon
bc7504c469
refresh wrappers and artifacts
2020-03-04 08:24:35 -08:00
Daniel Pyrathon
82b0f85258
transformed the new artifacts
2020-03-02 10:01:06 -08:00
Daniel Pyrathon
fa8e8ad52d
Update artifacts after rename
2020-02-28 17:09:48 -08:00
Daniel Pyrathon
08619e2c06
re-generate ERC20BridgeSampler artifacts
2020-02-28 15:59:46 -08:00
Daniel Pyrathon
3c0fd540b1
generated wrappers for ERC20 sampler
2020-02-27 13:53:52 -08: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
Lawrence Forman
a425c7e260
Regenerate artifacts and wrappers
2020-02-19 15:50:10 -05: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
Alex Towle
ae151df2eb
Addressed amir's review feedback
2020-02-13 18:07:45 -08:00
Alex Towle
f53606007d
Updated DevUtils again
2020-02-13 17:37:03 -08:00
Lawrence Forman
7a52f12e57
Rebase and update contract artifacts + wrappers.
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
Michael Zhu
05df485c4a
Update Forwarder in contract-artifacts and contract-wrappers
2020-02-10 17:11:00 -08:00
Michael Zhu
8e5dd0f8d9
Add Broker and GodsUnchainedValidator to contract-artifacts
2020-02-10 17:08:24 -08: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
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
1a04a18245
@0x/contract-artifacts
: Update IERC20BridgeSampler
artifact.
2020-01-20 13:30:57 +10:00
Jacob Evans
ad17174119
Rename to Batch
2020-01-20 13:30:54 +10:00
Jacob Evans
08640e8575
Update asset-swapper WIP
2020-01-20 13:30:54 +10:00
Amir
25dfd47d32
Fix Ganache migrations
2020-01-17 10:47:17 -08:00
Michael Zhu
2083632299
Update addresses, artifact, wrapper
2020-01-15 10:38:57 -08: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
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
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
Amir Bandeali
141c140f53
Update Forwarder artifact and wrapper
2019-11-30 13:31:36 -08:00
Jacob Evans
d431790e19
Re-export orderHashUtils
...
Rather than have hacks spread through the codebase
2019-11-26 15:14:36 +11: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
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
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
b8fc84ecc8
Remove test constants from Staking ABI
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
fabioberger
c9d85cfc7d
Remove EthBalanceChecker as standalone contract artifact/wrapper
2019-11-11 17:53:07 +00:00
fabioberger
c93b02d55e
Update DevUtils artifacts in contract-artifacts
2019-11-07 19:33:12 +00:00
Alex Towle
133a4dc4e1
@0x:contract-artifacts
Trimmed artifacts and ran prettier
2019-10-31 10:21:40 -07: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