Commit Graph

467 Commits

Author SHA1 Message Date
Leonid Logvinov
c59efdde1d Rename to validateAgainstSchema 2017-06-09 15:22:27 +02:00
Leonid Logvinov
b46ebc76ea Add tests for TokenSchema 2017-06-09 15:20:30 +02:00
Leonid Logvinov
44f8d18962 Add ecSignatureSchema tests 2017-06-09 14:57:13 +02:00
Leonid Logvinov
d2df9bb314 Add ecSignatureParameter test 2017-06-09 14:35:03 +02:00
Leonid Logvinov
298c6a14b3 Add tests for address schema 2017-06-09 14:30:42 +02:00
Leonid
c94485dfbb Merge branch 'master' into fillOrderUpToAsync 2017-06-08 18:33:19 +02:00
Leonid
7f6a6dd189 Merge branch 'master' into fillOrderUpToAsync 2017-06-08 18:18:22 +02:00
Leonid Logvinov
6eb192f0ea Add tests for fillOrdersUpTo 2017-06-08 18:14:29 +02:00
Fabio Berger
23a4dcb729 Add orderFillOrKillRequestsSchema and validate using it instead of looping over the requests and validating them individually 2017-06-08 18:13:54 +02:00
Fabio Berger
2b08c04d4d Merge branch 'master' into batchFillOrKill
# Conflicts:
#	test/exchange_wrapper_test.ts
2017-06-08 18:09:47 +02:00
Fabio Berger
31cc75bd6d Fix isValidSignature tests 2017-06-08 18:02:31 +02:00
Leonid
ce3aed7236 Merge pull request #48 from 0xProject/interfaceTweaks
Interface tweaks
2017-06-08 17:21:00 +02:00
Leonid
d7b5212b73 Merge pull request #47 from 0xProject/is-valid-signature-contract
Refactor isValidSignature
2017-06-08 17:20:49 +02:00
Leonid Logvinov
f7953511bb Don't pass expressions as parameters 2017-06-08 17:18:55 +02:00
Leonid Logvinov
6629a716b9 Don't pass expressions as parameters 2017-06-08 17:18:00 +02:00
Leonid
5513d01175 Merge branch 'master' into is-valid-signature-contract 2017-06-08 17:02:30 +02:00
Leonid
0b5abb29a9 Merge branch 'master' into interfaceTweaks 2017-06-08 16:51:25 +02:00
Leonid
3090a71e9d Merge branch 'master' into batchFillAsync 2017-06-08 16:46:58 +02:00
Fabio Berger
f25447aa3d Merge branch 'master' into batchFillOrKill 2017-06-08 16:45:50 +02:00
Leonid Logvinov
49d8b5b18b Address feedback 2017-06-08 16:28:55 +02:00
Leonid Logvinov
807e62e76e Fix linter error 2017-06-08 14:31:05 +02:00
Leonid Logvinov
a0fd89aeeb Rewrite isValidSignature tests 2017-06-08 14:24:12 +02:00
Leonid Logvinov
cb68f9c9ec Remove tests for isValidSignatureUsingContractCallAsync 2017-06-08 12:20:01 +02:00
Leonid Logvinov
8311203f73 Refactor isValidSignature 2017-06-08 12:14:35 +02:00
Fabio Berger
196130ff96 Make web3Wrapper protected instead of public 2017-06-08 12:06:04 +02:00
Leonid Logvinov
464e761053 Add getOrderHashHexUsingContractCallAsync 2017-06-08 12:03:14 +02:00
Leonid Logvinov
c132271780 Merge branch 'master' into batchFillAsync 2017-06-08 11:31:40 +02:00
Fabio Berger
6e97489c1a Merge branch 'master' into batchFillOrKill
# Conflicts:
#	src/types.ts
2017-06-08 11:26:46 +02:00
Fabio Berger
8ab80914e0 Implement batchFillOrKill and tests 2017-06-08 11:25:47 +02:00
Leonid Logvinov
80294873c1 Format inputs 2017-06-08 11:09:55 +02:00
Leonid
41f005a676 Merge branch 'master' into batchCancelAsync 2017-06-07 21:45:18 +02:00
Leonid Logvinov
01c33ef8b7 Add no-op test 2017-06-07 19:12:43 +02:00
Leonid Logvinov
edbbf5a215 Add success test 2017-06-07 19:11:21 +02:00
Leonid Logvinov
badbaa39fc Address feedback 2017-06-07 17:46:55 +02:00
Fabio Berger
bc441015b6 add hex to function and variable name for clarity 2017-06-07 17:23:59 +02:00
Leonid Logvinov
31b1097350 Remove only 2017-06-07 16:51:58 +02:00
Leonid Logvinov
5bb04528d3 Merge branch 'batchCancelAsync' into batchFillAsync 2017-06-07 16:42:02 +02:00
Leonid Logvinov
c3cd5812e6 Refactor to use OrderCancellationRequest 2017-06-07 14:40:28 +02:00
Leonid Logvinov
efbd81df02 Move fillableAmount to initialization section 2017-06-07 13:36:21 +02:00
Leonid Logvinov
426f43391e Move initialization up 2017-06-07 13:33:04 +02:00
Leonid Logvinov
d5767428e5 Move fillOrderAsync to fill order describe block 2017-06-07 13:32:05 +02:00
Fabio Berger
d3a74e51e3 Fix tests with removed shouldCheckTransfer 2017-06-07 13:27:36 +02:00
Leonid Logvinov
2947f55acf Add tests for batchCancelAsync 2017-06-07 13:26:13 +02:00
Leonid Logvinov
87e0eceb9b Add comments for dates 2017-06-07 13:26:13 +02:00
Leonid Logvinov
91101eb8ec Add tests for batchCancelAsync 2017-06-07 13:20:02 +02:00
Fabio Berger
4eee0b52f1 merge master 2017-06-07 12:48:26 +02:00
Fabio Berger
918315e89f Implement fillOrKill & tests 2017-06-07 12:40:58 +02:00
Leonid Logvinov
8ec2f685ab Add comments for dates 2017-06-07 12:21:53 +02:00
Leonid Logvinov
9daca6a4be Address feedback 2017-06-07 11:04:42 +02:00
Leonid Logvinov
56dc33f3a6 Fix tests 2017-06-06 17:40:18 +02:00