Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-13 | 8 | -139/+265 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: (33 commits) Remove old tests Remove unused code Fix tests Remove redundant spaces Don't store empty objects Fix a typo Remove duplicate operations Remove redundant instance variables Fix tests Remove blockStore and default to numConfirmations === 0 Add a comment Store number of confirmations in a blockStore Remove tautology check Pass blockStore to eventWatcher Fix last merge conflicts Clear cache on unsubscribe Clear store cache on events Add more configs for order watcher Make subscribe function async and make blockStore operational Adjust tests to new interface ... | ||||
| * | Remove unused code | Leonid Logvinov | 2017-11-13 | 2 | -8/+0 |
| | | |||||
| * | 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 |
| | | |||||
| * | Remove blockStore and default to numConfirmations === 0 | Leonid Logvinov | 2017-11-13 | 7 | -111/+16 |
| | | |||||
| * | Add a comment | Leonid Logvinov | 2017-11-13 | 1 | -0/+2 |
| | | |||||
| * | Store number of confirmations in a blockStore | Leonid Logvinov | 2017-11-13 | 6 | -26/+24 |
| | | |||||
| * | Remove tautology check | Leonid Logvinov | 2017-11-13 | 1 | -3/+0 |
| | | |||||
| * | Pass blockStore to eventWatcher | Leonid Logvinov | 2017-11-13 | 2 | -15/+16 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 branch 'development' into orderWatcher | Fabio Berger | 2017-11-13 | 4 | -40/+38 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: 0.23.0 Update CHANGELOG Fix amounts in tests one last time. Now that we updated the testRPC snapshot, this should no longer be mismatched between CI and locally Update testRPC snapshot used by CircleCi Push unsubscribe to the base class rather than super Check for null rather than undefined Removed nits Test case was error then unsubscribe Clean up subscription state. Fix unhandled promise rejection error on subscriptions # Conflicts: # src/types.ts # test/exchange_wrapper_test.ts # test/token_wrapper_test.ts | ||||
| * | Push unsubscribe to the base class rather than super | Jacob Evans | 2017-11-12 | 3 | -25/+16 |
| | | |||||
| * | Removed nits | Jacob Evans | 2017-11-12 | 1 | -1/+0 |
| | | |||||
| * | Clean up subscription state. | Jacob Evans | 2017-11-12 | 3 | -17/+14 |
| | | | | | | | | In the case of an exception, keep the state correct between contract wrapper, exchange wrapper and token wrapper. | ||||
| * | Fix unhandled promise rejection error on subscriptions | Fabio Berger | 2017-11-11 | 2 | -9/+20 |
| | | |||||
* | | 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 | 1 | -3/+3 |
| | | | | | | | | errors | ||||
* | | Update comment | Jacob Evans | 2017-11-13 | 1 | -1/+1 |
| | | |||||
* | | Added specs for allowance and balance changes | Jacob Evans | 2017-11-13 | 1 | -2/+0 |
| | | |||||
* | | Calculate the remaining order amount in maker units | Jacob Evans | 2017-11-13 | 2 | -0/+17 |
| | | |||||
* | | Merge branch 'development' into orderWatcher | Fabio Berger | 2017-11-12 | 2 | -1/+14 |
|\| | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | rename intervalId to intervalIdIfExists | Fabio Berger | 2017-11-10 | 1 | -3/+5 |
| | | |||||
* | | Fix bug where we hard-coded using pendingBlock for fetching the orderState. ↵ | Fabio Berger | 2017-11-10 | 4 | -14/+30 |
| | | | | | | | | 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 |
| | | |||||
* | | 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 | 4 | -8/+23 |
|/ / | |||||
* | | 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 | 2 | -0/+5 |
| | | |||||
* | | fix merge conflicts | Fabio Berger | 2017-11-10 | 1 | -4/+7 |
|\ \ | |||||
| * | | Pass orderHash instead of an order to removeOrder and adjust the tests | Leonid Logvinov | 2017-11-10 | 1 | -3/+6 |
| | | | |||||
| * | | Remove check for now, we need a more robust check | Fabio Berger | 2017-11-10 | 1 | -3/+0 |
| | | | |||||
| * | | 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 | 1 | -8/+81 |
| | | | | | | | | | | | | orders impacted by the blockchain state changes | ||||
| * | | 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 | 8 | -55/+163 |
| | | | | | | | | | | | | | | | 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 | 1 | -5/+9 |
| | | | |||||
| * | | Fix config schema | Leonid Logvinov | 2017-11-10 | 1 | -1/+4 |
| | | | |||||
| * | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-11-10 | 4 | -29/+78 |
| | | | |||||
| * | | Add new public types | Leonid Logvinov | 2017-11-10 | 1 | -0/+4 |
| | | | |||||
| * | | Move mempoolPollingIntervalMs to OrderWatcherConfig | Leonid Logvinov | 2017-11-10 | 1 | -1/+6 |
| | | | |||||
| * | | 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 |
| | | | |||||
| * | | 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 |
| | | | |||||
| * | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-11-10 | 4 | -11/+89 |
| |/ | |||||
* | | 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 | 3 | -9/+22 |
| | | | | | | | | which they want to watch orders | ||||
* | | Remove check for now, we need a more robust check | Fabio Berger | 2017-11-09 | 1 | -3/+0 |
| | | |||||
* | | 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 | 1 | -8/+81 |
| | | | | | | | | orders impacted by the blockchain state changes | ||||
* | | 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 | 8 | -55/+163 |
| | | | | | | | | | | 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 | 1 | -5/+9 |
| | | |||||
* | | Fix config schema | Leonid Logvinov | 2017-10-31 | 1 | -1/+4 |
| | | |||||
* | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-10-31 | 4 | -29/+78 |
| | | |||||
* | | Add new public types | Leonid Logvinov | 2017-10-31 | 1 | -0/+4 |
| | | |||||
* | | Move mempoolPollingIntervalMs to OrderWatcherConfig | Leonid Logvinov | 2017-10-31 | 1 | -1/+6 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-10-31 | 4 | -11/+89 |
|/ | |||||
* | Merge branch 'development' of github.com:0xProject/0x.js into development | Fabio Berger | 2017-10-30 | 15 | -118/+137 |
|\ | | | | | | | | | | | | | | | | | | | | | * '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 | ||||
| * | 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 | 14 | -118/+114 |
| | | |||||
* | | Fix comment | Fabio Berger | 2017-10-30 | 1 | -2/+2 |
|/ | |||||
* | 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. | ||||
* | Fix the rounding of makerFillAmount and correctly validate partial fees | Leonid Logvinov | 2017-10-24 | 1 | -9/+34 |
| | |||||
* | Revert "Reduce final bundle size by 11% (82kB)" | Leonid | 2017-10-24 | 23 | -73/+1399 |
| | |||||
* | Remove unused parts from artifacts | Leonid Logvinov | 2017-10-18 | 5 | -1382/+1 |
| | |||||
* | Include only used lodash functions | Leonid Logvinov | 2017-10-18 | 18 | -17/+72 |
| | |||||
* | Merge branch 'development' into setFillOrKillToUseRequestInterface | Leonid | 2017-10-16 | 8 | -45/+70 |
|\ | |||||
| * | Make logs fetching and sunscriptions more type-safe | Leonid Logvinov | 2017-10-13 | 6 | -41/+52 |
| | | |||||
| * | Pass correct parameters to validation simulation | Leonid Logvinov | 2017-10-12 | 1 | -3/+3 |
| | | |||||
| * | Export ContractEventArg | Leonid Logvinov | 2017-10-11 | 1 | -0/+1 |
| | | |||||
| * | Fix a bug in logs fetching | Leonid Logvinov | 2017-10-11 | 1 | -1/+14 |
| | | |||||
* | | Use OrderFillRequest interface for batchFillOrKill | Assaf | 2017-10-11 | 3 | -19/+12 |
|/ | |||||
* | 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 |
| | |||||
* | Change string enum value | Leonid Logvinov | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | Fix the comment | Leonid Logvinov | 2017-10-09 | 1 | -2/+0 |
| | |||||
* | Implement transfer Emulator and rewrite tests | Leonid Logvinov | 2017-10-09 | 4 | -119/+239 |
| | |||||
* | Add types for TradeSide and TransferType | Leonid Logvinov | 2017-10-06 | 1 | -0/+10 |
| | |||||
* | Add a hex prefix | Leonid Logvinov | 2017-10-06 | 1 | -1/+1 |
| | |||||
* | Add undefined check | Leonid Logvinov | 2017-10-06 | 1 | -1/+4 |
| | |||||
* | Add a comment | Leonid Logvinov | 2017-10-06 | 1 | -0/+1 |
| | |||||
* | Fix a typo | Leonid Logvinov | 2017-10-06 | 1 | -1/+1 |
| | |||||
* | introduce BlockParamLiteral | Leonid Logvinov | 2017-10-06 | 2 | -2/+9 |
| | |||||
* | Check for blockAndLogStreamer to be undefined instead of th filters object ↵ | Leonid Logvinov | 2017-10-06 | 1 | -5/+8 |
| | | | | to be empty | ||||
* | Install js-sha3 and use it for keccak256 | Leonid Logvinov | 2017-10-06 | 3 | -13/+5 |
| | |||||
* | Remove _activeFilters | Leonid Logvinov | 2017-10-06 | 1 | -2/+0 |
| | |||||
* | Remove unused imports | Leonid Logvinov | 2017-10-05 | 6 | -18/+3 |
| | |||||
* | Add type assertions for callback parameters | Leonid Logvinov | 2017-10-05 | 3 | -0/+5 |
| | |||||
* | Fix comments | Leonid Logvinov | 2017-10-05 | 2 | -2/+2 |
| | |||||
* | Move more logic into _stopBlockAndLogStream and _startBlockAndLogStream | Leonid Logvinov | 2017-10-05 | 1 | -11/+12 |
| | |||||
* | Remove missing comment | Leonid Logvinov | 2017-10-05 | 1 | -1/+0 |
| | |||||
* | Add missing comment | Leonid Logvinov | 2017-10-05 | 1 | -0/+1 |
| | |||||
* | Implement subscriptions based on ethereumjs-blockstream | Leonid Logvinov | 2017-10-05 | 8 | -183/+229 |
| | |||||
* | Instantiate logAndBlockStreamer | Leonid Logvinov | 2017-10-05 | 2 | -2/+13 |
| | |||||
* | Add assertion for tokenAddress | Leonid Logvinov | 2017-10-05 | 1 | -0/+1 |
| | |||||
* | Add assertions | Leonid Logvinov | 2017-10-05 | 2 | -0/+6 |
| | |||||
* | Small reordering | Leonid Logvinov | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | Fi fees validation is one of the tokens transfered is 0x | Leonid Logvinov | 2017-10-04 | 1 | -1/+8 |
| | |||||
* | Fix an issue when validation failed, but contract call will succeed | Leonid Logvinov | 2017-10-04 | 1 | -1/+5 |
| | |||||
* | Move ZRX_NOT_IN_TOKEN_REGISTRY to InternalZeroExError | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Reduce nesting | Leonid Logvinov | 2017-10-04 | 1 | -10/+11 |
| | |||||
* | Use find | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Allign brackets | Leonid Logvinov | 2017-10-04 | 1 | -1/+2 |
| | |||||
* | Add filtering by topic | Leonid Logvinov | 2017-10-04 | 1 | -3/+23 |
| | |||||
* | Use a ternary and add a comment | Leonid Logvinov | 2017-10-04 | 1 | -8/+2 |
| | |||||
* | Use SolidityTypes | Leonid Logvinov | 2017-10-04 | 2 | -3/+7 |
| | |||||
* | Use 0x.length instead of 2 | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Add a comment | Leonid Logvinov | 2017-10-04 | 1 | -0/+1 |
| | |||||
* | Fix a typo | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Use _.find instead of _.filter | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Move NoAbiDecoder to InternalZeroExErrors | Leonid Logvinov | 2017-10-04 | 2 | -2/+5 |
| | |||||
* | Extract topics to its variable | Leonid Logvinov | 2017-10-04 | 1 | -7/+9 |
| | |||||
* | Use Noop instead of NoOp | Leonid Logvinov | 2017-10-04 | 2 | -3/+5 |
| | |||||
* | Don't export RawLog | Leonid Logvinov | 2017-10-04 | 1 | -1/+0 |
| | |||||
* | Add tests for zeroEx.exchange.getLogsAsync | Leonid Logvinov | 2017-10-04 | 4 | -6/+12 |
| | |||||
* | Implement zeroEx.exchange.getLogsAsync | Leonid Logvinov | 2017-10-04 | 2 | -0/+26 |
| | |||||
* | Add _getLogsAsync on contract_wrapper | Leonid Logvinov | 2017-10-04 | 2 | -14/+29 |
| | |||||
* | Implement getLogsAsync on token contract | Leonid Logvinov | 2017-10-04 | 2 | -3/+22 |
| | |||||
* | Refactor abi decoder | Leonid Logvinov | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | Add tryToDecodeLogOrNoOp and _getEventSignatureFromAbiByName on contract_wrapper | Leonid Logvinov | 2017-10-04 | 1 | -2/+18 |
| | |||||
* | Remove old tests | Leonid Logvinov | 2017-10-04 | 1 | -0/+1 |
| | |||||
* | Add keccak256 on web3_wrapper | Leonid Logvinov | 2017-10-04 | 1 | -0/+4 |
| | |||||
* | Add NO_ABI_DECODER and ContractEvents | Leonid Logvinov | 2017-10-04 | 1 | -0/+3 |
| | |||||
* | Move log decoding to AbiDecoder | Leonid Logvinov | 2017-10-04 | 2 | -53/+37 |
| | |||||
* | Factor out tryToDecodeLogOrNoOp | Leonid Logvinov | 2017-10-04 | 1 | -11/+12 |
| | |||||
* | Add zeroEx.getLogsAsync | Leonid Logvinov | 2017-10-04 | 1 | -0/+11 |
| | |||||
* | Re-export new types | Leonid Logvinov | 2017-10-04 | 1 | -0/+2 |
| | |||||
* | Add getLogsAsync to web3_wrapper | Leonid Logvinov | 2017-10-04 | 1 | -0/+18 |
| | |||||
* | Add type aliases for web3 types | Leonid Logvinov | 2017-10-04 | 1 | -0/+4 |
| | |||||
* | Fix types | Leonid Logvinov | 2017-09-29 | 1 | -1/+1 |
| | |||||
* | Update CHANGELOG | Leonid Logvinov | 2017-09-29 | 1 | -0/+1 |
| | |||||
* | Merge pull request #175 from 0xProject/fix/set-interval-bug | Leonid | 2017-09-29 | 1 | -1/+1 |
|\ | | | | | Fix the bug in transaction mined awaiting | ||||
| * | Fix the bug in transaction mined awaiting | Leonid Logvinov | 2017-09-29 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #173 from 0xProject/feature/ropsten-support | Leonid | 2017-09-29 | 3 | -2/+355 |
|\| | | | | | Add Ropsten support | ||||
| * | Add Ropsten artifacts | Leonid Logvinov | 2017-09-28 | 3 | -2/+355 |
| | | |||||
* | | Fixed nits | Brandon Millman | 2017-09-28 | 1 | -9/+27 |
| | | |||||
* | | Add tests | Brandon Millman | 2017-09-28 | 1 | -5/+0 |
| | | |||||
* | | Add OrderTransactionOpts to enable optional validation to exchange_wrapper | Brandon Millman | 2017-09-28 | 2 | -27/+72 |
|/ | |||||
* | fix merge issue | Fabio Berger | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'development' into addOrderValidation | Fabio Berger | 2017-09-26 | 1 | -7/+11 |
|\ | | | | | | | | | | | | | | | * development: Update comment Add a test for getZRXTokenAddressAsync Document changes in CHANGELOG Make getZRXTokenAddressAsync public | ||||
| * | Update comment | Leonid Logvinov | 2017-09-26 | 1 | -1/+1 |
| | | |||||
| * | Make getZRXTokenAddressAsync public | Leonid Logvinov | 2017-09-26 | 1 | -7/+11 |
| | | |||||
* | | improve comment | Fabio Berger | 2017-09-26 | 1 | -1/+2 |
| | | |||||
* | | Refactor our logic checking fillAmountNotZero and expiry | Fabio Berger | 2017-09-26 | 1 | -14/+21 |
| | | |||||
* | | make opts optional | Fabio Berger | 2017-09-26 | 1 | -1/+1 |
| | | |||||
* | | rename validateOrderFillableThrowIfNotFillableAsync to ↵ | Fabio Berger | 2017-09-26 | 2 | -3/+3 |
| | | | | | | | | validateOrderFillableOrThrowAsync | ||||
* | | Fix bug where we were accidentally comparing a makerTokenAmount to a ↵ | Fabio Berger | 2017-09-26 | 1 | -2/+2 |
| | | | | | | | | takerTokenAmount | ||||
* | | improve comment | Fabio Berger | 2017-09-26 | 1 | -2/+2 |
| | | |||||
* | | Add validateOrderFillableThrowIfNotFillableAsync to public methods in order ↵ | Fabio Berger | 2017-09-26 | 3 | -0/+50 |
|/ | | | | to validate orders in an orderbook without a specific taker in mind | ||||
* | Fix the typo | Leonid Logvinov | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Add a comment for ZeroExConfig type | Leonid Logvinov | 2017-09-19 | 1 | -0/+6 |
| | |||||
* | Move lower-casing logic | Leonid Logvinov | 2017-09-19 | 2 | -3/+3 |
| | |||||
* | Fix a comment | Leonid Logvinov | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Postfix variable names with 'ifExists' | Leonid Logvinov | 2017-09-19 | 4 | -14/+15 |
| | |||||
* | Prefix HACK comment with HACK | Leonid Logvinov | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Postfix variable names with 'ifExists' | Leonid Logvinov | 2017-09-19 | 1 | -6/+8 |
| | |||||
* | Verify ZeroExConfig | Leonid Logvinov | 2017-09-19 | 2 | -0/+14 |
| | |||||
* | Fix a typo | Leonid Logvinov | 2017-09-18 | 1 | -3/+3 |
| | |||||
* | Add explanatory comment | Leonid Logvinov | 2017-09-18 | 1 | -0/+6 |
| | |||||
* | Add tests for contracts address config | Leonid Logvinov | 2017-09-18 | 1 | -0/+10 |
| | |||||
* | Make contract addresses configurable | Leonid Logvinov | 2017-09-18 | 5 | -9/+21 |
| | |||||
* | Fetch tokenTransferProxy address from exchange contract | Leonid Logvinov | 2017-09-18 | 6 | -142/+39 |
| | |||||
* | Replace placeholders with actual coments | Leonid Logvinov | 2017-09-08 | 2 | -6/+6 |
| | |||||
* | Add a comment for MethodOpts | Leonid Logvinov | 2017-09-08 | 1 | -0/+6 |
| | |||||
* | Rename CallOpts to MethodOpts | Leonid Logvinov | 2017-09-08 | 4 | -21/+23 |
| | |||||
* | Allow user to specify defaultBlock when calling const exchange methods | Leonid Logvinov | 2017-09-08 | 2 | -9/+18 |
| |