Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Releases: 0xProject/0x-monorepo

0x monorepo - 7bf710f

24 Jun 03:59
7bf710f
Compare
Choose a tag to compare

@0x/[email protected]

  • Allow identifiers with leading underscores in python wrappers (#2591)

@0x/[email protected]

  • Add support for private liquidity providers (#2505)
  • Big refactor of market operation utils (#2513)
  • Remove dustFractionThreshold, noConflicts options. (#2513)
  • Revamp fill optimization algorithm (#2513)
  • Add fallback orders to quotes via allowFallback option. (#2513)
  • Add maxFallbackSlippage option. (#2513)
  • Fix fee schedule not being scaled by gas price. (#2522)
  • Fix quote optimizer bug not properly accounting for fees. (#2526)
  • Fix getBatchMarketBuyOrdersAsync throwing NO_OPTIMAL_PATH (#2533)
  • Add DFB support + refactor swap quote calculator utils (#2536)
  • Add support for RFQ-T, querying maker-hosted endpoints for quotes to be submitted by the taker (#2541)
  • Add support for indicative (non-committal) quotes via RFQ-T (#2555)
  • Collapse LiquidityProvider into DexForwarderBridge (#2560)
  • Added Curve sUSD (#2563)
  • Fix sporadically failing quote simulation tests (#2564)
  • Apply Native order penalty inline with the target amount (#2565)
  • Remove Kyber exclusion when Uniswap/Eth2Dai is present (#2575)
  • Expose fills object in asset-swapper quote orders (#2583)
  • Increase timeout for tests (#2587)
  • Add support for Uniswap V2 (#2599)
  • Add support for MultiBridge (#2593)
  • Fix Uniswap V2 path ordering (#2601)
  • Add exchange proxy support (#2591)

@0x/[email protected]

  • Updated Kovan's ERC20BridgeSampler address (#2519)
  • Added MaximumGasPrice addresses (#2511)
  • Redeploy KyberBridge, UniswapBridge, Eth2DaiBridge, CurveBridge, DydxBridge on mainnet and kovan (#2512)
  • Redeploy KyberBridge, UniswapBridge, Eth2DaiBridge, CurveBridge, DydxBridge on mainnet and kovan (#2529)
  • Redeploy CurveBridge with GST support (#2530)
  • Add dexForwarderBridge addresses (#2525)
  • Redeploy Forwarder on all networks (#2521)
  • Redeploy DexForwarderBridge on Mainnet with Gas Token freeing (#2536)
  • Revert to older Curve Bridge (without Gas Tokens) (#2536)
  • Updated Ganache's ERC20BridgeSampler address (#2541)
  • Updated Mainnet ERC20BridgeSampler address (#2551)
  • Updated Kovan ERC20BridgeSampler address (#2568)
  • Redeploy ERC20BridgeSampler on kovan (#2570)
  • Redeploy ERC20BridgeSampler on Mainnet using Kyber.searchBestRate (#2575)
  • Redeploy ERC20BridgeSampler on Mainnet and Kovan using UniswapV2 (#2599)
  • Add UniswapV2Bridge address on Mainnet (new field) (#2599)
  • Add Exchange Proxy addresses (#2591)

@0x/[email protected]

  • Added MaximumGasPrice artifact (#2511)
  • Added Forwarder.marketSellAmountWithEth (#2521)
  • Added ERC20BridgeSampler.sampleBuysFromCurve (#2551)
  • Added ERC20BridgeSampler.sampleBuysFromKyberNetwork (#2551)
  • Added `ERC20BridgeSampler.sampleBuysFromUniswapV2 (#2595)
  • Added `ERC20BridgeSampler.sampleSellsFromUniswapV2 (#2595)
  • Added `ERC20BridgeSampler.sampleSellsFromMultiBridge (#2593)
  • Added ITransformERC20 (#2591)

@0x/[email protected]

  • Regenerated wrappers for Broker and GodsUnchainedValidator (#2511)
  • Added wrapper for MaximumGasPrice (#2511)
  • Added Forwarder.marketSellAmountWithEth (#2521)
  • Added ERC20BridgeSampler.sampleBuysFromCurve (#2551)
  • Added ERC20BridgeSampler.sampleBuysFromKyberNetwork (#2551)
  • Added `ERC20BridgeSampler.sampleBuysFromUniswapV2 (#2595)
  • Added `ERC20BridgeSampler.sampleSellsFromUniswapV2 (#2595)
  • Added `ERC20BridgeSampler.sampleSellsFromMultiBridge (#2593)
  • Add ITransformERC20 (#2591)

@0x/[email protected]

  • Add dexForwarderBridge to migration output (#2525)
  • Add ERC20BridgeSampler deployment (#2541)
  • Added UniswapV2Bridge address on Mainnet (#2599)
  • Return empty Exchange Proxy addresses (#2591)

@0x/[email protected]

  • Refactor + add solidity 0.6 support (#2532)
  • Filter receive functions from 0.6 ABIs (#2540)
  • Fix CompilerOptions schema (#2591)

@0x/[email protected]

  • Update ganache-core (#2545)

@0x/[email protected]

  • Add version() to SolcInstance (#2532)

@0x/[email protected]

  • Add ZeroExRevertErrors (#2540)
  • Print full revert error in stack traces. (#2540)
  • ZeroExRevertErrors.Migrate -> ZeroExRevertErrors.Ownable (#2564)
  • instanceof Array => Array.isArray (#2567)
  • Add more ZeroExRevertErrors (#2545)
  • Add more ZeroExRevertErrors (#2576)
  • Update ZeroExRevertErrors (#2597)

@0x/[email protected]

  • Add getAccountNonce() to Web3Wrapper (#2545)
  • Update ganache-core (#2545)

@0x/[email protected]

  • Use LibERC20Token.approveIfBelow() in DEX bridges for for approvals. (#2512)
  • Emit ERC20BridgeTransfer events in bridges. (#2512)
  • Change names of ERC20BridgeTransfer args to be less ambiguous. (#2524)
  • Added MixinGasToken allowing Gas Tokens to be freed (#2523)
  • Add DexForwaderBridge bridge contract. (#2525)
  • Add UniswapV2Bridge bridge contract. (#2590)
  • Add Gas Token freeing to DexForwarderBridge contract. (#2536)

@0x/[email protected]

  • Fix broken tests. (#2591)

@0x/[email protected]

  • Add LibERC20Token.approveIfBelow() (#2512)
  • Add solidity 0.6 contracts (#2545)
  • Update LibERC20TokenV06 comments. (#2597)

@0x/[email protected]

  • Pass in DevUtils address as a constructor parameter (#2531)
  • Sample Curve for buy amounts (#2551)
  • Added sampleBuysFromKyberNetwork (#2551)
  • Use searchBestRate in Kyber samples. Return 0 when Uniswap/Eth2Dai reserve (#2575)
  • Add UniswapV2 (#2595)
  • Sample from MultiBridge (#2593)

@0x/[email protected]

  • Add MaximumGasPrice contract, tooling, and unit tests (#2511)

@0x/[email protected]

  • Update ERC20BridgeSampler tests (#2531)

@0x/[email protected]

  • Add msg param to assertIntegerRoughlyEquals (#2576)

@0x/[email protected]

  • Added GST_ADDRESS and GST_COLLECTOR_ADDRESS (#2523)
  • Set GST Collector address in DeploymentConstants (#2530)
  • Add solidity 0.6 contracts (#2540)
  • Add more solidity 0.6 contracts (#2545)
  • Add UniswapV2 addresses to DeploymentConstants (#2595)
  • Update V06 contracts to get around 0.6.9 docstring errors (#2597)

0x monorepo - 15f75a0

03 Mar 07:29
15f75a0
Compare
Choose a tag to compare

@0x/[email protected]

  • Add support for ERC721 assets (#2491)
  • Add destroy for gas heartbeat (#2492)
  • Added BUSD Curve (#2506)
  • Updated Compound Curve address (#2506)

@0x/[email protected]

  • Redeploy ERC20BridgeSampler (#2503)

0x monorepo - 7742901

27 Feb 21:16
7742901
Compare
Choose a tag to compare

@0x/[email protected]

  • Fix order native pruning by fill amount (#2500)

@0x/[email protected]

  • Added Broker, GodsUnchainedValidator, ChainlinkStopLimit to index.ts (#2498)

@0x/[email protected]

  • Add generic liquidity provider sampling (#2487)
  • Use liquidity provider registry in sampler (#2499)

@0x/[email protected]

  • Add ChaiBridge and DydxBridge gas benchmark tests. (#2478)

0x monorepo - 58ff2dc

26 Feb 00:37
58ff2dc
Compare
Choose a tag to compare

@0x/[email protected]

  • Include bin files

@0x/[email protected]

  • Include bin files

0x monorepo - 4a133ca

15 Feb 06:42
4a133ca
Compare
Choose a tag to compare

@0x/[email protected]

  • Use batchCall() version of the ERC20BridgeSampler contract (#2477)
  • Support for sampling Curve contracts (#2483)

@0x/[email protected]

  • Added ChainlinkStopLimit addresses (mainnet, ropsten, rinkeby) (#2473)
  • Added CurveBridge address (mainnet) (#2483)
  • Update ERC20BridgeSampler address (mainnet, kovan) (#2483)

@0x/[email protected]

  • Add Broker and GodsUnchainedValidator artifacts (#2469)
  • Updated Forwarder artifact (#2469)

@0x/[email protected]

  • Add Broker and GodsUnchainedValidator wrappers (#2469)
  • Updated Forwarder wrapper (#2469)

@0x/[email protected]

  • Added CurveBridge address (null) (#2483)

@0x/[email protected]

  • Added decoders for broker data (#2484)

@0x/[email protected]

  • Added Curve contract sampling (#2483)

@0x/[email protected]

  • Added ChainlinkStopLimit contract and tests (#2473)
  • Fixed the mainnet dYdX Bridge tests. (#2479)
  • Addded decoders for stop-limit data (#2484)
  • Added ERC20Sampler and Curve Mainnet test (#2483)

0x monorepo - 5d603b2

06 Feb 11:27
5d603b2
Compare
Choose a tag to compare

@0x/[email protected]

  • Fix bug with liquidity source breakdown (#2472)
  • Prune orders before creating a dummy order for the Sampler (#2470)
  • Bump sampler gas limit to 60e6 (#2471)

@0x/[email protected]

  • Added Broker, MixinWethUtils revert errors (#2455)
  • Moved LibAssetDataTransfer revert errors into their own file (#2455)

@0x/[email protected]

  • Refactor, moved LibAssetDataTransfer and MixinWeth(Utils) to extensions (#2455)

@0x/[email protected]

  • Moved LibAssetDataTransfer here from forwarder (#2455)

@0x/[email protected]

  • New year, new me: remove everything, add MixinWethUtils and LibAssetDataTransfer (#2455)

0x monorepo - 51ca310

17 Dec 00:07
Compare
Choose a tag to compare

@0x/[email protected]

  • Fix gasPrice from ethgasstation to be in WEI instead of GWEI (#2393)
  • Add aggregator utils (#2353)

@0x/[email protected]

  • Addition of ERC20BridgeSampler + Kyber Erc20Bridge Contract in contract-addresses (#2353)

@0x/[email protected]

  • Add IERC20BridgeSampler artifact. (#2353)

@0x/[email protected]

  • Add IERC20BridgeSampler wrapper (#2353)

@0x/[email protected]

  • Change OrderStore functions to be async, allowing for Database adapters (#2393)

@0x/[email protected]

  • Added DydxBridgeOnlyCallableByErc20BridgeProxy and DydxBridgeUnrecognizedBridgeAction (#2378)

@0x/[email protected]

  • Do not query empty/unsigned orders. Swallow revets on DEX quotes. (#2365)

@0x/[email protected]

  • Add DEV_UTILS_ADDRESS and KYBER_ETH_ADDRESS to DeploymentConstants. (#2395)
  • Add DydxBridge to DeploymentConstants. (#2365)

0x monorepo - 6b0f357

09 Dec 22:55
Compare
Choose a tag to compare

@0x/[email protected]

  • Add IAssetData artifact (#2373)

@0x/[email protected]

  • Add wrapper for IAssetDataContract (#2373)

@0x/[email protected]

  • Removed from assetDataUtils: individual decoding functions and assert functions (#2388)
  • Add ERC20Bridge support to assetDataUtils (#2388)

@0x/[email protected]

  • Add ERC20BridgeAssetData (#2373)

@0x/[email protected]

  • Added hex_utils (#2373)

@0x/[email protected]

  • Export function encodeDutchAuctionAssetData (#2373)

@0x/[email protected]

  • Removed hex_utils.ts. Moved to @0x/utils (#2373)

0x monorepo - 761d0a0

02 Dec 14:33
Compare
Choose a tag to compare

[email protected]

  • Remove ZRXToken contract wrapper (#2324)
  • ContractWrappers no longer exposes erc20Proxy, erc721Proxy and dutchAuction wrappers (#2324)
  • [Breaking] Big refactor of contract wrapper interface. See #2325 for details (#2325)
  • Remove IWallet and IValidator contract wrappers (#2337)
  • Remove exports orderHashUtils and transactionHashUtils (#2321)
  • Update BigNumber version to ~9.0.0 (#2342)
  • Exported intefaces changed: from getContractAddressesForNetworkOrThrow to getContractAddressesForChainOrThrow, from NetworkId to ChainId, from ContractNetworks to ContractChains, and from ContractNetworkData to ContractChainData. (#2313)
  • Updated to work with 0x v3

@0x/[email protected]

  • Refactored TS wrapper templates to result in a more succint interface. See #2325 for details. (#2284)
  • Python: Corrected return types and values for call() interface to generated method wrappers. (Fixes #2298) (#2345)
  • Python: Stopped generating send_transaction() interface for constant (view/pure) methods (#2345)
  • Python: Added a build_transaction() interface to contract method classes (#2345)
  • Python: Removed validator argument to contract method classes for methods that don't have any inputs (#2345)
  • Python: Changed the names of generated tuples to use the internalType field in the ABI, if it's present, resulting in human readable struct names rather than hashes of component field names. (#2345)
  • Moved shared logic into BaseContract helpers to reduce size. (#2343)
  • Re-enable gas estimation when gas is not provided. (#2343)
  • In Python wrappers, accept string arguments to bytes parameters (#2284)
  • In Python wrappers, support module-local, Web3.py-compatible middleware (#2284)
  • In Python wrappers, allow contracts to be instantiated with EITHER a Web3.py BaseProvider OR a Web3 client object (#2284)
  • In Python wrappers, fix bug with casting some bytes objects using bytes.fromhex() (#2284)
  • Add getSelector method to all functions (#2224)
  • Command-line argument network-id has changed to chain-id (#2313)
  • Fix templates not being included in published tarball (#2315)

@0x/[email protected]

  • Refactor of logic for marketBuy/marketSell order pruning and selecting, introduced protocol fees, and refactored types used by the package (#2272)
  • Incorporate paying protocol fees. (#2350)
  • Update BigNumber version to ~9.0.0 (#2342)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • Moved shared logic into BaseContract helpers to reduce size. (#2343)
  • Make evmExecAsync protected and rename to _evmExecAsync (#2243)
  • Remove duplicate types IndexedFilterValues, DecodedLogEvent, EventCallback (#2243)
  • Added ContractFunctionObj type and supporting types (#2325)
  • Added AwaitTransactionSuccessOpts and SendTransactionOpts (#2325)
  • Automatically decode and throw rich reverts in _throwIfRevertWithReasonCallResult (#1761)
  • Remove dependency on ethers.js (#1761)
  • Add more RevertError decoding functions (#1819)
  • Make the Promise returned by awaitTransactionSuccessAsync compatible with base Promise type (#1885)
  • Properly encode BigNumber indexed filter values in getTopicsForIndexedArgs() (#2155)

@0x/[email protected]

  • Removed dependency on @0x/order-utils (#2321)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • 1337 addresses updated with Forwarder deployed after Exchange is configured (#2368)
  • Update Forwarder addresses on all newtorks (#2374)
  • Update all v3 mainnet addresses (#2322)
  • Update ZeroExGovernor address on all testnets (#2322)
  • Updated devUtils contract addresses on testnets
  • Remove readOnlyProxy from addresses interface (#2295)
  • Add zeroExGovernor and erc20BridgeProxy to addresses interface (#2296)
  • Update exchange, staking, stakingProxy, zeroExGovernor, assetProxyOwner, and erc20BridgeProxy addresses for each tesnet (#2296)
  • Contract addresses are no longer indexed by network ID. Now they're indexed by chain ID. (#2313)
  • Removed getNetworkIdByExchangeAddressOrThrow. It's not needed with V3 tooling. (#2170)
  • Add zrxVault, readOnlyProxy, staking, and stakingProxy schema with addresses for each tesnet (#2224)
  • Update assetProxyOwner address for each testnet (#2224)

@0x/[email protected]

  • Regenerate Forwarder and DevUtils artifacts (#2374)
  • Replace Staking artifact with TestStaking (#2322)
  • Added ZrxVault and ERC20BridgeProxy artifacts (#2323)
  • Updated Coordinator + Coordinator Registry artifacts (#2346)
  • Update DevUtils contract artifacts
  • Use V3 contracts (#2181)
  • Add deployedBytecode field (#2181)

@0x/[email protected]

  • Remove dependency on abi-gen-wrappers (#2370)
  • Regenrate Forwarder wrapper (#2374)
  • [Breaking] Remove erc20Proxy, erc721Proxy and dutchAuction wrappers (#2324)
  • [Breaking] Big refactor of contract wrapper interface. See #2325 for details (#2325)
  • Export types ContractFunctionObj and ContractTxFunctionObj (#2325)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)
  • Use new Order and ZeroExTransaction structures with domain field (#1742)
  • Update exchange wrapper (#1742)

@0x/[email protected]

  • Generate boilerplate for all contracts if none are specified or if all contracts identifier is used (#2055)
  • Fixed sorting in artifact generation (#1910)

@0x/[email protected]

  • revertWith mocha extensions now accept Promise-like objects instead of just Promises (#2031)
  • Add shouldAllowUnlimitedContractSize to Web3Config. (#2075)
  • Add UNLIMITED_CONTRACT_SIZE to EnvVars. (#2075)
  • Add total_accounts option to Web3Config. (#2109)
  • Add chaiSetup function with RevertError testing support (#1761)
  • Refactor out Error coercion code into the utils package (#1819)

[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)
  • Add RevertErrorAbi interface as part of AbiDefinition types (#1761)
  • Add DecodedLogs type (#2220)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)
  • Add eip712DomainSchema schema (#1742)
  • Add required field domain to order and zeroExTransaction schemas (#1742)
  • Add makerAssetData and takerAssetData to Order schemas (#1819)
  • Add expirationTimeSeconds to ZeroExTransaction schema (#1832)

@0x/[email protected]

  • Deploy Forwarder after Exchange is configured as Staking Proxy is queried (#2368)
  • Subsequent contract addresses after the Forwarder are now modified (#2368)
  • Update Exchange, DevUtils, Coordinator, and Forwarder addresses on all networks (#2349)
  • Update StakingProxy, Staking, and ZrxVault addresses on mainnet (#2349)
  • Add UniswapBridge and Eth2DaiBridge addresses to schema, add mainnet addresses (#2349)
  • Deploy Forwarder AFTER staking is hooked up (#2350)
  • Migrations script no longer deploys DutchAuction since it is not yet upgraded for V3 of the protocol (#2324)
  • Added Staking and ERC20BridgeProxy contracts (#2323)
  • Update all contract deployments to pass the actual chain ID (rather than the network ID) via the newly modified @0x/utils/provider_utils (#2270)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)
  • Update Coordinator and Exchange deployments to pass chainId (#1742)

@0x/[email protected]

  • [Breaking] Removed OrderStateUtils, OrderValidationUtils, ExchangeTransferSimulator and all abstract and store classes. For order validation, please use the DevUtils contract wrapper method getOrderRelevantState|getOrderRelevantStates (#2324)
  • Removed exports CoordinatorRevertErrors, ExchangeRevertErrors, ForwarderRevertErrors, LibMathRevertErrors, orderHashUtils, orderParsingUtils, StakingRevertErrors and transactionHashUtils (#2321)
  • Removed many functions from export signatureUtils (#2321)
  • Removed function isValidOrderHash from export orderHashUtils (#2321)
  • Remove TransferFailedError from ForwarderRevertErrors. (#2309)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)
  • Add chainId OrderValidationUtils, OrderFactory (#1742)
  • Update tools to use new Order and ZeroExTransaction structure (#1742)
  • Update domain schema for Exchange and Coordinator (#1742)
  • Add Exchange RevertError types to ExchangeRevertErrors (#1761)
  • Add SignatureOrderValidatorError type to ExchangeRevertErrors (#1774)
  • Add SignatureWalletOrderValidatorError type to ExchangeRevertErrors (#1774)
  • Reorder parameters of some RevertError types to match smart contracts. (#1790)
  • Use arbitrary fee tokens instead of ZRX (ZEIP-28) for tools needed by contracts packages. (#1819)
  • Update RevertError types for new base constructor (#1819)
  • Add Expired TransactionErrorCode (#1832)
  • Add expirationTimeSeconds to ZeroExTransaction parameters used for hashing (#1832)
  • Add validator field to SignatureValidatorError RevertError types. (#1885)
  • Remove unused RevertError types. (#1885)
  • Add ExchangeRevertErrors.SignatureErrorCode.InvalidSigner. (#2042)
  • Add takerAssetFillAmount field to IncompleteFillError type (#2075)
  • Update IncompleteFillError to take an errorCode, expectedAssetFillAmount, and actualAssetFillAmount fields. (#2075)
  • Add EIP712 types for Staking (#1910)
  • Add InvalidCobbDouglasAlphaError RevertError type to StakingRevertErrors (#2109)
  • Rename OperatorShareMustBeBetween0And100Error RevertError type to `...
Read more

0x monorepo - 21db0e6

02 Dec 12:40
21db0e6
Compare
Choose a tag to compare

@0x/[email protected]

  • 1337 addresses updated with Forwarder deployed after Exchange is configured (#2368)
  • Update Forwarder addresses on all newtorks (#2374)

@0x/[email protected]

  • Regenerate Forwarder and DevUtils artifacts (#2374)

@0x/[email protected]

  • Remove dependency on abi-gen-wrappers
  • Regenrate Forwarder wrapper (#2374)

@0x/[email protected]

  • Deploy Forwarder after Exchange is configured as Staking Proxy is queried (#2368)
  • Subsequent contract addresses after the Forwarder are now modified (#2368)

@0x/[email protected]

  • Re-export all RevertErrors (#2362)

@0x/[email protected]

  • Implement KyberBridge. (#2352)

@0x/[email protected]

  • Added buy support for ERC20Bridge (#2356)

@0x/[email protected]

  • Forwader <> ERC20Bridge integration tests (#2356)