Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused code | Leonid Logvinov | 2017-11-13 | 5 | -10/+6 |
| | |||||
* | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -4/+4 |
| | |||||
* | Remove redundant spaces | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | |||||
* | Don't store empty objects | Leonid Logvinov | 2017-11-13 | 1 | -0/+6 |
| | |||||
* | Fix a typo | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | |||||
* | Remove duplicate operations | Leonid Logvinov | 2017-11-13 | 1 | -2/+0 |
| | |||||
* | Remove redundant instance variables | Leonid Logvinov | 2017-11-13 | 1 | -8/+2 |
| | |||||
* | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | |||||
* | Remove blockStore and default to numConfirmations === 0 | Leonid Logvinov | 2017-11-13 | 9 | -123/+25 |
| | |||||
* | Add a comment | Leonid Logvinov | 2017-11-13 | 1 | -0/+2 |
| | |||||
* | Store number of confirmations in a blockStore | Leonid Logvinov | 2017-11-13 | 7 | -30/+26 |
| | |||||
* | Remove tautology check | Leonid Logvinov | 2017-11-13 | 1 | -3/+0 |
| | |||||
* | Pass blockStore to eventWatcher | Leonid Logvinov | 2017-11-13 | 3 | -16/+22 |
| | |||||
* | Fix last merge conflicts | Leonid Logvinov | 2017-11-13 | 1 | -13/+3 |
| | |||||
* | Clear cache on unsubscribe | Leonid Logvinov | 2017-11-13 | 3 | -0/+10 |
| | |||||
* | Clear store cache on events | Leonid Logvinov | 2017-11-13 | 2 | -33/+76 |
| | |||||
* | Add more configs for order watcher | Leonid Logvinov | 2017-11-13 | 1 | -3/+5 |
| | |||||
* | Make subscribe function async and make blockStore operational | Leonid Logvinov | 2017-11-13 | 2 | -21/+59 |
| | |||||
* | Adjust tests to new interface | Leonid Logvinov | 2017-11-13 | 1 | -14/+11 |
| | |||||
* | Add more errors | Leonid Logvinov | 2017-11-13 | 1 | -0/+2 |
| | |||||
* | Create stores in orderStateWatcher | Leonid Logvinov | 2017-11-13 | 2 | -17/+24 |
| | |||||
* | Make orderStateUtils operate on stores | Leonid Logvinov | 2017-11-13 | 2 | -30/+32 |
| | |||||
* | Create fake blockStore for exchange transfer simulator | Leonid Logvinov | 2017-11-13 | 1 | -1/+4 |
| | |||||
* | Add initial incomplete BlockStore implementation | Leonid Logvinov | 2017-11-13 | 1 | -0/+38 |
| | |||||
* | Make stores accept numConfirmations and blockStore instead of defaultBlock | Leonid Logvinov | 2017-11-13 | 2 | -10/+20 |
| | |||||
* | Add LatestBlockNumberNotSet internal error | Leonid Logvinov | 2017-11-13 | 1 | -0/+1 |
| | |||||
* | Add functions to clear stores cache | Leonid Logvinov | 2017-11-13 | 2 | -0/+16 |
| | |||||
* | Add store for order filled/cancelled state | Leonid Logvinov | 2017-11-13 | 1 | -0/+52 |
| | |||||
* | Make store configurable by blockParam | Leonid Logvinov | 2017-11-13 | 2 | -5/+14 |
| | |||||
* | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -10/+8 |
| | |||||
* | Make a store an instance variable of exchange transfer simulator and stop ↵ | Leonid Logvinov | 2017-11-13 | 2 | -15/+22 |
| | | | | inheriting it | ||||
* | Refactor out BalanceAndProxyAllowanceLazyStore | Leonid Logvinov | 2017-11-13 | 2 | -53/+56 |
| | |||||
* | Merge pull request #210 from dekz/orderWatcherRemaining | Fabio Berger | 2017-11-13 | 3 | -0/+94 |
|\ | | | | | Calculate the remaining order amount in maker units | ||||
| * | remove comments | Jacob Evans | 2017-11-13 | 1 | -3/+0 |
| | | |||||
| * | Perform the division after multiplication to reduce compounding the rounding ↵ | Jacob Evans | 2017-11-13 | 2 | -10/+11 |
| | | | | | | | | errors | ||||
| * | Update comment | Jacob Evans | 2017-11-13 | 1 | -1/+1 |
| | | |||||
| * | text description update | Jacob Evans | 2017-11-13 | 1 | -2/+2 |
| | | |||||
| * | remove only | Jacob Evans | 2017-11-13 | 1 | -3/+3 |
| | | |||||
| * | Added specs for allowance and balance changes | Jacob Evans | 2017-11-13 | 2 | -2/+79 |
| | | |||||
| * | Calculate the remaining order amount in maker units | Jacob Evans | 2017-11-13 | 3 | -0/+19 |
| | | |||||
* | | Merge pull request #207 from 0xProject/orderWatcherTests | Fabio Berger | 2017-11-13 | 3 | -0/+97 |
|\ \ | |/ |/| | Additional order watcher tests | ||||
| * | Don't return anything | Fabio Berger | 2017-11-13 | 1 | -2/+1 |
| | | |||||
| * | Add tests for the numConfirmations config to ensure that the events are ↵ | Fabio Berger | 2017-11-11 | 3 | -2/+78 |
| | | | | | | | | being emitted for the confirmation depth specified | ||||
| * | Test that the orderStateWatcher doesn't emit an event when an irrelevant ↵ | Fabio Berger | 2017-11-10 | 1 | -0/+22 |
| | | | | | | | | blockchain event is received. | ||||
* | | Update testRPC snapshot used by CircleCi | Fabio Berger | 2017-11-12 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'development' into orderWatcher | Fabio Berger | 2017-11-12 | 5 | -3/+20 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: 0.22.6 Add new changes to CHANGELOG use util fn no race, reject from interval cb and clear allow timeout for await transaction mined # Conflicts: # src/types.ts | ||||
| * | | 0.22.6v0.22.6 | Leonid Logvinov | 2017-11-11 | 2 | -2/+2 |
| | | | |||||
| * | | Add new changes to CHANGELOG | Leonid Logvinov | 2017-11-11 | 1 | -0/+4 |
| | | | |||||
| * | | Merge pull request #206 from lukeautry/await_transaction_timeout | Leonid | 2017-11-11 | 2 | -1/+14 |
| |\ \ | | | | | | | | | Allow timeout for await transaction mined | ||||
| | * | | use util fn | Luke Autry | 2017-11-11 | 1 | -1/+1 |
| | | | | |||||
| | * | | no race, reject from interval cb and clear | Luke Autry | 2017-11-11 | 1 | -9/+10 |
| | | | | |||||
| | * | | allow timeout for await transaction mined | Luke Autry | 2017-11-10 | 2 | -1/+13 |
| |/ / | |||||
* | | | Add comment | Fabio Berger | 2017-11-12 | 1 | -0/+2 |
| | | | |||||
* | | | rename isDecodedLog to isLogDecoded | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | |||||
* | | | Improve comment | Fabio Berger | 2017-11-11 | 1 | -1/+2 |
| | | | |||||
* | | | Fix test given that we now do delete the keys in dependentOrderHashes | Fabio Berger | 2017-11-11 | 1 | -1/+1 |
| | | | |||||
* | | | Fix missing renames | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | |||||
* | | | Declare OnOrderStateChangeCallback as either sync or async | Fabio Berger | 2017-11-11 | 1 | -3/+3 |
| | | | |||||
* | | | Fix comment | Fabio Berger | 2017-11-11 | 1 | -3/+0 |
| | | | |||||
* | | | Remove keys from dependentOrderHashes if empty | Fabio Berger | 2017-11-11 | 1 | -2/+10 |
| | | | |||||
* | | | establish convention of initializing empty instances in instance declaration | Fabio Berger | 2017-11-11 | 1 | -4/+2 |
| | | | |||||
* | | | Use enum instead of boolean to avoid potential bugs from isRemoved ↵ | Fabio Berger | 2017-11-11 | 1 | -6/+10 |
| | | | | | | | | | | | | incorrectly being set to true | ||||
* | | | rename _orders to _orderByOrderhash for clarity | Fabio Berger | 2017-11-11 | 1 | -7/+7 |
| | | | |||||
* | | | Add comment above orderStateWatcher class | Fabio Berger | 2017-11-11 | 1 | -0/+6 |
| | | | |||||
* | | | Fix expected balance | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | |||||
* | | | Fix type declaration in test | Fabio Berger | 2017-11-11 | 1 | -6/+6 |
| | | | |||||
* | | | Feather the callback down to _emitDifferencesAsync and don't store it as a ↵ | Fabio Berger | 2017-11-11 | 1 | -11/+11 |
| | | | | | | | | | | | | class instance. This will make supporting multiple subscriptions easier later on and reduces the amount of unsubscription cleanup | ||||
* | | | Throw if trying to subscribe multiple times | Fabio Berger | 2017-11-11 | 1 | -1/+9 |
| | | | |||||
* | | | Fix alignment | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | |||||
* | | | Add comment above the eventWatcher class | Fabio Berger | 2017-11-11 | 1 | -0/+4 |
| | | | |||||
* | | | Rename method since it's not more then just mempool | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Fix test description | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | |||||
* | | Fix test description | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | |||||
* | | Move numConfirmations to constructor call | Fabio Berger | 2017-11-10 | 1 | -3/+3 |
| | | |||||
* | | Improve comment | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | |||||
* | | Make sure to set the defaultBlock to the blockNumber rather then the number ↵ | Fabio Berger | 2017-11-10 | 1 | -5/+9 |
| | | | | | | | | of confirmations | ||||
* | | Simplify to/from block code | Fabio Berger | 2017-11-10 | 1 | -8/+5 |
| | | |||||
* | | Add assertion | Fabio Berger | 2017-11-10 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -0/+14 |
|\ \ | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Add forgotten file | ||||
| * | | Add forgotten file | Leonid Logvinov | 2017-11-10 | 1 | -0/+14 |
| | | | |||||
* | | | remove no longer needed arg | Fabio Berger | 2017-11-10 | 1 | -3/+2 |
| | | | |||||
* | | | rename intervalId to intervalIdIfExists | Fabio Berger | 2017-11-10 | 1 | -3/+5 |
|/ / | |||||
* | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -13/+55 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Add order state watcher tests for LogCancel # Conflicts: # test/order_state_watcher_test.ts | ||||
| * | | Add order state watcher tests for LogCancel | Leonid Logvinov | 2017-11-10 | 1 | -13/+55 |
| | | | |||||
* | | | Fix bug where we hard-coded using pendingBlock for fetching the orderState. ↵ | Fabio Berger | 2017-11-10 | 5 | -20/+36 |
|/ / | | | | | | | Moved numConfirmations to become a global orderStateWatcher config | ||||
* | | Fix comments | Fabio Berger | 2017-11-10 | 1 | -3/+2 |
| | | |||||
* | | comment improvements | Fabio Berger | 2017-11-10 | 1 | -3/+3 |
| | | |||||
* | | Closing paren on same level as open | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | |||||
* | | Rename _callbackAsync to _callbackIfExistsAsync for clarity | Fabio Berger | 2017-11-10 | 2 | -11/+11 |
| | | |||||
* | | Merge branches 'orderWatcher' and 'orderWatcher' of ↵ | Fabio Berger | 2017-11-10 | 1 | -2/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:0xProject/0x.js into orderWatcher * 'orderWatcher' of github.com:0xProject/0x.js: Fix getting events from non-mempool * 'orderWatcher' of github.com:0xProject/0x.js: Fix getting events from non-mempool | ||||
| * | | Fix getting events from non-mempool | Leonid Logvinov | 2017-11-10 | 1 | -2/+3 |
| | | | |||||
* | | | use explicit import | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
|/ / | |||||
* | | Remove finished TODOs | Fabio Berger | 2017-11-10 | 2 | -2/+0 |
| | | |||||
* | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Revert test amount changes | ||||
| * | | Revert test amount changes | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | |||||
* | | | Create assert.isValidSignature method and use it in `addOrder` | Fabio Berger | 2017-11-10 | 2 | -2/+9 |
| | | | |||||
* | | | Move isValidSignature implementation into signatureUtils | Fabio Berger | 2017-11-10 | 2 | -13/+17 |
|/ / | |||||
* | | Fix comment | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -8/+9 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Revert "Use _.get for optional configs" # Conflicts: # src/0x.ts | ||||
| * | | Revert "Use _.get for optional configs" | Leonid Logvinov | 2017-11-10 | 1 | -8/+9 |
| | | | | | | | | | | | | This reverts commit ecc54b07c70c9f191a0eb0dece8137f088250a41. | ||||
* | | | Add nested config for orderWatcher | Fabio Berger | 2017-11-10 | 6 | -12/+27 |
|/ / | |||||
* | | Rename MempoolEventCallback to EventWatcherCallback | Fabio Berger | 2017-11-10 | 4 | -9/+9 |
| | | |||||
* | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -5/+5 |
|\ \ | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Fix namings | ||||
| * | | Fix namings | Leonid Logvinov | 2017-11-10 | 1 | -5/+5 |
| | | | |||||
* | | | rename folder to order_watcher | Fabio Berger | 2017-11-10 | 3 | -10/+10 |
|/ / | |||||
* | | Remove redundant assertions | Leonid Logvinov | 2017-11-10 | 4 | -16/+1 |
| | | |||||
* | | Use _.get for optional configs | Fabio Berger | 2017-11-10 | 1 | -9/+8 |
| | | |||||
* | | Improve comment | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | |||||
* | | Add SubscriptionAlreadyPresent error | Leonid Logvinov | 2017-11-10 | 3 | -2/+8 |
| | | |||||
* | | Pass numConfirmations | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | |||||
* | | Removed unused order adding in tests | Leonid Logvinov | 2017-11-10 | 1 | -1/+0 |
| | | |||||
* | | Add a test that a second subscription fails | Leonid Logvinov | 2017-11-10 | 1 | -0/+14 |
| | | |||||
* | | fix merge conflicts | Fabio Berger | 2017-11-10 | 2 | -89/+123 |
|\ \ | |||||
| * | | Add tests for order removals | Leonid Logvinov | 2017-11-10 | 1 | -85/+116 |
| | | | |||||
| * | | Pass orderHash instead of an order to removeOrder and adjust the tests | Leonid Logvinov | 2017-11-10 | 2 | -4/+7 |
| | | | |||||
* | | | Add comments to public methods | Fabio Berger | 2017-11-10 | 1 | -1/+21 |
| | | | |||||
* | | | Add numConfirmations arg so that caller can decide on numConfirmations at ↵ | Fabio Berger | 2017-11-10 | 4 | -13/+27 |
| | | | | | | | | | | | | which they want to watch orders | ||||
* | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 3 | -2/+6 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: (32 commits) Remove check for now, we need a more robust check Rename test file and add test for a partial fill Fix tests by making the expected balance be 2^27 not 2^26 Add assert.isValidBaseUnitAmount that checks for decimals in amounts that should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. Look for relevant events in the decodedLogs and emit orderState events for orders impacted by the blockchain state changes Remove unused import Fix typo Add todo comments fix styling remove unused type Add naive order state watcher implementation Change fields in OrderState to represent taker side values Introduce OrderState interface Fix config schema Add empty implementation of order state watcher Add new public types Move mempoolPollingIntervalMs to OrderWatcherConfig Adjust tests for mempool event watcher Clear event cache on unsubscribe Remove mempool event watcher config ... | ||||
| * | | Remove check for now, we need a more robust check | Fabio Berger | 2017-11-10 | 1 | -3/+0 |
| | | | |||||
| * | | Rename test file and add test for a partial fill | Fabio Berger | 2017-11-10 | 1 | -2/+46 |
| | | | |||||
| * | | Fix tests by making the expected balance be 2^27 not 2^26 | Fabio Berger | 2017-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | Add assert.isValidBaseUnitAmount that checks for decimals in amounts that ↵ | Fabio Berger | 2017-11-10 | 4 | -0/+22 |
| | | | | | | | | | | | | should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. | ||||
| * | | Look for relevant events in the decodedLogs and emit orderState events for ↵ | Fabio Berger | 2017-11-10 | 2 | -52/+144 |
| | | | | | | | | | | | | orders impacted by the blockchain state changes | ||||
| * | | Remove unused import | Fabio Berger | 2017-11-10 | 1 | -1/+0 |
| | | | |||||
| * | | Fix typo | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | | |||||
| * | | Add todo comments | Fabio Berger | 2017-11-10 | 2 | -1/+3 |
| | | | |||||
| * | | fix styling | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | | |||||
| * | | remove unused type | Fabio Berger | 2017-11-10 | 1 | -1/+0 |
| | | | |||||
| * | | Add naive order state watcher implementation | Leonid Logvinov | 2017-11-10 | 9 | -64/+232 |
| | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
| * | | Change fields in OrderState to represent taker side values | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | Introduce OrderState interface | Leonid Logvinov | 2017-11-10 | 2 | -8/+12 |
| | | | |||||
| * | | Fix config schema | Leonid Logvinov | 2017-11-10 | 1 | -1/+4 |
| | | | |||||
| * | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-11-10 | 5 | -29/+120 |
| | | | |||||
| * | | Add new public types | Leonid Logvinov | 2017-11-10 | 1 | -0/+4 |
| | | | |||||
| * | | Move mempoolPollingIntervalMs to OrderWatcherConfig | Leonid Logvinov | 2017-11-10 | 1 | -1/+6 |
| | | | |||||
| * | | Adjust tests for mempool event watcher | Leonid Logvinov | 2017-11-10 | 1 | -12/+13 |
| | | | |||||
| * | | Clear event cache on unsubscribe | Leonid Logvinov | 2017-11-10 | 1 | -0/+1 |
| | | | |||||
| * | | Remove mempool event watcher config | Leonid Logvinov | 2017-11-10 | 1 | -1/+0 |
| | | | |||||
| * | | Move provider altering logic to Web3Wrapper | Leonid Logvinov | 2017-11-10 | 3 | -18/+19 |
| | | | |||||
| * | | Add types for order state watcher | Leonid Logvinov | 2017-11-10 | 1 | -0/+21 |
| | | | |||||
| * | | Add initial interface of an OrderWatcher | Leonid Logvinov | 2017-11-10 | 1 | -0/+27 |
| | | | |||||
| * | | Rename MempoolWatcher to EventWatcher and remove from public interface | Leonid Logvinov | 2017-11-10 | 2 | -10/+1 |
| | | | |||||
| * | | Fix namings | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | Add mempool tests | Leonid Logvinov | 2017-11-10 | 1 | -0/+125 |
| | | | |||||
| * | | Don't emit new events if already unsubscribed | Leonid Logvinov | 2017-11-10 | 1 | -1/+3 |
| | | | |||||
| * | | Compare logs by string representation | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | Upgrade web3-typescript-typings | Leonid Logvinov | 2017-11-10 | 2 | -4/+4 |
| | | | |||||
| * | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-11-10 | 8 | -32/+115 |
| |/ | |||||
| * | 0.22.5v0.22.5 | Fabio Berger | 2017-11-08 | 2 | -2/+2 |
| | | |||||
| * | Update changelog | Fabio Berger | 2017-11-08 | 1 | -0/+4 |
| | | |||||
* | | Remove check for now, we need a more robust check | Fabio Berger | 2017-11-09 | 1 | -3/+0 |
| | | |||||
* | | Rename test file and add test for a partial fill | Fabio Berger | 2017-11-09 | 1 | -2/+46 |
| | | |||||
* | | Fix tests by making the expected balance be 2^27 not 2^26 | Fabio Berger | 2017-11-09 | 1 | -2/+2 |
| | | |||||
* | | Add assert.isValidBaseUnitAmount that checks for decimals in amounts that ↵ | Fabio Berger | 2017-11-09 | 4 | -0/+22 |
| | | | | | | | | should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. | ||||
* | | Look for relevant events in the decodedLogs and emit orderState events for ↵ | Fabio Berger | 2017-11-09 | 2 | -52/+144 |
| | | | | | | | | orders impacted by the blockchain state changes | ||||
* | | Remove unused import | Fabio Berger | 2017-11-09 | 1 | -1/+0 |
| | | |||||
* | | Fix typo | Fabio Berger | 2017-11-09 | 1 | -1/+1 |
| | | |||||
* | | Add todo comments | Fabio Berger | 2017-11-09 | 2 | -1/+3 |
| | | |||||
* | | fix styling | Fabio Berger | 2017-11-09 | 1 | -1/+2 |
| | | |||||
* | | remove unused type | Fabio Berger | 2017-11-09 | 1 | -1/+0 |
| | | |||||
* | | Add naive order state watcher implementation | Leonid Logvinov | 2017-10-31 | 9 | -64/+232 |
| | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
* | | Change fields in OrderState to represent taker side values | Leonid Logvinov | 2017-10-31 | 1 | -2/+2 |
| | | |||||
* | | Introduce OrderState interface | Leonid Logvinov | 2017-10-31 | 2 | -8/+12 |
| | | |||||
* | | Fix config schema | Leonid Logvinov | 2017-10-31 | 1 | -1/+4 |
| | | |||||
* | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-10-31 | 5 | -29/+120 |
| | | |||||
* | | Add new public types | Leonid Logvinov | 2017-10-31 | 1 | -0/+4 |
| | | |||||
* | | Move mempoolPollingIntervalMs to OrderWatcherConfig | Leonid Logvinov | 2017-10-31 | 1 | -1/+6 |
| | | |||||
* | | Adjust tests for mempool event watcher | Leonid Logvinov | 2017-10-31 | 1 | -12/+13 |
| | | |||||
* | | Clear event cache on unsubscribe | Leonid Logvinov | 2017-10-31 | 1 | -0/+1 |
| | | |||||
* | | Remove mempool event watcher config | Leonid Logvinov | 2017-10-31 | 1 | -1/+0 |
| | | |||||
* | | Move provider altering logic to Web3Wrapper | Leonid Logvinov | 2017-10-31 | 3 | -18/+19 |
| | | |||||
* | | Add types for order state watcher | Leonid Logvinov | 2017-10-31 | 1 | -0/+21 |
| | | |||||
* | | Add initial interface of an OrderWatcher | Leonid Logvinov | 2017-10-31 | 1 | -0/+27 |
| | | |||||
* | | Rename MempoolWatcher to EventWatcher and remove from public interface | Leonid Logvinov | 2017-10-31 | 2 | -10/+1 |
| | | |||||
* | | Fix namings | Leonid Logvinov | 2017-10-31 | 1 | -2/+2 |
| | | |||||
* | | Add mempool tests | Leonid Logvinov | 2017-10-31 | 1 | -0/+125 |
| | | |||||
* | | Don't emit new events if already unsubscribed | Leonid Logvinov | 2017-10-31 | 1 | -1/+3 |
| | | |||||
* | | Compare logs by string representation | Leonid Logvinov | 2017-10-31 | 1 | -2/+2 |
| | | |||||
* | | Upgrade web3-typescript-typings | Leonid Logvinov | 2017-10-31 | 2 | -4/+4 |
| | | |||||
* | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-10-31 | 8 | -32/+115 |
|/ | |||||
* | Remove unnecessary dep | Fabio Berger | 2017-10-31 | 1 | -1/+0 |
| | |||||
* | Merge branch 'development' of github.com:0xProject/0x.js into development | Fabio Berger | 2017-10-30 | 27 | -175/+201 |
|\ | | | | | | | | | | | | | | | | | | | | | * 'development' of github.com:0xProject/0x.js: Update CHANGELOG 0.22.4 Add HACK comments Add a forgotten augmentation file Upgrade bignumber to the version with native typings and remove typings Downgrade typedoc Upgrade bignumber to the version with native typings and remove typings | ||||
| * | Update CHANGELOG | Leonid Logvinov | 2017-10-26 | 1 | -0/+4 |
| | | |||||
| * | 0.22.4v0.22.4 | Leonid Logvinov | 2017-10-26 | 2 | -2/+2 |
| | | |||||
| * | Merge pull request #202 from 0xProject/fix/bignumber-types | Leonid | 2017-10-26 | 25 | -173/+195 |
| |\ | | | | | | | Bignumber types | ||||
| | * | Add HACK comments | Leonid Logvinov | 2017-10-26 | 1 | -0/+5 |
| | | | |||||
| | * | Add a forgotten augmentation file | Leonid Logvinov | 2017-10-26 | 1 | -0/+18 |
| | | | |||||
| | * | Upgrade bignumber to the version with native typings and remove typings | Leonid Logvinov | 2017-10-26 | 22 | -153/+149 |
| | | | |||||
| | * | Downgrade typedoc | Leonid Logvinov | 2017-10-26 | 2 | -33/+37 |
| | | | |||||
| | * | Upgrade bignumber to the version with native typings and remove typings | Leonid Logvinov | 2017-10-26 | 2 | -35/+34 |
| |/ | |||||
* / | Fix comment | Fabio Berger | 2017-10-30 | 1 | -2/+2 |
|/ | |||||
* | 0.22.3v0.22.3 | Leonid Logvinov | 2017-10-25 | 2 | -2/+2 |
| | |||||
* | Update CHANGELOG | Leonid Logvinov | 2017-10-25 | 1 | -0/+4 |
| | |||||
* | Merge pull request #199 from NoteGio/raise-allowance-gas | Leonid | 2017-10-25 | 1 | -1/+1 |
|\ | | | | | Increase ALLOWANCE_TO_ZERO_GAS_AMOUNT | ||||
| * | Increase ALLOWANCE_TO_ZERO_GAS_AMOUNT | Austin Roberts | 2017-10-25 | 1 | -1/+1 |
|/ | | | | | | | | | | | | On TestRPC, I'm seeing a particular transaction that is taking 47275 gas instead of the predefined 47155. It's not at all obvious to me why this transaction is taking an extra 120 gas, and I've been unable to reproduce the issue in the 0x.js test suite, but bumping the gas allowance has resolved the issue for me. The transactions in question are trying to set an unlimited proxy allowance on either the WETH or ZRX tokens in the testrpc snapshot, but run out of gas. | ||||
* | 0.22.2 | Leonid Logvinov | 2017-10-24 | 2 | -2/+2 |
| | |||||
* | Merge pull request #197 from 0xProject/fix/rounding | Leonid | 2017-10-24 | 3 | -11/+72 |
|\ | | | | | Fix rounding of maker fill amount and correctly validate partial fees | ||||
| * | Update CHANGELOG | Leonid Logvinov | 2017-10-24 | 1 | -0/+4 |
| | | |||||
| * | Fix index | Leonid Logvinov | 2017-10-24 | 1 | -1/+1 |
| | | |||||
| * | Use more meaningful variable names | Leonid Logvinov | 2017-10-24 | 1 | -3/+6 |
| | | |||||
| * | Fix the rounding of makerFillAmount and correctly validate partial fees | Leonid Logvinov | 2017-10-24 | 1 | -9/+34 |
| | | |||||
| * | Add tests testing that rounding or makerFillAmount is correct and that we ↵ | Leonid Logvinov | 2017-10-24 | 1 | -2/+31 |
|/ | | | | only validate partial fees | ||||
* | Revert CHANGELOG | Leonid Logvinov | 2017-10-24 | 1 | -4/+0 |
| | |||||
* | Merge pull request #198 from 0xProject/revert-195-minification | Leonid | 2017-10-24 | 32 | -146/+1449 |
|\ | | | | | Revert "Reduce final bundle size by 11% (82kB)" | ||||
| * | Revert "Reduce final bundle size by 11% (82kB)" | Leonid | 2017-10-24 | 32 | -146/+1449 |
|/ | |||||
* | Merge pull request #196 from 0xProject/bmillman_fix_tslint | Brandon Millman | 2017-10-24 | 2 | -2/+2 |
|\ | | | | | Fix lint script to analyze nested files | ||||
| * | Fix lint script to analyze nested files | Brandon Millman | 2017-10-20 | 2 | -2/+2 |
|/ | |||||
* | 0.22.1 | Leonid Logvinov | 2017-10-19 | 2 | -2/+2 |
| | |||||
* | Update CHANGELOG | Leonid Logvinov | 2017-10-19 | 1 | -0/+4 |
| | |||||
* | Merge pull request #195 from 0xProject/minification | Leonid | 2017-10-19 | 32 | -1449/+146 |
|\ | | | | | Reduce final bundle size by 11% (82kB) | ||||
| * | Fix linter errors | Leonid Logvinov | 2017-10-19 | 1 | -5/+8 |
| | | |||||
| * | Update 0x-json-schemas | Leonid Logvinov | 2017-10-19 | 3 | -6/+10 |
| | | |||||
| * | Transform lodash-es to commonjs module format | Leonid Logvinov | 2017-10-19 | 3 | -4/+6 |
| | | |||||
| * | Fix tests | Leonid Logvinov | 2017-10-19 | 2 | -7/+7 |
| | | |||||
| * | Remove unused parts from artifacts | Leonid Logvinov | 2017-10-18 | 5 | -1382/+1 |
| | | |||||
| * | Include only used lodash functions | Leonid Logvinov | 2017-10-18 | 25 | -59/+128 |
| | | |||||
| * | Upgrade 0x-json-schemas to the version that doesn't depend on lodash | Leonid Logvinov | 2017-10-18 | 1 | -1/+1 |
| | | |||||
| * | Uprade ethereumjs-blockstream, cause new version doesn't include source maps ↵ | Leonid Logvinov | 2017-10-18 | 1 | -1/+1 |
|/ | | | | and is significantly smaller | ||||
* | 0.22.0 | Leonid Logvinov | 2017-10-16 | 2 | -2/+2 |
| | |||||
* | Update CHANGELOG | Leonid Logvinov | 2017-10-16 | 1 | -0/+5 |
| | |||||
* | Merge pull request #187 from apackin/setFillOrKillToUseRequestInterface | Leonid | 2017-10-16 | 4 | -51/+43 |
|\ | | | | | [WIP] Use OrderFillRequest interface for batchFillOrKill | ||||
| * | Merge branch 'development' into setFillOrKillToUseRequestInterface | Leonid | 2017-10-16 | 18 | -83/+156 |
| |\ | |/ |/| | |||||
* | | 0.21.4v0.21.4 | Leonid Logvinov | 2017-10-14 | 2 | -2/+2 |
| | | |||||
* | | Add changes to CHANGELOG | Leonid Logvinov | 2017-10-13 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #194 from 0xProject/feature/type-safe-subscriptions | Leonid | 2017-10-13 | 12 | -74/+81 |
|\ \ | | | | | | | Make logs fetching and subscriptions more type-safe | ||||
| * | | Remove unused code | Leonid Logvinov | 2017-10-13 | 4 | -10/+1 |
| | | | |||||
| * | | Make logs fetching and sunscriptions more type-safe | Leonid Logvinov | 2017-10-13 | 9 | -64/+80 |
|/ / | |||||
* | | 0.21.3 | Leonid Logvinov | 2017-10-12 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #193 from 0xProject/fix/allowance-error | Leonid | 2017-10-12 | 4 | -4/+43 |
|\ \ | | | | | | | Fix an issue causing fills to throw `INSUFFICIENT_TAKER_ALLOWANCE` | ||||
| * | | Update CHANGELOG | Leonid Logvinov | 2017-10-12 | 1 | -0/+3 |
| | | | |||||
| * | | Pass correct parameters to validation simulation | Leonid Logvinov | 2017-10-12 | 1 | -3/+3 |
| | | | |||||
| * | | Add a regression test | Leonid Logvinov | 2017-10-12 | 2 | -1/+37 |
|/ / | |||||
* | | 0.21.2v0.21.2 | Leonid Logvinov | 2017-10-11 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #190 from 0xProject/fix/export-contract-event-arg | Leonid | 2017-10-11 | 2 | -0/+4 |
|\ \ | | | | | | | Export ContractEventArg | ||||
| * | | Update CHANGELOG | Leonid Logvinov | 2017-10-11 | 1 | -0/+3 |
| | | | |||||
| * | | Export ContractEventArg | Leonid Logvinov | 2017-10-11 | 1 | -0/+1 |
|/ / | |||||
* | | 0.21.1 | Leonid Logvinov | 2017-10-11 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #189 from 0xProject/fix/getLogsParamsSerialization | Leonid | 2017-10-11 | 2 | -2/+19 |
|\ \ | | | | | | | Fix a bug in logs fetching | ||||
| * | | Update CHANGELOG | Leonid Logvinov | 2017-10-11 | 1 | -1/+5 |
| | | | |||||
| * | | Fix a bug in logs fetching | Leonid Logvinov | 2017-10-11 | 1 | -1/+14 |
|/ / | |||||
| * | Use OrderFillRequest interface for batchFillOrKill | Assaf | 2017-10-11 | 4 | -52/+44 |
|/ | |||||
* | 0.21.0v0.21.0 | Leonid Logvinov | 2017-10-10 | 2 | -2/+2 |
| | |||||
* | Merge pull request #185 from 0xProject/fix/batch-validation | Leonid | 2017-10-10 | 8 | -352/+382 |
|\ | | | | | Fix batch validation | ||||
| * | Change tests to test that allowance is checked first | Leonid Logvinov | 2017-10-10 | 1 | -7/+7 |
| | | |||||
| * | Throw allowance errors first | Leonid Logvinov | 2017-10-10 | 1 | -3/+3 |
| | | |||||
| * | Remove unused check | Leonid Logvinov | 2017-10-10 | 1 | -3/+1 |
| | | |||||
| * | Fix the comment | Leonid Logvinov | 2017-10-10 | 1 | -3/+3 |
| | | |||||
| * | Fix the comment | Leonid Logvinov | 2017-10-10 | 1 | -1/+1 |
| | | |||||
| * | Remove redundant constructor | Leonid Logvinov | 2017-10-10 | 1 | -3/+0 |
| | | |||||
| * | Assign to a variable before assigning | Leonid Logvinov | 2017-10-10 | 1 | -2/+4 |
| | |