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 5effc6ec90e5a90402e0efb01cefd0b6a6a8ef1b.
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