Xianny
8ce390be3c
switch @0x/contract-wrappers to generated wrappers ( #2037 )
...
* switch @0x/contract-wrappers to generated wrappers
- remove TransactionEncoder
- move TokenUtils to @0x/dev-utils
- detailed changes in #2040
2019-08-08 07:29:30 -07:00
Jacob Evans
b5f85c11fe
Re-enable orderwatcher tests. Add test for WETH withdraw
2019-05-09 16:46:08 +02:00
Fabio Berger
7cd27cd9c8
Make sure we reset blockchain state
2019-03-20 13:31:55 +01:00
Jacob Evans
e28c6d6f9c
Add a regression test for #1550
2019-03-14 10:45:20 +01:00
Leonid Logvinov
c3afc13dd6
Upgrade bignumber.js version
2019-01-15 16:25:24 +01:00
Amir Bandeali
fd37e88bdb
Use enums in pipeline
2019-01-07 11:11:19 -08:00
Amir Bandeali
ccdb81ac40
Add tests for MAP in order watcher
2019-01-07 10:31:11 -08:00
Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +11:00
Alex Browne
6c8fb370dc
Update order-watcher to use new migrations functions
2018-10-15 13:37:57 -07:00
Alex Browne
29063cab18
update order-watcher to use new artifacts and abi-gen wrappers packages
2018-10-15 13:37:56 -07:00
amaurer
2e1222556f
Changed getWatchedOrders to getStats and returns Stats object
2018-10-07 12:24:42 -04:00
amaurer
9171f9ec60
Fix lint issues
2018-10-06 11:04:48 -04:00
amaurer
bd3f101ab8
Added orderWatchCount to return total count of orders watched.
2018-10-06 10:06:34 -04:00
Fabio Berger
9eecf3683b
Add transactionHash to OrderState and emit it from OrderWatcher subscription
2018-09-25 16:10:13 +01:00
Jacob Evans
88c99396a2
Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.
...
Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult
2018-08-16 11:12:35 +10:00
Jacob Evans
622509c508
[Order-utils] Order is valid when maker amount is very small
...
Previously our min fillable calculation would throw a rounding error
when encountering a valid order (with a small maker amount). This was
inconsistent with the on-chain logic which allowed this order to be
filled.
2018-08-15 13:06:32 +10:00
Leonid Logvinov
a1acf19ff3
Fix a bad merge
2018-07-18 16:31:17 +02:00
Leonid Logvinov
c71781d9ab
Merge
2018-07-18 15:38:10 +02:00
Leonid Logvinov
dad557164e
Merge branch 'v2-prototype' into feature/order-watcher-v2
2018-07-18 15:27:38 +02:00
Leonid Logvinov
bf8ac3b9e6
Fix tslint issues
2018-07-17 12:59:02 +02:00
Leonid Logvinov
95e9f33f6a
Migrate order-watcher to v2
2018-07-13 17:45:25 +02:00
Fabio Berger
0df36471b7
Pass actual networkId
2018-07-05 22:24:21 +02:00
Alex Browne
4012e31115
Use make-promises-safe as a preloader instead of manually importing
2018-06-21 19:17:33 -07:00
Fabio Berger
e1879ef4d9
Fix no-unused-variable tslint rule to include parameters and fix issues
2018-06-11 23:42:30 +02:00
fragosti
870eca0d9f
Run prettier
2018-06-06 16:59:28 -07:00
fragosti
e75721016e
Fix linting issues
2018-06-06 16:43:05 -07:00
fragosti
a97d77064a
Get build and tests to pass
2018-06-06 15:26:40 -07:00
fragosti
9778695b4a
Try enabling no-unused-variable...
2018-06-04 19:48:21 -07:00
Fabio Berger
cc840a6911
Merge pull request #594 from 0xProject/improvement/addCustomTslintRules
...
Add more tslint rules
2018-05-22 18:04:50 +02:00
Alex Browne
251218af8b
Use make-promises-safe to catch unhandled rejections in tests
2018-05-16 17:36:37 -07:00
Fabio Berger
839db68571
Fix TSLint rules
2018-05-16 14:59:10 +02:00
Fabio Berger
209266dbed
Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a unifying library with the same interface
2018-05-09 20:36:28 +02:00