Xianny 6a852ab0ed
Replace assetDataUtils with DevUtilsContract wherever possible (#2304)
* 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
2019-11-06 19:40:20 -08:00
..

Deployed Contract Packages

Contract Package Version Git Tag
AssetProxyOwner @0x/contracts-multisig v1.0.2 @0x/contracts-multisig@1.0.2
ERC20Proxy @0x/contracts-asset-proxy v1.0.1 @0x/contracts-asset-proxy@1.0.1
ERC721Proxy @0x/contracts-asset-proxy v1.0.1 @0x/contracts-asset-proxy@1.0.1
Exchange @0x/contracts-exchange v1.0.1 @0x/contracts-exchange@1.0.1
DutchAuction @0x/contracts-extensions v1.0.2 @0x/contracts-extensions@1.0.2
Forwarder @0x/contracts-exchange-forwarder v1.0.1 @0x/contracts-exchange-forwarder@1.0.1
MultiAssetProxy @0x/contracts-asset-proxy v1.0.1 @0x/contracts-asset-proxy@1.0.1
ZRXToken @0x/contracts-erc20 v1.0.1 @0x/contracts-erc20@1.0.1

Development

Building solidity files will update the contract artifact in {package-name}/generated-artifacts/{contract}.json, but does not automatically update the abi-gen-wrappers package, which are generated from the artifact JSON. To ensure consistency, clean and rebuild abi-gen-wrappers after any changes to the artifact JSON.