Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|\ | |||||
| * | 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 |
| | |\ | |||||
| * | | | Fix testrpc verison to 3.0.5 | Leonid Logvinov | 2017-06-01 | 2 | -20/+214 |
| | |/ | |/| | |||||
| * | | 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 |
| | | | | |||||
| * | | | 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 |
| |/ / / | |||||
* | | | | 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 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Add transfer function and tests for it | Leonid Logvinov | 2017-05-31 | 3 | -1/+36 |
| | |/ | |/| | |||||
| * | | 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 |
| | | | | |||||
* | | | | 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 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | 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 |
| |/ / / | |||||
* | | | | 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 |
|\| | | | |||||
| * | | | 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 | ||||
* | | 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 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 |
| | | | | |||||
| | | * | Fix paths in circle.yml | Leonid Logvinov | 2017-05-26 | 1 | -2/+2 |
| | | | | |||||
| | | * | Add contracts deployment and copying the artefacts to circle.ym | Leonid Logvinov | 2017-05-26 | 1 | -0/+5 |
| | | | | |||||
| | | * | Add testrpc as a dependency and a command for running it | Leonid Logvinov | 2017-05-26 | 1 | -1/+3 |
| | | | | |||||
| | * | | move console log into UNHANDLED_ERROR clause | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | | |||||
| | * | | rename networkId to networkIdIfExists | Fabio Berger | 2017-05-26 | 1 | -2/+4 |
| | | | | |||||
| | * | | remove comment | Fabio Berger | 2017-05-26 | 1 | -1/+0 |
| | | | | |||||
| | * | | import re-order | Fabio Berger | 2017-05-26 | 1 | -2/+2 |
| | |/ | |||||
| | * | Setup blockchain snapshotting before/after every test, implemented unit ↵ | Fabio Berger | 2017-05-26 | 7 | -0/+204 |
| | | | | | | | | | | | | tests for exchangeWrapper.isValidSignature | ||||
| | * | Add missing semi-colon | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | cleanup isValidSignature method | Fabio Berger | 2017-05-26 | 1 | -5/+6 |
| | | | |||||
| | * | Add missing require | Fabio Berger | 2017-05-26 | 1 | -0/+1 |
| | | | |||||
| | * | Spacing and import re-order | Fabio Berger | 2017-05-26 | 1 | -3/+4 |
| | | | |||||
| | * | Postfix test files with `_test` | Fabio Berger | 2017-05-26 | 2 | -1/+1 |
| | | | |||||
| | * | Remove unused bignum import | Leonid Logvinov | 2017-05-26 | 1 | -1/+0 |
| | | | |||||
| | * | Remove es6 target | Leonid Logvinov | 2017-05-26 | 2 | -4/+1 |
| | | | |||||
| | * | include jsonschema type defs | Fabio Berger | 2017-05-26 | 1 | -0/+1 |
| | | | |||||
| | * | Extract artifacts list to a variable | Leonid Logvinov | 2017-05-26 | 1 | -1/+4 |
| | | | |||||
| | * | Merge branch 'master' into implementFirstExchangeMethod | Fabio Berger | 2017-05-26 | 6 | -1/+110 |
| | |\ | | |/ | |/| | | | | | | | | | | | | | | | | # Conflicts: # package.json # src/ts/0x.js.ts # src/ts/globals.d.ts # src/ts/types.ts | ||||
| | * | Include JSON file loader in webpack | Fabio Berger | 2017-05-26 | 2 | -9/+20 |
| | | | |||||
| | * | Fix web3 imports again | Fabio Berger | 2017-05-26 | 4 | -4/+4 |
| | | | |||||
| | * | Fix web3 imports | Fabio Berger | 2017-05-26 | 3 | -3/+3 |
| | | | |||||
| | * | Copy over artifacts to lib folder onBuild | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | Change the order of params in isValidSignatureAsync to be consistent | Leonid Logvinov | 2017-05-26 | 1 | -4/+4 |
| | | | |||||
| | * | Fix exchange type | Leonid Logvinov | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | Remove unused imports | Leonid Logvinov | 2017-05-26 | 1 | -3/+0 |
| | | | |||||
| | * | Add initial exchange contract function, set up web3Wrapper, added types and ↵ | Fabio Berger | 2017-05-26 | 9 | -19/+252 |
| | | | | | | | | | | | | utils | ||||
| | * | Add npm command to update contact artifacts | Fabio Berger | 2017-05-26 | 7 | -1/+2961 |
| | | | |||||
* | | | Move bigNumberToBN to utils module | Fabio Berger | 2017-05-29 | 2 | -17/+20 |
|/ / | |||||
* | | Merge pull request #13 from 0xProject/getOrderHash | Leonid | 2017-05-26 | 6 | -1/+120 |
|\ \ | |/ |/| | Port getOrderHash and write tests for it | ||||
| * | Address feedback | Leonid Logvinov | 2017-05-26 | 3 | -6/+4 |
| | | |||||
| * | Address feedback | Leonid Logvinov | 2017-05-26 | 3 | -26/+41 |
| | | |||||
| * | Port getOrderHash | Leonid Logvinov | 2017-05-25 | 6 | -1/+107 |
|/ | |||||
* | Merge pull request #11 from 0xProject/isValidOrderHash | Fabio Berger | 2017-05-25 | 5 | -16/+40 |
|\ | | | | | Port isValidOrderHash and tests | ||||
| * | Get rid of ETH | Leonid Logvinov | 2017-05-25 | 1 | -4/+4 |
| | | |||||
| * | Fix comment | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | |||||
| * | Fix tests | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | |||||
| * | Fix braces | Leonid Logvinov | 2017-05-25 | 2 | -0/+3 |
| | | |||||
| * | Merge branch 'master' into isValidOrderHash | Leonid | 2017-05-25 | 4 | -3/+61 |
| |\ | |/ |/| | |||||
* | | Merge pull request #12 from 0xProject/addToUnitStatic | Fabio Berger | 2017-05-25 | 4 | -1/+64 |
|\ \ | | | | | | | Add toUnitAmount and toBaseUnitAmount static helpers and tests | ||||
| * | | Add toUnitAmount and toBaseUnitAmount static helpers and tests | Fabio Berger | 2017-05-25 | 4 | -1/+64 |
|/ / | |||||
| * | Address feedback | Leonid Logvinov | 2017-05-25 | 4 | -9/+14 |
| | | |||||
| * | Remove type aliases | Leonid Logvinov | 2017-05-25 | 3 | -8/+7 |
| | | |||||
| * | Merge branch 'master' into isValidOrderHash | Leonid | 2017-05-25 | 7 | -14/+58 |
| |\ | |/ |/| | |||||
* | | Merge pull request #10 from 0xProject/addSchemas | Fabio Berger | 2017-05-25 | 7 | -14/+58 |
|\ \ | | | | | | | Add schema validation | ||||
| * | | Use expect.to.throw | Fabio Berger | 2017-05-25 | 1 | -24/+4 |
| | | | |||||
| * | | Merge branch 'master' into addSchemas | Fabio Berger | 2017-05-25 | 3 | -0/+30 |
| |\ \ | |/ / |/| | | | | | | | | # Conflicts: # package.json | ||||
| * | | remove stray console log | Fabio Berger | 2017-05-25 | 1 | -1/+0 |
| | | | |||||
| * | | rename v to validator for clarity | Fabio Berger | 2017-05-25 | 1 | -6/+6 |
| | | | |||||
| * | | Fix malformed tests to check for thrown assertion | Fabio Berger | 2017-05-25 | 1 | -10/+27 |
| | | | |||||
| * | | Pretty print passed in order and schema validation errors in thrown assertion | Fabio Berger | 2017-05-25 | 1 | -2/+4 |
| | | | |||||
| * | | Improve ECSignature schema to check signature parameters and that v is 27 or 28 | Fabio Berger | 2017-05-25 | 2 | -4/+15 |
| | | | |||||
| * | | Add schema validation and assertion, create ECSignature schema | Fabio Berger | 2017-05-25 | 6 | -4/+39 |
| | | | |||||
| | * | Fix tests | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | | |||||
| | * | Remove HexString type | Leonid Logvinov | 2017-05-25 | 2 | -7/+6 |
| | | | |||||
| | * | Port isValidOrderHash and tests | Leonid Logvinov | 2017-05-25 | 4 | -3/+26 |
| |/ |/| | |||||
* | | Merge pull request #9 from 0xProject/generateSalt | Leonid | 2017-05-25 | 3 | -0/+30 |
|\ \ | |/ |/| | Add generateSalt and tests for it | ||||
| * | More descriptive comment | Leonid Logvinov | 2017-05-25 | 1 | -1/+5 |
| | | |||||
| * | Add lodash | Leonid Logvinov | 2017-05-25 | 1 | -0/+1 |
| | | |||||
| * | Add generateSalt and tests for it | Leonid Logvinov | 2017-05-25 | 3 | -0/+25 |
|/ | |||||
* | Fix test that was passing an invalid address (now caught by our assertions), ↵ | Fabio Berger | 2017-05-25 | 1 | -1/+2 |
| | | | | to instead pass a valid but unrelated address as the test name suggests | ||||
* | Add assertions library and add them for all function args | Fabio Berger | 2017-05-25 | 4 | -2/+44 |
| | |||||
* | Merge pull request #8 from 0xProject/isSignatureValid | Leonid | 2017-05-25 | 5 | -7/+114 |
|\ | | | | | Add isSignatureValid method and tests for it | ||||
| * | Address feedback | Leonid Logvinov | 2017-05-25 | 3 | -5/+7 |
| | | |||||
| * | Add node types | Leonid Logvinov | 2017-05-25 | 1 | -0/+1 |
| | | |||||
| * | Add test for malformed s | Leonid Logvinov | 2017-05-25 | 1 | -0/+10 |
| | | |||||
| * | change tests descriptions | Leonid Logvinov | 2017-05-25 | 1 | -15/+24 |
| | | |||||
| * | Add test vector source | Leonid Logvinov | 2017-05-25 | 1 | -0/+1 |
| | |