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
contracts-zero-ex/SignatureValidatorFeature-1.0.0
contracts-zero-ex/TransformERC20Feature-1.2.0
contracts-zero-ex/TransformerDeployer-1.1.0
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