Jacob Evans
da03331015
Unit test edge case for ZRX and ZRX partial fill
2017-11-21 14:51:19 +11:00
Jacob Evans
4bd5789203
Refactor into a calculator class
2017-11-21 10:30:29 +11:00
Leonid Logvinov
c4669013ab
Check if transactionReceipt exists before normalizing it
2017-11-20 17:24:30 -06:00
Leonid Logvinov
3ad6020e19
Address nits
2017-11-20 16:55:53 -06:00
Leonid Logvinov
3fc8645d92
Remove old comment
2017-11-20 16:52:53 -06:00
Jacob Evans
fb812d59b0
Fixes before refactor
2017-11-21 09:50:37 +11:00
Leonid Logvinov
3e0371685f
Fix async callbacks
2017-11-20 16:39:34 -06:00
Leonid Logvinov
3bc3666215
Check if callback exists
2017-11-20 16:25:51 -06:00
Leonid Logvinov
b01a4af99e
Rename
2017-11-20 16:17:23 -06:00
Leonid Logvinov
9745d5348c
Pass callback down
2017-11-20 16:14:40 -06:00
Leonid Logvinov
c858ff61f7
Add an order state cache to filter out duplicate events
2017-11-20 16:07:16 -06:00
Leonid
d39c0bee39
Merge branch 'development' into feature/orderExpired
2017-11-20 14:46:53 -06:00
Leonid Logvinov
5788b90c52
Remove custom heap and use bintrees
2017-11-20 14:40:53 -06:00
Leonid Logvinov
71475d3cea
Add expirationMarginMs
2017-11-20 13:47:09 -06:00
Leonid Logvinov
a613c3b7e7
Add defaults
2017-11-20 13:02:24 -06:00
Leonid Logvinov
c068ec5231
Add ifExists suffix
2017-11-20 12:49:55 -06:00
Leonid Logvinov
86d19657b1
Improve the comment
2017-11-20 11:17:53 -06:00
Leonid Logvinov
67ad07020d
Remove comment
2017-11-20 11:16:40 -06:00
Leonid Logvinov
fa2c4160b5
Remove new line
2017-11-20 11:15:48 -06:00
Leonid Logvinov
a37f019806
Delete orderExpirationCheckingIntervalIdIfExists
2017-11-20 11:15:01 -06:00
Leonid Logvinov
20449a0cb2
Throw when subscription is already removed
2017-11-20 11:13:54 -06:00
Leonid Logvinov
856a5c3369
Throw when subscription is already present
2017-11-20 11:10:25 -06:00
Leonid Logvinov
2c193a1244
Remove redundant bind
2017-11-20 11:06:32 -06:00
Leonid Logvinov
c4d10a6f2d
Do simple inits inline
2017-11-20 11:05:37 -06:00
Jacob Evans
d6589004c7
fix bug when fees and partial asymmetric
2017-11-20 11:10:50 +11:00
Jacob Evans
519f1318c6
remove import
2017-11-20 11:02:16 +11:00
Jacob Evans
7460a36ce2
calculate remaining maker token amount
2017-11-20 10:55:28 +11:00
Jacob Evans
7b373e29ea
Split into Pooled and non-pooled
2017-11-20 10:45:01 +11:00
Jacob Evans
94ce7a54c3
Incorrect amount when is zero or non-zrx fee
2017-11-20 09:20:37 +11:00
Jacob Evans
3bb6d8871b
Readability variable names
2017-11-20 09:04:26 +11:00
Leonid Logvinov
e755ed927c
Remove order on expiration
2017-11-17 17:25:58 -06:00
Leonid Logvinov
d3e03744cd
Improve the comment
2017-11-17 13:06:10 -06:00
Leonid Logvinov
b7585318c7
Fix heap implementation
2017-11-17 13:02:17 -06:00
Jacob Evans
9ee04fb14c
Merge branch 'development' into feature/track-zrx-movements
2017-11-15 19:31:08 -05:00
Jacob Evans
e9a5ae21e0
Fix nits
2017-11-15 19:30:18 -05:00
Jacob Evans
0bcf7e56c2
Change to Async suffix convention
2017-11-15 19:10:44 -05:00
Jacob Evans
d7e5c6f9b5
Merge branch 'development' into syncSubscribe
2017-11-15 18:25:09 -05:00
Jacob Evans
cf7727debc
refactor up
2017-11-15 16:37:02 -05:00
Jacob Evans
9133e764a5
Use 18 decimal place units
2017-11-15 16:22:35 -05:00
Jacob Evans
c32938fa43
Shortcut if everything satisfies in the non dependent use case
2017-11-15 16:20:39 -05:00
Leonid Logvinov
88d020f9f2
Add initial implementation of expiration watcher
2017-11-15 14:54:56 -06:00
Jacob Evans
a2e1d28efc
Remove comments
2017-11-15 15:26:22 -05:00
Jacob Evans
ee8042b458
Add return type
2017-11-15 14:40:43 -05:00
Jacob Evans
471abfa760
Add and Remove Fee Token with Maker Token
2017-11-15 12:08:12 -05:00
Jacob Evans
590552d3e0
Initial tests
2017-11-15 11:12:40 -05:00
Brandon Millman
5b5c31861a
Change the way 0x.js assert extends the @0xproject/assert module
2017-11-14 22:23:41 -05:00
Jacob Evans
3f39b22a68
separate assignment and call
2017-11-14 21:20:31 -05:00
Brandon Millman
c019280e85
Merge pull request #219 from 0xProject/feature/rounding-validation
...
Rounding validation
2017-11-14 18:15:54 -05:00
Brandon Millman
9bb5e6f5ce
Merge branch 'development' into feature/addJsonSchemas
...
* development:
Improve description
Alphabetize
Add exit 0 to 0x.js build command
Add snapshot save and revert to order_state_watcher_test.ts
Fix changelog
Use tslint v5.8.0 everywhere and use the tslint-config sub-package instead of the old repo as a dep. in the rest of the sub-packages.
Add tslint-config sub-package
Fix tslint issue
Public interface has changed, moved to minor version
Update changelog
Renamed canceled to cancelled
2017-11-14 12:29:46 -05:00
Fabio Berger
05de07496f
Merge pull request #220 from 0xProject/feature/addTsLintPackage
...
Add TSLint Config package
2017-11-14 12:25:44 -05:00