aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Switch over to Lerna + Yarn Workspaces setup for a mono-repo approachFabio Berger2017-11-1323-3258/+0
|
* Merge branch 'development' into feature/receipt-statusFabio Berger2017-11-138-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 orderWatcherFabio Berger2017-11-133-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 testsLeonid Logvinov2017-11-131-62/+0
| | |
| | * Remove unused codeLeonid Logvinov2017-11-131-1/+1
| | |
| | * Fix testsLeonid Logvinov2017-11-131-4/+4
| | |
| | * Fix testsLeonid Logvinov2017-11-131-1/+1
| | |
| | * Remove blockStore and default to numConfirmations === 0Leonid Logvinov2017-11-132-12/+9
| | |
| | * Store number of confirmations in a blockStoreLeonid Logvinov2017-11-131-4/+2
| | |
| | * Pass blockStore to eventWatcherLeonid Logvinov2017-11-131-1/+6
| | |
| | * Adjust tests to new interfaceLeonid Logvinov2017-11-131-14/+11
| | |
| | * Fix testsLeonid Logvinov2017-11-131-10/+8
| | |
| * | Merge branch 'development' into orderWatcherFabio Berger2017-11-133-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/orderWatcherRemainingFabio Berger2017-11-131-0/+82
| |\ \ | | | | | | | | Calculate the remaining order amount in maker units
| | * | Perform the division after multiplication to reduce compounding the rounding ↵Jacob Evans2017-11-131-7/+8
| | | | | | | | | | | | | | | | errors
| | * | text description updateJacob Evans2017-11-131-2/+2
| | | |
| | * | remove onlyJacob Evans2017-11-131-3/+3
| | | |
| | * | Added specs for allowance and balance changesJacob Evans2017-11-131-0/+79
| | | |
| | * | Calculate the remaining order amount in maker unitsJacob Evans2017-11-131-0/+2
| | | |
| * | | Merge pull request #207 from 0xProject/orderWatcherTestsFabio Berger2017-11-133-0/+97
| |\ \ \ | | |/ / | |/| | Additional order watcher tests
| | * | Don't return anythingFabio Berger2017-11-131-2/+1
| | | |
| | * | Add tests for the numConfirmations config to ensure that the events are ↵Fabio Berger2017-11-113-2/+78
| | | | | | | | | | | | | | | | being emitted for the confirmation depth specified
| | * | Test that the orderStateWatcher doesn't emit an event when an irrelevant ↵Fabio Berger2017-11-101-0/+22
| | | | | | | | | | | | | | | | blockchain event is received.
| * | | Fix test given that we now do delete the keys in dependentOrderHashesFabio Berger2017-11-111-1/+1
| | | |
| * | | Fix missing renamesFabio Berger2017-11-111-2/+2
| | | |
| * | | Fix expected balanceFabio Berger2017-11-111-2/+2
| | | |
| * | | Fix type declaration in testFabio Berger2017-11-111-6/+6
| |/ /
| * | Fix test descriptionFabio Berger2017-11-101-1/+1
| | |
| * | Fix test descriptionFabio Berger2017-11-101-1/+1
| | |
| * | Move numConfirmations to constructor callFabio Berger2017-11-101-3/+3
| | |
| * | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcherFabio Berger2017-11-101-0/+14
| |\ \ | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Add forgotten file
| | * | Add forgotten fileLeonid Logvinov2017-11-101-0/+14
| | | |
| * | | remove no longer needed argFabio Berger2017-11-101-3/+2
| |/ /
| * | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcherFabio Berger2017-11-101-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 LogCancelLeonid Logvinov2017-11-101-13/+55
| | | |
| * | | Fix bug where we hard-coded using pendingBlock for fetching the orderState. ↵Fabio Berger2017-11-101-6/+6
| |/ / | | | | | | | | | Moved numConfirmations to become a global orderStateWatcher config
| * | Revert test amount changesLeonid Logvinov2017-11-101-2/+2
| | |
| * | Add nested config for orderWatcherFabio Berger2017-11-102-4/+4
| | |
| * | Add SubscriptionAlreadyPresent errorLeonid Logvinov2017-11-101-2/+3
| | |
| * | Pass numConfirmationsLeonid Logvinov2017-11-101-2/+2
| | |
| * | Removed unused order adding in testsLeonid Logvinov2017-11-101-1/+0
| | |
| * | Add a test that a second subscription failsLeonid Logvinov2017-11-101-0/+14
| | |
| * | fix merge conflictsFabio Berger2017-11-101-85/+116
| |\ \
| | * | Add tests for order removalsLeonid Logvinov2017-11-101-85/+116
| | | |
| | * | Pass orderHash instead of an order to removeOrder and adjust the testsLeonid Logvinov2017-11-101-1/+1
| | | |
| | * | Rename test file and add test for a partial fillFabio Berger2017-11-101-2/+46
| | | |
| | * | Fix tests by making the expected balance be 2^27 not 2^26Fabio Berger2017-11-101-2/+2
| | | |
| | * | Look for relevant events in the decodedLogs and emit orderState events for ↵Fabio Berger2017-11-101-44/+63
| | | | | | | | | | | | | | | | orders impacted by the blockchain state changes
| | * | Remove unused importFabio Berger2017-11-101-1/+0
| | | |
| | * | Fix typoFabio Berger2017-11-101-1/+1
| | | |
| | * | Add naive order state watcher implementationLeonid Logvinov2017-11-101-9/+69
| | | | | | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed
| | * | Introduce OrderState interfaceLeonid Logvinov2017-11-101-3/+3
| | | |
| | * | Add empty implementation of order state watcherLeonid Logvinov2017-11-101-0/+42
| | | |
| | * | Adjust tests for mempool event watcherLeonid Logvinov2017-11-101-12/+13
| | | |
| | * | Add mempool testsLeonid Logvinov2017-11-101-0/+125
| | | |
| | * | Add initial mempool watching implememtationLeonid Logvinov2017-11-102-15/+20
| | | |
| * | | Add numConfirmations arg so that caller can decide on numConfirmations at ↵Fabio Berger2017-11-101-4/+5
| | | | | | | | | | | | | | | | which they want to watch orders
| * | | Rename test file and add test for a partial fillFabio Berger2017-11-091-2/+46
| | | |
| * | | Fix tests by making the expected balance be 2^27 not 2^26Fabio Berger2017-11-091-2/+2
| | | |
| * | | Look for relevant events in the decodedLogs and emit orderState events for ↵Fabio Berger2017-11-091-44/+63
| | | | | | | | | | | | | | | | orders impacted by the blockchain state changes
| * | | Remove unused importFabio Berger2017-11-091-1/+0
| | | |
| * | | Fix typoFabio Berger2017-11-091-1/+1
| | | |
| * | | Add naive order state watcher implementationLeonid Logvinov2017-10-311-9/+69
| | | | | | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed
| * | | Introduce OrderState interfaceLeonid Logvinov2017-10-311-3/+3
| | | |
| * | | Add empty implementation of order state watcherLeonid Logvinov2017-10-311-0/+42
| | | |
| * | | Adjust tests for mempool event watcherLeonid Logvinov2017-10-311-12/+13
| | | |
| * | | Add mempool testsLeonid Logvinov2017-10-311-0/+125
| | | |
| * | | Add initial mempool watching implememtationLeonid Logvinov2017-10-312-15/+20
| |/ /
* | / Normalize the way we return the transaction statusLeonid Logvinov2017-11-131-1/+1
| |/ |/|
* | Fix amounts in tests one last time. Now that we updated the testRPC ↵Fabio Berger2017-11-121-2/+2
| | | | | | | | snapshot, this should no longer be mismatched between CI and locally
* | Check for null rather than undefinedJacob Evans2017-11-121-1/+0
| |
* | Removed nitsJacob Evans2017-11-121-8/+2
| |
* | Test case was error then unsubscribeJacob Evans2017-11-121-4/+13
| |
* | Clean up subscription state.Jacob Evans2017-11-121-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 subscriptionsFabio Berger2017-11-112-15/+18
|/
* Upgrade bignumber to the version with native typings and remove typingsLeonid Logvinov2017-10-268-35/+35
|
* Fix indexLeonid Logvinov2017-10-241-1/+1
|
* Use more meaningful variable namesLeonid Logvinov2017-10-241-3/+6
|
* Add tests testing that rounding or makerFillAmount is correct and that we ↵Leonid Logvinov2017-10-241-2/+31
| | | | only validate partial fees
* Revert "Reduce final bundle size by 11% (82kB)"Leonid2017-10-245-12/+9
|
* Fix lint script to analyze nested filesBrandon Millman2017-10-201-1/+1
|
* Fix linter errorsLeonid Logvinov2017-10-191-5/+8
|
* Include only used lodash functionsLeonid Logvinov2017-10-184-4/+4
|
* Merge branch 'development' into setFillOrKillToUseRequestInterfaceLeonid2017-10-167-35/+67
|\
| * Remove unused codeLeonid Logvinov2017-10-134-10/+1
| |
| * Make logs fetching and sunscriptions more type-safeLeonid Logvinov2017-10-133-23/+28
| |
| * Add a regression testLeonid Logvinov2017-10-122-1/+37
| |
* | Use OrderFillRequest interface for batchFillOrKillAssaf2017-10-111-33/+32
|/
* Change tests to test that allowance is checked firstLeonid Logvinov2017-10-101-7/+7
|
* Implement transfer Emulator and rewrite testsLeonid Logvinov2017-10-092-233/+137
|
* Use BlockParamLiteral typesLeonid Logvinov2017-10-062-6/+6
|
* Remove TODOsLeonid Logvinov2017-10-052-2/+0
|
* Make it possible to have multiple layers of snapshotsLeonid Logvinov2017-10-051-4/+7
|
* Update CHANGELOGLeonid Logvinov2017-10-051-1/+1
|
* Add missing commentsLeonid Logvinov2017-10-052-2/+3
|
* Implement subscriptions based on ethereumjs-blockstreamLeonid Logvinov2017-10-052-114/+69
|
* Fix testsLeonid Logvinov2017-10-041-2/+2
|
* Fi fees validation is one of the tokens transfered is 0xLeonid Logvinov2017-10-041-43/+99
|
* Fix an issue when validation failed, but contract call will succeedLeonid Logvinov2017-10-041-0/+32
|
* Move ZRX_NOT_IN_TOKEN_REGISTRY to InternalZeroExErrorLeonid Logvinov2017-10-041-2/+2
|
* Add filtering by topicLeonid Logvinov2017-10-042-8/+57
|
* Add tests for zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-042-2/+44
|
* Add tests for zeroEx.token.getLogsAsyncLeonid Logvinov2017-10-041-0/+37
|
* Remove old testsLeonid Logvinov2017-10-041-25/+0
|
* Don't text for an exact block hashLeonid Logvinov2017-10-041-2/+1
|
* Add tests for zeroEx.getLogsAsyncLeonid Logvinov2017-10-041-0/+26
|
* Merge pull request #173 from 0xProject/feature/ropsten-supportLeonid2017-09-292-1/+19
|\ | | | | Add Ropsten support
| * Add tests for ropsten artifactsLeonid Logvinov2017-09-282-1/+19
| |
* | Fixed nitsBrandon Millman2017-09-281-66/+41
| |
* | Add testsBrandon Millman2017-09-281-18/+216
|/
* fix testFabio Berger2017-09-261-1/+1
|
* fix testFabio Berger2017-09-261-1/+1
|
* Merge branch 'development' into addOrderValidationFabio Berger2017-09-261-0/+7
|\ | | | | | | | | | | | | | | * development: Update comment Add a test for getZRXTokenAddressAsync Document changes in CHANGELOG Make getZRXTokenAddressAsync public
| * Add a test for getZRXTokenAddressAsyncLeonid Logvinov2017-09-261-0/+7
| |
* | Fix linter issueFabio Berger2017-09-261-1/+3
| |
* | Add success test and regression test for previous bug where comparing ↵Fabio Berger2017-09-261-0/+19
| | | | | | | | makerTokenAmount with a takerTokenAmount
* | Add tests for validateOrderFillableOrThrowAsyncFabio Berger2017-09-261-0/+21
|/
* Fix a typoLeonid Logvinov2017-09-181-1/+1
|
* Add tests for contracts address configLeonid Logvinov2017-09-181-2/+27
|
* Fetch tokenTransferProxy address from exchange contractLeonid Logvinov2017-09-181-1/+1
|
* Fix log decoder to return correct typesLeonid Logvinov2017-09-061-5/+3
|
* Fix type errorLeonid Logvinov2017-09-061-1/+2
|
* Merge branch 'development' into fix/signature-verificationLeonid2017-09-066-77/+56
|\
| * Fix a typo in test nameLeonid Logvinov2017-09-061-1/+1
| |
| * Add lifecycle methodsLeonid Logvinov2017-09-061-0/+8
| |
| * Add test for logs decoding in awaitTransactionMinedAsyncLeonid Logvinov2017-09-061-0/+20
| |
| * Decode logs args in awaitTransactionMinedAsyncLeonid Logvinov2017-09-061-2/+4
| |
| * Change non-exhange contracts to also return txHashLeonid Logvinov2017-09-053-7/+10
| |
| * Implement zeroEx.awaitTransactionMinedLeonid Logvinov2017-09-052-7/+4
| |
| * Temporarily remove web3_beta, cause it breaks installation and testsLeonid Logvinov2017-09-052-22/+0
| |
| * Make the functions immidiately return txHash instead of awaiting for a ↵Leonid Logvinov2017-09-052-48/+19
| | | | | | | | transaction to be mined
| * Fix tests descriptionsLeonid Logvinov2017-09-041-2/+2
| |
* | Add signature verification as a part of order validation and tests for itLeonid Logvinov2017-09-061-1/+11
|/
* Add 'content-type' header with value 'application/json' for http requests ↵Brandon Millman2017-09-011-0/+3
| | | | made JSONRPC endpoints
* Don't create whole web3 object in beta testsLeonid Logvinov2017-08-302-9/+3
|
* Add tests for web3@1.0Leonid Logvinov2017-08-301-0/+16
|
* Use zeroEx.getAvailableAddressesAsync instead of web3.eth.getAccountsLeonid Logvinov2017-08-304-4/+4
|
* Add web3@1.0 to web3FactoryLeonid Logvinov2017-08-301-0/+12
|
* Use zeroExConfig in testsLeonid Logvinov2017-08-291-1/+4
|
* Specify gasPrice in WETH testsLeonid Logvinov2017-08-291-1/+2
|
* Use 0x-json-schemasLeonid Logvinov2017-08-282-360/+4
|
* Add an explanatory commentLeonid Logvinov2017-08-251-1/+4
|
* Add a test that unlimited allowance reduces gas costLeonid Logvinov2017-08-251-0/+28
|
* Add tests for unlimited allowanceLeonid Logvinov2017-08-251-0/+21
|
* Change the unregistered token in testsLeonid Logvinov2017-08-241-2/+2
|
* Add tests for tokenRegistry public gettersLeonid Logvinov2017-08-241-3/+57
|
* Add test for getTokenAddressesAsyncLeonid Logvinov2017-08-241-0/+14
|
* Add validation for the case where the order is fully filled or canceled and ↵Leonid Logvinov2017-08-241-0/+9
| | | | a test
* Fix order validation testsLeonid Logvinov2017-08-241-19/+20
|
* Remove And's from namesLeonid Logvinov2017-08-241-33/+36
|
* Separate order validation errors tests from exchange testsLeonid Logvinov2017-08-242-84/+95
|
* Merge pull request #131 from 0xProject/addTokenRegistryMethodFabio Berger2017-08-241-0/+16
|\ | | | | Add public method to TokenRegistry
| * rename method for clarity since we return a Token and not tokenMetadataFabio Berger2017-08-241-3/+3
| |
| * use non-checksummed addressFabio Berger2017-08-241-1/+1
| |
| * Add public method `getTokenMetadataIfExistsAsync` to TokenRegistry wrapper, ↵Fabio Berger2017-08-231-0/+16
| | | | | | | | refactor `getTokensAsync` to use `getTokenMetadataIfExistsAsync` under the hood and added unit tests
* | rename proxy_wrapper_test to token_transfer_proxy_wrapper_testFabio Berger2017-08-231-0/+0
|/
* Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in ↵Leonid Logvinov2017-08-224-37/+41
| | | | tests
* Rename internally Proxy to TokenTransferProxyLeonid Logvinov2017-08-222-3/+3
|
* Put the last test address on it's own lineLeonid Logvinov2017-08-221-1/+3
|
* Use lowercase address in testsLeonid Logvinov2017-08-221-1/+1
|
* Reject checksummed addressesLeonid Logvinov2017-08-222-4/+8
|
* Merge pull request #118 from 0xProject/artifacts-updateFabio Berger2017-08-211-4/+0
|\ | | | | Update artifacts with the latest mainnet version
| * Remove url from token registryLeonid Logvinov2017-08-151-4/+0
| |
* | set default value to hasAddresses booleanFabio Berger2017-08-171-1/+1
| |
* | remove unnecessary assertion and add regression testFabio Berger2017-08-171-17/+40
| |
* | Remove isUserAddressAvailable assertion from getBalanceAsync and add ↵Fabio Berger2017-08-172-21/+43
|/ | | | regression test
* Indent callbacksLeonid Logvinov2017-07-261-2/+2
|
* Rearrange importsLeonid Logvinov2017-07-261-1/+1
|
* Remove unused importsLeonid Logvinov2017-07-264-4/+1
|
* Fix testsLeonid Logvinov2017-07-261-1/+1
|
* Factor out order validation testsLeonid Logvinov2017-07-262-147/+203
|
* Cover all possible branches of order validation errors with testsLeonid Logvinov2017-07-261-14/+59
|
* Add a test: should throw when maker has balance to cover fees or transfer ↵Leonid Logvinov2017-07-261-0/+15
| | | | but not both
* Use actual exception values in test namesLeonid Logvinov2017-07-121-3/+3
|
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-124-30/+30
|
* Make getOrderHashHex staticLeonid Logvinov2017-07-123-11/+11
|
* Migrate to using a single Exchange contractLeonid Logvinov2017-07-124-81/+24
|
* Migrate eventsLeonid Logvinov2017-07-111-4/+4
|
* Merge pull request #100 from 0xProject/improveSignOrderFabio Berger2017-07-081-9/+3
|\ | | | | Improve signOrderHashAsync
| * Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND ↵Fabio Berger2017-07-081-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_versionLeonid2017-07-083-49/+49
|\ \
| * \ Merge pull request #97 from 0xProject/speedup-testsLeonid2017-07-081-30/+30
| |\ \ | | | | | | | | Paralellize fill scenarios
| | * | Add noop commentLeonid2017-07-081-1/+1
| | | |
| | * | Paralellize fill scenariosLeonid Logvinov2017-07-081-30/+30
| | | |
| * | | Merge pull request #98 from 0xProject/typosLeonid2017-07-081-6/+6
| |\ \ \ | | |_|/ | |/| | Typos
| | * | Rename batchCancelOrderAsync to batchCancelOrdersAsyncLeonid Logvinov2017-07-081-3/+3
| | | |
| | * | Rename batchFillOrderAsync to batchFillOrdersAsyncLeonid Logvinov2017-07-081-3/+3
| | |/
| * / Remove space after `it` keywork in testsFabio Berger2017-07-082-13/+13
| |/
* | Rename networkId to networkIdIfExistsLeonid Logvinov2017-07-071-2/+2
| |
* | Fix a typo in a filenameLeonid Logvinov2017-07-071-0/+0
| |
* | Rename RPC_NETWORK_ID to TESTRPC_NETWORK_IDLeonid Logvinov2017-07-072-3/+3
| |
* | Remove onlyLeonid Logvinov2017-07-071-1/+1
| |
* | Add tests for networkId caching and invalidationLeonid Logvinov2017-07-072-0/+30
|/
* Fix comments to use web3 provider instead of web3 instanceLeonid Logvinov2017-07-072-2/+2
|
* Move zeroEx.exchange.getAvailableContractAddressesAsync to ↵Leonid Logvinov2017-07-064-32/+26
| | | | zeroEx.getAvailableExchangeContractAddressesAsync and zeroEx.exchange.getProxyAuthorizedContractAddressesAsync to zeroEx.getProxyAuthorizedExchangeContractAddressesAsync
* Make all fields of subscriptionOpts schema optionalLeonid Logvinov2017-07-051-3/+3
|
* move order hash schema to a separate fileLeonid Logvinov2017-07-051-1/+2
|
* Add exchangeContractAddress to an order in schema testsLeonid Logvinov2017-07-051-0/+1
|
* Use .bignumber for BigNumber comparationLeonid Logvinov2017-07-051-2/+2
|
* Refactor event testsLeonid Logvinov2017-07-051-13/+12
|
* Add tests for order hash SchemaLeonid Logvinov2017-07-051-1/+20
|
* Add tests for subscriptionOptsSchema and blockParamSchemaLeonid Logvinov2017-07-041-0/+38
|
* Handle errors from pseudo-async subscription testsLeonid Logvinov2017-07-042-10/+10
|
* Merge branch 'master' into subscribe-tokenLeonid2017-07-042-4/+13
|\
| * Merge pull request #89 from 0xProject/proxyLeonid2017-07-042-4/+13
| |\ | | | | | | Add zeroEx.proxy
| | * Add zeroEx.proxy.getAuthorizedAddressesAsync and testsLeonid Logvinov2017-07-041-0/+11
| | |
| | * Make proxy wrapper public on zeroEx instanceLeonid Logvinov2017-07-042-4/+2
| | |
* | | Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-041-1/+112
|/ /
* | Fix merge problemsLeonid Logvinov2017-07-041-2/+3
| |
* | Merge branch 'master' into wrap-log-bignumberLeonid2017-07-046-61/+145
|\|
| * Merge branch 'master' into add-exchange-address-to-order-structLeonid2017-07-041-0/+3
| |\
| | * Assert correct event names in subscribeAsync testsLeonid Logvinov2017-07-011-0/+3
| | |
| * | Fix commentLeonid Logvinov2017-07-011-1/+1
| | |
| * | Add tests for getProxyAuthorizedContractAddressesAsyncLeonid Logvinov2017-06-301-0/+12
| | |
| * | Remove unused code from test/proxy_wrapper_test.tsLeonid Logvinov2017-06-301-12/+0
| | |
| * | Add a test for a ProxyWrapperLeonid Logvinov2017-06-301-0/+35
| | |
| * | Make zeroEx.getOrderHashHex non-asyncLeonid Logvinov2017-06-302-10/+10
| | |
| * | Fix typo in getAvailableContractAddressesAsyncLeonid Logvinov2017-06-302-3/+3
| | |
| * | Make it clear that we are using a fake address in testsLeonid Logvinov2017-06-301-2/+2
| | |
| * | Fix a typo in a nameLeonid Logvinov2017-06-301-2/+2
| | |
| * | Make getOrderHashHex a non-async functionLeonid Logvinov2017-06-301-13/+2
| | |
| * | Allow multiple exchange versions t be functional at the same timeLeonid Logvinov2017-06-275-38/+95
| |/
* / Wrap all event args in a newer version of BigNumber and test itLeonid Logvinov2017-07-021-21/+24
|/
* Merge pull request #81 from 0xProject/addWrappedETHSupportLeonid2017-06-271-0/+106
|\ | | | | Add Wrapped ETH Support
| * refactor getBalanceInEthAsync to getBalanceInWeiAsync and change the test ↵Fabio Berger2017-06-271-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 typoFabio Berger2017-06-271-1/+1
| |
| * Implement EtherTokenWrapper and tests, with deposit and withdraw methodsFabio Berger2017-06-261-0/+99
| |
* | Rename KOVAN_URL to KOVAN_RPC_URLLeonid Logvinov2017-06-232-2/+2
| |
* | Simplify integration testsLeonid Logvinov2017-06-231-34/+4
| |
* | Refactor KOVAN_URL to constants and fetch mnemonic from package.jsonLeonid Logvinov2017-06-232-2/+7
| |
* | Add kovan integration testsLeonid Logvinov2017-06-231-0/+54
|/
* Merge branch 'master' into fill-order-amuontLeonid2017-06-235-20/+16
|\
| * Revert "Use different lodash import syntax which allows to include only used ↵Leonid2017-06-225-20/+16
| | | | | | | | functions"
* | Add test for return amount from fillOrdersUpToAsyncLeonid Logvinov2017-06-221-0/+6
| |
* | Add test for cancelOrderAsync return valueLeonid Logvinov2017-06-221-0/+4
| |
* | Add simple test checking that fillOrderAsync return filled amountLeonid Logvinov2017-06-221-0/+10
| |
* | Return filledAmount from fillOrderAsyncLeonid Logvinov2017-06-211-0/+18
|/
* Fall back to import x = require() syntaxLeonid Logvinov2017-06-215-9/+9
|
* Use different lodash import syntax which allows to include only used functionsLeonid Logvinov2017-06-215-16/+20
|
* Fix bug in 0x.js tests when passing Web3 instead of Web3 ProviderLeonid Logvinov2017-06-151-1/+1
|
* Make ZeroEx constructor accept Web3Provider instead of Web3 instanceLeonid Logvinov2017-06-155-7/+7
|
* Remove types that are not used in public interface from export and rename ↵Leonid Logvinov2017-06-142-3/+2
| | | | EventEmitter to ContractEventEmitter and IndexFilterValues to IndexedFilterValues
* Address feedbackLeonid Logvinov2017-06-141-2/+2
|
* Add tests for stopWatchingAsyncLeonid Logvinov2017-06-131-0/+20
|
* Refactor subscription to return zeroExSignature objectLeonid Logvinov2017-06-131-10/+16
|
* Add getContractAddressAsync and testsLeonid Logvinov2017-06-131-0/+7
|
* Fix testLeonid Logvinov2017-06-131-1/+1
|
* Fix testLeonid Logvinov2017-06-131-1/+1
|
* Introduce index.ts file which defines public interfaceLeonid Logvinov2017-06-137-12/+7
|
* Change main file name from 0x.js.ts to 0x.tsLeonid Logvinov2017-06-127-7/+7
|