Amir Bandeali
d737d419d9
Add clean:contracts command to top level package.json
2019-04-29 16:06:00 -07:00
F. Eugene Aumson
0de2b6983b
Add LibAssetData to contracts/asset-proxy ( #1779 )
...
* Stop restarting node unnecesssarily during test
* Add new, empty LibAssetData
* Support encoding & decoding of ERC20 asset data
* Support encoding & decoding of ERC721 asset data
* Support encoding & decoding of ERC1155 asset data
* Support encoding & decoding of multi-asset data
* Support querying ERC20 balance from asset data
* Support querying ERC721 balance from asset data
* Support querying ERC1155 balance from asset data
* Support querying balance from multi-asset data
* Support querying ERC20 allowance from asset data
* Support querying ERC721 allowance from asset data
* Support querying ERC1155 allowance from asset data
* In tests, wait for allowance set before checking
* Introduce temporary variable `assetDataBody`
* Handle edge case in multi-asset balance query
* Support multi-asset allowance query by asset data
* Move variable declaration up for readability.
* Make all solhint-disable's cite specific rules
And move the directives to the ends of lines whenever possible
* Rename query tests to include " by asset data"
* Extract test helper method
* Extract another test helper method
* Support batch queries of allowances & balances
* In LibAssetData.sol, use IERC1155, not ...Mintable
* Rename balance*() return vars: amount -> balance
* Fix bug in ERC721 balance query
Was using method balanceOf(), but needed to be using ownerOf().
getERC721TokenOwner() method lifted from
@0x/extensions/contracts/src/OrderValidator/OrderValidator.sol
* Reuse new en/decoders; avoid abi.decode().
* Start lowest allowance/balance from 0, not MAX_INT
* Properly implement ERC1155 balance querying
* Split lines for readability
* Also check isApprovedForAll in 721 allowance query
* Add neglected division of allowances by amounts
* Rename methods: balanceOf -> getBalance
* Rename methods: allowance -> getAllowance
* Add methods: getBalanceAndAllowance() & batch...()
* Rename return vars: amount -> allowance
* Add devdoc comments
* Rename batchGet* methods to getBatch*
* Remove refactoring relic
* Add revert messages to all require() calls
* Reduce gas usage for ERC1155 asset data decoding
* Don't use dockerized solc for ERC20 contracts
Because they demand solc version 0.4.26, and it seems as though the tag
for that version has been deleted from dockerhub.
Without this, @0x/contracts-erc20 was failing to build.
* Rename batch functions to use plurals
* Skip dockerized solc for contracts needing 0.4.26
I seems as though the tag for that version has been deleted from
dockerhub.
Without this, these contracts were failing to build.
* Make revert reasons follow snake case convention
2019-04-29 15:46:26 -04:00
Lawrence Forman
25628c34ee
Add PR numbers to CHANGELOGs
2019-04-28 22:25:12 -04:00
Lawrence Forman
54fdccd397
Ran prettier.
2019-04-28 22:25:12 -04:00
Lawrence Forman
27af4a988d
In @0x/abi-gen-wrappers: Regenerate contract wrappers.
2019-04-28 22:25:12 -04:00
Lawrence Forman
fddad131a2
In @0x/base-contract: Expose txHashPromise in PromiseWithTransactionHash.
...
In `@0x/abi-gen-templates`: Update `awaitTransactionSuccessAsync()` partial to expose `txHashPromise`.
2019-04-28 22:25:12 -04:00
Lawrence Forman
4d493eeebd
In @0x/contracts-asset-proxy: Update tests to use contract-built-in awaitTransactionSuccessAsync().
2019-04-28 22:25:12 -04:00
Lawrence Forman
14c1495a1a
In @0x/abi-gen-templates: Make txData parameter optional in awaitTransactionSuccessAsync().
...
In `@0x/base-contract`: Make `PromiseWithTransactionHash` class compatible with ES5 transpiler.
In `@0x/abi-gen-wrappers`: Regenerate contract wrappers.
2019-04-28 22:25:12 -04:00
Lawrence Forman
49c029ddb3
In @0x/abi-gen-templates: Add txData parameter to awaitTransactionSuccessAsync.
...
In `@0x/abi-gen-templates`: Regenerate wrappers.
2019-04-28 22:25:12 -04:00
Lawrence Forman
ddbe142c4c
In @0x/abi-gen-wrappers: Regenerate contract wrappers.
2019-04-28 22:25:12 -04:00
Lawrence Forman
4710b40e45
In @0x/abi-gen-templates: Add timeoutMs parameter to awaitTransactionSuccessAsync
2019-04-28 22:25:12 -04:00
Lawrence Forman
be0b296769
Fix more linter errors.
2019-04-28 22:25:12 -04:00
Lawrence Forman
0a0ee67740
Fix linter errors.
2019-04-28 22:25:12 -04:00
Lawrence Forman
943d648225
In @0x/abi-gen-wrappers: Regenerate wrappers.
2019-04-28 22:25:12 -04:00
Lawrence Forman
6d835f5cc1
In @0x/abi-gen-templates: Add awaitTransactionSuccessAsync() to transaction template.
2019-04-28 22:25:12 -04:00
Lawrence Forman
a59cd67acf
In @0x/base-contract: expose a PromiseWithTransactionHash type.
2019-04-28 22:25:12 -04:00
Lawrence Forman
bbc06be091
Update contracts/exchange-forwarder to 0.5.5 ( #1796 )
...
* Cherry-pick updated `@0x/contracts-exchange-forwarder` from `3.0` branch.
* Add PR numbers to changelogs
2019-04-28 22:21:13 -04:00
David Sun
d303e9f347
Merge pull request #1795 from 0xProject/feature/website/new-sitemap.txt
...
Added new sitemap.txt
2019-04-26 20:03:59 -04:00
David Sun
85ee923d89
added new sitemap.txt
2019-04-26 20:01:55 -04:00
David Sun
fe6ba20ff5
Merge pull request #1788 from 0xProject/feature/website/seo+polish
...
Updated meta data for website
2019-04-26 16:24:31 -04:00
Fabio B
18acf50b12
Merge pull request #1789 from 0xProject/fix/order-watcher-race-condition
...
Fix OrderWatcher race-condition bug
2019-04-24 16:09:58 -05:00
Fabio B
509fabb61c
Merge pull request #1733 from PaulRBerg/fix/monorepo-scripts/broken-yarn-command
...
Fix yarn command in monorepo-scripts
2019-04-23 18:19:33 -05:00
Fabio Berger
cc3378b4cd
Add CHANGELOG entry
2019-04-23 18:07:12 -05:00
Fabio Berger
8d3ccf333d
Fix race-condition bug
2019-04-23 18:05:33 -05:00
David Sun
520919b165
prettier+lint
2019-04-23 18:41:54 -04:00
Francesco Agosti
600b86dd31
Merge pull request #1787 from 0xProject/feature/instant/utility-methods
...
Export utility methods and data from instant
2019-04-23 13:21:27 -07:00
fragosti
9c3fdd2584
Export utility methods and data from instant
2019-04-23 13:03:31 -07:00
David Sun
73974cd90f
added large card variant
2019-04-23 11:12:36 -04:00
David Sun
8a60b3b402
switched metadata for explore page
2019-04-23 11:05:14 -04:00
Francesco Agosti
59ed5ae6b7
Merge pull request #1785 from 0xProject/feature/instant/erc721-screen-support
...
Add overflow scroll to instant overlay & fix display bug
2019-04-22 20:39:15 -05:00
fragosti
c687385974
Fix token amount bug
2019-04-22 18:21:32 -07:00
fragosti
2f72e15ea7
Add overflow scroll to instant overlay
2019-04-22 18:07:20 -07:00
Brandon Millman
7ea99baeb2
Merge pull request #1781 from 0xProject/feature/website/add-rui-mason
...
Added Rui and Mason to the team page
2019-04-22 14:21:11 -07:00
Francesco Agosti
14f3d20772
Merge pull request #1768 from 0xProject/feature/instant/erc-721-support
...
Super MVP ERC 721 in Instant
2019-04-19 18:21:07 -05:00
fragosti
72f51df25f
Change 0x site URL
2019-04-19 17:59:37 -05:00
fragosti
a94b58e304
Remove lodash is undefined
2019-04-19 17:57:06 -05:00
fragosti
d327fabf9c
Remove empty switch statement in instant
2019-04-19 17:21:06 -05:00
fragosti
9e02888c74
Apply prettier
2019-04-19 17:05:09 -05:00
fragosti
98c9a847f3
Improve index.html
2019-04-19 16:58:42 -05:00
fragosti
a159f4c9d6
Make ERC721 image fitting more flexible
2019-04-19 16:49:37 -05:00
fragosti
b197731ed2
Add back mysterious change because of merge
2019-04-19 12:34:17 -05:00
fragosti
028f54fdf0
Fix linting errors
2019-04-19 12:28:28 -05:00
fragosti
de62a0f8ed
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/erc-721-support
2019-04-19 11:31:52 -05:00
Chris Kalani
a0fcc50a5f
Added Rui and Mason to the team page
2019-04-18 11:58:31 -07:00
Brandon Millman
4f186e843c
Merge pull request #1777 from 0xProject/feature/website/add-paul-vienhage
...
Added Paul to team page, updated 2 photos, cleaned up titles
2019-04-15 09:13:52 -07:00
Chris Kalani
df64c20587
Added Paul to team page, updated 2 photos, cleaned up titles
2019-04-12 16:00:24 -07:00
Jacob Evans
c78a602990
Publish
...
- 0x.js@6.0.6
- @0x/abi-gen@2.0.9
- @0x/abi-gen-templates@2.0.2
- @0x/abi-gen-wrappers@4.2.0
- @0x/assert@2.0.9
- @0x/asset-buyer@6.1.0
- @0x/base-contract@5.0.5
- @0x/connect@5.0.5
- @0x/contract-addresses@2.3.1
- @0x/contract-artifacts@1.5.0
- @0x/contract-wrappers@9.0.0
- @0x/contracts-gen@1.0.8
- @0x/dev-tools-pages@0.0.25
- @0x/dev-utils@2.2.1
- ethereum-types@2.1.2
- @0x/fill-scenarios@3.0.5
- @0x/instant@1.0.20
- @0x/json-schemas@3.0.9
- @0x/metacoin@0.0.47
- @0x/migrations@4.1.1
- @0x/monorepo-scripts@1.0.30
- @0x/order-utils@7.2.0
- @0x/order-watcher@4.0.6
- @0x/pipeline@1.0.17
- @0x/react-docs@2.0.10
- @0x/react-shared@2.0.10
- @0x/sol-compiler@3.1.6
- @0x/sol-coverage@3.0.3
- @0x/sol-doc@2.0.10
- @0x/sol-profiler@3.1.5
- @0x/sol-resolver@2.0.7
- @0x/sol-trace@2.0.11
- @0x/sol-tracing-utils@6.0.10
- @0x/sra-spec@2.0.9
- @0x/subproviders@4.0.5
- @0x/testnet-faucets@1.0.76
- @0x/tslint-config@3.0.1
- @0x/types@2.2.2
- @0x/typescript-typings@4.2.2
- @0x/utils@4.3.1
- @0x/web3-wrapper@6.0.5
- @0x/website@0.0.79
- @0x/contracts-asset-proxy@2.1.1
- @0x/contracts-coordinator@2.0.0
- @0x/contracts-erc1155@1.1.1
- @0x/contracts-erc20@2.2.0
- @0x/contracts-erc721@2.1.1
- @0x/contracts-exchange@2.1.1
- @0x/contracts-exchange-forwarder@2.1.1
- @0x/contracts-exchange-libs@2.1.1
- @0x/contracts-extensions@3.1.1
- @0x/contracts-multisig@3.1.1
- @0x/contracts-test-utils@3.1.2
- @0x/contracts-utils@3.1.1
@0x/asset-buyer@6.1.0
@0x/base-contract@5.0.5
@0x/connect@5.0.5
@0x/contract-addresses@2.3.1
@0x/contract-artifacts@1.5.0
@0x/contract-wrappers@9.0.0
@0x/contracts-asset-proxy@2.1.1
0x.js@6.0.6
@0x/abi-gen-templates@2.0.2
@0x/abi-gen-wrappers@4.2.0
@0x/abi-gen@2.0.9
@0x/assert@2.0.9
@0x/contracts-test-utils@3.1.2
@0x/contracts-utils@3.1.1
@0x/dev-tools-pages@0.0.25
@0x/dev-utils@2.2.1
@0x/fill-scenarios@3.0.5
@0x/instant@1.0.20
@0x/json-schemas@3.0.9
@0x/metacoin@0.0.47
@0x/migrations@4.1.1
@0x/monorepo-scripts@1.0.30
@0x/order-utils@7.2.0
@0x/testnet-faucets@1.0.76
@0x/tslint-config@3.0.1
@0x/types@2.2.2
@0x/typescript-typings@4.2.2
@0x/utils@4.3.1
@0x/web3-wrapper@6.0.5
@0x/website@0.0.79
ethereum-types@2.1.2
@0x/contracts-coordinator@2.0.0
@0x/contracts-erc1155@1.1.1
@0x/contracts-erc20@2.2.0
@0x/contracts-erc721@2.1.1
@0x/contracts-exchange-forwarder@2.1.1
@0x/contracts-exchange-libs@2.1.1
@0x/contracts-exchange@2.1.1
@0x/contracts-extensions@3.1.1
@0x/contracts-gen@1.0.8
@0x/contracts-multisig@3.1.1
@0x/order-watcher@4.0.6
@0x/pipeline@1.0.17
@0x/react-docs@2.0.10
@0x/react-shared@2.0.10
@0x/sol-compiler@3.1.6
@0x/sol-coverage@3.0.3
@0x/sol-doc@2.0.10
@0x/sol-profiler@3.1.5
@0x/sol-resolver@2.0.7
@0x/sol-trace@2.0.11
@0x/sol-tracing-utils@6.0.10
@0x/sra-spec@2.0.9
@0x/subproviders@4.0.5
monorepo@c78a602
2019-04-11 17:00:06 +01:00
Jacob Evans
0acec57ba9
Updated CHANGELOGS
2019-04-11 16:59:38 +01:00
Xianny
7423028fea
Replace lodash with built-ins where possible to reduce bundle size ( #1766 )
...
* add tslint rule to disallow lodash.isUndefined
* add tslint rule to disallow lodash.isNull
* apply fixes
2019-04-10 09:36:32 -07:00
David Sun
49d951b7be
Merge pull request #1772 from 0xProject/bug/website-photos
...
Fix bug with photo name url
2019-04-09 23:44:55 -07:00