Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 5 | -36/+128 |
|\ | | | | | | | | | | | # Conflicts: # src/0x.js.ts # test/exchange_wrapper_test.ts | ||||
| * | Validate maker balance and allowance & tests | Leonid Logvinov | 2017-06-02 | 2 | -4/+39 |
| | | |||||
| * | 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 | 3 | -6/+7 |
| |/ | | | | | | | undefined if non available | ||||
| * | Add test for insufficient balance and make all async tests async | Leonid Logvinov | 2017-06-02 | 2 | -15/+35 |
| | | |||||
| * | Introduce coinBase account | Leonid Logvinov | 2017-06-02 | 4 | -16/+38 |
| | | | | | | | | | | | | Add makerAccount parameter Adjust tests Add more assertions to success test | ||||
* | | Simplify tests | Fabio Berger | 2017-06-02 | 1 | -16/+11 |
| | | |||||
* | | improve comment | Fabio Berger | 2017-06-02 | 1 | -1/+4 |
| | | |||||
* | | Add comment about the isString assertion lest the next developer tries to ↵ | Fabio Berger | 2017-06-02 | 1 | -0/+2 |
| | | | | | | | | use a stricter assertion (i.e isHexString) which we intentionally did not do | ||||
* | | Write tests for getUnavailableTakerAmountAsync, getFilledTakerAmountAsync ↵ | Fabio Berger | 2017-06-02 | 3 | -11/+106 |
| | | | | | | | | and getCanceledTakerAmountAsync | ||||
* | | Always wrap BigNumbers returned by web3 with our own version and add comment | Fabio Berger | 2017-06-02 | 2 | -5/+11 |
| | | |||||
* | | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 5 | -44/+82 |
|\| | |||||
| * | 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 | 5 | -42/+67 |
| | | |||||
| * | Change test name | Leonid Logvinov | 2017-06-02 | 1 | -3/+2 |
| | | |||||
* | | fix tslint error | Fabio Berger | 2017-06-02 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 4 | -12/+39 |
|\| | |||||
| * | Make validateFillOrder asyncronous | Leonid Logvinov | 2017-06-02 | 2 | -3/+4 |
| | | |||||
| * | Add not enough taker balance tests | Leonid Logvinov | 2017-06-02 | 4 | -11/+37 |
| | | |||||
* | | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 1 | -10/+0 |
|\| | |||||
| * | Revert "Add test to check the balance" | Leonid Logvinov | 2017-06-02 | 1 | -10/+0 |
| | | | | | | | | This reverts commit 389c18e98e2b5663b1732d7c34f9b21afef66e44. | ||||
* | | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 18 | -285/+984 |
|\| | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # src/utils/assert.ts | ||||
| * | 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 |
| | | |||||
| * | Fix import | Fabio Berger | 2017-06-01 | 1 | -1/+1 |
| | | |||||
| * | 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 | 3 | -52/+64 |
| | |/ | |/| | | | | | | | 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 |
| |/ | |||||
| * | rename txData to txOpts | Fabio Berger | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | remove superfluous param | Fabio Berger | 2017-06-01 | 1 | -1/+1 |
| | | |||||
| * | remove unused arg | Fabio Berger | 2017-06-01 | 1 | -2/+1 |
| | | |||||
| * | remove unneeded method | Fabio Berger | 2017-06-01 | 1 | -5/+1 |
| | | |||||
| * | improve comment | Fabio Berger | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 4 | -4/+12 |
| |\ | |||||
| | * | Add timestamp parameter to order factory | Leonid Logvinov | 2017-06-01 | 1 | -3/+7 |
| | | | |||||
| | * | Add expired check | Leonid Logvinov | 2017-06-01 | 1 | -0/+3 |
| | | | |||||
| | * | Add EXPIRED error type | Leonid Logvinov | 2017-06-01 | 1 | -0/+1 |
| | | | |||||
| | * | Increase mocha timeout | Leonid Logvinov | 2017-06-01 | 1 | -1/+1 |
| | | | |||||
| * | | Add comment for fillOrderAsync method, rename fillAmount to ↵ | Fabio Berger | 2017-06-01 | 2 | -9/+15 |
| |/ | | | | | | | fillTakerAmountInBaseUnits and remove default value for shouldCheckTransfer | ||||
| * | Revert "Add EXPIRED test" | Leonid Logvinov | 2017-06-01 | 5 | -34/+20 |
| | | | | | | | | This reverts commit d8e35c364ea94b606810b340fb02d8706e257c3c. | ||||
| * | Get getSenderAddressOrThrowAsync everywhere where we throw if the ↵ | Fabio Berger | 2017-06-01 | 2 | -15/+12 |
| | | | | | | | | senderAddress doesn't exist | ||||
| * | Add ExchangeContractErrs string enum | Fabio Berger | 2017-06-01 | 2 | -8/+17 |
| | | |||||
| * | fix formatting | Fabio Berger | 2017-06-01 | 1 | -4/+2 |
| | | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 6 | -28/+63 |
| |\ | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts | ||||
| | * | Add EXPIRED test | Leonid Logvinov | 2017-06-01 | 5 | -21/+35 |
| | | | |||||
| | * | Fix tests | Leonid Logvinov | 2017-06-01 | 1 | -8/+2 |
| | | | |||||
| | * | Add NOT_A_TAKER check | Leonid Logvinov | 2017-06-01 | 3 | -1/+14 |
| | | | |||||
| | * | Add FILL_AMOUNT_IS_ZERO check | Leonid Logvinov | 2017-06-01 | 3 | -2/+16 |
| | | | |||||
| * | | Rename ExchangeContractErrs to ExchangeContractErrCodes | Fabio Berger | 2017-06-01 | 2 | -10/+10 |
| |/ | |||||
| * | Make taker required on Order object and expect NULL_ADDRESS from 0x.js | Fabio Berger | 2017-06-01 | 4 | -7/+6 |
| | | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 2 | -9/+7 |
| |\ | |||||
| | * | 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 |
| | | | |||||
| * | | rename signed_order_schema to order_schemas | Fabio Berger | 2017-06-01 | 4 | -3/+3 |
| |/ | |||||
| * | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync | Fabio Berger | 2017-06-01 | 4 | -46/+365 |
| |\ | |||||
| | * | Fix types hell with, chai and chai-as-promised | Leonid Logvinov | 2017-06-01 | 4 | -46/+365 |
| | | | |||||
| * | | Add convertToJSONSchemaCompatibleObject method | Fabio Berger | 2017-06-01 | 3 | -2/+15 |
| | | | |||||
| * | | move external imports to top | Fabio Berger | 2017-06-01 | 1 | -2/+2 |
| |/ | |||||
| * | make bigNumberConfig a module | Fabio Berger | 2017-06-01 | 2 | -9/+13 |
| | | |||||
| * | Fix linter errors | Leonid Logvinov | 2017-06-01 | 3 | -22/+28 |
| | | |||||
| * | Add dirty-chai | Leonid Logvinov | 2017-06-01 | 4 | -26/+16 |
| | | |||||
| * | Type estimateGas | Leonid Logvinov | 2017-06-01 | 1 | -4/+6 |
| | | |||||
| * | Allign parameters | Leonid Logvinov | 2017-06-01 | 1 | -2/+2 |
| | | |||||
| * | Remove TxData | Leonid Logvinov | 2017-06-01 | 1 | -5/+1 |
| | | |||||
| * | Temporarily fix gas extimation | Leonid Logvinov | 2017-06-01 | 1 | -0/+13 |
| | | |||||
| * | Use const | Leonid Logvinov | 2017-06-01 | 1 | -1/+1 |
| | | |||||
| * | Add setDefaultAccount | Leonid Logvinov | 2017-06-01 | 3 | -2/+12 |
| | | |||||
| * | Temp push | Leonid Logvinov | 2017-06-01 | 2 | -55/+58 |
| | | |||||
| * | Merge branch 'master' into fillOrderAsync | Leonid Logvinov | 2017-06-01 | 5 | -43/+4064 |
| |\ | |||||
| * | | Add setAllowance function | Leonid Logvinov | 2017-05-31 | 1 | -4/+18 |
| | | | |||||
| * | | Fix linter errors | Leonid Logvinov | 2017-05-31 | 4 | -5/+5 |
| | | | |||||
| * | | 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 |
| | | | |||||
| * | | Don't return contract response | Leonid Logvinov | 2017-05-31 | 1 | -2/+1 |
| | | | |||||
| * | | Set bignumber config | Leonid Logvinov | 2017-05-31 | 2 | -0/+11 |
| | | | |||||
| * | | Fix linter command | Leonid Logvinov | 2017-05-31 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'erc20transfer' into fillOrderAsync | Leonid Logvinov | 2017-05-31 | 6 | -2/+242 |
| |\ \ | |||||
| * | | | Refactor getOrderHash to accept order as an object | Leonid Logvinov | 2017-05-30 | 5 | -78/+61 |
| | | | | |||||
| * | | | Remove spaces in types | Leonid Logvinov | 2017-05-30 | 1 | -4/+0 |
| | | | | |||||
| * | | | Remove fixture | Leonid Logvinov | 2017-05-30 | 1 | -35/+0 |
| | | | | |||||
| * | | | Add first passing test | Leonid Logvinov | 2017-05-30 | 1 | -4/+5 |
| | | | | |||||
| * | | | Add isBigNumber argument assertion | Leonid Logvinov | 2017-05-30 | 1 | -0/+1 |
| | | | | |||||
| * | | | 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 | 10 | -13/+191 |
| |\ \ \ | |||||
| * | | | | Temporarily remove test | Leonid Logvinov | 2017-05-30 | 1 | -2/+1 |
| | | | | | |||||
| * | | | | Add throwErrorLogsAsErrors | Leonid Logvinov | 2017-05-30 | 1 | -6/+10 |
| | | | | | |||||
| * | | | | Append _test to exchange_wrapper | Leonid Logvinov | 2017-05-30 | 1 | -1/+11 |
| | | | | | |||||
| * | | | | Add order utils | Leonid Logvinov | 2017-05-30 | 1 | -0/+21 |
| | | | | | |||||
| * | | | | Fix order type | Leonid Logvinov | 2017-05-30 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Fix orderSchema | Leonid Logvinov | 2017-05-30 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Add fillAmount parameter | Leonid Logvinov | 2017-05-30 | 1 | -2/+3 |
| | | | | | |||||
| * | | | | Add copy_fixtures command | Leonid Logvinov | 2017-05-30 | 1 | -2/+3 |
| | | | | | |||||
| * | | | | Make fillOrderAsync accept signedOrder instead of a shit-ton of params | Leonid Logvinov | 2017-05-30 | 1 | -35/+21 |
| | | | | | |||||
| * | | | | Change BigNumber schema to Number schema | Leonid Logvinov | 2017-05-30 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Change BigNumber schema to Number schema | Leonid Logvinov | 2017-05-30 | 1 | -11/+10 |
| | | | | | |||||
| * | | | | Add id to signedOrderSchema | Leonid Logvinov | 2017-05-30 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Add first order fixture | Leonid Logvinov | 2017-05-30 | 1 | -0/+35 |
| | | | | | |||||
| * | | | | Add isBoolean assertion | Leonid Logvinov | 2017-05-30 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | Add signedOrderSchema and all subschemas | Leonid Logvinov | 2017-05-30 | 2 | -1/+56 |
| | | | | | |||||
| * | | | | Add Order and SignedOrder types | Leonid Logvinov | 2017-05-30 | 1 | -0/+23 |
| | | | | | |||||
| * | | | | Merge branch 'master' into fillOrderAsync | Leonid Logvinov | 2017-05-30 | 3 | -2/+3 |
| |\ \ \ \ | |||||
| * | | | | | Finish ecSignature renaming | Leonid Logvinov | 2017-05-30 | 2 | -4/+4 |
| | | | | | | |||||
| * | | | | | Add assertions for parameters | Leonid Logvinov | 2017-05-30 | 1 | -1/+15 |
| | | | | | | |||||
| * | | | | | Move field declaration to the begining of the class | Leonid Logvinov | 2017-05-30 | 1 | -8/+8 |
| | | | | | | |||||
| * | | | | | Add initial implementation of fillOrderAsync | Leonid Logvinov | 2017-05-30 | 2 | -1/+96 |
| | | | | | | |||||
| * | | | | | Add getExchangeInstanceOrThrowAsync && getSenderAddressOrThrowAsync | Leonid Logvinov | 2017-05-30 | 2 | -6/+14 |
| | | | | | | |||||
| * | | | | | Add tests to linter targets | Leonid Logvinov | 2017-05-30 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Use npm run testrpc on circlecCI | Leonid Logvinov | 2017-05-30 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge branch 'master' into unavailableFilledCancelled | Fabio Berger | 2017-06-01 | 5 | -43/+274 |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | |||||
| * | | | | | Merge pull request #28 from 0xProject/erc20transfer | Leonid | 2017-06-01 | 3 | -23/+60 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Add transfer function and tests for it | ||||
| | * | | | | | Address feedback | Leonid Logvinov | 2017-05-31 | 1 | -26/+28 |
| | | | | | | | |||||
| | * | | | | | Merge branch 'master' into erc20transfer | Leonid | 2017-05-31 | 3 | -15/+3840 |
| | |\ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | |||||
| | * | | | | | Add transfer function and tests for it | Leonid Logvinov | 2017-05-31 | 3 | -1/+36 |
| | | | | | | | |||||
| * | | | | | | Fix testrpc verison to 3.0.5 | Leonid Logvinov | 2017-06-01 | 2 | -20/+214 |
| | |/ / / / | |/| | | | | |||||
* | | | | | | Implement getUnavailableTakerAmountAsync, getFilledTakerAmountAsync and ↵ | Fabio Berger | 2017-06-01 | 2 | -0/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | getCanceledTakerAmountAsync | ||||
* | | | | | | Move isValidOrderHash to utils and implement assert.isValidOrderHash | Fabio Berger | 2017-06-01 | 3 | -4/+12 |
|/ / / / / | |||||
* | | | | | Merge pull request #26 from 0xProject/erc20Wrapper | Fabio Berger | 2017-05-31 | 6 | -2/+206 |
|\ \ \ \ \ | | | | | | | | | | | | | Implement TokenWrapper functions & tests | ||||
| * | | | | | Add TxOpts type | Fabio Berger | 2017-05-31 | 1 | -1/+6 |
| | | | | | | |||||
| * | | | | | remove InternalError type since this error could surface through the public ↵ | Fabio Berger | 2017-05-31 | 2 | -7/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | interface | ||||
| * | | | | | Remove superfluous undefined check | Fabio Berger | 2017-05-31 | 1 | -4/+2 |
| | | | | | | |||||
| * | | | | | Add full stop to comments | Fabio Berger | 2017-05-31 | 1 | -2/+2 |
| |/ / / / | |||||
| * | | | | 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 | ||||
| * | | | | Implement setProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 3 | -4/+34 |
| | | | | | |||||
| * | | | | 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 |
| | | | | | |||||
| * | | | | Implement zeroEx.token.getProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 2 | -1/+34 |
| | | | | | |||||
| * | | | | use token instead of erc20 | Fabio Berger | 2017-05-30 | 2 | -6/+6 |
| | | | | | |||||
| * | | | | rename ERC20Contract to TokenContract | Fabio Berger | 2017-05-30 | 2 | -5/+5 |
| | | | | | |||||
| * | | | | rename erc20Wrapper to tokenWrapper to be more generic in case we end up ↵ | Fabio Berger | 2017-05-30 | 3 | -8/+31 |
| | | | | | | | | | | | | | | | | | | | | supporting another spec | ||||
| * | | | | Merge branch 'master' into erc20Wrapper | Fabio Berger | 2017-05-30 | 8 | -23/+85 |
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | # Conflicts: # src/0x.js.ts | ||||
| * | | | | Merge branch 'tokenRegistry' into erc20Wrapper | Fabio Berger | 2017-05-30 | 2 | -1/+1 |
| |\ \ \ \ | |||||
| * | | | | | Add tests for getBalanceAsync | Fabio Berger | 2017-05-30 | 1 | -0/+55 |
| | | | | | | |||||
| * | | | | | Implement ERC20Wrapper and it's first method getBalanceAsync | Fabio Berger | 2017-05-30 | 3 | -0/+37 |
| | | | | | | |||||
* | | | | | | Merge pull request #27 from 0xProject/yarn | Fabio Berger | 2017-05-31 | 1 | -0/+3826 |
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | Add yarn.lock | ||||
| * | | | | | Add yarn.lock | Leonid Logvinov | 2017-05-31 | 1 | -0/+3826 |
|/ / / / / | |||||
* | | | | | Remove mention of internal cleanup from public comment | Fabio Berger | 2017-05-30 | 1 | -2/+1 |
| | | | | | |||||
* | | | | | Merge pull request #25 from 0xProject/dontReinstantiateContractInstances | Leonid | 2017-05-30 | 7 | -9/+74 |
|\ \ \ \ \ | | | | | | | | | | | | | Add zeroEx.setProvider and clear contractInstances created with old provider | ||||
| * | | | | | 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 | 3 | -15/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 declarations | Fabio Berger | 2017-05-30 | 1 | -3/+0 |
| | | | | | | |||||
| * | | | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | | | |||||
| * | | | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | | | |||||
| * | | | | | improve comment | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Make tokenRegistry contract instantiation lazy and clear it on provider update | Fabio Berger | 2017-05-30 | 3 | -5/+17 |
| | | | | | | |||||
| * | | | | | rename invalidateExchangeContract to invalidateContractInstance | Fabio Berger | 2017-05-30 | 2 | -2/+2 |
| | | | | | | |||||
| * | | | | | Merge branch 'master' into dontReinstantiateContractInstances | Fabio Berger | 2017-05-30 | 7 | -4/+116 |
| |\ \ \ \ \ | |/ / / / / |/| | | | | | |||||
* | | | | | | Merge pull request #24 from 0xProject/tokenRegistry | Fabio Berger | 2017-05-30 | 6 | -0/+113 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | TokenRegistryWrapper | ||||
| * \ \ \ \ \ | Merge branch 'master' into tokenRegistry | Fabio Berger | 2017-05-30 | 3 | -9/+8 |
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/0x.js.ts | ||||
* | | | | | | | Merge pull request #22 from 0xProject/regex-fix | Fabio Berger | 2017-05-30 | 1 | -4/+3 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix the empty code regex | ||||
| * | | | | | | | Fix the empty code regex | Leonid Logvinov | 2017-05-30 | 1 | -4/+3 |
| | |_|_|_|_|/ | |/| | | | | | |||||
| | * | | | | | use to.have.lengthOf | Fabio Berger | 2017-05-30 | 1 | -2/+2 |
| | | | | | | | |||||
| | * | | | | | Improve type definitions | Fabio Berger | 2017-05-30 | 1 | -2/+6 |
| | | | | | | | |||||
| | * | | | | | Add TokenMetadata type | Fabio Berger | 2017-05-30 | 2 | -2/+5 |
| | | | | | | | |||||
| | * | | | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| | | |_|/ / | | |/| | | | |||||
| | * | | | | Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistry | Fabio Berger | 2017-05-30 | 2 | -1/+1 |
| | |\ \ \ \ | | | |_|/ / | | |/| | | | |||||
| | * | | | | Add tests for getTokensAsync including schema validation | Fabio Berger | 2017-05-30 | 3 | -0/+57 |
| | | | | | | |||||
| | * | | | | Add TokenRegistryWrapper and getTokensAsync method | Fabio Berger | 2017-05-30 | 3 | -0/+49 |
| | | | | | | |||||
| | | | * | | Add tests for setProvider | Fabio Berger | 2017-05-30 | 2 | -3/+30 |
| | | | | | | |||||
| | | | * | | Add setProvider method to 0x.js that updates the web3 provider and ↵ | Fabio Berger | 2017-05-30 | 2 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | invalidates any contractInstances instantiated with the old provider | ||||
| | | | * | | Lazily instantiate exchangeContract and store as instance variable instead ↵ | Fabio Berger | 2017-05-30 | 2 | -3/+17 |
| |_|_|/ / |/| | | | | | | | | | | | | | | of re-instantiating on every call | ||||
* | | | | | make web3Wrapper a private instance variable | Fabio Berger | 2017-05-30 | 2 | -5/+5 |
|/ / / / | |||||
* | | | | Merge pull request #20 from 0xProject/removeSrcFilesNotUsedByTests | Leonid | 2017-05-30 | 1 | -1/+2 |
|\ \ \ \ | | |/ / | |/| | | Allow tests to access schemas, utils and types | ||||
| * | | | Merge branch 'master' into removeSrcFilesNotUsedByTests | Fabio Berger | 2017-05-30 | 2 | -1/+1 |
| |\ \ \ | |/ / / |/| / / | |/ / | |||||
* | | | name exchangeWrapper test file properly | Fabio Berger | 2017-05-30 | 1 | -0/+0 |
| | | | |||||
* | | | Reverts: 7e96b45ea0c51ca5589640018172a91a35596148 which broke this regex for ↵ | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| |/ |/| | | | | | the `0x0` edge-case | ||||
| * | Instead of removing all files from ./lib/src for the UMD test, we leave the ↵ | Fabio Berger | 2017-05-30 | 1 | -1/+2 |
|/ | | | | utils and schema folders as well as the types file since they are used by the test files | ||||
* | Merge pull request #19 from 0xProject/test-commands-refactor | Fabio Berger | 2017-05-30 | 2 | -11/+13 |
|\ | | | | | Refactor test commands | ||||
| * | Merge branch 'master' into test-commands-refactor | Leonid | 2017-05-30 | 0 | -0/+0 |
| |\ | |/ |/| | |||||
* | | Merge pull request #18 from 0xProject/fix-coverage | Leonid | 2017-05-30 | 1 | -1/+1 |
|\ \ | | | | | | | Run coverage only for commonjs test | ||||
| * | | Run cverage only for commonjs test | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Refactor test commands | Leonid Logvinov | 2017-05-30 | 2 | -10/+12 |
| |/ |/| | |||||
* | | Lowercase schema names | Fabio Berger | 2017-05-30 | 4 | -12/+12 |
| | | |||||
* | | Fix typos | Fabio Berger | 2017-05-29 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #17 from 0xProject/addSignOrderHashAndTests | Fabio Berger | 2017-05-29 | 7 | -5/+159 |
|\ \ | |/ |/| | Add signOrderHashAsync and tests | ||||
| * | empty stubs array before next test runs | Fabio Berger | 2017-05-29 | 1 | -0/+1 |
| | | |||||
| * | improve comment | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into addSignOrderHashAndTests | Fabio Berger | 2017-05-29 | 5 | -26/+39 |
| |\ | |/ |/| | | | | | | | | | # 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 | 5 | -27/+40 |
|\ \ | | | | | | | Umd tests | ||||
| * | | Address feedback | Leonid Logvinov | 2017-05-29 | 3 | -5/+6 |
| | | | |||||
| * | | Don't build before test | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| * | | Refactor test commands | Leonid Logvinov | 2017-05-29 | 2 | -13/+24 |
| | | | |||||
| * | | Add umd test command and separate public and private npm scripts | Leonid Logvinov | 2017-05-29 | 1 | -7/+10 |
| | | | |||||
| * | | Make eventually a PromisedAssertion | Leonid Logvinov | 2017-05-29 | 2 | -3/+4 |
| | | | |||||
| * | | Rename build:bundle to build:umd | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| * | | 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 |
| | | | |||||
| | * | fix declaration | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Add mnemonic to nom testrpc command | Fabio Berger | 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 | 2 | -6/+3 |
| | | | | | | | | | | | | disabled | ||||
| | * | Add declarations for find-versions and compare-versions | Fabio Berger | 2017-05-29 | 1 | -2/+12 |
| | | | |||||
| | * | Add static mnemonic when starting testrpc on circleCI | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Implement tests for signOrderHashAsync that test the logic for Parity < ↵ | Fabio Berger | 2017-05-29 | 2 | -0/+74 |
| | | | | | | | | | | | | v1.6.6, >1.6.6 and other nodes | ||||
| | * | Port over signOrderHashAsync | Fabio Berger | 2017-05-29 | 5 | -1/+73 |
| |/ |/| | |||||
* | | don't use uppercase for constant variable unless it's global to the entire file | Fabio Berger | 2017-05-29 | 1 | -3/+3 |
| | | |||||
* | | Standardize all comments | Fabio Berger | 2017-05-29 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #15 from 0xProject/rm-ts | Leonid | 2017-05-29 | 14 | -6/+6 |
|\ | | | | | Remove typescript folder | ||||
| * | Fix linter command | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Fix lint command | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Fix imports | Leonid Logvinov | 2017-05-29 | 3 | -5/+5 |
| | | |||||
| * | Move files up and remove ts folder | Leonid Logvinov | 2017-05-29 | 11 | -0/+0 |
|/ | |||||
* | Merge branch 'master' of github.com:0xProject/0x.js | Fabio Berger | 2017-05-29 | 25 | -43/+3442 |
|\ | | | | | | | | | | | # Conflicts: # src/ts/0x.js.ts # src/ts/utils/utils.ts | ||||
| * | Merge pull request #14 from 0xProject/implementFirstExchangeMethod | Fabio Berger | 2017-05-27 | 25 | -40/+3439 |
| |\ | | | | | | | Implement first exchange method | ||||
| | * | use commit hash instead of branch | Fabio Berger | 2017-05-27 | 1 | -2/+2 |
| | | | |||||
| | * | clone specific branch where contract artifacts are fixed to the version of ↵ | Fabio Berger | 2017-05-27 | 1 | -1/+1 |
| | | | | | | | | | | | | the 0x.js library version | ||||
| | * | Refactor to ternary | Fabio Berger | 2017-05-27 | 1 | -6/+1 |
| | | | |||||
| | * | Make zero address regex stricter | Leonid Logvinov | 2017-05-27 | 1 | -1/+1 |
| | | | |||||
| | * | Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js ↵ | Fabio Berger | 2017-05-27 | 2 | -3/+3 |
| | |\ | | | | | | | | | | | | | into implementFirstExchangeMethod | ||||
| | | * | Remove unnecessary ./s | Leonid Logvinov | 2017-05-27 | 1 | -2/+2 |
| | | | | |||||
| | | * | Simplify zero address regex | Leonid Logvinov | 2017-05-27 | 1 | -1/+1 |
| | | | | |||||
| | * | | remove todo | Fabio Berger | 2017-05-27 | 1 | -1/+0 |
| | |/ | |||||
| | * | 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 outdated comment | Fabio Berger | 2017-05-26 | 1 | -2/+0 |
| | | | |||||
| | * | remove stray console log | Fabio Berger | 2017-05-26 | 1 | -1/+0 |
| | | | |||||
| | * | return undefined if not address found | Fabio Berger | 2017-05-26 | 1 | -3/+3 |
| | | | |||||
| | * | Add missing return types | Fabio Berger | 2017-05-26 | 4 | -7/+7 |
| | | | |||||
| | * | Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js ↵ | Fabio Berger | 2017-05-26 | 2 | -1/+9 |
| | |\ | | | | | | | | | | | | | into implementFirstExchangeMethod | ||||
| | | * | Add linting to test pipeline | Leonid Logvinov | 2017-05-26 | 1 | -0/+1 |
| | | | | |||||
| | | * | Install contract dependencies | Leonid Logvinov | 2017-05-26 | 1 | -1/+1 |
| | | | |