Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch over to Lerna + Yarn Workspaces setup for a mono-repo approach | Fabio Berger | 2017-11-13 | 23 | -3258/+0 |
| | |||||
* | Merge branch 'development' into feature/receipt-status | Fabio Berger | 2017-11-13 | 8 | -22/+530 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (164 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 ... # Conflicts: # package.json # src/types.ts # yarn.lock | ||||
| * | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-13 | 3 | -80/+13 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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 old tests | Leonid Logvinov | 2017-11-13 | 1 | -62/+0 |
| | | | |||||
| | * | Remove unused code | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | | | |||||
| | * | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -4/+4 |
| | | | |||||
| | * | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | | | |||||
| | * | Remove blockStore and default to numConfirmations === 0 | Leonid Logvinov | 2017-11-13 | 2 | -12/+9 |
| | | | |||||
| | * | Store number of confirmations in a blockStore | Leonid Logvinov | 2017-11-13 | 1 | -4/+2 |
| | | | |||||
| | * | Pass blockStore to eventWatcher | Leonid Logvinov | 2017-11-13 | 1 | -1/+6 |
| | | | |||||
| | * | Adjust tests to new interface | Leonid Logvinov | 2017-11-13 | 1 | -14/+11 |
| | | | |||||
| | * | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -10/+8 |
| | | | |||||
| * | | Merge branch 'development' into orderWatcher | Fabio Berger | 2017-11-13 | 3 | -10/+108 |
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Merge pull request #210 from dekz/orderWatcherRemaining | Fabio Berger | 2017-11-13 | 1 | -0/+82 |
| |\ \ | | | | | | | | | Calculate the remaining order amount in maker units | ||||
| | * | | Perform the division after multiplication to reduce compounding the rounding ↵ | Jacob Evans | 2017-11-13 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | errors | ||||
| | * | | 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 | 1 | -0/+79 |
| | | | | |||||
| | * | | Calculate the remaining order amount in maker units | Jacob Evans | 2017-11-13 | 1 | -0/+2 |
| | | | | |||||
| * | | | 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. | ||||
| * | | | 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 |
| | | | | |||||
| * | | | Fix expected balance | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fix type declaration in test | Fabio Berger | 2017-11-11 | 1 | -6/+6 |
| |/ / | |||||
| * | | 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 |
| | | | |||||
| * | | 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 |
| |/ / | |||||
| * | | 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 | 1 | -6/+6 |
| |/ / | | | | | | | | | | Moved numConfirmations to become a global orderStateWatcher config | ||||
| * | | Revert test amount changes | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | Add nested config for orderWatcher | Fabio Berger | 2017-11-10 | 2 | -4/+4 |
| | | | |||||
| * | | Add SubscriptionAlreadyPresent error | Leonid Logvinov | 2017-11-10 | 1 | -2/+3 |
| | | | |||||
| * | | 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 | 1 | -85/+116 |
| |\ \ | |||||
| | * | | 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 | 1 | -1/+1 |
| | | | | |||||
| | * | | 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 |
| | | | | |||||
| | * | | Look for relevant events in the decodedLogs and emit orderState events for ↵ | Fabio Berger | 2017-11-10 | 1 | -44/+63 |
| | | | | | | | | | | | | | | | | 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 naive order state watcher implementation | Leonid Logvinov | 2017-11-10 | 1 | -9/+69 |
| | | | | | | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
| | * | | Introduce OrderState interface | Leonid Logvinov | 2017-11-10 | 1 | -3/+3 |
| | | | | |||||
| | * | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-11-10 | 1 | -0/+42 |
| | | | | |||||
| | * | | Adjust tests for mempool event watcher | Leonid Logvinov | 2017-11-10 | 1 | -12/+13 |
| | | | | |||||
| | * | | Add mempool tests | Leonid Logvinov | 2017-11-10 | 1 | -0/+125 |
| | | | | |||||
| | * | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-11-10 | 2 | -15/+20 |
| | | | | |||||
| * | | | Add numConfirmations arg so that caller can decide on numConfirmations at ↵ | Fabio Berger | 2017-11-10 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | which they want to watch orders | ||||
| * | | | 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 |
| | | | | |||||
| * | | | Look for relevant events in the decodedLogs and emit orderState events for ↵ | Fabio Berger | 2017-11-09 | 1 | -44/+63 |
| | | | | | | | | | | | | | | | | 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 naive order state watcher implementation | Leonid Logvinov | 2017-10-31 | 1 | -9/+69 |
| | | | | | | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
| * | | | Introduce OrderState interface | Leonid Logvinov | 2017-10-31 | 1 | -3/+3 |
| | | | | |||||
| * | | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-10-31 | 1 | -0/+42 |
| | | | | |||||
| * | | | Adjust tests for mempool event watcher | Leonid Logvinov | 2017-10-31 | 1 | -12/+13 |
| | | | | |||||
| * | | | Add mempool tests | Leonid Logvinov | 2017-10-31 | 1 | -0/+125 |
| | | | | |||||
| * | | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-10-31 | 2 | -15/+20 |
| |/ / | |||||
* | / | Normalize the way we return the transaction status | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Fix amounts in tests one last time. Now that we updated the testRPC ↵ | Fabio Berger | 2017-11-12 | 1 | -2/+2 |
| | | | | | | | | snapshot, this should no longer be mismatched between CI and locally | ||||
* | | Check for null rather than undefined | Jacob Evans | 2017-11-12 | 1 | -1/+0 |
| | | |||||
* | | Removed nits | Jacob Evans | 2017-11-12 | 1 | -8/+2 |
| | | |||||
* | | Test case was error then unsubscribe | Jacob Evans | 2017-11-12 | 1 | -4/+13 |
| | | |||||
* | | Clean up subscription state. | Jacob Evans | 2017-11-12 | 1 | -0/+93 |
| | | | | | | | | 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 | -15/+18 |
|/ | |||||
* | Upgrade bignumber to the version with native typings and remove typings | Leonid Logvinov | 2017-10-26 | 8 | -35/+35 |
| | |||||
* | Fix index | Leonid Logvinov | 2017-10-24 | 1 | -1/+1 |
| | |||||
* | Use more meaningful variable names | Leonid Logvinov | 2017-10-24 | 1 | -3/+6 |
| | |||||
* | 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 "Reduce final bundle size by 11% (82kB)" | Leonid | 2017-10-24 | 5 | -12/+9 |
| | |||||
* | Fix lint script to analyze nested files | Brandon Millman | 2017-10-20 | 1 | -1/+1 |
| | |||||
* | Fix linter errors | Leonid Logvinov | 2017-10-19 | 1 | -5/+8 |
| | |||||
* | Include only used lodash functions | Leonid Logvinov | 2017-10-18 | 4 | -4/+4 |
| | |||||
* | Merge branch 'development' into setFillOrKillToUseRequestInterface | Leonid | 2017-10-16 | 7 | -35/+67 |
|\ | |||||
| * | Remove unused code | Leonid Logvinov | 2017-10-13 | 4 | -10/+1 |
| | | |||||
| * | Make logs fetching and sunscriptions more type-safe | Leonid Logvinov | 2017-10-13 | 3 | -23/+28 |
| | | |||||
| * | Add a regression test | Leonid Logvinov | 2017-10-12 | 2 | -1/+37 |
| | | |||||
* | | Use OrderFillRequest interface for batchFillOrKill | Assaf | 2017-10-11 | 1 | -33/+32 |
|/ | |||||
* | Change tests to test that allowance is checked first | Leonid Logvinov | 2017-10-10 | 1 | -7/+7 |
| | |||||
* | Implement transfer Emulator and rewrite tests | Leonid Logvinov | 2017-10-09 | 2 | -233/+137 |
| | |||||
* | Use BlockParamLiteral types | Leonid Logvinov | 2017-10-06 | 2 | -6/+6 |
| | |||||
* | Remove TODOs | Leonid Logvinov | 2017-10-05 | 2 | -2/+0 |
| | |||||
* | Make it possible to have multiple layers of snapshots | Leonid Logvinov | 2017-10-05 | 1 | -4/+7 |
| | |||||
* | Update CHANGELOG | Leonid Logvinov | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | Add missing comments | Leonid Logvinov | 2017-10-05 | 2 | -2/+3 |
| | |||||
* | Implement subscriptions based on ethereumjs-blockstream | Leonid Logvinov | 2017-10-05 | 2 | -114/+69 |
| | |||||
* | Fix tests | Leonid Logvinov | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | Fi fees validation is one of the tokens transfered is 0x | Leonid Logvinov | 2017-10-04 | 1 | -43/+99 |
| | |||||
* | Fix an issue when validation failed, but contract call will succeed | Leonid Logvinov | 2017-10-04 | 1 | -0/+32 |
| | |||||
* | Move ZRX_NOT_IN_TOKEN_REGISTRY to InternalZeroExError | Leonid Logvinov | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | Add filtering by topic | Leonid Logvinov | 2017-10-04 | 2 | -8/+57 |
| | |||||
* | Add tests for zeroEx.exchange.getLogsAsync | Leonid Logvinov | 2017-10-04 | 2 | -2/+44 |
| | |||||
* | Add tests for zeroEx.token.getLogsAsync | Leonid Logvinov | 2017-10-04 | 1 | -0/+37 |
| | |||||
* | Remove old tests | Leonid Logvinov | 2017-10-04 | 1 | -25/+0 |
| | |||||
* | Don't text for an exact block hash | Leonid Logvinov | 2017-10-04 | 1 | -2/+1 |
| | |||||
* | Add tests for zeroEx.getLogsAsync | Leonid Logvinov | 2017-10-04 | 1 | -0/+26 |
| | |||||
* | Merge pull request #173 from 0xProject/feature/ropsten-support | Leonid | 2017-09-29 | 2 | -1/+19 |
|\ | | | | | Add Ropsten support | ||||
| * | Add tests for ropsten artifacts | Leonid Logvinov | 2017-09-28 | 2 | -1/+19 |
| | | |||||
* | | Fixed nits | Brandon Millman | 2017-09-28 | 1 | -66/+41 |
| | | |||||
* | | Add tests | Brandon Millman | 2017-09-28 | 1 | -18/+216 |
|/ | |||||
* | fix test | Fabio Berger | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | fix test | Fabio Berger | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'development' into addOrderValidation | Fabio Berger | 2017-09-26 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | | | * development: Update comment Add a test for getZRXTokenAddressAsync Document changes in CHANGELOG Make getZRXTokenAddressAsync public | ||||
| * | Add a test for getZRXTokenAddressAsync | Leonid Logvinov | 2017-09-26 | 1 | -0/+7 |
| | | |||||
* | | Fix linter issue | Fabio Berger | 2017-09-26 | 1 | -1/+3 |
| | | |||||
* | | Add success test and regression test for previous bug where comparing ↵ | Fabio Berger | 2017-09-26 | 1 | -0/+19 |
| | | | | | | | | makerTokenAmount with a takerTokenAmount | ||||
* | | Add tests for validateOrderFillableOrThrowAsync | Fabio Berger | 2017-09-26 | 1 | -0/+21 |
|/ | |||||
* | Fix a typo | Leonid Logvinov | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Add tests for contracts address config | Leonid Logvinov | 2017-09-18 | 1 | -2/+27 |
| | |||||
* | Fetch tokenTransferProxy address from exchange contract | Leonid Logvinov | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Fix log decoder to return correct types | Leonid Logvinov | 2017-09-06 | 1 | -5/+3 |
| | |||||
* | Fix type error | Leonid Logvinov | 2017-09-06 | 1 | -1/+2 |
| | |||||
* | Merge branch 'development' into fix/signature-verification | Leonid | 2017-09-06 | 6 | -77/+56 |
|\ | |||||
| * | Fix a typo in test name | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | | |||||
| * | Add lifecycle methods | Leonid Logvinov | 2017-09-06 | 1 | -0/+8 |
| | | |||||
| * | Add test for logs decoding in awaitTransactionMinedAsync | Leonid Logvinov | 2017-09-06 | 1 | -0/+20 |
| | | |||||
| * | Decode logs args in awaitTransactionMinedAsync | Leonid Logvinov | 2017-09-06 | 1 | -2/+4 |
| | | |||||
| * | Change non-exhange contracts to also return txHash | Leonid Logvinov | 2017-09-05 | 3 | -7/+10 |
| | | |||||
| * | Implement zeroEx.awaitTransactionMined | Leonid Logvinov | 2017-09-05 | 2 | -7/+4 |
| | | |||||
| * | Temporarily remove web3_beta, cause it breaks installation and tests | Leonid Logvinov | 2017-09-05 | 2 | -22/+0 |
| | | |||||
| * | Make the functions immidiately return txHash instead of awaiting for a ↵ | Leonid Logvinov | 2017-09-05 | 2 | -48/+19 |
| | | | | | | | | transaction to be mined | ||||
| * | Fix tests descriptions | Leonid Logvinov | 2017-09-04 | 1 | -2/+2 |
| | | |||||
* | | Add signature verification as a part of order validation and tests for it | Leonid Logvinov | 2017-09-06 | 1 | -1/+11 |
|/ | |||||
* | Add 'content-type' header with value 'application/json' for http requests ↵ | Brandon Millman | 2017-09-01 | 1 | -0/+3 |
| | | | | made JSONRPC endpoints | ||||
* | Don't create whole web3 object in beta tests | Leonid Logvinov | 2017-08-30 | 2 | -9/+3 |
| | |||||
* | Add tests for web3@1.0 | Leonid Logvinov | 2017-08-30 | 1 | -0/+16 |
| | |||||
* | Use zeroEx.getAvailableAddressesAsync instead of web3.eth.getAccounts | Leonid Logvinov | 2017-08-30 | 4 | -4/+4 |
| | |||||
* | Add web3@1.0 to web3Factory | Leonid Logvinov | 2017-08-30 | 1 | -0/+12 |
| | |||||
* | Use zeroExConfig in tests | Leonid Logvinov | 2017-08-29 | 1 | -1/+4 |
| | |||||
* | Specify gasPrice in WETH tests | Leonid Logvinov | 2017-08-29 | 1 | -1/+2 |
| | |||||
* | Use 0x-json-schemas | Leonid Logvinov | 2017-08-28 | 2 | -360/+4 |
| | |||||
* | Add an explanatory comment | Leonid Logvinov | 2017-08-25 | 1 | -1/+4 |
| | |||||
* | Add a test that unlimited allowance reduces gas cost | Leonid Logvinov | 2017-08-25 | 1 | -0/+28 |
| | |||||
* | Add tests for unlimited allowance | Leonid Logvinov | 2017-08-25 | 1 | -0/+21 |
| | |||||
* | Change the unregistered token in tests | Leonid Logvinov | 2017-08-24 | 1 | -2/+2 |
| | |||||
* | Add tests for tokenRegistry public getters | Leonid Logvinov | 2017-08-24 | 1 | -3/+57 |
| | |||||
* | Add test for getTokenAddressesAsync | Leonid Logvinov | 2017-08-24 | 1 | -0/+14 |
| | |||||
* | Add validation for the case where the order is fully filled or canceled and ↵ | Leonid Logvinov | 2017-08-24 | 1 | -0/+9 |
| | | | | a test | ||||
* | Fix order validation tests | Leonid Logvinov | 2017-08-24 | 1 | -19/+20 |
| | |||||
* | Remove And's from names | Leonid Logvinov | 2017-08-24 | 1 | -33/+36 |
| | |||||
* | Separate order validation errors tests from exchange tests | Leonid Logvinov | 2017-08-24 | 2 | -84/+95 |
| | |||||
* | Merge pull request #131 from 0xProject/addTokenRegistryMethod | Fabio Berger | 2017-08-24 | 1 | -0/+16 |
|\ | | | | | Add public method to TokenRegistry | ||||
| * | rename method for clarity since we return a Token and not tokenMetadata | Fabio Berger | 2017-08-24 | 1 | -3/+3 |
| | | |||||
| * | use non-checksummed address | Fabio Berger | 2017-08-24 | 1 | -1/+1 |
| | | |||||
| * | Add public method `getTokenMetadataIfExistsAsync` to TokenRegistry wrapper, ↵ | Fabio Berger | 2017-08-23 | 1 | -0/+16 |
| | | | | | | | | refactor `getTokensAsync` to use `getTokenMetadataIfExistsAsync` under the hood and added unit tests | ||||
* | | rename proxy_wrapper_test to token_transfer_proxy_wrapper_test | Fabio Berger | 2017-08-23 | 1 | -0/+0 |
|/ | |||||
* | Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in ↵ | Leonid Logvinov | 2017-08-22 | 4 | -37/+41 |
| | | | | tests | ||||
* | Rename internally Proxy to TokenTransferProxy | Leonid Logvinov | 2017-08-22 | 2 | -3/+3 |
| | |||||
* | Put the last test address on it's own line | Leonid Logvinov | 2017-08-22 | 1 | -1/+3 |
| | |||||
* | Use lowercase address in tests | Leonid Logvinov | 2017-08-22 | 1 | -1/+1 |
| | |||||
* | Reject checksummed addresses | Leonid Logvinov | 2017-08-22 | 2 | -4/+8 |
| | |||||
* | Merge pull request #118 from 0xProject/artifacts-update | Fabio Berger | 2017-08-21 | 1 | -4/+0 |
|\ | | | | | Update artifacts with the latest mainnet version | ||||
| * | Remove url from token registry | Leonid Logvinov | 2017-08-15 | 1 | -4/+0 |
| | | |||||
* | | set default value to hasAddresses boolean | Fabio Berger | 2017-08-17 | 1 | -1/+1 |
| | | |||||
* | | remove unnecessary assertion and add regression test | Fabio Berger | 2017-08-17 | 1 | -17/+40 |
| | | |||||
* | | Remove isUserAddressAvailable assertion from getBalanceAsync and add ↵ | Fabio Berger | 2017-08-17 | 2 | -21/+43 |
|/ | | | | regression test | ||||
* | Indent callbacks | Leonid Logvinov | 2017-07-26 | 1 | -2/+2 |
| | |||||
* | Rearrange imports | Leonid Logvinov | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | Remove unused imports | Leonid Logvinov | 2017-07-26 | 4 | -4/+1 |
| | |||||
* | Fix tests | Leonid Logvinov | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | Factor out order validation tests | Leonid Logvinov | 2017-07-26 | 2 | -147/+203 |
| | |||||
* | Cover all possible branches of order validation errors with tests | Leonid Logvinov | 2017-07-26 | 1 | -14/+59 |
| | |||||
* | Add a test: should throw when maker has balance to cover fees or transfer ↵ | Leonid Logvinov | 2017-07-26 | 1 | -0/+15 |
| | | | | but not both | ||||
* | Use actual exception values in test names | Leonid Logvinov | 2017-07-12 | 1 | -3/+3 |
| | |||||
* | Use PascalCase names as string enum keys | Leonid Logvinov | 2017-07-12 | 4 | -30/+30 |
| | |||||
* | Make getOrderHashHex static | Leonid Logvinov | 2017-07-12 | 3 | -11/+11 |
| | |||||
* | Migrate to using a single Exchange contract | Leonid Logvinov | 2017-07-12 | 4 | -81/+24 |
| | |||||
* | Migrate events | Leonid Logvinov | 2017-07-11 | 1 | -4/+4 |
| | |||||
* | Merge pull request #100 from 0xProject/improveSignOrder | Fabio Berger | 2017-07-08 | 1 | -9/+3 |
|\ | | | | | Improve signOrderHashAsync | ||||
| * | Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND ↵ | Fabio Berger | 2017-07-08 | 1 | -9/+3 |
| | | | | | | | | R + S + V and check both for a valid signature in order to fix the issue of different nodes returning it differently | ||||
* | | Merge branch 'master' into cache_net_version | Leonid | 2017-07-08 | 3 | -49/+49 |
|\ \ | |||||
| * \ | Merge pull request #97 from 0xProject/speedup-tests | Leonid | 2017-07-08 | 1 | -30/+30 |
| |\ \ | | | | | | | | | Paralellize fill scenarios | ||||
| | * | | Add noop comment | Leonid | 2017-07-08 | 1 | -1/+1 |
| | | | | |||||
| | * | | Paralellize fill scenarios | Leonid Logvinov | 2017-07-08 | 1 | -30/+30 |
| | | | | |||||
| * | | | Merge pull request #98 from 0xProject/typos | Leonid | 2017-07-08 | 1 | -6/+6 |
| |\ \ \ | | |_|/ | |/| | | Typos | ||||
| | * | | Rename batchCancelOrderAsync to batchCancelOrdersAsync | Leonid Logvinov | 2017-07-08 | 1 | -3/+3 |
| | | | | |||||
| | * | | Rename batchFillOrderAsync to batchFillOrdersAsync | Leonid Logvinov | 2017-07-08 | 1 | -3/+3 |
| | |/ | |||||
| * / | Remove space after `it` keywork in tests | Fabio Berger | 2017-07-08 | 2 | -13/+13 |
| |/ | |||||
* | | Rename networkId to networkIdIfExists | Leonid Logvinov | 2017-07-07 | 1 | -2/+2 |
| | | |||||
* | | Fix a typo in a filename | Leonid Logvinov | 2017-07-07 | 1 | -0/+0 |
| | | |||||
* | | Rename RPC_NETWORK_ID to TESTRPC_NETWORK_ID | Leonid Logvinov | 2017-07-07 | 2 | -3/+3 |
| | | |||||
* | | Remove only | Leonid Logvinov | 2017-07-07 | 1 | -1/+1 |
| | | |||||
* | | Add tests for networkId caching and invalidation | Leonid Logvinov | 2017-07-07 | 2 | -0/+30 |
|/ | |||||
* | Fix comments to use web3 provider instead of web3 instance | Leonid Logvinov | 2017-07-07 | 2 | -2/+2 |
| | |||||
* | Move zeroEx.exchange.getAvailableContractAddressesAsync to ↵ | Leonid Logvinov | 2017-07-06 | 4 | -32/+26 |
| | | | | zeroEx.getAvailableExchangeContractAddressesAsync and zeroEx.exchange.getProxyAuthorizedContractAddressesAsync to zeroEx.getProxyAuthorizedExchangeContractAddressesAsync | ||||
* | Make all fields of subscriptionOpts schema optional | Leonid Logvinov | 2017-07-05 | 1 | -3/+3 |
| | |||||
* | move order hash schema to a separate file | Leonid Logvinov | 2017-07-05 | 1 | -1/+2 |
| | |||||
* | Add exchangeContractAddress to an order in schema tests | Leonid Logvinov | 2017-07-05 | 1 | -0/+1 |
| | |||||
* | Use .bignumber for BigNumber comparation | Leonid Logvinov | 2017-07-05 | 1 | -2/+2 |
| | |||||
* | Refactor event tests | Leonid Logvinov | 2017-07-05 | 1 | -13/+12 |
| | |||||
* | Add tests for order hash Schema | Leonid Logvinov | 2017-07-05 | 1 | -1/+20 |
| | |||||
* | Add tests for subscriptionOptsSchema and blockParamSchema | Leonid Logvinov | 2017-07-04 | 1 | -0/+38 |
| | |||||
* | Handle errors from pseudo-async subscription tests | Leonid Logvinov | 2017-07-04 | 2 | -10/+10 |
| | |||||
* | Merge branch 'master' into subscribe-token | Leonid | 2017-07-04 | 2 | -4/+13 |
|\ | |||||
| * | Merge pull request #89 from 0xProject/proxy | Leonid | 2017-07-04 | 2 | -4/+13 |
| |\ | | | | | | | Add zeroEx.proxy | ||||
| | * | Add zeroEx.proxy.getAuthorizedAddressesAsync and tests | Leonid Logvinov | 2017-07-04 | 1 | -0/+11 |
| | | | |||||
| | * | Make proxy wrapper public on zeroEx instance | Leonid Logvinov | 2017-07-04 | 2 | -4/+2 |
| | | | |||||
* | | | Add initial implementation and tests for zeroEx.token.subscribeAsync | Leonid Logvinov | 2017-07-04 | 1 | -1/+112 |
|/ / | |||||
* | | Fix merge problems | Leonid Logvinov | 2017-07-04 | 1 | -2/+3 |
| | | |||||
* | | Merge branch 'master' into wrap-log-bignumber | Leonid | 2017-07-04 | 6 | -61/+145 |
|\| | |||||
| * | Merge branch 'master' into add-exchange-address-to-order-struct | Leonid | 2017-07-04 | 1 | -0/+3 |
| |\ | |||||
| | * | Assert correct event names in subscribeAsync tests | Leonid Logvinov | 2017-07-01 | 1 | -0/+3 |
| | | | |||||
| * | | Fix comment | Leonid Logvinov | 2017-07-01 | 1 | -1/+1 |
| | | | |||||
| * | | Add tests for getProxyAuthorizedContractAddressesAsync | Leonid Logvinov | 2017-06-30 | 1 | -0/+12 |
| | | | |||||
| * | | Remove unused code from test/proxy_wrapper_test.ts | Leonid Logvinov | 2017-06-30 | 1 | -12/+0 |
| | | | |||||
| * | | Add a test for a ProxyWrapper | Leonid Logvinov | 2017-06-30 | 1 | -0/+35 |
| | | | |||||
| * | | Make zeroEx.getOrderHashHex non-async | Leonid Logvinov | 2017-06-30 | 2 | -10/+10 |
| | | | |||||
| * | | Fix typo in getAvailableContractAddressesAsync | Leonid Logvinov | 2017-06-30 | 2 | -3/+3 |
| | | | |||||
| * | | Make it clear that we are using a fake address in tests | Leonid Logvinov | 2017-06-30 | 1 | -2/+2 |
| | | | |||||
| * | | Fix a typo in a name | Leonid Logvinov | 2017-06-30 | 1 | -2/+2 |
| | | | |||||
| * | | Make getOrderHashHex a non-async function | Leonid Logvinov | 2017-06-30 | 1 | -13/+2 |
| | | | |||||
| * | | Allow multiple exchange versions t be functional at the same time | Leonid Logvinov | 2017-06-27 | 5 | -38/+95 |
| |/ | |||||
* / | Wrap all event args in a newer version of BigNumber and test it | Leonid Logvinov | 2017-07-02 | 1 | -21/+24 |
|/ | |||||
* | Merge pull request #81 from 0xProject/addWrappedETHSupport | Leonid | 2017-06-27 | 1 | -0/+106 |
|\ | | | | | Add Wrapped ETH Support | ||||
| * | refactor getBalanceInEthAsync to getBalanceInWeiAsync and change the test ↵ | Fabio Berger | 2017-06-27 | 1 | -18/+25 |
| | | | | | | | | assertions to check if the discrepancy between the existing ETH balance and expected balance is small enough to simply be the gas cost used by the transaction. | ||||
| * | Fix typo | Fabio Berger | 2017-06-27 | 1 | -1/+1 |
| | | |||||
| * | Implement EtherTokenWrapper and tests, with deposit and withdraw methods | Fabio Berger | 2017-06-26 | 1 | -0/+99 |
| | | |||||
* | | Rename KOVAN_URL to KOVAN_RPC_URL | Leonid Logvinov | 2017-06-23 | 2 | -2/+2 |
| | | |||||
* | | Simplify integration tests | Leonid Logvinov | 2017-06-23 | 1 | -34/+4 |
| | | |||||
* | | Refactor KOVAN_URL to constants and fetch mnemonic from package.json | Leonid Logvinov | 2017-06-23 | 2 | -2/+7 |
| | | |||||
* | | Add kovan integration tests | Leonid Logvinov | 2017-06-23 | 1 | -0/+54 |
|/ | |||||
* | Merge branch 'master' into fill-order-amuont | Leonid | 2017-06-23 | 5 | -20/+16 |
|\ | |||||
| * | Revert "Use different lodash import syntax which allows to include only used ↵ | Leonid | 2017-06-22 | 5 | -20/+16 |
| | | | | | | | | functions" | ||||
* | | Add test for return amount from fillOrdersUpToAsync | Leonid Logvinov | 2017-06-22 | 1 | -0/+6 |
| | | |||||
* | | Add test for cancelOrderAsync return value | Leonid Logvinov | 2017-06-22 | 1 | -0/+4 |
| | | |||||
* | | Add simple test checking that fillOrderAsync return filled amount | Leonid Logvinov | 2017-06-22 | 1 | -0/+10 |
| | | |||||
* | | Return filledAmount from fillOrderAsync | Leonid Logvinov | 2017-06-21 | 1 | -0/+18 |
|/ | |||||
* | Fall back to import x = require() syntax | Leonid Logvinov | 2017-06-21 | 5 | -9/+9 |
| | |||||
* | Use different lodash import syntax which allows to include only used functions | Leonid Logvinov | 2017-06-21 | 5 | -16/+20 |
| | |||||
* | Fix bug in 0x.js tests when passing Web3 instead of Web3 Provider | Leonid Logvinov | 2017-06-15 | 1 | -1/+1 |
| | |||||
* | Make ZeroEx constructor accept Web3Provider instead of Web3 instance | Leonid Logvinov | 2017-06-15 | 5 | -7/+7 |
| | |||||
* | Remove types that are not used in public interface from export and rename ↵ | Leonid Logvinov | 2017-06-14 | 2 | -3/+2 |
| | | | | EventEmitter to ContractEventEmitter and IndexFilterValues to IndexedFilterValues | ||||
* | Address feedback | Leonid Logvinov | 2017-06-14 | 1 | -2/+2 |
| | |||||
* | Add tests for stopWatchingAsync | Leonid Logvinov | 2017-06-13 | 1 | -0/+20 |
| | |||||
* | Refactor subscription to return zeroExSignature object | Leonid Logvinov | 2017-06-13 | 1 | -10/+16 |
| | |||||
* | Add getContractAddressAsync and tests | Leonid Logvinov | 2017-06-13 | 1 | -0/+7 |
| | |||||
* | Fix test | Leonid Logvinov | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Fix test | Leonid Logvinov | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Introduce index.ts file which defines public interface | Leonid Logvinov | 2017-06-13 | 7 | -12/+7 |
| | |||||
* | Change main file name from 0x.js.ts to 0x.ts | Leonid Logvinov | 2017-06-12 | 7 | -7/+7 |
| |