aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
Commit message (Expand)AuthorAgeFilesLines
* Add test for zeroEx.exchange.getCanceledTakerAmountAsyncLeonid Logvinov2017-06-101-3/+8
* Address feedbackLeonid Logvinov2017-06-091-1/+1
* Merge branch 'master' into fillOrderUpToAsyncLeonid2017-06-091-51/+76
|\
| * Merge branch 'master' into batchFillOrKillFabio Berger2017-06-091-251/+197
| |\
| * \ Merge branch 'master' into batchFillOrKillFabio Berger2017-06-081-0/+22
| |\ \
| * \ \ Merge branch 'master' into batchFillOrKillFabio Berger2017-06-081-23/+72
| |\ \ \
| * | | | Implement batchFillOrKill and testsFabio Berger2017-06-081-51/+76
* | | | | Add tests for fillOrdersUpToLeonid Logvinov2017-06-091-0/+34
| |_|_|/ |/| | |
* | | | Merge pull request #47 from 0xProject/is-valid-signature-contractLeonid2017-06-081-70/+0
|\ \ \ \
| * \ \ \ Merge branch 'master' into is-valid-signature-contractLeonid2017-06-081-0/+22
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Remove tests for isValidSignatureUsingContractCallAsyncLeonid Logvinov2017-06-081-78/+0
| * | | | Refactor isValidSignatureLeonid Logvinov2017-06-081-13/+21
| | |_|/ | |/| |
* | | | Merge branch 'master' into batchFillAsyncLeonid2017-06-081-0/+22
|\ \ \ \ | | |/ / | |/| |
| * | | Add getOrderHashHexUsingContractCallAsyncLeonid Logvinov2017-06-081-0/+22
| |/ /
* | | Address feedbackLeonid Logvinov2017-06-081-3/+3
* | | Merge branch 'master' into batchFillAsyncLeonid Logvinov2017-06-081-6/+78
|\| |
| * | Format inputsLeonid Logvinov2017-06-081-1/+2
| * | Merge branch 'master' into batchCancelAsyncLeonid2017-06-081-1/+99
| |\|
| | * Fix tests with removed shouldCheckTransferFabio Berger2017-06-071-6/+3
| | * merge masterFabio Berger2017-06-071-2/+51
| | |\
| | * | Implement fillOrKill & testsFabio Berger2017-06-071-1/+102
| * | | Address feedbackLeonid Logvinov2017-06-071-8/+4
* | | | Add no-op testLeonid Logvinov2017-06-081-3/+3
* | | | Add success testLeonid Logvinov2017-06-081-3/+27
* | | | Remove onlyLeonid Logvinov2017-06-071-1/+1
* | | | Merge branch 'batchCancelAsync' into batchFillAsyncLeonid Logvinov2017-06-071-12/+22
|\| | |
| * | | Refactor to use OrderCancellationRequestLeonid Logvinov2017-06-071-11/+21
| * | | Add tests for batchCancelAsyncLeonid Logvinov2017-06-071-23/+65
| | |/ | |/|
| * | Add comments for datesLeonid Logvinov2017-06-071-2/+2
* | | Move fillableAmount to initialization sectionLeonid Logvinov2017-06-071-8/+17
* | | Move initialization upLeonid Logvinov2017-06-071-15/+15
* | | Move fillOrderAsync to fill order describe blockLeonid Logvinov2017-06-071-179/+185
* | | Add tests for batchCancelAsyncLeonid Logvinov2017-06-071-23/+65
* | | Add comments for datesLeonid Logvinov2017-06-071-2/+2
|/ /
* | Address feedbackLeonid Logvinov2017-06-071-2/+2
* | Fix testsLeonid Logvinov2017-06-061-1/+1
* | Remove onlyLeonid Logvinov2017-06-061-1/+1
* | Add test when the order was already cancelled or filledLeonid Logvinov2017-06-061-0/+5
* | Add checks and tests for expired order and zero fill amountLeonid Logvinov2017-06-061-1/+17
* | Merge branch 'master' into cancelAsyncLeonid Logvinov2017-06-061-1/+2
|\|
| * Pass nonExistentSenderAddress so that we get the proper rejectionFabio Berger2017-06-061-1/+2
* | Add initial implementation with success testLeonid Logvinov2017-06-061-1/+29
|/
* Merge pull request #39 from 0xProject/senderAccountLeonid2017-06-061-33/+21
|\
| * Make methods accept senderAccountLeonid Logvinov2017-06-051-33/+21
* | Merge branch 'master' into chai-setupLeonid2017-06-061-4/+5
|\ \
| * | Add chai-as-promisedLeonid Logvinov2017-06-051-0/+2
| * | Add a couple of awaits and returns for async testsLeonid Logvinov2017-06-051-4/+4
| |/
* | Address feedbackLeonid Logvinov2017-06-061-2/+2
* | Add chai_setupLeonid Logvinov2017-06-051-5/+2
|/
* remove spaceFabio Berger2017-06-031-1/+1
* Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-2/+2
|\
| * Merge pull request #31 from 0xProject/unavailableFilledCancelledLeonid2017-06-031-8/+78
| |\
| | * Merge branch 'master' into unavailableFilledCancelledFabio Berger2017-06-031-67/+143
| | |\
| | * \ Merge branch 'fillOrderAsync' into unavailableFilledCancelledFabio Berger2017-06-021-24/+94
| | |\ \
* | | | | Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-0/+1
|\| | | |
| * | | | Add includeStack config to chai setup so that we get stackTracesFabio Berger2017-06-031-0/+1
| | |_|/ | |/| |
* | | | Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-70/+146
|\| | |
| * | | Fix undefined web3 issueFabio Berger2017-06-031-2/+2
| * | | Fix linter errorsLeonid Logvinov2017-06-031-4/+12
| * | | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-031-30/+28
| |\ \ \
| | * | | Address feedbackLeonid Logvinov2017-06-031-8/+8
| | * | | Address feedbackLeonid Logvinov2017-06-031-5/+5
| | * | | Fix test nameLeonid Logvinov2017-06-031-1/+1
| | * | | Remove spacesLeonid Logvinov2017-06-031-3/+1
| | * | | Address feedbackLeonid Logvinov2017-06-031-8/+8
| | * | | Move FillOrderValidatinErrs to ExchangeContractErrsLeonid Logvinov2017-06-031-13/+13
| | * | | Rename EXPIRED to FILL_ORDER_EXPIREDLeonid Logvinov2017-06-021-1/+1
| | * | | Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKERLeonid Logvinov2017-06-021-1/+1
| * | | | Fix orderingFabio Berger2017-06-031-1/+1
| |/ / /
| * | | rename fillTakerAmountInBaseUnits to fillTakerAmountFabio Berger2017-06-021-21/+21
| * | | Rename coinBase to coinbaseLeonid Logvinov2017-06-021-6/+6
| * | | Refactor balance & allowance testsLeonid Logvinov2017-06-021-47/+42
| * | | Add tests and checks for fees balances and allowancesLeonid Logvinov2017-06-021-1/+44
| * | | Add success test for fill with feesLeonid Logvinov2017-06-021-4/+21
| * | | Add check for ROUNDING_ERROR and test for itLeonid Logvinov2017-06-021-9/+22
| | |/ | |/|
* | | Merge branch 'fillOrderAsync' into addEventSubscriptionsFabio Berger2017-06-021-0/+25
|\| |
| * | Validate maker balance and allowance & testsLeonid Logvinov2017-06-021-0/+25
* | | Add tests for subscribeAsync, making sure events are caught and that subscrip...Fabio Berger2017-06-021-1/+83
* | | Merge branch 'fillOrderAsync' into addEventSubscriptionsFabio Berger2017-06-021-24/+69
|\| | | |/ |/|
| * Add test for valid partial fillLeonid Logvinov2017-06-021-0/+17
| * Add test for insufficient balance and make all async tests asyncLeonid Logvinov2017-06-021-15/+32
| * Introduce coinBase accountLeonid Logvinov2017-06-021-13/+20
* | Simplify testsFabio Berger2017-06-021-16/+11
* | Write tests for getUnavailableTakerAmountAsync, getFilledTakerAmountAsync and...Fabio Berger2017-06-021-8/+77
|/
* Fix testsLeonid Logvinov2017-06-021-2/+2
* WorkLeonid Logvinov2017-06-021-9/+24
* Create a FillsScenario utils module and use it in the fillOrder testsFabio Berger2017-06-021-37/+27
* Change test nameLeonid Logvinov2017-06-021-3/+2
* Make validateFillOrder asyncronousLeonid Logvinov2017-06-021-1/+2
* Add not enough taker balance testsLeonid Logvinov2017-06-021-7/+17
* Revert "Add test to check the balance"Leonid Logvinov2017-06-021-10/+0
* Add test to check the balanceLeonid Logvinov2017-06-011-0/+10
* Follow constants conventionLeonid Logvinov2017-06-011-2/+2
* remove unused argFabio Berger2017-06-011-6/+4
* Remove duplicate declarationsLeonid Logvinov2017-06-011-15/+3
* get rid of literal amount paramsFabio Berger2017-06-011-6/+16
* remove duplicate declarationsFabio Berger2017-06-011-3/+0
* Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-8/+18
|\
| * give some balance and allowance by defaultLeonid Logvinov2017-06-011-5/+4
| * Add test, for throw when order is expiredLeonid Logvinov2017-06-011-3/+14
* | Add async suffix and fix alignmentFabio Berger2017-06-011-9/+9
|/
* reorder variabledFabio Berger2017-06-011-3/+3
* remove legacy codeFabio Berger2017-06-011-1/+0
* reorder importFabio Berger2017-06-011-1/+1
* Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-9/+10
|\
| * Add shouldCheckTransferLeonid Logvinov2017-06-011-1/+1
| * Refactor testsLeonid Logvinov2017-06-011-10/+11
* | put external imports at the topFabio Berger2017-06-011-6/+6
|/
* Add comment for fillOrderAsync method, rename fillAmount to fillTakerAmountIn...Fabio Berger2017-06-011-3/+4
* Revert "Add EXPIRED test"Leonid Logvinov2017-06-011-22/+16
* Add EXPIRED testLeonid Logvinov2017-06-011-16/+22
* Add NOT_A_TAKER checkLeonid Logvinov2017-06-011-1/+10
* Add FILL_AMOUNT_IS_ZERO checkLeonid Logvinov2017-06-011-2/+2
* Add taker parameter to createSignedOrderLeonid Logvinov2017-06-011-2/+4
* Rename order to order_factoryLeonid Logvinov2017-06-011-1/+1
* Remove unnecessary checksLeonid Logvinov2017-06-011-5/+0
* Fix linter errorsLeonid Logvinov2017-06-011-8/+8
* Add dirty-chaiLeonid Logvinov2017-06-011-0/+4
* Allign parametersLeonid Logvinov2017-06-011-2/+2
* Use constLeonid Logvinov2017-06-011-1/+1
* Add setDefaultAccountLeonid Logvinov2017-06-011-2/+2
* Temp pushLeonid Logvinov2017-06-011-21/+28
* Add setAllowance functionLeonid Logvinov2017-05-311-4/+18
* Fix linter errorsLeonid Logvinov2017-05-311-1/+1
* Revert testsLeonid Logvinov2017-05-311-7/+43
* Merge branch 'erc20transfer' into fillOrderAsyncLeonid Logvinov2017-05-311-2/+0
* Refactor getOrderHash to accept order as an objectLeonid Logvinov2017-05-301-4/+3
* Add first passing testLeonid Logvinov2017-05-301-4/+5
* Temporarily remove testLeonid Logvinov2017-05-301-2/+1
* Append _test to exchange_wrapperLeonid Logvinov2017-05-301-0/+105