0x Monorepo Versions Save

0x protocol monorepo - includes our smart contracts and many developer tools

monorepo@1166b43

4 years ago

@0x/[email protected]

  • Re-enable gas estimation when gas is not provided. (#2343)

@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)

@0x/[email protected]

  • Moved shared logic into BaseContract helpers to reduce size. (#2343)

@0x/[email protected]

  • 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)

monorepo@9e9e0d6

4 years ago

[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 https://github.com/0xProject/0x-monorepo/pull/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)

@0x/[email protected]

  • Refactored TS wrapper templates to result in a more succint interface. See https://github.com/0xProject/0x-monorepo/pull/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)

@0x/[email protected]

  • [Breaking] Remove erc20Proxy, multiAssetProxy, erc1155Proxy, staticCallProxy, erc721Proxy, assetProxyOwner, ZRXToken and dutchAuction wrappers (#2324)
  • [Breaking] Big refactor of contract wrapper interface. See https://github.com/0xProject/0x-monorepo/pull/2325 for details (#2325)
  • Updated Coordinator + Coordinator Registry wrappers (#2346)

@0x/[email protected]

  • Update BigNumber version to ~9.0.0 (#2342)

@0x/[email protected]

  • Removed dependency on @0x/order-utils (#2321)

@0x/[email protected]

  • Update all v3 mainnet addresses (#2322)
  • Update ZeroExGovernor address on all testnets (#2322)

@0x/[email protected]

  • Replace Staking artifact with TestStaking (#2322)
  • Added ZrxVault and ERC20BridgeProxy artifacts (#2323)
  • Updated Coordinator + Coordinator Registry artifacts (#2346)

@0x/[email protected]

  • [Breaking] Remove erc20Proxy, erc721Proxy and dutchAuction wrappers (#2324)
  • [Breaking] Big refactor of contract wrapper interface. See https://github.com/0xProject/0x-monorepo/pull/2325 for details (#2325)
  • Export types ContractFunctionObj and ContractTxFunctionObj (#2325)

@0x/[email protected]

  • Migrations script no longer deploys DutchAuction since it is not yet upgraded for V3 of the protocol (#2324)
  • Added Staking and ERC20BridgeProxy contracts (#2323)

@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)

@0x/[email protected]

  • Added dependency on @0x/contracts-dev-utils (#2321)
  • Update Mesh RPC logic to v6.0.1-beta (#2325)

@0x/[email protected]

  • Add shouldSaveStandardInput config (#2322)

@0x/[email protected]

  • Adds DebugSubprovider (#2329)

@0x/[email protected]

  • Remove SendTransactionOpts and AwaitTransactionSuccessOpts types and move them to @0x/base-contracts (#2325)

@0x/[email protected]

  • Removed exports AuthorizableRevertErrors, LibAddressArrayRevertErrors, LibBytesRevertErrors, OwnableRevertErrors, ReentrancyGuardRevertErrors and SafeMathRevertErrors (#2321)
  • Decode Parity revert errors (#2341)
  • Update BigNumber version to ~9.0.0 (#2342)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Introduced new export CoordinatorRevertErrors (#2321)
  • Added dependency on @0x/contracts-utils (#2321)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Add new method getOrderHash() to DevUtils contract (#2321)
  • Add new method getTransactionHash() to DevUtils contract (#2321)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Introduced new export ExchangeRevertErrors (#2321)
  • Round up in marketBuyOrdersNoThrow() so marketBuyOrdersFillOrKill() doesn't throw up. (#2338)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Introduced new export ForwarderRevertErrors (#2321)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Introduced new export LibMathRevertErrors (#2321)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Introduce new exports FixedMathRevertErrors and StakingRevertErrors (#2321)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Add new exports orderHashUtils and transactionHashUtils (#2321)
  • Remove TransactionHelper and MutatorContractFunction (#2325)

@0x/[email protected]

  • Drastically reduced bundle size by adding .npmignore, only exporting specific artifacts/wrappers/utils (#2330)
  • Introduced new exports AuthorizableRevertErrors, LibAddressArrayRevertErrors, LibBytesRevertErrors, OwnableRevertErrors, ReentrancyGuardRevertErrors and SafeMathRevertErrors (#2321)

monorepo@3b9d84f

4 years ago

[email protected]

  • Exported intefaces changed: from getContractAddressesForNetworkOrThrow to getContractAddressesForChainOrThrow, from NetworkId to ChainId, from ContractNetworks to ContractChains, and from ContractNetworkData to ContractChainData. (#2313)

@0x/[email protected]

  • 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]

  • Remove debug functions getABIDecodedTransactionData and getABIDecodedReturnData (#2243)
  • Remove getABIEncodedTransactionData for constant functions (pure and view) (#2243)
  • Introduce TxOpts object for sendTransactionAsync and awaitTransactionSuccessAsync. Replaces timeoutMs and pollingIntervalMs arguments for awaitTransactionSuccessAsync (#2243)
  • Remove validateAndSendTransactionAsync. Replaced with shouldValidate key in TxOpts. Defaults to true (#2243)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • Make evmExecAsync protected and rename to _evmExecAsync (#2243)
  • Remove duplicate types IndexedFilterValues, DecodedLogEvent, EventCallback (#2243)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • Updated devUtils contract addresses on testnets

@0x/[email protected]

  • Update DevUtils contract artifacts

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • 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)

@0x/[email protected]

  • Remove TransferFailedError from ForwarderRevertErrors. (#2309)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • Output artifacts now include a 'chains' attribute rather than 'networks' (#2313)

@0x/[email protected]

  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • Add SendTransactionOpts and AwaitTransactionSuccessOpts types for contract wrappers (#2243)
  • All references to network ID have been removed, and references to chain ID have been introduced instead (#2313)

@0x/[email protected]

  • Consolidated FixedMathRevertErrors (#2255)
  • Changed provider_utils.providerUtils.getChainIdAsync() to invoke RPC method eth_chainId rather than net_version (#2270)

@0x/[email protected]

  • ERC20Wrapper and ERC1155ProxyWrapper constructors now require an instance of DevUtilsContract (#2034)

@0x/[email protected]

  • Add encodeStaticCallAssetData and decodeStaticCallAssetData in LibAssetData (#2034)
  • Add revertIfInvalidAssetData in LibAssetData (#2034)

@0x/[email protected]

  • Create LibERC20Token (#2309)

@0x/[email protected]

  • LocalBalanceStore.create and constructor now require an instance of DevUtilsContract (#2304)
  • In LocalBalanceStore, transferAsset is now transferAssetAsync (#2304)
  • Test utility classes AssetWrapper, MatchOrderTester, and OrderFactoryFromScenario constructors now require an instance of DevUtilsContract (#2304)
  • In OrderFactoryFromScenario, generateOrder is now generateOrderAsync (#2304)

@0x/[email protected]

  • Use LibERC20Token in MixinAssets (#2309)

@0x/[email protected]

  • Replaced the use of SafeMath with LibSafeMath (#2254)

@0x/[email protected]

  • Add more overflow safeguards to LibFixedMath (#2255)
  • Refactored finalization state. (#2276)
  • Removed protocol fee != 0 assertion. (#2278)
  • Call StakingProxy.assertValidStorageParams() in MixinParams.setParams() (#2279)
  • The fallback function in StakingProxy reverts if there is no staking contract attached (#2310)
  • Fix overflow w/ `LibFixedMath._mul(-1, -2*255) (#2311)
  • Unit tests for MixinScheduler (#2314)
  • Unit tests for MixinCumulativeRewards (#2316)

@0x/[email protected]

  • OrderFactory default order expiration time increased from ten minutes to fifteen minutes (#2304)

monorepo@c60d1e5

4 years ago

[email protected]

  • Updated to work with 0x v3

@0x/[email protected]

  • Use V3 contracts (#2181)
  • Hardcode bytecode for local EVM execution (#2198)

@0x/[email protected]

  • 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 getNetworkIdByExchangeAddressOrThrow. It's not needed with V3 tooling. (#2170)

@0x/[email protected]

  • Use V3 contracts (#2181)
  • Add deployedBytecode field (#2181)

@0x/[email protected]

  • 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]

  • Add RevertErrorAbi interface as part of AbiDefinition types (#1761)
  • Add DecodedLogs type (#2220)

@0x/[email protected]

  • 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]

  • Update Coordinator and Exchange deployments to pass chainId (#1742)

@0x/[email protected]

  • 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 InvalidPoolOperatorShareError. (#2109)
  • Add TransactionGasPriceError and TransactionInvalidContextError to error registry. (#2109)
  • Add EthVaultNotSetError, RewardVaultNotSetError, and InvalidStakeStatusError` to error registry. (#2118)
  • Add InvalidStakeStatusError to error registry. (#2126)
  • Add InitializationError, InvalidParamValue to StakingRevertErrors. (#2131)
  • Add CumulativeRewardIntervalError. (#2154)
  • Remove validateOrderFillableOrThrowAsync, simpleValidateOrderFillableOrThrowAsync, validateMakerTransferThrowIfInvalidAsync (#2181)
  • Add PreviousEpochNotFinalizedError to StakingRevertErrors. (#2155)
  • Add InvalidMinimumPoolStake to StakingRevertErrors.InvalidParamValueErrorCode. (#2155)

@0x/[email protected]

  • Convert getContractNamesToCompile to public function of Compiler class (#2055)

@0x/[email protected]

  • Add OrderStatus type (#1761)
  • Add OrderInfo, FillResults, MatchedFillResults, BatchMatchedFillResults types (#2031)
  • Add status types for Staking contracts (#1910)
  • Add ERC20Bridge to AssetProxyId (#2220)

@0x/[email protected]

  • Add types for @0x/dev-utils chai helpers in types/@0x (#1761)

@0x/[email protected]

  • Allow for array types in RevertErrors. (#2075)
  • Have Ganache Error -> RevertError coercion fail if it can't look up the selector. (#2109)
  • Add LibFixedMath RevertError types. (#2109)
  • Add RawRevertError RevertError type. (#2109)
  • Make RevertError.decode() optionally return a RawRevertError if the selector is unknown. (#2109)
  • Rename length field of AuthorizableRevertErrors.IndexOutOfBoundsError type to len. (#2109)

@0x/[email protected]

  • Let toBaseUnitAmount() accept a number (#1819)

@0x/[email protected]

  • Disallow the zero address from being made an authorized address in MixinAuthorizable, and created an archive directory that includes an old version of Ownable (#2019)
  • Remove LibAssetProxyIds contract (#2055)
  • Compile and export all contracts, artifacts, and wrappers by default (#2055)
  • Remove unused dependency on IAuthorizable in IAssetProxy (#1910)
  • Add ERC20BridgeProxy (#2220)
  • Add Eth2DaiBridge (#2221)

@0x/[email protected]

  • Add chainId to domain separator (#1742)
  • Inherit Exchange domain constants from exchange-libs to reduce code duplication (#1742)
  • Update domain separator (#1742)
  • Refactor contract to use new ITransactions interface (#1753)
  • Add verifyingContractIfExists arg to LibEIP712CoordinatorDomain constructor (#1753)
  • Remove LibZeroExTransaction contract (#1753)
  • Update tests for arbitrary fee tokens (ZEIP-28). (#1819)
  • Update for new marketXOrders consolidation. (#2042)
  • Use built in selectors instead of hard coded constants (#2055)
  • Compile and export all contracts, artifacts, and wrappers by default (#2055)

@0x/[email protected]

  • Use built in selectors instead of hard coded constants (#2055)
  • Compile and export all contracts, artifacts, and wrappers by default (#2055)
  • Add marketBuy/SellOrdersNoThrow and marketBuy/SellOrdersFillOrKill to LibTransactionDecoder. (#2075)
  • run_mocha package script runs with UNLIMITED_CONTRACT_SIZE=true environment variable. (#2075)

@0x/[email protected]

  • Add mintKnownFungibleTokensAsync(), isNonFungibleItemAsync(), isFungibleItemAsync(), getOwnerOfAsync(), getBalanceAsync() to Erc1155Wrapper. (#1819)

@0x/[email protected]

  • Use new/cheaper reentrancy guard/mutex (#1699)
  • Update domain separator (#1742)
  • Refactor executeTransaction to take ZeroExTransaction struct as input (#1753)
  • Refactor example contracts that use executeTransaction (#1753)
  • Upgrade all string reverts to rich reverts (#1761)
  • Add support for SignatureType.OrderValidator for orders (#1774)
  • Add support for SignatureType.WalletOrderValidator for orders (#1774)
  • Add a bytes return value to executeTransaction, which is equal to the encoded return data of the underlying Exchange function call (#1793)
  • Implement batchExecuteTransactions (#1793)
  • Refactor preSign to be compatible with executeTransaction (#1793)
  • Remove ZRX fees in lieu of arbitrary maker and taker fee tokens. (#1819)
  • Incorporate Multi-asset and ERC1155 tests into fillOrder and matchOrders tests (#1819)
  • Swap fill order from maker -> taker to taker -> maker (#1819)
  • Avoid redundant transfer in fillOrder() and matchOrders() when maker/taker is the same as feeRecipient and assets are the same (#1819)
  • Implement cancelOrderNoThrow and batchCancelOrdersNoThrow functions (#1827)
  • executeTransaction will now revert if the input transaction is expired (#1832)
  • Log an TransactionExecuted event when an executeTransaction call is successful (#1832)
  • Return a FillResults array for batch fill variants (#1834)
  • Add MixinTransferSimulator contract for simulating multiple transfers on-chain (#1868)
  • Add EIP1271Wallet signature type (#1885)
  • Remove WalletOrderValidator and OrderValidator signature types (#1885)
  • Make the regular Validator signature type have EIP1271 behavior (#1885)
  • Always check signature types that are validated via contract (not just on first fill). (#1885)
  • Remove unecessary rich revert error types. (#1885)
  • Add IEIP1271Wallet interface (#1885)
  • Add validatorAddress field to SignatureValidatorError rich reverts (#1885)
  • Make calculateMatchedFillResults public (#1885)
  • Updated RichErrors to the library pattern (#1913)
  • Rewrote _dispatchTransferFrom in Solidity (#2020)
  • Add TestIsolatedExchange contract and IsolatedExchangeWrapper test class (#2031)
  • Add ReferenceFunctions as package export. (#2031)
  • Remove TestExchangeMath.sol. Exchange math functions are now tested in the exchange-libs package and reference implementations are available there as well. (#2031)
  • Remove functions from TestExchangeInternals.sol that are no longer tested in this package. (#2031)
  • Remove _assertValidFill() (#2031)
  • Add wrapper_unit_tests tests and TestWrapperFunctions contract (#2042)
  • Disallow signerAddress == 0 in signature validation functions. (#2042)
  • Update Wallet signature type behavior to be in line with v2.1. (#2042)
  • Add (semi) automated reentrancy tests and remove manual ones (#2042)
  • Refactor to use new LibFillResults, LibOrder, LibZeroExTransaction, and LibMath to libraries (#2055)
  • Remove LibExchangeRichErrors and IExchangeRichErrors (#2055)
  • Use built in selectors instead of LibExchangeSelectors constants (#2055)
  • Move calculateFillResults and calculateMatchedFillResults to LibFillResults in exchange-libs package (#2055)
  • Compile and export all contracts, artifacts, and wrappers by default (#2055)
  • Rename marketSellOrders and marketBuyOrders back to marketSellOrdersNoThrow and marketBuyOrdersNoThrow. (#2075)
  • Introduce new marketSellOrdersFillOrKill and marketBuyOrdersFillOrKill functions. (#2075)
  • Use abi.decode() in LibExchangeRichErrorDecoder over LibBytes. (#2075)
  • Overridden functions in ReentrancyTester now return sane values. (#2075)

@0x/[email protected]

  • Break up LibEIP712 into reusable components (#1742)
  • Add chainId to EIP712 domain schema (#1742)
  • Rename verifyingContract to verifyingContractAddress in domain schema (#1742)
  • Add LibZeroExTransaction contract (#1753)
  • Add verifyingContractIfExists arg to LibEIP712ExchangeDomain constructor (#1753)
  • Remove LibEIP712ExchangeDomainConstants and LibEIP712 contracts (#1753)
  • Add LibExchangeRichErrorDecoder contract. (#1790)
  • Break out types/interaces from MExchangeRichErrors into MExchangeRichErrorTypes. (#1790)
  • Reorder some revert error parameters for consistency (#1790)
  • Add new Order fields for arbitrary fee tokens (ZEIP-28). (#1819)
  • Remove LibAbiEncoder and LibConstants. (#1819)
  • Add generate-exchange-selectors package script. (#1819)
  • Add expirationTimeSeconds to ZeroExTransaction struct (#1823)
  • Add reference functions for LibMath and LibFillResults (#2031)
  • Move in revamped LibMath tests from the contracts-exchange package. (#2031)
  • Move in revamped LibFillResults tests from the contracts-exchange package. (#2031)
  • Remove unecessary zero-denominator checks in LibMath. (#2031)
  • Fix coverage hooks. (#2031)
  • Regenerate selectors. (#2042)
  • Convert LibFillResults, LibOrder, LibZeroExTransaction, and LibMath to libraries (#2055)
  • Remove LibExchangeSelectors (#2055)
  • Add LibExchangeRichErrors (#2055)
  • Add calculateFillResults and calculateMatchedFillResults to LibFillResults (#2055)
  • Remove _hashEIP712ExchangeMessage from LibEIP712ExchangeDomain (#2055)
  • Compile and export all contracts, artifacts, and wrappers by default (#2055)
  • Update IncompleteFillError to take an errorCode, expectedAssetFillAmount, and actualAssetFillAmount fields. (#2075)

@0x/[email protected]

  • Created package (#1821)
  • First implementation (#1910)
  • Replace LibFeeMath with LibFixedMath. (#2109)
  • Use a more precise cobb-douglas implementation. (#2109)
  • Change the way operator stake is computed. (#2109)
  • Denominate pool operator shares in parts-per-million. (#2109)
  • New stake management mechanics. Delay before delegation. Nixed shadow rewards. (#2118)
  • Tests for new stake management mechanics. (#2126)
  • Add init() pattern to contracts. (#2131)
  • Replace MixinDeploymentConstants with MixinParams. (#2131)
  • Reference counting for cumulative rewards. (#2154)
  • Refactored Staking Reward Vault. Moved pool management logic into staking contract. (#2156)
  • Removed MixinStakingPoolRewardVault.sol (#2156)
  • Refactored out _cobbDouglas() into its own library (#2179)
  • Introduce multi-block finalization. (#2155)
  • Removed reference counting for cumulative rewards. (#2188)
  • Removed explicit dependency on epoch+1 when delegating. (#2188)

@0x/[email protected]

  • Add chainId to TransactionFactory constructor (#1742)
  • Use new Order structure with domain field (#1742)
  • Inherit chaiSetup from @0x/dev-utils (#1761)
  • Add generatePseudoRandomOrderHash() to orderUtils (#1761)
  • Inherit OrderStatus from @0x/types (#1761)
  • Update types for arbitrary fee tokens (#1819)
  • Remove formatters (#1834)
  • Add hexConcat() in hex_utils.ts (#1885)
  • Introduce Mocha blockchain extensions (#2007)
  • Move *FillResults, OrderInfo types to @0x/types (#2031)
  • Add log_utils.ts (#2031)
  • Add haxRandom() to hex_utils.ts (#2031)
  • Add the constants: MAX_UINT256, ADDRESS_LENGTH, MAX_UINT256_ROOT, ONE_ETHER (#2031)
  • Make testCombinatoriallyWithReferenceFuncAsync non-async (#2031)
  • Update testWithReferenceFuncAsync to work with RevertErrors (#2031)
  • web3Wrapper is created with shouldAllowUnlimitedContractSize if UNLIMITED_CONTRACT_SIZE environment variable is set. (#2075)
  • Add toHex(), hexLeftPad(), hexRightPad(), and 'hexInvert()' hex utils (#2109)
  • Add PPM_DENOMINATOR and PPM_100_PERCENT constants. (#2109)
  • Increase the number of ganache accounts to 20 (#2109)
  • Add Numberish type. (#2131)
  • Tweaks/Upgrades to hex_utils, most notably hexSlice() (#2155)
  • Add hexHash() to hex_utils (#2155)
  • Add shortZip() to lang_utils.ts (#2155)
  • Add number_utils.ts and hexSize() (#2220)

@0x/[email protected]

  • Change ReentrancyGuard implementation to cheaper one (#1699)
  • Add LibEIP712 contract (#1753)
  • Add RichErrors and mixins/MRichErrors (#1761)
  • Break out types/interaces from MRichErrors into MRichErrorTypes. (#1790)
  • Add LibEIP1271.sol (#1885)
  • Updated RichErrors to the library pattern, and implemented RichErrors for all remaining reverts and requires (#1913)
  • Added unit tests for all of the internal functions in the package (#2014)
  • Updated Ownable to revert when the owner attempts to transfer ownership to the zero address (#2019)
  • Add reference functions for SafeMath functions. (#2031)
  • Throw a SafeMathError in SafeMath._safeDiv() when denominator is zero. (#2031)
  • Create LibSafeMath (#2055)
  • Rename _rrevert to rrevert in LibRichErrors contract (#2055)
  • Compile and export all contracts, artifacts, and wrappers by default (#2055)
  • Added LibFractions (#2118)
  • Introduce automatic normalization and some zero-value shortcuts in LibFractions. (#2155)

monorepo@ec92cea

4 years ago

@0x/[email protected]

  • Redirect to evmExecAsync to use local EVM instead of eth_call for pure functions (#2108)

@0x/[email protected]

  • Redirect callAsync to use local EVM instead of eth_call for pure functions (#2108)

@0x/[email protected]

  • AssetSwapper to use @0x/orderbook to fetch and subscribe to order updates (#2056)

@0x/[email protected]

  • Add evmExecAsync to use local EVM instead of eth_call for pure functions (#2108)

@0x/[email protected]

  • Added getNetworkIdByExchangeAddressOrThrow (#2096)

@0x/[email protected]

  • Add devUtils to ContractWrappers class. (#2146)

@0x/[email protected]

  • Removed dependency on @0x/order-utils (#2096)

@0x/[email protected]

  • Upgrade the bignumber.js to v8.0.2 (#1517)

@0x/[email protected]

  • Implement simpleValidateOrderFillableOrThrowAsync (#2096)

@0x/[email protected]

  • Add declaration for ethereumjs-vm (#2108)

monorepo@f394d7d

4 years ago

@0x/[email protected]

  • Updated expected typescript output for cli tests to include getABIDecodedTransactionData and getABIDecodedReturnData (#2018)
  • Added tests forgetABIDecodedTransactionData and getABIDecodedReturnData in contract wrappers. (#2018)

@0x/[email protected]

  • Updated to include getABIDecodedTransactionData and getABIDecodedReturnData (#2018)

@0x/[email protected]

  • Added StaticCallAssetProxy and ERC1155AssetProxy (#2021)

@0x/[email protected]

@0x/[email protected]

  • Move tokenUtils here from @0x/contract-wrappers (#2037)

@0x/[email protected]

  • Added StaticCallAssetProxy and ERC1155AssetProxy (#2021)

@0x/[email protected]

  • Updated to include strictDecode for decoding method arguments (#2018)
  • Throw exception when trying to decode beyond boundaries of calldata (#2018)

monorepo@281c207

4 years ago

@0x/[email protected]

  • Updated calls to .deployFrom0xArtifactAsync to include artifact dependencies. (#1995)

@0x/[email protected]

  • Updated calls to .deployFrom0xArtifactAsync to include artifact dependencies. (#1995)

@0x/[email protected]

  • Updated calls to .deployFrom0xArtifactAsync to include artifact dependencies. (#1995)

@0x/[email protected]

  • Updated calls to .deployFrom0xArtifactAsync to include artifact dependencies. (#1995)

@0x/[email protected]

  • Updated calls to .deployFrom0xArtifactAsync to include artifact dependencies. (#1995)

@0x/[email protected]

  • Updated calls to .deployFrom0xArtifactAsync to include artifact dependencies. (#1995)

monorepo@6f3cee1

4 years ago

[email protected]

  • re-export new ethereum-types type, TupleDataItem (#1919)

@0x/[email protected]

  • Python method parameters are now in snake case (#1919)
  • Python wrappers now support tuples in method parameters (#1919)
  • document Python method's bytes params as requiring UTF-8 (#1919)
  • generate Python output into a contract-named folder, not a file (eg exchange/init.py rather than exchange.py) leaving space for user-defined additions to the same module, such as for custom types, as used by the Exchange wrapper's manually-written type aliases in the contract_wrappers.exchange.types Python module (#1919)
  • support for customizable parameter validation for Python wrappers (#1919)
  • wrap Python docstrings better, for pydocstyle compliance (#1919)
  • lots of fixes to satisfy linters of generated Python code (#1919)

@0x/[email protected]

  • Python: fix broken event handling (#1919)
  • Python: custom validator class support (#1919)
  • Python: linter fixes (#1919)
  • Python: normalize bytes parameters in wrapper methods (#1919)

@0x/[email protected]

  • re-export new ethereum-types type, TupleDataItem (#1919)

[email protected]

  • new interface TupleDataItem, a DataItem that definitely has a components field (#1919)

@0x/[email protected]

  • permit mixed-case addresses

@0x/[email protected]

  • Ensure assetData is word aligned (#1964)

@0x/[email protected]

  • re-export new ethereum-types types, TupleDataItem (#1919)

@0x/[email protected]

  • Fix bug in Private Key subprovider causing checksummed tx.origin addresses to be rejected. (#1962)

@0x/[email protected]

  • re-export new ethereum-types types, TupleDataItem (#1919)

monorepo@ac82b26

4 years ago

@0x/[email protected]

  • Update OrderValidator testnet addresses

monorepo@b6b618e

4 years ago

@0x/[email protected]

  • Update remaining Mainnet V2.1 contract addresses