* Bancor Bridge contract
* refactor Quote and FillData types
* BancorService (wrapper for the Bancor SDK)
* disable bancor while waiting for bancor SDK update
* add bancor to test
* feat: mStable
* deploy and CHANGELOG
* `@0x/contracts-utils`: Add more testnet addresses.
* `@0x/contract-addresses`: Deply Mstable on testnets
* `@0x/contract-addresses`: Remove testnet deployments of mStable :-)
* move `erc20-bridge-sampler` into `asset-swapper`
remove `DevUtils` dependency from sampler contract.
* `@0x/asset-swapper`: Add ERC20BridgeSampler support for validating orders in maker fees denominated in non-maker assets.
`@0x/asset-swapper`: Add tests for `NativeOrderSampler`.
* `@0x/asset-swapper`: Return `0` sample if native order asset data is unsupported.
* `@0x/asset-swapper`: Fix failing test.
* feat: ExchangeProxy FQT fruit rollup (#2645)
* feat: Optimize Bridges in ExchangeProxy
* compile and most work
* work around to trust the delecall contract
* force allowances
* Update Kyber/Eth2Dai bridges
* Remove memory state where not required
* cleanup
* Combine Bridges into one adapter
* mixins
* refactor out ZeroExBridge
* move out interface
* comment out hacks
* update migrations
* remove simbot hacks
* AdapterAddresses and mStable
* Share constructor arg
* fix migration
* Remove whitespace
* `@0x/contracts-zero-ex`: BridgeAdapter -- revert if bridge address is 0.
* `@0x/contract-addresses`: Deploy FQT.
Co-authored-by: Lawrence Forman <me@merklejerk.com>
Co-authored-by: Lawrence Forman <lawrence@0xproject.com>
* update ganache contract addresses
* fix: asset-swapper empty batch call (#2669)
* update ganache contract addresses
* fix: asset-swapper prevent empty sampler batch call
* add sampler to migrations
* change migrations version
* Use contract-wrappers and artifacts
* remove extra data
* remove deps, set sampler to NULL_ADDRESS
* all the exports
* noop sell rate too
* update ganache contract addresses
Co-authored-by: Lawrence Forman <me@merklejerk.com>
Co-authored-by: Lawrence Forman <lawrence@0xproject.com>
* Gas Tokens in Bridges
* Added freesGasTokensFromCollector.
To handle the case where GST2 is being traded and the balanceOf checks become confusing
* Update CHANGELOGs
* 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
* 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
* move orderParsingUtils from order-utils to connect
* Remove many functions from signatureUtils
Removed from the exported object, that is. All of them are used in
other existing code, so they were all moved to be as local to their
usage as possible.
* remove orderHashUtils.isValidOrderHash()
* Move all *RevertErrors from order-utils...
...into their respective @0x/contracts- packages.
* Refactor @0x/order-utils' orderHashUtils away
- Move existing routines into @0x/contracts-test-utils
- Migrate non-contract-test callers to a newly-exposed getOrderHash()
method in DevUtils.
* Move all *RevertErrors from @0x/utils...
...into their respective @0x/contracts- packages.
* rm transactionHashUtils.isValidTransactionHash()
* DevUtils.sol: Fail yarn test if too big to deploy
* Refactor @0x/order-utils transactionHashUtils away
- Move existing routines into @0x/contracts-test-utils
- Migrate non-contract-test callers to a newly-exposed
getTransactionHash() method in DevUtils.
* Consolidate `Removed export...` CHANGELOG entries
* Rm EthBalanceChecker from devutils wrapper exports
* Stop importing from '.' or '.../src'
* fix builds
* fix prettier; dangling promise
* increase max bundle size
* update abi-gen with new method interfaces
* wip: get all packages to build
* wip: get all packages to build
* Fix two contract wrapper calls
* Export necessary types part of the contract wrapper public interfaces
* Revive and fix wrapper_unit_tests
* Remove duplicate type
* Fix lib_exchange_rich_error_decoder tests
* Fix remaining test failures in contracts-* packages
* Prettier fixes
* remove transactionHelper
* lint and update changelogs
* Fix prettier
* Revert changes to reference docs
* Add back changelog already published and add revert changelog entry
* Add missing CHANGELOG entries
* Add missing comma
* Update mesh-rpc-client dep
* Update Mesh RPC logic in @0x/orderbook to v6.0.1-beta
* Align package versions
* Replace assetDataUtils with DevUtilsContract wherever possible
Does not replace from @0x/instant and some @0x/order-utils uses
* Add revertIfInvalidAssetData to LibAssetData
This is needed to replace `assetDataUtils.decodeAssetDataOrThrow`.
Because it's used in packages and not only contracts, we should wait
to deploy the updated contract so we can update `@0x/contract-artifacts`,
`@0x/abi-gen-wrappers`, and `@0x/contract-wrappers` first.
* remove usages of signatureUtils
* fix test for optimised encoding
* refactor @0x/contracts-integrations
* update changelogs
* Move @0x/contracts-dev-utils from devDependencies to dependencies
It is exported as part of the package