aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* remove unneeded calls to toBaseUnitAmountFabio Berger2017-06-021-8/+4
* pass numbers to BigNumber unless it's too big for the number typeFabio Berger2017-06-021-4/+4
* use BigNumber(0) instead of with a string zeroFabio Berger2017-06-021-4/+4
* Add balance check to `transferAsync` and related testFabio Berger2017-06-022-3/+20
* Improve commentFabio Berger2017-06-021-0/+2
* Add tests for transferFromAsync, setAllowanceAsync and getAllowanceAsync and ...Fabio Berger2017-06-021-21/+125
* Add setAllowanceAsync, getAllowanceAsync and transferFrom to tokenWrapperFabio Berger2017-06-025-18/+93
* Fix tslint issuesFabio Berger2017-06-021-2/+2
* Merge pull request #28 from 0xProject/erc20transferLeonid2017-06-013-23/+60
|\
| * Address feedbackLeonid Logvinov2017-05-311-26/+28
| * Merge branch 'master' into erc20transferLeonid2017-05-313-15/+3840
| |\
| * | Add transfer function and tests for itLeonid Logvinov2017-05-313-1/+36
* | | Fix testrpc verison to 3.0.5Leonid Logvinov2017-06-012-20/+214
| |/ |/|
* | Merge pull request #26 from 0xProject/erc20WrapperFabio Berger2017-05-316-2/+206
|\ \
| * | Add TxOpts typeFabio Berger2017-05-311-1/+6
| * | remove InternalError type since this error could surface through the public i...Fabio Berger2017-05-312-7/+3
| * | Remove superfluous undefined checkFabio Berger2017-05-311-4/+2
| * | Add full stop to commentsFabio Berger2017-05-311-2/+2
| |/
| * remove unused importsFabio Berger2017-05-302-4/+0
| * Add test for setProxyAllowanceAsync and additional test for getProxyAllowance...Fabio Berger2017-05-301-2/+32
| * Implement setProxyAllowanceAsyncFabio Berger2017-05-303-4/+34
| * remove spaces after it keywordFabio Berger2017-05-301-2/+2
| * Add first test for getProxyAllowanceAsyncFabio Berger2017-05-301-0/+9
| * Implement zeroEx.token.getProxyAllowanceAsyncFabio Berger2017-05-302-1/+34
| * use token instead of erc20Fabio Berger2017-05-302-6/+6
| * rename ERC20Contract to TokenContractFabio Berger2017-05-302-5/+5
| * rename erc20Wrapper to tokenWrapper to be more generic in case we end up supp...Fabio Berger2017-05-303-8/+31
| * Merge branch 'master' into erc20WrapperFabio Berger2017-05-308-23/+85
| |\
| * \ Merge branch 'tokenRegistry' into erc20WrapperFabio Berger2017-05-302-1/+1
| |\ \
| * | | Add tests for getBalanceAsyncFabio Berger2017-05-301-0/+55
| * | | Implement ERC20Wrapper and it's first method getBalanceAsyncFabio Berger2017-05-303-0/+37
* | | | Merge pull request #27 from 0xProject/yarnFabio Berger2017-05-311-0/+3826
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add yarn.lockLeonid Logvinov2017-05-311-0/+3826
|/ / /
* | | Remove mention of internal cleanup from public commentFabio Berger2017-05-301-2/+1
* | | Merge pull request #25 from 0xProject/dontReinstantiateContractInstancesLeonid2017-05-307-9/+74
|\ \ \
| * | | use .be.undefined instead of .be.an('undefined')Fabio Berger2017-05-301-4/+4
| * | | Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter that...Fabio Berger2017-05-303-15/+17
| * | | Also test that web3Wrapper nested under tokenRegistryWrapper has updated prov...Fabio Berger2017-05-301-2/+4
| * | | add assertions that contractInstances are not undefined before provider updateFabio Berger2017-05-301-0/+2
| * | | Also instantiate tokenRegistry contract instanceFabio Berger2017-05-301-1/+2
| * | | remove unused importFabio Berger2017-05-301-1/+0
| * | | remove unused declarationsFabio Berger2017-05-301-3/+0
| * | | remove unused importFabio Berger2017-05-301-1/+0
| * | | remove unused importFabio Berger2017-05-301-1/+0
| * | | improve commentFabio Berger2017-05-301-1/+1
| * | | Make tokenRegistry contract instantiation lazy and clear it on provider updateFabio Berger2017-05-303-5/+17
| * | | rename invalidateExchangeContract to invalidateContractInstanceFabio Berger2017-05-302-2/+2
| * | | Merge branch 'master' into dontReinstantiateContractInstancesFabio Berger2017-05-307-4/+116
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #24 from 0xProject/tokenRegistryFabio Berger2017-05-306-0/+113
|\ \ \ \
| * \ \ \ Merge branch 'master' into tokenRegistryFabio Berger2017-05-303-9/+8
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #22 from 0xProject/regex-fixFabio Berger2017-05-301-4/+3
|\ \ \ \ \
| * | | | | Fix the empty code regexLeonid Logvinov2017-05-301-4/+3
| | * | | | use to.have.lengthOfFabio Berger2017-05-301-2/+2
| | * | | | Improve type definitionsFabio Berger2017-05-301-2/+6
| | * | | | Add TokenMetadata typeFabio Berger2017-05-302-2/+5
| | * | | | remove unused importFabio Berger2017-05-301-1/+1
| | | |_|/ | | |/| |
| | * | | Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistryFabio Berger2017-05-302-1/+1
| | |\ \ \ | | | |_|/ | | |/| |
| | * | | Add tests for getTokensAsync including schema validationFabio Berger2017-05-303-0/+57
| | * | | Add TokenRegistryWrapper and getTokensAsync methodFabio Berger2017-05-303-0/+49
| | | | * Add tests for setProviderFabio Berger2017-05-302-3/+30
| | | | * Add setProvider method to 0x.js that updates the web3 provider and invalidate...Fabio Berger2017-05-302-0/+11
| | | | * Lazily instantiate exchangeContract and store as instance variable instead of...Fabio Berger2017-05-302-3/+17
| |_|_|/ |/| | |
* | | | make web3Wrapper a private instance variableFabio Berger2017-05-302-5/+5
|/ / /
* | | Merge pull request #20 from 0xProject/removeSrcFilesNotUsedByTestsLeonid2017-05-301-1/+2
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' into removeSrcFilesNotUsedByTestsFabio Berger2017-05-302-1/+1
| |\ \ | |/ / |/| / | |/
* | name exchangeWrapper test file properlyFabio Berger2017-05-301-0/+0
* | Reverts: 7e96b45ea0c51ca5589640018172a91a35596148 which broke this regex for ...Fabio Berger2017-05-301-1/+1
| * Instead of removing all files from ./lib/src for the UMD test, we leave the u...Fabio Berger2017-05-301-1/+2
|/
* Merge pull request #19 from 0xProject/test-commands-refactorFabio Berger2017-05-302-11/+13
|\
| * Merge branch 'master' into test-commands-refactorLeonid2017-05-300-0/+0
| |\ | |/ |/|
* | Merge pull request #18 from 0xProject/fix-coverageLeonid2017-05-301-1/+1
|\ \
| * | Run cverage only for commonjs testLeonid Logvinov2017-05-291-1/+1
| | * Refactor test commandsLeonid Logvinov2017-05-302-10/+12
| |/ |/|
* | Lowercase schema namesFabio Berger2017-05-304-12/+12
* | Fix typosFabio Berger2017-05-291-2/+2
* | Merge pull request #17 from 0xProject/addSignOrderHashAndTestsFabio Berger2017-05-297-5/+159
|\ \ | |/ |/|
| * empty stubs array before next test runsFabio Berger2017-05-291-0/+1
| * improve commentFabio Berger2017-05-291-1/+1
| * Merge branch 'master' into addSignOrderHashAndTestsFabio Berger2017-05-295-26/+39
| |\ | |/ |/|
* | Merge pull request #16 from 0xProject/umd-testsFabio Berger2017-05-295-27/+40
|\ \
| * | Address feedbackLeonid Logvinov2017-05-293-5/+6
| * | Don't build before testLeonid Logvinov2017-05-291-1/+1
| * | Refactor test commandsLeonid Logvinov2017-05-292-13/+24
| * | Add umd test command and separate public and private npm scriptsLeonid Logvinov2017-05-291-7/+10
| * | Make eventually a PromisedAssertionLeonid Logvinov2017-05-292-3/+4
| * | Rename build:bundle to build:umdLeonid Logvinov2017-05-291-1/+1
| * | Use only 0x public interface in contract wrapper testsLeonid Logvinov2017-05-291-14/+11
| * | Use constants from test utilsLeonid Logvinov2017-05-291-1/+1
| | * fix declarationFabio Berger2017-05-291-1/+1
| | * Add mnemonic to nom testrpc commandFabio Berger2017-05-291-1/+1
| | * Use disable-next-line instead of disable and always put rule that is being di...Fabio Berger2017-05-292-6/+3
| | * Add declarations for find-versions and compare-versionsFabio Berger2017-05-291-2/+12
| | * Add static mnemonic when starting testrpc on circleCIFabio Berger2017-05-291-1/+1
| | * Implement tests for signOrderHashAsync that test the logic for Parity < v1.6....Fabio Berger2017-05-292-0/+74
| | * Port over signOrderHashAsyncFabio Berger2017-05-295-1/+73
| |/ |/|
* | don't use uppercase for constant variable unless it's global to the entire fileFabio Berger2017-05-291-3/+3
* | Standardize all commentsFabio Berger2017-05-291-4/+4
|/
* Merge pull request #15 from 0xProject/rm-tsLeonid2017-05-2914-6/+6
|\
| * Fix linter commandLeonid Logvinov2017-05-291-1/+1
| * Fix lint commandLeonid Logvinov2017-05-291-1/+1
| * Fix importsLeonid Logvinov2017-05-293-5/+5
| * Move files up and remove ts folderLeonid Logvinov2017-05-2911-0/+0
|/
* Merge branch 'master' of github.com:0xProject/0x.jsFabio Berger2017-05-2925-43/+3442
|\
| * Merge pull request #14 from 0xProject/implementFirstExchangeMethodFabio Berger2017-05-2725-40/+3439
| |\
| | * use commit hash instead of branchFabio Berger2017-05-271-2/+2
| | * clone specific branch where contract artifacts are fixed to the version of th...Fabio Berger2017-05-271-1/+1
| | * Refactor to ternaryFabio Berger2017-05-271-6/+1
| | * Make zero address regex stricterLeonid Logvinov2017-05-271-1/+1
| | * Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js int...Fabio Berger2017-05-272-3/+3
| | |\
| | | * Remove unnecessary ./sLeonid Logvinov2017-05-271-2/+2
| | | * Simplify zero address regexLeonid Logvinov2017-05-271-1/+1
| | * | remove todoFabio Berger2017-05-271-1/+0
| | |/
| | * improve commentFabio Berger2017-05-271-1/+2
| | * rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, restor...Fabio Berger2017-05-272-7/+7
| | * import reorderFabio Berger2017-05-261-1/+1
| | * remove outdated commentFabio Berger2017-05-261-2/+0
| | * remove stray console logFabio Berger2017-05-261-1/+0
| | * return undefined if not address foundFabio Berger2017-05-261-3/+3
| | * Add missing return typesFabio Berger2017-05-264-7/+7
| | * Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js int...Fabio Berger2017-05-262-1/+9
| | |\
| | | * Add linting to test pipelineLeonid Logvinov2017-05-261-0/+1
| | | * Install contract dependenciesLeonid Logvinov2017-05-261-1/+1
| | | * Fix paths in circle.ymlLeonid Logvinov2017-05-261-2/+2
| | | * Add contracts deployment and copying the artefacts to circle.ymLeonid Logvinov2017-05-261-0/+5
| | | * Add testrpc as a dependency and a command for running itLeonid Logvinov2017-05-261-1/+3
| | * | move console log into UNHANDLED_ERROR clauseFabio Berger2017-05-261-1/+1
| | * | rename networkId to networkIdIfExistsFabio Berger2017-05-261-2/+4
| | * | remove commentFabio Berger2017-05-261-1/+0
| | * | import re-orderFabio Berger2017-05-261-2/+2
| | |/
| | * Setup blockchain snapshotting before/after every test, implemented unit tests...Fabio Berger2017-05-267-0/+204
| | * Add missing semi-colonFabio Berger2017-05-261-1/+1
| | * cleanup isValidSignature methodFabio Berger2017-05-261-5/+6
| | * Add missing requireFabio Berger2017-05-261-0/+1
| | * Spacing and import re-orderFabio Berger2017-05-261-3/+4
| | * Postfix test files with `_test`Fabio Berger2017-05-262-1/+1
| | * Remove unused bignum importLeonid Logvinov2017-05-261-1/+0
| | * Remove es6 targetLeonid Logvinov2017-05-262-4/+1
| | * include jsonschema type defsFabio Berger2017-05-261-0/+1
| | * Extract artifacts list to a variableLeonid Logvinov2017-05-261-1/+4
| | * Merge branch 'master' into implementFirstExchangeMethodFabio Berger2017-05-266-1/+110
| | |\ | | |/ | |/|
| | * Include JSON file loader in webpackFabio Berger2017-05-262-9/+20
| | * Fix web3 imports againFabio Berger2017-05-264-4/+4
| | * Fix web3 importsFabio Berger2017-05-263-3/+3
| | * Copy over artifacts to lib folder onBuildFabio Berger2017-05-261-1/+1
| | * Change the order of params in isValidSignatureAsync to be consistentLeonid Logvinov2017-05-261-4/+4
| | * Fix exchange typeLeonid Logvinov2017-05-261-1/+1
| | * Remove unused importsLeonid Logvinov2017-05-261-3/+0
| | * Add initial exchange contract function, set up web3Wrapper, added types and u...Fabio Berger2017-05-269-19/+252
| | * Add npm command to update contact artifactsFabio Berger2017-05-267-1/+2961
* | | Move bigNumberToBN to utils moduleFabio Berger2017-05-292-17/+20
|/ /
* | Merge pull request #13 from 0xProject/getOrderHashLeonid2017-05-266-1/+120
|\ \ | |/ |/|
| * Address feedbackLeonid Logvinov2017-05-263-6/+4
| * Address feedbackLeonid Logvinov2017-05-263-26/+41
| * Port getOrderHashLeonid Logvinov2017-05-256-1/+107
|/
* Merge pull request #11 from 0xProject/isValidOrderHashFabio Berger2017-05-255-16/+40
|\
| * Get rid of ETHLeonid Logvinov2017-05-251-4/+4
| * Fix commentLeonid Logvinov2017-05-251-1/+1
| * Fix testsLeonid Logvinov2017-05-251-1/+1
| * Fix bracesLeonid Logvinov2017-05-252-0/+3
| * Merge branch 'master' into isValidOrderHashLeonid2017-05-254-3/+61
| |\ | |/ |/|
* | Merge pull request #12 from 0xProject/addToUnitStaticFabio Berger2017-05-254-1/+64
|\ \
| * | Add toUnitAmount and toBaseUnitAmount static helpers and testsFabio Berger2017-05-254-1/+64
|/ /
| * Address feedbackLeonid Logvinov2017-05-254-9/+14
| * Remove type aliasesLeonid Logvinov2017-05-253-8/+7
| * Merge branch 'master' into isValidOrderHashLeonid2017-05-257-14/+58
| |\ | |/ |/|
* | Merge pull request #10 from 0xProject/addSchemasFabio Berger2017-05-257-14/+58
|\ \
| * | Use expect.to.throwFabio Berger2017-05-251-24/+4
| * | Merge branch 'master' into addSchemasFabio Berger2017-05-253-0/+30
| |\ \ | |/ / |/| |
| * | remove stray console logFabio Berger2017-05-251-1/+0
| * | rename v to validator for clarityFabio Berger2017-05-251-6/+6
| * | Fix malformed tests to check for thrown assertionFabio Berger2017-05-251-10/+27
| * | Pretty print passed in order and schema validation errors in thrown assertionFabio Berger2017-05-251-2/+4
| * | Improve ECSignature schema to check signature parameters and that v is 27 or 28Fabio Berger2017-05-252-4/+15
| * | Add schema validation and assertion, create ECSignature schemaFabio Berger2017-05-256-4/+39
| | * Fix testsLeonid Logvinov2017-05-251-1/+1
| | * Remove HexString typeLeonid Logvinov2017-05-252-7/+6
| | * Port isValidOrderHash and testsLeonid Logvinov2017-05-254-3/+26
| |/ |/|
* | Merge pull request #9 from 0xProject/generateSaltLeonid2017-05-253-0/+30
|\ \ | |/ |/|
| * More descriptive commentLeonid Logvinov2017-05-251-1/+5
| * Add lodashLeonid Logvinov2017-05-251-0/+1
| * Add generateSalt and tests for itLeonid Logvinov2017-05-253-0/+25
|/
* Fix test that was passing an invalid address (now caught by our assertions), ...Fabio Berger2017-05-251-1/+2
* Add assertions library and add them for all function argsFabio Berger2017-05-254-2/+44
* Merge pull request #8 from 0xProject/isSignatureValidLeonid2017-05-255-7/+114
|\
| * Address feedbackLeonid Logvinov2017-05-253-5/+7
| * Add node typesLeonid Logvinov2017-05-251-0/+1
| * Add test for malformed sLeonid Logvinov2017-05-251-0/+10
| * change tests descriptionsLeonid Logvinov2017-05-251-15/+24
| * Add test vector sourceLeonid Logvinov2017-05-251-0/+1
| * Type the ethereumjs-utilLeonid Logvinov2017-05-252-4/+12
| * Define node version in circleCILeonid Logvinov2017-05-251-0/+4
| * Add isSignatureValid method and tests for itLeonid Logvinov2017-05-254-7/+79
|/
* Merge pull request #7 from 0xProject/docsFabio Berger2017-05-244-2/+11
|\
| * Add command to generate json docsLeonid Logvinov2017-05-241-0/+1
| * Add command to generate docs from ts codeLeonid Logvinov2017-05-244-2/+10
|/
* Rename circleci.yml to circle.ymlLeonid2017-05-241-0/+0
* Merge pull request #6 from 0xProject/coverageLeonid2017-05-242-2/+8
|\
| * Rename coverage to test:coverageLeonid Logvinov2017-05-242-2/+2
| * Add coverage commandLeonid Logvinov2017-05-242-2/+8
|/
* Add CI status badgeLeonid Logvinov2017-05-241-1/+2
* Merge pull request #5 from 0xProject/testsFabio Berger2017-05-243-3/+21
|\
| * Remove ts-nodeLeonid Logvinov2017-05-241-1/+0
| * Run mocha on compiled sourcesLeonid Logvinov2017-05-242-2/+3
| * Remove spacesLeonid Logvinov2017-05-241-1/+1
| * Add initial testing config and a dummy testLeonid Logvinov2017-05-242-2/+20
* | Merge pull request #4 from 0xProject/tslintFabio Berger2017-05-242-3/+5
|\|
| * Add tslint command to npm scripts and fix linting errorsLeonid Logvinov2017-05-242-3/+5
* | Merge pull request #3 from 0xProject/webpackLeonid2017-05-243-3/+62
|\|
| * Add trailing comasLeonid Logvinov2017-05-241-7/+7
| * Add clarifiing comment to webpack configLeonid Logvinov2017-05-241-0/+3
| * Capitalize library nameLeonid Logvinov2017-05-241-1/+1
| * newlineLeonid Logvinov2017-05-241-1/+2
| * Add .npmignoreLeonid Logvinov2017-05-241-0/+6
| * Add webpack config and npm scriptsLeonid Logvinov2017-05-242-2/+51
| * Fix LICENCELeonid Logvinov2017-05-241-1/+1
|/
* Merge pull request #2 from 0xProject/tsconfigLeonid2017-05-242-0/+21
|\
| * Add comments to .gitignoreLeonid Logvinov2017-05-241-1/+5
| * Add initial tsconfigLeonid Logvinov2017-05-242-0/+17
|/
* Merge pull request #1 from 0xProject/initial-packageLeonid2017-05-242-0/+28
|\
| * Change description and licenceLeonid Logvinov2017-05-241-2/+2
| * Merge branch 'master' into initial-packageLeonid Logvinov2017-05-241-0/+0
| |\ | |/ |/|
* | Create ts folderFabio Berger2017-05-241-0/+0
| * Add initial package.json and linter configLeonid Logvinov2017-05-242-0/+28
|/
* Add empty zeroEx classLeonid Logvinov2017-05-241-0/+5
* Switch the licence to Apache 2Leonid Logvinov2017-05-241-18/+10
* Initial commitLeonid2017-05-233-0/+81