Artifact changes crafted manually: re-generated artifacts from within @0x/contracts-erc20, and then copied them into @0x/contract-artifacts, but only committed the changes that added devdoc. Modified @0x/contracts-erc20/compiler.json to include devdoc in the hopes that next time contract-artifacts are re-generated en masse, the devdoc output will just come along for the ride. Compiling ERC20 TypeScript wrappers after adding devdoc to the artifacts revealed some inconsistencies in the types. ethereum-types' DevdocOutput REQUIRED many fields which are not always present, depending the devdoc contents itself. Relaxing the requirement had some ramifications.
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.