22 Commits

Author SHA1 Message Date
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
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 Logvinov
49d8b5b18b
Address feedback 2017-06-08 16:28:55 +02:00
Leonid Logvinov
edbbf5a215
Add success test 2017-06-07 19:11:21 +02:00
Leonid Logvinov
33cf004b29
Remove unused variable 2017-06-06 12:48:40 +02:00
Leonid Logvinov
67e2208a18
Rename accounts to addreses 2017-06-06 12:48:00 +02:00
Leonid Logvinov
bac6833436
Make methods accept senderAccount 2017-06-05 16:22:56 +02:00
Fabio Berger
35c9330d62 Merge branch 'master' into unavailableFilledCancelled
# Conflicts:
#	src/contract_wrappers/exchange_wrapper.ts
#	src/types.ts
#	test/exchange_wrapper_test.ts
2017-06-02 19:03:53 +02:00
Leonid Logvinov
9620b18fec
Address feedback 2017-06-02 18:37:25 +02:00
Leonid Logvinov
7cf60b589b
Address feedback 2017-06-02 18:20:17 +02:00
Leonid Logvinov
3c71506022
Rename coinBase to coinbase 2017-06-02 16:26:47 +02:00
Leonid Logvinov
d8587875b8
Add success test for fill with fees 2017-06-02 15:24:42 +02:00
Leonid Logvinov
832d2ff5ca
Add fill scenario with fees 2017-06-02 13:08:59 +02:00
Leonid Logvinov
e1ee6b8494
Add check for ROUNDING_ERROR and test for it 2017-06-02 12:57:21 +02:00
Fabio Berger
ab5b5a881b Merge branch 'fillOrderAsync' into unavailableFilledCancelled
# Conflicts:
#	src/0x.js.ts
#	test/exchange_wrapper_test.ts
2017-06-02 12:40:22 +02:00
Fabio Berger
fc7592d73f Fix getTransactionSenderAccountIfExistsAsync to return true senderAddress or undefined if non available 2017-06-02 12:15:50 +02:00
Leonid Logvinov
a740498c80
Introduce coinBase account
Add makerAccount parameter
Adjust tests
Add more assertions to success test
2017-06-02 11:23:39 +02:00
Fabio Berger
707a5f55eb Write tests for getUnavailableTakerAmountAsync, getFilledTakerAmountAsync and getCanceledTakerAmountAsync 2017-06-02 09:43:03 +02:00
Leonid Logvinov
511fa537ad
Work 2017-06-01 20:04:12 +02:00
Fabio Berger
a1be870585 Create a FillsScenario utils module and use it in the fillOrder tests 2017-06-01 19:47:22 +02:00