73 Commits

Author SHA1 Message Date
Leonid Logvinov
db08896274
Remove old tests 2017-10-04 11:14:19 +03:00
Leonid Logvinov
16af052a16
Don't text for an exact block hash 2017-10-04 11:14:19 +03:00
Leonid Logvinov
b859f4b8ab
Add tests for zeroEx.getLogsAsync 2017-10-04 11:14:19 +03:00
Leonid Logvinov
40a0d345b5
Add tests for contracts address config 2017-09-18 16:54:24 +02:00
Leonid Logvinov
b38aff8808
Fix log decoder to return correct types 2017-09-06 17:26:55 +02:00
Leonid Logvinov
9ae56485a9
Fix type error 2017-09-06 15:10:59 +02:00
Leonid Logvinov
258b4fac31
Fix a typo in test name 2017-09-06 10:26:22 +02:00
Leonid Logvinov
8ebc724379
Add lifecycle methods 2017-09-06 00:40:22 +02:00
Leonid Logvinov
df904f80e3
Add test for logs decoding in awaitTransactionMinedAsync 2017-09-06 00:18:07 +02:00
Leonid Logvinov
52ac8c2251
Reject checksummed addresses 2017-08-22 11:00:44 +02:00
Leonid Logvinov
73e8f890b5
Remove unused imports 2017-07-25 22:25:56 +02:00
Leonid Logvinov
fbf89aea1c
Make getOrderHashHex static 2017-07-11 17:45:35 -07:00
Leonid Logvinov
8052625e76
Migrate to using a single Exchange contract 2017-07-11 16:15:08 -07:00
Fabio Berger
712a1ba36e Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND R + S + V and check both for a valid signature in order to fix the issue of different nodes returning it differently 2017-07-07 13:49:02 -07:00
Fabio Berger
e9509b4ff3 Remove space after it keywork in tests 2017-07-07 11:50:23 -07:00
Leonid Logvinov
b1667cdd89
Fix comments to use web3 provider instead of web3 instance 2017-07-06 10:18:38 -07:00
Leonid Logvinov
9a9fd7d926
Move zeroEx.exchange.getAvailableContractAddressesAsync to zeroEx.getAvailableExchangeContractAddressesAsync and zeroEx.exchange.getProxyAuthorizedContractAddressesAsync to zeroEx.getProxyAuthorizedExchangeContractAddressesAsync 2017-07-05 14:18:46 -07:00
Leonid Logvinov
83bc740911
Make it clear that we are using a fake address in tests 2017-06-29 11:25:58 -07:00
Leonid Logvinov
91e2857645
Fix a typo in a name 2017-06-29 10:53:11 -07:00
Leonid Logvinov
e9db532727
Make getOrderHashHex a non-async function 2017-06-29 10:34:49 -07:00
Leonid Logvinov
de0e436aad
Allow multiple exchange versions t be functional at the same time 2017-06-26 19:44:21 -07:00
Leonid
94cab6f694 Revert "Use different lodash import syntax which allows to include only used functions" 2017-06-22 16:21:56 +02:00
Leonid Logvinov
a1c363a8af
Fall back to import x = require() syntax 2017-06-21 14:11:06 +02:00
Leonid Logvinov
40a7be0690
Use different lodash import syntax which allows to include only used functions 2017-06-21 13:56:14 +02:00
Leonid Logvinov
38170a24ed
Fix bug in 0x.js tests when passing Web3 instead of Web3 Provider 2017-06-15 17:34:54 +02:00
Leonid Logvinov
d789aa24aa
Make ZeroEx constructor accept Web3Provider instead of Web3 instance 2017-06-15 17:05:03 +02:00
Leonid Logvinov
ba289c2843
Remove types that are not used in public interface from export and rename EventEmitter to ContractEventEmitter and IndexFilterValues to IndexedFilterValues 2017-06-14 11:27:33 +02:00
Leonid Logvinov
365548e126
Introduce index.ts file which defines public interface 2017-06-12 18:20:43 +02:00
Leonid Logvinov
672d5aae5d
Change main file name from 0x.js.ts to 0x.ts 2017-06-12 11:33:35 +02:00
Leonid Logvinov
fad23af55e
Fix some tests 2017-06-10 16:07:03 +02:00
Leonid Logvinov
d727bed6ab
Prefix private vars with _ 2017-06-10 15:36:52 +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 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
Fabio Berger
196130ff96 Make web3Wrapper protected instead of public 2017-06-08 12:06:04 +02:00
Fabio Berger
bc441015b6 add hex to function and variable name for clarity 2017-06-07 17:23:59 +02:00
Leonid
692a0fd965 Merge pull request #39 from 0xProject/senderAccount
Make methods accept senderAccount
2017-06-06 15:14:53 +02:00
Leonid Logvinov
80bbfc3f0f
Last round of renamings 2017-06-06 14:10:36 +02:00
Leonid Logvinov
67e2208a18
Rename accounts to addreses 2017-06-06 12:48:00 +02:00
Leonid Logvinov
279790117b
Remove message param from before 2017-06-06 12:43:20 +02:00
Leonid Logvinov
aeec2a96b0
Address feedback 2017-06-06 11:28:11 +02:00
Leonid Logvinov
bac6833436
Make methods accept senderAccount 2017-06-05 16:22:56 +02:00
Leonid Logvinov
4dc9a14aaf
Add chai_setup 2017-06-05 13:07:26 +02:00
Fabio Berger
40208e3b2d Merge branch 'master' into addEventSubscriptions 2017-06-02 20:01:29 +02:00
Fabio Berger
d4320fec72 Add includeStack config to chai setup so that we get stackTraces 2017-06-02 19:38:28 +02:00
Fabio Berger
fc3be810a2 Implement zeroEx.exchange.subscribeAsync made sure to clean up subscriptions if user updates the provider 2017-06-02 12:31:16 +02:00
Fabio Berger
69a596352d Fix getOrderHashAsync test 2017-06-01 17:49:53 +02:00
Fabio Berger
24a745092e Stop passing exchangeAddress into getOrderHash and instead get it from the artifacts 2017-06-01 17:38:09 +02:00
Fabio Berger
59bc13c188 remove comment 2017-06-01 17:03:39 +02:00