Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add orderFillOrKillRequestsSchema and validate using it instead of looping ↵ | Fabio Berger | 2017-06-09 | 1 | -1/+1 |
| | | | | over the requests and validating them individually | ||||
* | Merge branch 'master' into batchFillOrKill | Fabio Berger | 2017-06-09 | 3 | -314/+254 |
|\ | | | | | | | | | # Conflicts: # test/exchange_wrapper_test.ts | ||||
| * | Fix isValidSignature tests | Fabio Berger | 2017-06-09 | 1 | -16/+18 |
| | | |||||
| * | Merge pull request #48 from 0xProject/interfaceTweaks | Leonid | 2017-06-08 | 1 | -2/+2 |
| |\ | | | | | | | Interface tweaks | ||||
| | * | Merge branch 'master' into interfaceTweaks | Leonid | 2017-06-08 | 1 | -0/+22 |
| | |\ | |||||
| | * | | Make web3Wrapper protected instead of public | Fabio Berger | 2017-06-08 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge pull request #47 from 0xProject/is-valid-signature-contract | Leonid | 2017-06-08 | 2 | -121/+25 |
| |\ \ \ | | | | | | | | | | | Refactor isValidSignature | ||||
| | * \ \ | Merge branch 'master' into is-valid-signature-contract | Leonid | 2017-06-08 | 1 | -0/+22 |
| | |\ \ \ | | | | |/ | | | |/| | |||||
| | * | | | Fix linter error | Leonid Logvinov | 2017-06-08 | 1 | -3/+3 |
| | | | | | |||||
| | * | | | Rewrite isValidSignature tests | Leonid Logvinov | 2017-06-08 | 1 | -51/+25 |
| | | | | | |||||
| | * | | | Remove tests for isValidSignatureUsingContractCallAsync | Leonid Logvinov | 2017-06-08 | 1 | -78/+0 |
| | | | | | |||||
| | * | | | Refactor isValidSignature | Leonid Logvinov | 2017-06-08 | 1 | -13/+21 |
| | | |/ | | |/| | |||||
| * | | | Don't pass expressions as parameters | Leonid Logvinov | 2017-06-08 | 1 | -2/+4 |
| | | | | |||||
| * | | | Don't pass expressions as parameters | Leonid Logvinov | 2017-06-08 | 1 | -2/+4 |
| | | | | |||||
| * | | | Merge branch 'master' into batchFillAsync | Leonid | 2017-06-08 | 1 | -0/+22 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Address feedback | Leonid Logvinov | 2017-06-08 | 2 | -7/+17 |
| | | | | |||||
| * | | | Merge branch 'master' into batchFillAsync | Leonid Logvinov | 2017-06-08 | 2 | -7/+79 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Add no-op test | Leonid Logvinov | 2017-06-08 | 1 | -3/+3 |
| | | | | |||||
| * | | | Add success test | Leonid Logvinov | 2017-06-08 | 2 | -5/+33 |
| | | | | |||||
| * | | | Remove only | Leonid Logvinov | 2017-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'batchCancelAsync' into batchFillAsync | Leonid Logvinov | 2017-06-07 | 1 | -12/+22 |
| |\ \ \ | |||||
| * | | | | Move fillableAmount to initialization section | Leonid Logvinov | 2017-06-07 | 1 | -8/+17 |
| | | | | | |||||
| * | | | | Move initialization up | Leonid Logvinov | 2017-06-07 | 1 | -15/+15 |
| | | | | | |||||
| * | | | | Move fillOrderAsync to fill order describe block | Leonid Logvinov | 2017-06-07 | 1 | -179/+185 |
| | | | | | |||||
| * | | | | Add tests for batchCancelAsync | Leonid Logvinov | 2017-06-07 | 1 | -23/+65 |
| | | | | | |||||
| * | | | | Add comments for dates | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Merge branch 'master' into batchFillOrKill | Fabio Berger | 2017-06-08 | 1 | -0/+22 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | Add getOrderHashHexUsingContractCallAsync | Leonid Logvinov | 2017-06-08 | 1 | -0/+22 |
| | |_|/ | |/| | | |||||
* | | | | Merge branch 'master' into batchFillOrKill | Fabio Berger | 2017-06-08 | 1 | -23/+72 |
|\| | | | | | | | | | | | | | | | | | | | # Conflicts: # src/types.ts | ||||
| * | | | Format inputs | Leonid Logvinov | 2017-06-08 | 1 | -1/+2 |
| | | | | |||||
| * | | | Merge branch 'master' into batchCancelAsync | Leonid | 2017-06-08 | 2 | -2/+100 |
| |\ \ \ | |||||
| * | | | | Address feedback | Leonid Logvinov | 2017-06-07 | 1 | -8/+4 |
| | |_|/ | |/| | | |||||
| * | | | Refactor to use OrderCancellationRequest | Leonid Logvinov | 2017-06-07 | 1 | -11/+21 |
| | | | | |||||
| * | | | Add tests for batchCancelAsync | Leonid Logvinov | 2017-06-07 | 1 | -23/+65 |
| | | | | |||||
* | | | | Implement batchFillOrKill and tests | Fabio Berger | 2017-06-08 | 1 | -51/+76 |
| |/ / |/| | | |||||
* | | | add `hex` to function and variable name for clarity | Fabio Berger | 2017-06-07 | 1 | -1/+1 |
| | | | |||||
* | | | Fix tests with removed shouldCheckTransfer | Fabio Berger | 2017-06-07 | 1 | -6/+3 |
| | | | |||||
* | | | merge master | Fabio Berger | 2017-06-07 | 2 | -5/+52 |
|\| | | |||||
| * | | Add comments for dates | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
| |/ | |||||
| * | Address feedback | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
| | | |||||
| * | Fix tests | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Remove only | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Add test when the order was already cancelled or filled | Leonid Logvinov | 2017-06-06 | 1 | -0/+5 |
| | | |||||
| * | Add checks and tests for expired order and zero fill amount | Leonid Logvinov | 2017-06-06 | 1 | -1/+17 |
| | | |||||
| * | Merge branch 'master' into cancelAsync | Leonid Logvinov | 2017-06-06 | 2 | -3/+5 |
| |\ | |||||
| * | | Add initial implementation with success test | Leonid Logvinov | 2017-06-06 | 2 | -4/+30 |
| | | | |||||
* | | | Implement fillOrKill & tests | Fabio Berger | 2017-06-07 | 1 | -1/+102 |
| |/ |/| | |||||
* | | Pass nonExistentSenderAddress so that we get the proper rejection | Fabio Berger | 2017-06-06 | 1 | -1/+2 |
| | | |||||
* | | avoid newline issues by putting the assertion message on a single line | Fabio Berger | 2017-06-06 | 1 | -2/+3 |
|/ | |||||
* | Update schema_test.ts | Leonid | 2017-06-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #39 from 0xProject/senderAccount | Leonid | 2017-06-06 | 5 | -57/+66 |
|\ | | | | | Make methods accept senderAccount | ||||
| * | Rename isSenderAddressHexAsync to isSenderAddressAsync | Leonid Logvinov | 2017-06-06 | 1 | -3/+3 |
| | | |||||
| * | Last round of renamings | Leonid Logvinov | 2017-06-06 | 2 | -13/+13 |
| | | |||||
| * | Use variable name in assertin message | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Remove unused variable | Leonid Logvinov | 2017-06-06 | 1 | -1/+0 |
| | | |||||
| * | Rename accounts to addreses | Leonid Logvinov | 2017-06-06 | 3 | -3/+3 |
| | | |||||
| * | Remove message param from before | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsync | Leonid Logvinov | 2017-06-06 | 1 | -3/+3 |
| | | |||||
| * | Add tests for isSenderAccountHexAsync | Leonid Logvinov | 2017-06-06 | 1 | -0/+33 |
| | | |||||
| * | Make methods accept senderAccount | Leonid Logvinov | 2017-06-05 | 4 | -57/+34 |
| | | |||||
* | | Merge pull request #35 from 0xProject/chai-setup | Leonid | 2017-06-06 | 5 | -18/+22 |
|\ \ | | | | | | | Add chai_setup | ||||
| * | | Update chai_setup.ts | Leonid | 2017-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into chai-setup | Leonid | 2017-06-06 | 2 | -4/+16 |
| |\ \ | |||||
| * | | | Address feedback | Leonid Logvinov | 2017-06-06 | 5 | -12/+12 |
| | | | | |||||
| * | | | Add chai_setup | Leonid Logvinov | 2017-06-05 | 5 | -17/+22 |
| | |/ | |/| | |||||
* | | | Merge pull request #34 from 0xProject/number-regex | Leonid | 2017-06-06 | 1 | -0/+46 |
|\ \ \ | |_|/ |/| | | Add tests to number regex and BigNumber serialization & fix bugs | ||||
| * | | Address feedback | Leonid Logvinov | 2017-06-06 | 1 | -18/+23 |
| | | | |||||
| * | | Add tests to number regex and BigNumber serialization & fix bugs | Leonid Logvinov | 2017-06-05 | 1 | -0/+41 |
| |/ | |||||
* | | Merge pull request #38 from 0xProject/async-errors | Leonid | 2017-06-06 | 1 | -4/+6 |
|\ \ | | | | | | | Add a couple of awaits and returns for async tests | ||||
| * | | Add chai-as-promised | Leonid Logvinov | 2017-06-05 | 1 | -0/+2 |
| | | | |||||
| * | | Add a couple of awaits and returns for async tests | Leonid Logvinov | 2017-06-05 | 1 | -4/+4 |
| |/ | |||||
* | | Address feedback | Leonid Logvinov | 2017-06-06 | 1 | -1/+2 |
| | | |||||
* | | Add regression test for transferFrom bug | Leonid Logvinov | 2017-06-05 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #32 from 0xProject/addEventSubscriptions | Fabio Berger | 2017-06-03 | 2 | -5/+87 |
|\ | | | | | Implement zeroEx.exchange.subscribeAsync | ||||
| * | remove space | Fabio Berger | 2017-06-03 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 2 | -9/+5 |
| |\ | | | | | | | | | | | | | | | | | | | # Conflicts: # src/types.ts # test/exchange_wrapper_test.ts # test/utils/fill_scenarios.ts | ||||
| * \ | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 4 | -0/+4 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 4 | -98/+252 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts | ||||
| * \ \ \ | Merge branch 'fillOrderAsync' into addEventSubscriptions | Fabio Berger | 2017-06-02 | 1 | -0/+25 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts | ||||
| * | | | | | Add tests for subscribeAsync, making sure events are caught and that ↵ | Fabio Berger | 2017-06-02 | 1 | -1/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | subscriptions are removed on provider change | ||||
| * | | | | | Implement zeroEx.exchange.subscribeAsync made sure to clean up subscriptions ↵ | Fabio Berger | 2017-06-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | if user updates the provider | ||||
| * | | | | | Merge branch 'fillOrderAsync' into addEventSubscriptions | Fabio Berger | 2017-06-02 | 2 | -29/+80 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/0x.js.ts # test/exchange_wrapper_test.ts | ||||
* | \ \ \ \ \ | Merge branch 'master' into remainingTokenMethods | Fabio Berger | 2017-06-03 | 2 | -8/+96 |
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/token_wrapper.ts | ||||
| * | | | | | | Merge pull request #31 from 0xProject/unavailableFilledCancelled | Leonid | 2017-06-03 | 2 | -8/+96 |
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | Implement Unavailable, Filled and Cancelled | ||||
| | * | | | | | Merge branch 'master' into unavailableFilledCancelled | Fabio Berger | 2017-06-03 | 4 | -99/+249 |
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts | ||||
| | * | | | | | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 2 | -29/+105 |
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | / | | | | |_|/ | | | |/| | | | | | | | | # Conflicts: # src/0x.js.ts # test/exchange_wrapper_test.ts | ||||
| | * | | | | Simplify tests | Fabio Berger | 2017-06-02 | 1 | -16/+11 |
| | | | | | | |||||
| | * | | | | Write tests for getUnavailableTakerAmountAsync, getFilledTakerAmountAsync ↵ | Fabio Berger | 2017-06-02 | 2 | -8/+97 |
| | | | | | | | | | | | | | | | | | | | | | | | | and getCanceledTakerAmountAsync | ||||
* | | | | | | Fix bug | Fabio Berger | 2017-06-03 | 1 | -7/+5 |
| | | | | | | |||||
* | | | | | | Merge branch 'master' into remainingTokenMethods | Fabio Berger | 2017-06-03 | 9 | -145/+536 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/types.ts # src/web3_wrapper.ts | ||||
| * | | | | | Add includeStack config to chai setup so that we get stackTraces | Fabio Berger | 2017-06-03 | 4 | -0/+4 |
| | |_|/ / | |/| | | | |||||
| * | | | | Fix undefined web3 issue | Fabio Berger | 2017-06-03 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Fix linter errors | Leonid Logvinov | 2017-06-03 | 1 | -4/+12 |
| | | | | | |||||
| * | | | | Address feedback | Leonid Logvinov | 2017-06-03 | 2 | -3/+5 |
| | | | | | |||||
| * | | | | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-03 | 3 | -36/+34 |
| |\ \ \ \ | |||||
| | * | | | | Address feedback | Leonid Logvinov | 2017-06-03 | 1 | -8/+8 |
| | | | | | | |||||
| | * | | | | Address feedback | Leonid Logvinov | 2017-06-03 | 2 | -10/+10 |
| | | | | | | |||||
| | * | | | | Fix test name | Leonid Logvinov | 2017-06-03 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Add ZRX_TOKEN_NOT_IN_REGISTRY | Leonid Logvinov | 2017-06-03 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Remove spaces | Leonid Logvinov | 2017-06-03 | 1 | -3/+1 |
| | | | | | | |||||
| | * | | | | Address feedback | Leonid Logvinov | 2017-06-03 | 1 | -8/+8 |
| | | | | | | |||||
| | * | | | | Move FillOrderValidatinErrs to ExchangeContractErrs | Leonid Logvinov | 2017-06-03 | 1 | -13/+13 |
| | | | | | | |||||
| | * | | | | Rename EXPIRED to FILL_ORDER_EXPIRED | Leonid Logvinov | 2017-06-02 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER | Leonid Logvinov | 2017-06-02 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Fix ordering | Fabio Berger | 2017-06-03 | 1 | -1/+1 |
| |/ / / / | |||||
| * | | | | rename fillTakerAmountInBaseUnits to fillTakerAmount | Fabio Berger | 2017-06-02 | 1 | -21/+21 |
| | | | | | |||||
| * | | | | Rename coinBase to coinbase | Leonid Logvinov | 2017-06-02 | 2 | -12/+12 |
| | | | | | |||||
| * | | | | Refactor balance & allowance tests | Leonid Logvinov | 2017-06-02 | 1 | -47/+42 |
| | | | | | |||||
| * | | | | Add tests and checks for fees balances and allowances | Leonid Logvinov | 2017-06-02 | 1 | -1/+44 |
| | | | | | |||||
| * | | | | Add success test for fill with fees | Leonid Logvinov | 2017-06-02 | 2 | -5/+33 |
| | | | | | |||||
| * | | | | Add token utils | Leonid Logvinov | 2017-06-02 | 1 | -0/+23 |
| | | | | | |||||
| * | | | | Add fill scenario with fees | Leonid Logvinov | 2017-06-02 | 2 | -10/+41 |
| | | | | | |||||
| * | | | | Add check for ROUNDING_ERROR and test for it | Leonid Logvinov | 2017-06-02 | 2 | -18/+40 |
| | |/ / | |/| | | |||||
| * | | | Validate maker balance and allowance & tests | Leonid Logvinov | 2017-06-02 | 1 | -0/+25 |
| | |/ | |/| | |||||
| * | | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-02 | 1 | -0/+17 |
| |\ \ | |||||
| | * | | Add test for valid partial fill | Leonid Logvinov | 2017-06-02 | 1 | -0/+17 |
| | | | | |||||
| * | | | Fix getTransactionSenderAccountIfExistsAsync to return true senderAddress or ↵ | Fabio Berger | 2017-06-02 | 1 | -2/+2 |
| |/ / | | | | | | | | | | undefined if non available | ||||
| * | | Add test for insufficient balance and make all async tests async | Leonid Logvinov | 2017-06-02 | 1 | -15/+32 |
| | | | |||||
| * | | Introduce coinBase account | Leonid Logvinov | 2017-06-02 | 2 | -16/+29 |
| |/ | | | | | | | | | | | Add makerAccount parameter Adjust tests Add more assertions to success test | ||||
| * | Fix tests | Leonid Logvinov | 2017-06-02 | 1 | -2/+2 |
| | | |||||
| * | Work | Leonid Logvinov | 2017-06-02 | 2 | -15/+30 |
| | | |||||
| * | Create a FillsScenario utils module and use it in the fillOrder tests | Fabio Berger | 2017-06-02 | 2 | -37/+56 |
| | | |||||
| * | Change test name | Leonid Logvinov | 2017-06-02 | 1 | -3/+2 |
| | | |||||
| * | Make validateFillOrder asyncronous | Leonid Logvinov | 2017-06-02 | 1 | -1/+2 |
| | | |||||
| * | Add not enough taker balance tests | Leonid Logvinov | 2017-06-02 | 1 | -7/+17 |
| | | |||||
| * | Revert "Add test to check the balance" | Leonid Logvinov | 2017-06-02 | 1 | -10/+0 |
| | | | | | | | | This reverts commit 389c18e98e2b5663b1732d7c34f9b21afef66e44. | ||||
| * | Add test to check the balance | Leonid Logvinov | 2017-06-01 | 1 | -0/+10 |
| | | |||||
| * | rename variable | Fabio Berger | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Follow constants convention | Leonid Logvinov | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Fix getOrderHashAsync test | Fabio Berger | 2017-06-01 | 1 | -0/+13 |
| | | |||||
| * | remove unused arg | Fabio Berger | 2017-06-01 | 2 | -7/+4 |
| | | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 1 | -15/+3 |
| |\ | |||||
| | * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Leonid Logvinov | 2017-06-01 | 1 | -2/+2 |
| | |\ | |||||
| | * | | Remove duplicate declarations | Leonid Logvinov | 2017-06-01 | 1 | -15/+3 |
| | | | | |||||
| * | | | Add missing comma and semi-colon | Fabio Berger | 2017-06-01 | 1 | -2/+2 |
| | | | | |||||
| * | | | Stop passing exchangeAddress into getOrderHash and instead get it from the ↵ | Fabio Berger | 2017-06-01 | 2 | -24/+23 |
| | |/ | |/| | | | | | | | artifacts | ||||
| * | | move external imports to top | Fabio Berger | 2017-06-01 | 1 | -2/+2 |
| |/ | |||||
| * | get rid of literal amount params | Fabio Berger | 2017-06-01 | 1 | -6/+16 |
| | | |||||
| * | remove duplicate declarations | Fabio Berger | 2017-06-01 | 1 | -3/+0 |
| | | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 1 | -8/+18 |
| |\ | | | | | | | | | | | | | # Conflicts: # test/exchange_wrapper_test.ts | ||||
| | * | give some balance and allowance by default | Leonid Logvinov | 2017-06-01 | 1 | -5/+4 |
| | | | |||||
| | * | Add test, for throw when order is expired | Leonid Logvinov | 2017-06-01 | 1 | -3/+14 |
| | | | |||||
| * | | Add async suffix and fix alignment | Fabio Berger | 2017-06-01 | 1 | -9/+9 |
| |/ | |||||
| * | reorder variabled | Fabio Berger | 2017-06-01 | 1 | -3/+3 |
| | | |||||
| * | remove legacy code | Fabio Berger | 2017-06-01 | 1 | -1/+0 |
| | | |||||
| * | reorder import | Fabio Berger | 2017-06-01 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 1 | -9/+10 |
| |\ | |||||
| | * | Add shouldCheckTransfer | Leonid Logvinov | 2017-06-01 | 1 | -1/+1 |
| | | | |||||
| | * | Refactor tests | Leonid Logvinov | 2017-06-01 | 1 | -10/+11 |
| | | | |||||
| * | | put external imports at the top | Fabio Berger | 2017-06-01 | 1 | -6/+6 |
| | | | |||||
| * | | remove comment | Fabio Berger | 2017-06-01 | 1 | -1/+0 |
| |/ | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 1 | -3/+7 |
| |\ | |||||
| | * | Add timestamp parameter to order factory | Leonid Logvinov | 2017-06-01 | 1 | -3/+7 |
| | | | |||||
| * | | Add comment for fillOrderAsync method, rename fillAmount to ↵ | Fabio Berger | 2017-06-01 | 1 | -3/+4 |
| |/ | | | | | | | fillTakerAmountInBaseUnits and remove default value for shouldCheckTransfer | ||||
| * | Revert "Add EXPIRED test" | Leonid Logvinov | 2017-06-01 | 2 | -29/+19 |
| | | | | | | | | This reverts commit d8e35c364ea94b606810b340fb02d8706e257c3c. | ||||
| * | Add EXPIRED test | Leonid Logvinov | 2017-06-01 | 2 | -19/+29 |
| | | |||||
| * | Fix tests | Leonid Logvinov | 2017-06-01 | 1 | -8/+2 |
| | | |||||
| * | Add NOT_A_TAKER check | Leonid Logvinov | 2017-06-01 | 1 | -1/+10 |
| | | |||||
| * | Add FILL_AMOUNT_IS_ZERO check | Leonid Logvinov | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Add taker parameter to createSignedOrder | Leonid Logvinov | 2017-06-01 | 2 | -3/+6 |
| | | |||||
| * | Rename order to order_factory | Leonid Logvinov | 2017-06-01 | 2 | -1/+1 |
| | | |||||
| * | Remove unnecessary checks | Leonid Logvinov | 2017-06-01 | 1 | -5/+0 |
| | | |||||
| * | Fix linter errors | Leonid Logvinov | 2017-06-01 | 2 | -22/+24 |
| | | |||||
| * | Add dirty-chai | Leonid Logvinov | 2017-06-01 | 1 | -0/+4 |
| | | |||||
| * | Allign parameters | Leonid Logvinov | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Use const | Leonid Logvinov | 2017-06-01 | 1 | -1/+1 |
| | | |||||
| * | Add setDefaultAccount | Leonid Logvinov | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Temp push | Leonid Logvinov | 2017-06-01 | 2 | -55/+58 |
| | | |||||
| * | Merge branch 'master' into fillOrderAsync | Leonid Logvinov | 2017-06-01 | 1 | -26/+28 |
| |\ | |||||
| * | | Add setAllowance function | Leonid Logvinov | 2017-05-31 | 1 | -4/+18 |
| | | | |||||
| * | | Fix linter errors | Leonid Logvinov | 2017-05-31 | 1 | -1/+1 |
| | | | |||||
| * | | Remove debug output | Leonid Logvinov | 2017-05-31 | 1 | -3/+0 |
| | | | |||||
| * | | Revert tests | Leonid Logvinov | 2017-05-31 | 1 | -7/+43 |
| | | | |||||
| * | | Add createSignedOrder function | Leonid Logvinov | 2017-05-31 | 1 | -6/+23 |
| | | | |||||
| * | | Merge branch 'erc20transfer' into fillOrderAsync | Leonid Logvinov | 2017-05-31 | 2 | -2/+111 |
| |\ \ | |||||
| * | | | Refactor getOrderHash to accept order as an object | Leonid Logvinov | 2017-05-30 | 3 | -46/+43 |
| | | | | |||||
| * | | | Remove fixture | Leonid Logvinov | 2017-05-30 | 1 | -35/+0 |
| | | | | |||||
| * | | | Add first passing test | Leonid Logvinov | 2017-05-30 | 1 | -4/+5 |
| | | | | |||||
| * | | | replace test fixture with the one from testrpc | Leonid Logvinov | 2017-05-30 | 2 | -35/+35 |
| | | | | |||||
| * | | | Fix import | Leonid Logvinov | 2017-05-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'master' into fillOrderAsync | Leonid Logvinov | 2017-05-30 | 3 | -7/+82 |
| |\ \ \ | |||||
| * | | | | Temporarily remove test | Leonid Logvinov | 2017-05-30 | 1 | -2/+1 |
| | | | | | |||||
| * | | | | Append _test to exchange_wrapper | Leonid Logvinov | 2017-05-30 | 1 | -1/+11 |
| | | | | | |||||
| * | | | | Add order utils | Leonid Logvinov | 2017-05-30 | 1 | -0/+21 |
| | | | | | |||||
| * | | | | Add first order fixture | Leonid Logvinov | 2017-05-30 | 1 | -0/+35 |
| | | | | | |||||
| * | | | | Merge branch 'master' into fillOrderAsync | Leonid Logvinov | 2017-05-30 | 1 | -0/+0 |
| |\ \ \ \ | |||||
| * | | | | | Finish ecSignature renaming | Leonid Logvinov | 2017-05-30 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | remove unneeded calls to toBaseUnitAmount | Fabio Berger | 2017-06-02 | 1 | -8/+4 |
| | | | | | | |||||
* | | | | | | pass numbers to BigNumber unless it's too big for the number type | Fabio Berger | 2017-06-02 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | use BigNumber(0) instead of with a string zero | Fabio Berger | 2017-06-02 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | Add balance check to `transferAsync` and related test | Fabio Berger | 2017-06-02 | 1 | -3/+14 |
| | | | | | | |||||
* | | | | | | Add tests for transferFromAsync, setAllowanceAsync and getAllowanceAsync and ↵ | Fabio Berger | 2017-06-02 | 1 | -21/+125 |
| |_|_|_|/ |/| | | | | | | | | | | | | | | fix up other test issues | ||||
* | | | | | Address feedback | Leonid Logvinov | 2017-05-31 | 1 | -26/+28 |
| |_|_|/ |/| | | | |||||
* | | | | Add transfer function and tests for it | Leonid Logvinov | 2017-05-31 | 1 | -0/+19 |
| | | | | |||||
* | | | | remove unused imports | Fabio Berger | 2017-05-30 | 2 | -4/+0 |
| | | | | |||||
* | | | | Add test for setProxyAllowanceAsync and additional test for ↵ | Fabio Berger | 2017-05-30 | 1 | -2/+32 |
| | | | | | | | | | | | | | | | | getProxyAllowanceAsync | ||||
* | | | | remove spaces after it keyword | Fabio Berger | 2017-05-30 | 1 | -2/+2 |
| | | | | |||||
* | | | | Add first test for getProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 1 | -0/+9 |
| | | | | |||||
* | | | | use token instead of erc20 | Fabio Berger | 2017-05-30 | 1 | -3/+3 |
| | | | | |||||
* | | | | rename erc20Wrapper to tokenWrapper to be more generic in case we end up ↵ | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | supporting another spec | ||||
* | | | | Merge branch 'master' into erc20Wrapper | Fabio Berger | 2017-05-30 | 4 | -10/+41 |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | # Conflicts: # src/0x.js.ts | ||||
| * | | | use .be.undefined instead of .be.an('undefined') | Fabio Berger | 2017-05-30 | 1 | -4/+4 |
| | | | | |||||
| * | | | Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter ↵ | Fabio Berger | 2017-05-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | that instantiates contract instance if not already instantiated | ||||
| * | | | Also test that web3Wrapper nested under tokenRegistryWrapper has updated ↵ | Fabio Berger | 2017-05-30 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | provider | ||||
| * | | | add assertions that contractInstances are not undefined before provider update | Fabio Berger | 2017-05-30 | 1 | -0/+2 |
| | | | | |||||
| * | | | Also instantiate tokenRegistry contract instance | Fabio Berger | 2017-05-30 | 1 | -1/+2 |
| | | | | |||||
| * | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | |||||
| * | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | |||||
| * | | | Make tokenRegistry contract instantiation lazy and clear it on provider update | Fabio Berger | 2017-05-30 | 1 | -1/+2 |
| | | | | |||||
| * | | | Merge branch 'master' into dontReinstantiateContractInstances | Fabio Berger | 2017-05-30 | 1 | -0/+43 |
| |\ \ \ | |||||
| | * \ \ | Merge branch 'master' into tokenRegistry | Fabio Berger | 2017-05-30 | 1 | -4/+4 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/0x.js.ts | ||||
| | * | | | | use to.have.lengthOf | Fabio Berger | 2017-05-30 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Add tests for setProvider | Fabio Berger | 2017-05-30 | 2 | -3/+30 |
| | |/ / / | |/| | | | |||||
| * | | | | make web3Wrapper a private instance variable | Fabio Berger | 2017-05-30 | 1 | -4/+4 |
| | |_|/ | |/| | | |||||
* | | | | Merge branch 'tokenRegistry' into erc20Wrapper | Fabio Berger | 2017-05-30 | 1 | -0/+0 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistry | Fabio Berger | 2017-05-30 | 1 | -0/+0 |
| |\| | | |||||
| | * | | name exchangeWrapper test file properly | Fabio Berger | 2017-05-30 | 1 | -0/+0 |
| | |/ | |||||
* | / | Add tests for getBalanceAsync | Fabio Berger | 2017-05-30 | 1 | -0/+55 |
|/ / | |||||
* / | Add tests for getTokensAsync including schema validation | Fabio Berger | 2017-05-30 | 1 | -0/+43 |
|/ | |||||
* | Fix typos | Fabio Berger | 2017-05-29 | 1 | -2/+2 |
| | |||||
* | empty stubs array before next test runs | Fabio Berger | 2017-05-29 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into addSignOrderHashAndTests | Fabio Berger | 2017-05-29 | 2 | -15/+12 |
|\ | | | | | | | | | | | | | # Conflicts: # package.json # src/globals.d.ts # test/0x.js_test.ts | ||||
| * | Merge pull request #16 from 0xProject/umd-tests | Fabio Berger | 2017-05-29 | 2 | -15/+12 |
| |\ | | | | | | | Umd tests | ||||
| | * | Use only 0x public interface in contract wrapper tests | Leonid Logvinov | 2017-05-29 | 1 | -14/+11 |
| | | | |||||
| | * | Use constants from test utils | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
* | | | Use disable-next-line instead of disable and always put rule that is being ↵ | Fabio Berger | 2017-05-29 | 1 | -4/+2 |
| | | | | | | | | | | | | disabled | ||||
* | | | Implement tests for signOrderHashAsync that test the logic for Parity < ↵ | Fabio Berger | 2017-05-29 | 1 | -0/+72 |
|/ / | | | | | | | v1.6.6, >1.6.6 and other nodes | ||||
* / | don't use uppercase for constant variable unless it's global to the entire file | Fabio Berger | 2017-05-29 | 1 | -3/+3 |
|/ | |||||
* | Fix imports | Leonid Logvinov | 2017-05-29 | 2 | -4/+4 |
| | |||||
* | Merge branch 'master' of github.com:0xProject/0x.js | Fabio Berger | 2017-05-29 | 6 | -2/+197 |
|\ | | | | | | | | | | | # Conflicts: # src/ts/0x.js.ts # src/ts/utils/utils.ts | ||||
| * | improve comment | Fabio Berger | 2017-05-27 | 1 | -1/+2 |
| | | |||||
| * | rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, ↵ | Fabio Berger | 2017-05-27 | 2 | -7/+7 |
| | | | | | | | | restoreAsync to revertAsync | ||||
| * | import reorder | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | |||||
| * | remove stray console log | Fabio Berger | 2017-05-26 | 1 | -1/+0 |
| | | |||||
| * | Add missing return types | Fabio Berger | 2017-05-26 | 2 | -4/+4 |
| | | |||||
| * | Setup blockchain snapshotting before/after every test, implemented unit ↵ | Fabio Berger | 2017-05-26 | 5 | -0/+194 |
| | | | | | | | | tests for exchangeWrapper.isValidSignature | ||||
| * | Postfix test files with `_test` | Fabio Berger | 2017-05-26 | 1 | -0/+0 |
|/ | |||||
* | Address feedback | Leonid Logvinov | 2017-05-26 | 1 | -4/+5 |
| | |||||
* | Port getOrderHash | Leonid Logvinov | 2017-05-25 | 1 | -0/+37 |
| | |||||
* | Fix braces | Leonid Logvinov | 2017-05-25 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into isValidOrderHash | Leonid | 2017-05-25 | 1 | -1/+22 |
|\ | |||||
| * | Add toUnitAmount and toBaseUnitAmount static helpers and tests | Fabio Berger | 2017-05-25 | 1 | -1/+24 |
| | | |||||
* | | Address feedback | Leonid Logvinov | 2017-05-25 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'master' into isValidOrderHash | Leonid | 2017-05-25 | 1 | -10/+6 |
|\| | |||||
| * | Use expect.to.throw | Fabio Berger | 2017-05-25 | 1 | -24/+4 |
| | | |||||
| * | Merge branch 'master' into addSchemas | Fabio Berger | 2017-05-25 | 1 | -0/+13 |
| |\ | | | | | | | | | | | | | # Conflicts: # package.json | ||||
| * | | remove stray console log | Fabio Berger | 2017-05-25 | 1 | -1/+0 |
| | | | |||||
| * | | Fix malformed tests to check for thrown assertion | Fabio Berger | 2017-05-25 | 1 | -10/+27 |
| | | | |||||
* | | | Fix tests | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | | |||||
* | | | Port isValidOrderHash and tests | Leonid Logvinov | 2017-05-25 | 1 | -0/+10 |
| |/ |/| |