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

0x monorepo - 3b9d84f

Compare
Choose a tag to compare
@fabioberger fabioberger released this 07 Nov 20:45
· 1493 commits to development since this release

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