Ido Kleinman
46a7a2e620
Revert "chore: Remove unused addresses in addresses.json [TKR-519] ( #548 )"
...
This reverts commit 8aa313a437 .
2022-08-11 13:31:47 -07:00
Kyu
8aa313a437
chore: Remove unused addresses in addresses.json [TKR-519] ( #548 )
...
* Delete unused addresses in addresses.json and update index.ts
* Update contract wrappers
* Remove outdated references to `exchange` contract in `asset-swapper`
* Update CHANGELOG.json
2022-08-10 16:59:21 +09:00
Kyu
1617e3fc44
Fix Polygon and Ganache FillQuoteTransformer addresses ( #547 )
...
* Revert Ganache (1337) FQT address as it was mistakenly updated.
* Update Polygon (137) FQT address with the new one.
2022-08-10 09:43:42 +09:00
Ido Kleinman
0dba5a5a3a
lowercase addresses ( #542 )
2022-08-08 16:40:31 -07:00
eobbad
0046bb26d8
Update WooFi sampler logicand addresses.json w/ new FQT's
2022-08-08 12:27:45 -04:00
Ido Kleinman
aa74d04083
new contract address for goerli verified deploy ( #537 )
...
* new contract address for goerli verified deploy
* v6.18.0
* updated addresses for goerli + mumbai to verified contracts
* contract addresses changelog update
* unbump package version
2022-08-05 18:22:06 -07:00
Kyu
36dba8f5be
Update FQT addresses on mainnet and Optimism ( #530 )
2022-07-27 09:56:50 -07:00
Kyu
661cc4669d
Fix formatting
2022-07-22 16:25:31 -07:00
Ido Kleinman
553ba5c868
Add Goerli and Mumbai liquidity and support [TKR-493] ( #523 )
...
* deployment contract addresses on goerli
* add Goerli chainID and liquidity support for Sushi, Uni1,2,3
* UniV1 fix for Goerli
* add UniV3 to Mumbai
* remove comments
* lowercase addresses
* update contract-addresses package version
* reset package.json's states
2022-07-22 16:12:58 -07:00
Kyu
56038d122f
Update Ethereum and Optimism FQT addresses ( #504 )
2022-06-14 14:45:26 -07:00
Noah Khamliche
0045a60b0f
updated contract-addresses with new ethereum fqt
2022-06-03 15:03:00 -04:00
Noah Khamliche
938fc94756
final deployments and updates for bridge adapter and fqt on avax/bsc
2022-05-18 19:53:50 -04:00
Lawrence Forman
470e9a4697
AS: Balancer V2 batchSwap ( #462 )
...
* Draft. PoC pseudo code showing general idea for resuing SOR path creation logic and adding multihop support.
* Add actual Balancer SDK function calls.
* Update to handle buys.
* Correct taker>maker for buy.
* Draft. PoC pseudo code showing general idea for resuing SOR path creation logic and adding multihop support.
* make it build
* rebase
* add BalancerV2Batch protocol
* add BalancerV2Batch protocol
* get balancer v2 multihop working
* fix BalancerV2Batch for sells (buys still iffy)
* fix buys, appease linter and prettier
* remove unused RPC URL from balancer sdk construction
* update changelogs
* clean up comments
add event loop yield in `BalancerV2SwapInfoCache.loadTopPools()`
* add negative result check on balancerv2batch swap output
* compiler hack
* reintroduce CompilerHack
* delete unused multibridge sampler
* remove compilerhack
* reintroduce compilerhack
* try to fix CI compile errors
* plz work
* plz work
* pretty plz work
* yay it works, also address feedback
* appease linter
* deploy new FQTs
Co-authored-by: johngrantuk <johngrantuk@googlemail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2022-04-22 02:43:41 -04:00
Cece Z
ae2fe55efa
[TKR-275] Add Geist on Fantom ( #398 )
...
* Add Geist on Fantom
* nvm there is not subgraph for it
* finish giest utils
* Address pr comments
* lowercase gtoken addresses
* return undefined instead of error for unsupported pairs
* another lower case
* Update fantom fillQuoteTransformer address
* more const clean up
2022-03-02 01:34:30 -05:00
Shawn
a3c912c2af
feat/optimism [TKR-280] ( #385 )
...
* rebase and remove WIP Clipper new weth router test
* remove clipper test
* restore from clipper test
* add uniswapV3 on optimism
* modify token addresses and add EP-related addresses on optimism
* prettier
* modify CHANGLOG.json
* convert addresses to lowercase
* remove testnet addresses
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
2021-12-24 08:28:06 -08:00
Kim Persson
9615570dc6
feat: deploy interest tokens ( #321 )
...
* feat: Aave aToken deposit/withdrawal [TKR-111] (#293 )
* feat: AaveV2 deposit/withdrawal integration WIP
* feat: add basic Aave Reserves cache with data from subgraphs WIP
* feat: hook up Aave Reserves integration
* fix: set allowance before trade & use ERC20 token interface
* refactor: pass aToken to mixin to avoid lookup
* fix: migrate from swap/revert to normal sampling
* fix: Aave gas estimate & refactor to clean up code
* feat: Create a sampler no operation type and make AaveV2Sampler a no-op
* fix: Clipper merge conflict resolution issues
* fix: don't fetch unnecessary Aave pool data & clean up code
* chore: Add changelog entries
* feat: cToken deposit/withdrawal [TKR-222] (#294 )
* feat: first stab at a CompoundSampler implementation
* feat: MixinCompound implementation WIP
* feat: Compound integration with cache WIP
* fix: decimals scaling in CompoundSampler
* feat: handle minting and redeeming of cETH
* fix: adjust Compound gas schedule
* refactor: clean up code and add comments in cToken cache
* fix: MixinCompound check allowance on WETH withdrawal & fix indentation
* fix: address review comments and clean up code
* chore: add changelog entries
* feat: enable AaveV2 on Avalanche
* chore: add freshly deployed FQT on Polygon, Avalanche
* fix: temporarily disable on Ethereum mainnet until we redeploy EP
* fix: address PR comments and update changelogs
* fix: correct contract-addresses changelog note
2021-12-01 17:10:22 +01:00
Lawrence Forman
602290925c
fix celo rebase
2021-11-16 16:55:57 -05:00
phil-ociraptor
89817428ed
chore: add OtcOrder feature to fullMigrateAsync ( #350 )
2021-11-02 20:19:27 -05:00
Shawn
ae08f77381
Feat/ftm ( #347 )
...
* ftm deployment
* add Fantom Curve
* add support for ftm
* add more Fantom liquidity sources
* clean up codes
* lint
* prettier codes
* modify CHANGLOG
* undo some changes
* use lowercase addresses
* Update EP FlashWallet
* Update addresses and remove timestamps
Co-authored-by: Jacob Evans <jacob@dekz.net >
* Cleanup
* cleanup json
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
2021-10-19 09:51:07 -07:00
Jacob Evans
7a0255fee7
feat: 🔺 ( #312 )
...
* feat: Avalanche
* Update Addresses for Avalanche deployment
* Cleanup
* Rebased development
2021-09-01 11:11:56 +10:00
Jacob Evans
68656b4a4d
chore: Prune old contracts ( #304 )
...
Prune exchange-libs
deploy migrations at specific address
remove exchange-libs, moving LibMath into Utils
Remove staking order-utils multisig and remaining asset-proxy
2021-08-18 10:33:47 +10:00
mzhu25
65def38d98
Add treasury address to contract-addresses ( #301 )
...
* Add treasury address to contract-addresses
* Update changelogs
2021-08-06 00:28:47 -07:00
Jacob Evans
a35af11981
feat: Clipper ( #299 )
...
* feat: Clipper
* feat: Curve tricrypto2 (#302 )
* Scope down the token list search space for Clipper
* update deployed addresses
2021-08-06 14:12:43 +10:00
Kim Persson
7580719586
feat: Lido StETH deposit integration [TKR-90] ( #260 )
...
* feat: initial stab at the LidoSampler and the MixinLido
* feat: full integration of lido sampler and mixin
* fix: return pooled Ether amount not shares & properly unwrap WETH
* refactor: clean up Lido sampler and data passing
* fix: lower gas schedule for WETH to stETH deposits
* refactor: remove MixinLido unused ETH code path
* chore: add changelog entries
* fix: lower Lido gas schedule slightly
* fix: revert MixinLido on unsupported token pair
* fix: address review comments, improve early exit if wrong tokens
* fix: add contract addresses to Lido FQT
2021-06-22 11:25:47 +02:00
Romain Butteaud
d07c7d5b69
feat: Curve V2 ( #262 )
...
* feat: Curve V2
* fix: CurveV2 gas schedule, remove unused import from MixinCurveV2
* feat: FQT address update
* chore: Curve V2 exchange_underlying, adding Polygon atricrypto pool
* prettier
* feat: FQT Polygon address update
* feat: FQT address update
2021-06-10 19:01:11 -07:00
Kim Persson
e51b83accc
Polygon support ( #240 )
...
* feat: Polygon deployed
* Updated polygon FQT address
* feat: add SushiSwap on Polygon WIP
* fix: add Matic as a native token
* refactor: import valueByChainId from token-metadata to consolidate impl
* refactor: use same gas schedule fn for all uni v2 clones
* feat: Add QuickSwap Polygon integration
* fix: add Polygon tokens to initial TokenAdjacencyGraph
* feat: ComethSwap Polygon integration
* feat: Add Curve, Dfyn, mStable for Polygon
* fix: temporarily private publish contract-addresses, token-metadata
* feat: Add DODO V2 support for polygon, stability pool on mainnet, bsc
* chore: fix linting
* fix: incorrect Curve Polygon gas schedule
Co-authored-by: Jacob Evans <jacob@dekz.net >
* refator: consolidate Polygon token addresses in POLYGON_TOKENS
* feat: Polygon DODO V1 integration
* fix: remove dependency on @0x/token-metadata
* chore: remove private publish dependencies and add changelog entry
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Romain Butteaud <romain.butteaud@gmail.com >
2021-05-25 13:40:52 +02:00
Jacob Evans
803cf65ba1
fix: Deploy FQT for KyberDmm/Mstable ( #247 )
2021-05-19 08:34:26 +10:00
Jacob Evans
c73097e688
chore: Deploy FQT with UniswapV3 support ( #227 )
2021-05-05 21:01:39 +10:00
Jacob Evans
09ed106d4c
feat: Deployed Balancer V2 and Curve ETH support ( #225 )
2021-05-04 16:52:36 +10:00
Kim Persson
3adfcdffa8
Maker PSM integration [TKR-2] ( #150 )
...
* ADDS basic boilerplate for PSM bridge WIP
* ADDS integrate the MakerPSM mixin and fix incorrect naming
* fix: take into account PSM fee when buying USDC from PSM
* feat: intial stab at a PSM sampler WIP
* feat: integrate MakerPsm into AS WIP
* refactor: get VAT contract address from PSM instead of passing it in
* fix: hardcode PSM Gemtoken to USDC
* fix: remove passing in authGem, get from PSM contract instead
* fix: use constant modified to avoid using storage variables
* fix: incorrect num decimals after multiplication in sampler
* fix: PSM buy sampling
* fix: use fillData to estimate gas schedule
* Rebased on latest development
* Guard and use latest Curve LiquidityProvider
* `@0x/contract-addresses`: Redeploy FQT on mainnet and ropsten
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2021-04-01 15:45:06 -04:00
Lawrence Forman
164a5d44d9
bsc<->development rebase ( #189 )
...
* FQT: Pack Protocol/source name into source ID (#162 )
* `@0x/contracts-zero-ex`: Encode protocol ID and source name in bridge source ID
`@0x/asset-swapper`: Use new bridge source ID encoding.
* fix linter issues
* contracts cleanup (#164 )
* `@0x/contracts-zero-ex`: Add PancakeSwapFeature
* `@0x/contracts-zero-ex`: Remove tokenspender/allowance target/greedy tokens stuff.'
`@0x/contract-addresses`: Add BSC addresses. Remove exchangeProxyAllowanceTarget.
`@0x/migrations`: Remove exchangeProxyAllowanceTarget.
* Update contracts/zero-ex/contracts/src/features/IPancakeSwapFeature.sol
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* `@0x/contracts-zero-ex`: Add sushiswap support to PancakeSwap
* `@0x/contract-artifacts`: Regenerate artifacts
`@0x/contract-wrappers`: Regenerate wrappers
* `@0x/contract-addresses`: Add BSC addresses
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* feat: Better chain support (#163 )
* feat: Better chain support
* feat: better chain support refactor deployment constants (#166 )
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* Rework WETH out, replacing with address(0)
* wat
* hack DeploymentConstants for now
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* remove duped network addresses
* Rework the bridge source encoder
* Use the constants NATIVE_FEE_TOKEN in EP consumer
* `@0x/contract-addresses`: Fix WBNB address (#170 )
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
* multichain enable cakez vip (#171 )
* feat: Better chain support
* feat: better chain support refactor deployment constants (#166 )
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* Rework WETH out, replacing with address(0)
* wat
* hack DeploymentConstants for now
* proliferate the chainId
* Refactor sampler to remove DeploymentConstants dependency and fixed addresses
* remove duped network addresses
* `asset-swapper`: enable pancake VIP route generation
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* `@0x/contracts-zero-ex`: Fix `PancakeSwapFeature` sushi values (#172 )
* `@0x/contracts-zero-ex`: Fix `PancakeSwapFeature` sushi values
* `@0x/contracts-zero-ex`: I am a bad protocologist
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* feat: BSC Nerve + Dodo + Nerve + Ellipsis (#181 )
* feat: BSC Nerve + DODO v1
* CHANGELOGs
* Remove extra balance fetch
* Add Belt
* Added Ellipsis
* Update FQT address
* `@0x/contracts-zero-ex`: Delete TokenSpenderFeature and get stuff compiling
* `@0x/asset-swapper`: fix compilation
* prettier
* `@0x/asset-swapper`: Truncate LiquidityProvider source ID name
* Update packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts
Co-authored-by: Jacob Evans <jacob@dekz.net >
* Update packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts
Co-authored-by: Jacob Evans <jacob@dekz.net >
* `@0x/contracts-zero-ex`: Fix BakerySwap on PackageSwapFeature (#190 )
* address review comments
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-03-31 18:49:44 -04:00
Romain Butteaud
f98609686d
feat: opt-in positive slippage fee for integrators ( #101 )
...
* feat: Positive Slippage Fee
* fix: rename ethToTakerAssetRate to takerAssetPriceForOneEth
* fix: rename takerAssetPriceForOneEth to takerAssetsPerEth
* fix: export AffiliateFeeType
* rebased off development
* Add a gasOverhead for non-deterministic operations
* CHANGELOGs
* rename outputTokens to outputAmount
* Confirm transformer addresses on Mainnet and Ropsten
* fix import
Co-authored-by: Jacob Evans <jacob@dekz.net >
2021-02-24 12:51:58 +10:00
Jacob Evans
49cb00a9ab
feat: DODO V2, Linkswap ( #152 )
...
* feat: DODO V2
* Fix typo
* feat: Linkswap (#153 )
* fix: intermediate hops WBTC (#154 )
* feat: Linkswap
* fix: Re-add WBTC in default hop tokens
* Update review changes
* FQT deploy + no gas limit ETH refund (#155 )
* `@0x/contracts-zero-ex`: refund ETH with no gas limit in FQT
`@0x/contract-addresses`: Deploy FQT
* Update packages/contract-addresses/CHANGELOG.json
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
2021-02-24 12:19:26 +10:00
Jacob Evans
3f4bb933d1
feat: v4 final ( #136 )
...
* v4 FillQuoteTransformer (#104 )
* Update FQT to support v4 orders
* `@0x/contracts-zero-ex`: Tweak FQT
`@0x/contracts-zero-ex`: Drop `ERC20BridgeTransfer` event and add `PartialQuoteFill` event.
* `@0x/contracts-utils`: Add `LibSafeMathV06.downcastToUint128()`
* `@0x/protocol-utils`: Update transformer utils for V4 FQT
* `@0x/contracts-zero-ex`: Fixing FQT tests...
* `@0x/contracts-zero-ex`: rename FQT bridge event
* `@0x/contracts-zero-ex`: Un-`only` tests
* `@0x/migrations`: Update `BridgeAdapter` deployment
* `@0x/contracts-integrations`: Delete `mtx_tests`
* `@0x/protocol-utils`: Address review comments
* `@0x/contracts-zero-ex`: Address review comments
* `@0x/migrations`: Update migrations
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* v4: Asset-swapper (main branch) (#113 )
* refactor quote_requestor
* WIP v4/asset-swapper: Clean up SwapQuoter and remove @0x/orderbook
* Start replacing SignedOrder everywhere
* wip: new order type
* wip
* remove order-utils from most places
* hack: Play around with VerboseX types (#119 )
* hack: Play around with VerboseX types
* More hacks
* Fix up the bridgeData encodings
* Rework Orderbook return type
* feat: Don't charge a protocol fee for RFQ orders WIP (#121 )
* fix simple build errors
* simplify types a little
* remove SwapQuoteCalculator: unnecessary abstraction
* Fix all ./src build errors; make types consistent
* export more types for use in 0x API; modify Orderbook interface
* stop overriding APIOrder
* feat: RFQ v4 + consolidated bridge encoders (#125 )
* feat: check if taker address is contract
* Rework bridge data
* Worst case adjustments
* RFQT v4
* Future/v4 validate orders (#126 )
* RFQT v4
* v4 validate native orders
* use default invalid signature
* refactor rfqt validations in swap quoter
* fix types
* fix RFQT unlisted api key
* remove priceAwareRFQFlag
* adjust maker/taker amounts
* update JSON schemas
* filter zero fillable orders
Co-authored-by: xianny <xianny@gmail.com >
* fix type export
Co-authored-by: xianny <xianny@gmail.com >
* remove order-utils as much as possible
* work on tests compile
* Comment out quote reporter test
* updated tests
* restore order-utils accidental changes
* some lints
* Remove old fill_test
* ts lint disable for now
* update quote report
* Re-enable quote report tests
* make fill data required field
* fix lint
* type guards
* force fillData as required
* fix lint
* fix naming
* exports
* adjust MultiBridge by slippage
* cleanups (checkpoint 1)
* cleanup types (checkpoint #2 )
* remove unused deps
* `@0x/contract-addresses`: Deploy new FQT (#129 )
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* commit bump to republish
* DRY up the rfqt mocker
* fix: Balancer load top pools (#131 )
* fix: Balancer load top 250 pools
* refetch top pools on an interval
Co-authored-by: Jacob Evans <jacob@dekz.net >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
* Update post rebase
* prettier
* Remove test helpers exported in asset-swapper
* Clean up from review comments
* prettier
* lint
* recreate rfqt mocker
* change merge and INVALID_SIGNATURE
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
Co-authored-by: Michael Zhu <mchl.zhu.96@gmail.com >
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Xianny <8582774+xianny@users.noreply.github.com >
Co-authored-by: Kim Persson <kimpers@users.noreply.github.com >
2021-02-10 19:20:15 +10:00
Lawrence Forman
72a74e7c66
Panettone cleanup ( #109 )
...
* `@0x/contracts-zero-ex`: Updates for panettone release
* `@0x/contract-addresses`: Update ganache snapshot addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2021-01-12 10:53:50 -08:00
mzhu25
2451f419c8
Update PLP sandbox addresses ( #107 )
2021-01-05 12:41:52 -08:00
Lawrence Forman
a890a06664
@0x/contract-addresses: Redeploy FQT (#99 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-23 13:13:49 +11:00
mzhu25
fb437551c9
Bancor FQT rollup ( #91 )
...
* Add MixinBancor for BridgeAdapter
* Update changelog
* Use 0.6 call value syntax
* `@0x/contract-addresses`: Deploy new FQT
* feat: Rollup CoFiX (#92 )
* `@0x/contract-addreses`: update FQT addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: Jacob Evans <jacob@dekz.net >
2020-12-17 17:12:40 -05:00
Lawrence Forman
f5a6f74d9a
Update mainnet and ropsten transformer addresses for hot-pants release ( #70 )
...
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-12-07 16:41:56 -05:00
Lawrence Forman
475b608338
EP: FeeCollectorController ( #59 )
...
* `@0x/contracts-zero-ex`: Govern `FeeCollector`s through a separate `FeeCollectorController` contract.
* `@0x/contracts-integrations`: Fix broken EP protocol fees test.
`@0x/contracts-integrations`: Make this package private.
* `@0x/contract-addresses`: Update ganache snapshot addresses.
* Update contracts/zero-ex/contracts/src/external/FeeCollectorController.sol
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* Apply suggestions from code review
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
* rebase
Co-authored-by: Lawrence Forman <me@merklejerk.com >
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com >
2020-12-01 12:17:21 -05:00
Lawrence Forman
561b60a24d
EP Native Orders ( #27 )
...
* `@0x/contracts-zero-ex`: add limit orders feature
`@0x/contracts-utils`: add `uint128` functions to `LibSafeMathV06`
* `@0x/contract-addresses`: Update ganache snapshot addresses
* `@0x/contracts-zero-ex`: Mask EIP712 struct hash values.
* `@0x/contracts-zero-ex`: Add more limit order tests
* `@0x/contracts-zero-ex`: Fix typos
* `@0x/contracts-zero-ex`: Compute fee collector address after protocol fee zero check.
* `@0x/contracts-zero-ex`: Remove WETH payment logic from fee collector fixin
* `@0x/contracts-zero-ex`: Convert all ETH to WETH in `FeeCollector`.
* `@0x/contracts-zero-ex`: Address review feedback
* `@0x/contracts-zero-ex`: Export more utils
* `@0x/contracts-zero-ex`: Rename `LimitOrdersFeatures`, `LibLimitOrders`, etc. into `*NativeOrders*`.
`@0x/contracts-zero-ex`: Emit `protocolFeePaid` in native order fill events.
`@0x/contracts-zero-ex`: Refactor to get around stack limits.
`@0x/contracts-zero-ex`: Use different storage mappings for RFQ and limit order pair cancellations.
* `@0x/contracts-zero-ex`: Add `getProtocolFeeMultiplier()` and `transferProtocolFeesForPools()` to `NativeOrdersFeature`.
* `@0x/contracts-zero-ex`: Fix broken tests
* update orders docs
* `@0x/contracts-zero-ex`: Add more tests to `NativeOrdersFeature`
* rebuild after rebase
* `@0x/contract-addresses`: Fix changelog booboo
* `@0x/contracts-zero-ex`: Add method selectors output to generated artifacts
* `@0x/contracts-zero-ex`: Add maker address to order cancel events.
`@0x/contracts-zreo-ex`: Remove `UpTo` suffix from order pair cancellation functions.
`@0x/contracts-zreo-ex`: Address misc review comments.
* `@0x/contracts-zero-ex`: More SafeMath in native orders
* update orders docs
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-17 15:39:40 -05:00
mzhu25
7403c0255a
Feature/liquidity provider sandbox ( #16 )
...
* Update liquidity provider feature to use sandbox
* add support for liquidity provider feature in the exchange proxy swap quote consumer
* Move to off-chain liquidity provider registry
* Update ILiquidityProvider interface
* Remove some unused artifacts and wrappers
* Consolidate ILiquidityProvider
* prettier
* lint
* Address PR feedback
* Add failover to sandbox
* Add test for failover behavior in LiquidityProviderSandbox
* Update changelogs
* Emit events for the new LiquidityProvider scenarios
* Fix swap quote consumer bug
* post-rebase fixes
* `@0x/contracts-zero-ex`: bump feature versions
* Add default field to TokenAdjacencyGraph
* update addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-13 12:22:21 -08:00
Lawrence Forman
3126795efe
@0x/contract-addresses: deploy FQT with CORRECT address (#29 )
...
`@0x/contracts-zero-ex`: Trust `boughtAmount` returned by LP
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-03 01:12:57 -05:00
Lawrence Forman
48e7a391c8
Deploy new FQT ( #28 )
...
* `@0x/contracts-zero-ex`: Change `ProtocolFeeUnfunded` event in FQT
`@0x/contracts-zero-ex`: Use new PLP interface in FQT.
* `@0x/contract-addresses`: Deploy new FQT
* fix failing FQT test
Co-authored-by: Lawrence Forman <me@merklejerk.com >
2020-11-02 21:47:25 -05:00
Romain Butteaud
673835d2de
fix: update kovan erc20BridgeSampler ( #14 )
...
* fix: update kovan erc20BridgeSampler
* fix update CHANGELOG
2020-10-27 17:51:51 -07:00
Jacob Evans
99f5be8378
chore: [asset swapper] sampler Solidity 0.6 + Bridge addresses in AS ( #4 )
...
* Refactor excess interfaces
* Compiles on 0.6
* Refactored into try/catch
* Rebase and Refactored to v06
* Handle invalid registry in LP
* Update packages/asset-swapper/contracts/src/LiquidityProviderSampler.sol
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
* chore: [asset-swapper] Move Bridge Addresses and Gas schedule
* curve->pool
* lint
* Refactor to fix module load order
* Move FEE Schedule
* rollup: Swerve/Sushi/SnowSwap/DODO (#7 )
* rollup: Swerve/Sushi
* DODO Rollup + Snowswap Swerve
* hardcode addresses temporarily
* rebase
* rename to SUSHISWAP_ROUTER
* CHANGELOGs
* CHANGELOGs
Co-authored-by: Lawrence Forman <lawrence@0xproject.com >
2020-10-27 15:16:09 +10:00
Alex Kroeger
07ab10b000
Deployed CreamBridge, refactor to simplify code
2020-10-15 16:58:39 -07:00
Jacob Evans
4d04b72674
feat: DODO ( #2701 )
...
* feat: DODO
* DODO Bridge
* export DODOFillData
* Use deployed DODOHelper
* Deployed Bridge. Half of buys supported
* other half of buys
* refactor
* CHANGELOGs
* Lint
2020-10-13 18:20:31 +10:00
Jacob Evans
7698f21517
feat: [asset-swapper] Shell 🐚 ( #2722 )
...
* feat: [asset-swapper] Shell
* Deployed and Changelogs
* Glue up the deployed address
* Glue for FQT rollup
2020-10-06 15:55:51 +10: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