9919 Commits

Author SHA1 Message Date
Fabio Berger
a34d083cad Refactor to ternary 2017-05-26 18:35:35 +02:00
Leonid Logvinov
7e96b45ea0
Make zero address regex stricter 2017-05-26 18:25:45 +02:00
Fabio Berger
95f07a428b Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js into implementFirstExchangeMethod 2017-05-26 18:20:43 +02:00
Fabio Berger
90db58bb2a remove todo 2017-05-26 18:20:34 +02:00
Leonid Logvinov
2f5ffe6670
Remove unnecessary ./s 2017-05-26 18:17:20 +02:00
Leonid Logvinov
75c67f3ce3
Simplify zero address regex 2017-05-26 18:14:39 +02:00
Fabio Berger
4c3c1d049b improve comment 2017-05-26 18:08:50 +02:00
Fabio Berger
d5feb5fc79 rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, restoreAsync to revertAsync 2017-05-26 18:01:54 +02:00
Fabio Berger
badd4a98e9 import reorder 2017-05-26 17:51:47 +02:00
Fabio Berger
b65ca931f2 remove outdated comment 2017-05-26 17:51:07 +02:00
Fabio Berger
aa3ae700b0 remove stray console log 2017-05-26 17:49:26 +02:00
Fabio Berger
0aabade166 return undefined if not address found 2017-05-26 17:49:16 +02:00
Fabio Berger
a6da9cd073 Add missing return types 2017-05-26 17:47:00 +02:00
Fabio Berger
1d4a52fe15 Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js into implementFirstExchangeMethod 2017-05-26 17:41:23 +02:00
Fabio Berger
79249f5e8a move console log into UNHANDLED_ERROR clause 2017-05-26 17:41:08 +02:00
Fabio Berger
066c7ff0aa rename networkId to networkIdIfExists 2017-05-26 17:40:51 +02:00
Fabio Berger
a4ec739ce6 remove comment 2017-05-26 17:40:35 +02:00
Fabio Berger
57b820c746 import re-order 2017-05-26 17:40:23 +02:00
Leonid Logvinov
a7d57c38bb
Add linting to test pipeline 2017-05-26 17:39:31 +02:00
Leonid Logvinov
635ebdc670
Install contract dependencies 2017-05-26 17:33:00 +02:00
Leonid Logvinov
dc34492898
Fix paths in circle.yml 2017-05-26 17:30:51 +02:00
Leonid Logvinov
65caf64441
Add contracts deployment and copying the artefacts to circle.ym 2017-05-26 17:28:28 +02:00
Leonid Logvinov
a2f283379d
Add testrpc as a dependency and a command for running it 2017-05-26 17:25:00 +02:00
Fabio Berger
555bac19cb Setup blockchain snapshotting before/after every test, implemented unit tests for exchangeWrapper.isValidSignature 2017-05-26 17:12:22 +02:00
Fabio Berger
f4bf9fc423 Add missing semi-colon 2017-05-26 17:10:12 +02:00
Fabio Berger
5a6df03b64 cleanup isValidSignature method 2017-05-26 17:10:02 +02:00
Fabio Berger
123cfb7c00 Add missing require 2017-05-26 17:09:47 +02:00
Fabio Berger
e545ade857 Spacing and import re-order 2017-05-26 17:09:34 +02:00
Fabio Berger
3cf25d0787 Postfix test files with _test 2017-05-26 17:08:45 +02:00
Leonid Logvinov
c5cc388a59
Remove unused bignum import 2017-05-26 15:08:44 +02:00
Leonid Logvinov
97fc77d8e9
Remove es6 target 2017-05-26 15:00:40 +02:00
Fabio Berger
6d7625296b include jsonschema type defs 2017-05-26 14:51:21 +02:00
Leonid Logvinov
fec5fb19c9
Extract artifacts list to a variable 2017-05-26 14:06:40 +02:00
Fabio Berger
9f16316567 Merge branch 'master' into implementFirstExchangeMethod
# Conflicts:
#	package.json
#	src/ts/0x.js.ts
#	src/ts/globals.d.ts
#	src/ts/types.ts
2017-05-26 13:29:19 +02:00
Fabio Berger
4465313df3 Include JSON file loader in webpack 2017-05-26 13:24:25 +02:00
Fabio Berger
e1e50bba3d Fix web3 imports again 2017-05-26 13:24:05 +02:00
Fabio Berger
8c61af28db Fix web3 imports 2017-05-26 12:57:37 +02:00
Fabio Berger
ff403f3f8f Copy over artifacts to lib folder onBuild 2017-05-26 12:57:22 +02:00
Leonid
f338c68f12 Merge pull request #13 from 0xProject/getOrderHash
Port getOrderHash and write tests for it
2017-05-26 12:41:51 +02:00
Leonid Logvinov
3195741ebc
Address feedback 2017-05-26 12:17:31 +02:00
Leonid Logvinov
183e8a7138
Address feedback 2017-05-25 20:29:33 +02:00
Leonid Logvinov
f75595c6cd
Change the order of params in isValidSignatureAsync to be consistent 2017-05-25 20:12:55 +02:00
Leonid Logvinov
8e35923d6e
Fix exchange type 2017-05-25 20:12:13 +02:00
Leonid Logvinov
b9892c0d49
Remove unused imports 2017-05-25 20:11:48 +02:00
Fabio Berger
bc8fc53433 Add initial exchange contract function, set up web3Wrapper, added types and utils 2017-05-25 19:47:11 +02:00
Fabio Berger
74e7dc46b4 Add npm command to update contact artifacts 2017-05-25 19:45:44 +02:00
Leonid Logvinov
f2f39d9eb2
Port getOrderHash 2017-05-25 17:24:29 +02:00
Fabio Berger
f7b8378a6e Merge pull request #11 from 0xProject/isValidOrderHash
Port isValidOrderHash and tests
2017-05-25 13:57:40 +02:00
Leonid Logvinov
f3cfd3e708
Get rid of ETH 2017-05-25 13:54:56 +02:00
Leonid Logvinov
612019f5e7
Fix comment 2017-05-25 13:53:54 +02:00