aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Use startsWith instead of includesLeonid Logvinov2017-09-061-1/+1
* Use template stringsLeonid Logvinov2017-09-061-1/+1
* Use _.includes instead of indexOfLeonid Logvinov2017-09-061-6/+6
* Rename methodID to methodIdLeonid Logvinov2017-09-061-4/+4
* Remove redundant js prefixLeonid Logvinov2017-09-062-2/+2
* Handle the case, when it's not possible to decode argsLeonid Logvinov2017-09-062-2/+2
* Implement custom ABI decoderLeonid Logvinov2017-09-063-15/+79
* Add types for web3/lib/solidity/coder.jsLeonid Logvinov2017-09-061-0/+4
* Define sendAsync on HDWalletProviderLeonid Logvinov2017-09-061-3/+8
* Fix import in order_validation_utilsLeonid Logvinov2017-09-061-1/+1
* Merge branch 'development' into fix/signature-verificationLeonid2017-09-0614-281/+469
|\
| * Add forgotten artifacts fileLeonid Logvinov2017-09-061-0/+13
| * Fix the return types and export the required public typesLeonid Logvinov2017-09-062-5/+8
| * Decode logs args in awaitTransactionMinedAsyncLeonid Logvinov2017-09-068-15/+79
| * Define AbiTypeLeonid Logvinov2017-09-052-2/+10
| * Use AbiTypeLeonid Logvinov2017-09-051-2/+2
| * Use schema validation to distinguish txData argumentLeonid Logvinov2017-09-051-1/+8
| * Don't override function argumentsLeonid Logvinov2017-09-051-3/+6
| * Cast to Artifat typeLeonid Logvinov2017-09-051-1/+1
| * Remove unused codeLeonid Logvinov2017-09-051-16/+0
| * Change the order of default overridingLeonid Logvinov2017-09-051-1/+1
| * Rename x.call -> x.callAsync x() -> x.sendTransactionAsync() x.estimateGas() ...Leonid Logvinov2017-09-057-110/+132
| * Add explaining commentLeonid Logvinov2017-09-051-0/+2
| * Increase the default polling interval to 1000Leonid Logvinov2017-09-051-1/+1
| * Fix the comment at awaitTransactionMinedAsyncLeonid Logvinov2017-09-051-2/+2
| * Fix gasPrice regressionLeonid Logvinov2017-09-058-21/+54
| * Add TransationReceipt as a public exported typeLeonid Logvinov2017-09-053-3/+12
| * Change non-exhange contracts to also return txHashLeonid Logvinov2017-09-055-26/+44
| * Implement zeroEx.awaitTransactionMinedLeonid Logvinov2017-09-052-0/+18
| * Use Web3.ContractInstance typeLeonid Logvinov2017-09-051-14/+5
| * Make the functions immidiately return txHash instead of awaiting for a transa...Leonid Logvinov2017-09-0512-131/+116
| * Use custom contract abstractionLeonid Logvinov2017-09-041-0/+28
* | Add signature verification as a part of order validation and tests for itLeonid Logvinov2017-09-061-1/+5
|/
* Fix type of ExchangeContract.getOrderHash.callBrandon Millman2017-08-311-1/+1
* Fix incorrect types related to contract interactions in types.tsBrandon Millman2017-08-311-18/+18
* Improve the commentLeonid Logvinov2017-08-301-2/+2
* Add assert.isWeb3ProviderLeonid Logvinov2017-08-302-0/+5
* Improve the commentLeonid Logvinov2017-08-301-3/+5
* Support web3@1.0 providersLeonid Logvinov2017-08-301-0/+4
* Define web3@1.0 types ;)Leonid Logvinov2017-08-301-0/+1
* Pass config object to a constructor instead of gasPriceLeonid Logvinov2017-08-291-3/+4
* Document gasPrice in ZeroExConfigLeonid Logvinov2017-08-291-1/+1
* Add ZeroExConfig type to public interfaceLeonid Logvinov2017-08-291-0/+1
* Add ZeroExConfig typeLeonid Logvinov2017-08-291-0/+4
* Revert "Add a unit parameter to web3Wrapper.toWei"Leonid Logvinov2017-08-291-2/+2
* Remove default value for gasPriceLeonid Logvinov2017-08-296-9/+6
* Allow user to specify the gas priceLeonid Logvinov2017-08-297-15/+26
* Add a unit parameter to web3Wrapper.toWeiLeonid Logvinov2017-08-291-2/+2
* Use 0x-json-schemasLeonid Logvinov2017-08-2817-280/+26
* Improve commentsLeonid Logvinov2017-08-251-0/+4
* Refactor UNLIMITED_ALLOWANCE_IN_BASE_UNITS to constantsLeonid Logvinov2017-08-252-1/+4
* Add tests for unlimited allowanceLeonid Logvinov2017-08-251-1/+1
* Add setUnlimitedProxyAllowanceAsync and setUnlimitedAllowanceAsyncLeonid Logvinov2017-08-251-0/+25
* Convert artifacts addresses lo lower case before usingLeonid Logvinov2017-08-242-2/+2
* Hot fix the checksummed addresses in artifactsLeonid Logvinov2017-08-242-2/+2
* Rename _getTokenByMetadata to _createTokenFromMetadataLeonid Logvinov2017-08-241-4/+4
* Remove redundant else'sLeonid Logvinov2017-08-241-4/+2
* Add tests for tokenRegistry public gettersLeonid Logvinov2017-08-241-1/+1
* Add all public tokenRegistry functionsLeonid Logvinov2017-08-242-0/+50
* Add zeroEx.tokenRegistry.getTokenAddressesAsync()Leonid Logvinov2017-08-241-1/+10
* Add validation for the case where the order is fully filled or canceled and a...Leonid Logvinov2017-08-242-0/+6
* Simplify the validation check for ExchangeContractErrs.OrderAlreadyCancelledO...Leonid Logvinov2017-08-241-1/+1
* Remove unused varLeonid Logvinov2017-08-241-1/+0
* Add newlineLeonid Logvinov2017-08-241-1/+2
* Fix commentsLeonid Logvinov2017-08-241-5/+7
* Add a comment for isRoundingErrorAsyncLeonid Logvinov2017-08-241-5/+12
* Remove And's from namesLeonid Logvinov2017-08-242-29/+29
* Move order validation functions to orderValidationUtils and make isRoundingEr...Leonid Logvinov2017-08-242-53/+88
* Add initial implementation for public order validation functionsLeonid Logvinov2017-08-241-48/+77
* Merge pull request #131 from 0xProject/addTokenRegistryMethodFabio Berger2017-08-241-12/+26
|\
| * rename method for clarity since we return a Token and not tokenMetadataFabio Berger2017-08-241-2/+2
| * Add assertion to public methodFabio Berger2017-08-241-0/+3
| * Add public method `getTokenMetadataIfExistsAsync` to TokenRegistry wrapper, r...Fabio Berger2017-08-231-12/+23
* | Return variable instead of expressionFabio Berger2017-08-232-2/+4
* | Add getContractAddressAsync public method to proxy instanceFabio Berger2017-08-231-0/+9
|/
* Fix the docs for shouldThrowOnInsufficientBalanceOrAllowanceLeonid Logvinov2017-08-221-4/+6
* Rename internally Proxy to TokenTransferProxyLeonid Logvinov2017-08-224-47/+47
* Include variableName in error message for checksummed addressLeonid Logvinov2017-08-221-1/+1
* Reject checksummed addressesLeonid Logvinov2017-08-222-1/+5
* Update testrpc snapshot and testrpc artifactsFabio Berger2017-08-215-38/+38
* Update artifacts and rename proxy to tokenTransferProxyFabio Berger2017-08-216-216/+247
* Merge pull request #118 from 0xProject/artifacts-updateFabio Berger2017-08-219-515/+399
|\
| * Remove url from token registryLeonid Logvinov2017-08-153-17/+4
| * Update testrpc artifactsLeonid Logvinov2017-08-153-3/+3
| * --no-editLeonid Logvinov2017-08-151-1/+1
| * Update Exchange artifacts and adjust ExchangeWrapperLeonid Logvinov2017-08-153-94/+89
| * Update TokenRegistry artifactsLeonid Logvinov2017-08-151-205/+245
| * Update EtherToken artifactsLeonid Logvinov2017-08-151-8/+59
| * Update Token artifactsLeonid Logvinov2017-08-151-2/+2
| * Remove Mintable artifactsLeonid Logvinov2017-08-151-189/+0
* | Add JSONRPCPayload type and remove unused importLeonid Logvinov2017-08-172-3/+8
* | remove unnecessary assertion and add regression testFabio Berger2017-08-171-1/+0
* | remove unneeded assertion from _isRoundingErrorAsync since one can make stati...Fabio Berger2017-08-171-1/+0
* | Remove isUserAddressAvailable assertion from getBalanceAsync and add regressi...Fabio Berger2017-08-172-1/+25
|/
* Simplify order checksLeonid Logvinov2017-07-261-30/+18
* Store tokenWrapper inside of OrdervalidationUtilsLeonid Logvinov2017-07-262-23/+29
* Remove and from namesLeonid Logvinov2017-07-262-6/+6
* Remove unused importsLeonid Logvinov2017-07-266-11/+0
* Cover all possible branches of order validation errors with testsLeonid Logvinov2017-07-261-11/+8
* Refactor OrderValidationUtils to check for the case when ZRX is one of the to...Leonid Logvinov2017-07-262-55/+81
* Pass tokenWrapper to validateFillOrderBalancesAndAllowancesAndThrowIfInvalidA...Leonid Logvinov2017-07-262-12/+12
* Move _validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync to orderVa...Leonid Logvinov2017-07-262-63/+70
* Add ethereumjs-utils typesLeonid Logvinov2017-07-221-11/+0
* Add bn.js typesLeonid Logvinov2017-07-222-2/+1
* Add a comment explaining anyLeonid Logvinov2017-07-121-1/+2
* Add forgotten meger conflict resolutionLeonid Logvinov2017-07-121-19/+0
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-129-87/+114
* Migrate to using native string enumsLeonid Logvinov2017-07-121-67/+50
* Make getOrderHashHex staticLeonid Logvinov2017-07-121-10/+10
* Fix the commentLeonid Logvinov2017-07-121-1/+3
* Migrate to using a single Exchange contractLeonid Logvinov2017-07-123-110/+40
* Remove exchange artifacts by nameLeonid Logvinov2017-07-121-6/+0
* Flatten artifactsLeonid Logvinov2017-07-121-0/+0
* Add the source for the schemaLeonid2017-07-121-0/+1
* Use custom Schema typesLeonid Logvinov2017-07-122-14/+13
* Add jsonschema Schema declarationLeonid Logvinov2017-07-121-0/+48
* Fix a typoLeonid Logvinov2017-07-111-4/+4
* Fix a typo in commentLeonid Logvinov2017-07-111-2/+2
* Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowanceLeonid Logvinov2017-07-111-10/+11
* Simplify BigNumber hackLeonid Logvinov2017-07-111-5/+2
* Migrate the rest of the artifactsLeonid Logvinov2017-07-111-184/+40
* Change arguments order at isRoundingErrorLeonid Logvinov2017-07-111-3/+3
* Migrate eventsLeonid Logvinov2017-07-113-23/+24
* Migrate constructor argumentsLeonid Logvinov2017-07-111-2/+2
* Migrate fillOrKillOrderLeonid Logvinov2017-07-113-14/+15
* Migrate ZRX_TOKEN_AMOUNTLeonid Logvinov2017-07-113-3/+3
* Migrate getUnavailableTakerTokenAmountLeonid Logvinov2017-07-113-6/+6
* Migrate PROXY_CONTRACTLeonid Logvinov2017-07-111-1/+1
* Migrate batchFillOrKillOrdersLeonid Logvinov2017-07-113-10/+11
* Migrate batchFillOrdersLeonid Logvinov2017-07-113-24/+31
* Migrate fillOrderLeonid Logvinov2017-07-113-29/+35
* Migrate fillOrdersUpTo and remove minLeonid Logvinov2017-07-113-44/+26
* Migrate batchCancelOrdersLeonid Logvinov2017-07-113-10/+11
* Migrate getPartialAmountLeonid Logvinov2017-07-111-3/+3
* Migrate cencelOrderLeonid Logvinov2017-07-113-15/+16
* Revert "Migrate isRoundingError parameter changes"Leonid Logvinov2017-07-113-9/+9
* Revert "Rename ZRX to ZRX_TOKEN_CONTRACT"Leonid Logvinov2017-07-113-28/+2
* Update binaries and timestampsLeonid Logvinov2017-07-111-4/+4
* Migrate isRoundingError parameter changesLeonid Logvinov2017-07-113-9/+9
* Rename ZRX to ZRX_TOKEN_CONTRACTLeonid Logvinov2017-07-113-2/+28
* Add contracts artifacts for contracts that didn't changeLeonid Logvinov2017-07-115-13/+17
* Merge pull request #100 from 0xProject/improveSignOrderFabio Berger2017-07-082-29/+48
|\
| * Move private helper methods into signatureUtils so that they don't show up in...Fabio Berger2017-07-082-24/+30
| * Remove duplication of 27, 28 v valuesFabio Berger2017-07-081-4/+5
| * Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND R...Fabio Berger2017-07-081-29/+41
* | Refactor net_version caching logicLeonid Logvinov2017-07-081-10/+10
* | Merge branch 'master' into cache_net_versionLeonid2017-07-081-3/+3
|\ \
| * | Rename batchCancelOrderAsync to batchCancelOrdersAsyncLeonid Logvinov2017-07-081-1/+1
| * | Rename batchFillOrderAsync to batchFillOrdersAsyncLeonid Logvinov2017-07-081-2/+2
| |/
* / Cache networkId in web3WrapperLeonid Logvinov2017-07-071-5/+12
|/
* Inline _isExchangeContractAddressProxyAuthorizedAsyncLeonid Logvinov2017-07-071-5/+1
* Fix comments to use web3 provider instead of web3 instanceLeonid Logvinov2017-07-072-7/+8
* Move zeroEx.exchange.getAvailableContractAddressesAsync to zeroEx.getAvailabl...Leonid Logvinov2017-07-062-46/+45
* Add order hash schemaLeonid Logvinov2017-07-051-0/+5
* Rearrange methods in event utilsLeonid Logvinov2017-07-051-13/+13
* Add underscore in front of _getBigNumberWrappingEventCallbackLeonid Logvinov2017-07-051-2/+2
* Use string templateLeonid Logvinov2017-07-051-1/+1
* Make all fields of subscriptionOpts schema optionalLeonid Logvinov2017-07-051-1/+0
* move order hash schema to a separate fileLeonid Logvinov2017-07-054-9/+6
* Fix order schema (add exchangeContractAddress)Leonid Logvinov2017-07-051-1/+2
* Fix the bug when didn't invalidate etherToken contract instanceLeonid Logvinov2017-07-052-0/+4
* Make this.proxy.invalidateContractInstance and this.tokenRegistry.invalidateC...Leonid Logvinov2017-07-053-8/+8
* Make invalidateContractInstancesAsync private on exchange and tokenLeonid Logvinov2017-07-053-10/+10
* Add parameter validation for subscribeAsyncLeonid Logvinov2017-07-052-0/+10
* Add assert.doesBelongToStringEnumLeonid Logvinov2017-07-051-0/+11
* Add StringEnum typeLeonid Logvinov2017-07-051-1/+4
* Use orderHashSchema to validate order hashLeonid Logvinov2017-07-054-14/+9
* Refactor event testsLeonid Logvinov2017-07-051-4/+0
* Add tests for order hash SchemaLeonid Logvinov2017-07-051-0/+6
* Add orderHashSchemaLeonid Logvinov2017-07-042-1/+8
* Register new schemas within schema validatorLeonid Logvinov2017-07-041-0/+5
* Add index_filter_values_schema.ts and subscription_opts_schema.tsLeonid Logvinov2017-07-042-0/+32
* Make IndexedFilterValues type scricterLeonid Logvinov2017-07-041-1/+1
* Fix commentsLeonid Logvinov2017-07-042-7/+6
* Merge branch 'master' into subscribe-tokenLeonid2017-07-044-9/+26
|\
| * Merge pull request #89 from 0xProject/proxyLeonid2017-07-044-9/+26
| |\
| | * Use call instead of use in the commentsLeonid Logvinov2017-07-042-6/+6
| | * Fix the commentLeonid Logvinov2017-07-041-1/+1
| | * Add zeroEx.proxy.getAuthorizedAddressesAsync and testsLeonid Logvinov2017-07-042-0/+13
| | * Make proxy wrapper public on zeroEx instanceLeonid Logvinov2017-07-041-4/+8
* | | Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-046-36/+128
|/ /
* | Rename _wrapEventCallback to _getBigNumberWrappingEventCallbackLeonid Logvinov2017-07-041-2/+2
* | Merge branch 'master' into wrap-log-bignumberLeonid2017-07-0415-104/+348
|\|
| * Merge branch 'master' into add-exchange-address-to-order-structLeonid2017-07-042-2/+6
| |\
| | * Fix test failures caused by testrpc new eth_sign behaviourLeonid Logvinov2017-07-012-2/+6
| * | Stop passing exchangeContractAddress to utils.getOrderHashHexLeonid Logvinov2017-07-043-10/+5
| * | Await ZRX callLeonid Logvinov2017-07-041-1/+1
| * | Fix the commentLeonid Logvinov2017-07-041-1/+1
| * | Rename invalidateContractInstanceAsync to invalidateContractInstancesAsyncLeonid Logvinov2017-07-042-2/+2
| * | Fix _getProxyContractAsync function nameLeonid Logvinov2017-07-041-2/+2
| * | Fix commentLeonid Logvinov2017-07-041-1/+1
| * | Fix commentLeonid Logvinov2017-07-011-1/+1
| * | Remove constructorLeonid Logvinov2017-07-011-3/+0
| * | Fix proxy commentLeonid Logvinov2017-07-011-1/+1
| * | Fix namingLeonid Logvinov2017-07-011-2/+3
| * | Fix a typo in authorizedLeonid Logvinov2017-07-011-3/+3
| * | Fix a bug in getProxyAuthorizedContractAddressesAsyncLeonid Logvinov2017-07-011-2/+7
| * | Move schema assertion up to prevent the _.map failureLeonid Logvinov2017-07-011-1/+1
| * | Fix a typo in authorizedLeonid Logvinov2017-06-302-2/+2
| * | Rename _proxy to _proxyWrapperLeonid Logvinov2017-06-301-4/+4
| * | Implement getProxyAuthorizedContractAddressesAsyncLeonid Logvinov2017-06-301-0/+16
| * | Store ProxyWrapper instance in ExchangeWrapperLeonid Logvinov2017-06-301-1/+4
| * | Add ProxyWrapper instance to zeroExLeonid Logvinov2017-06-301-1/+5
| * | Add Proxy wrapperLeonid Logvinov2017-06-301-0/+36
| * | Add type for a ProxyContractLeonid Logvinov2017-06-301-0/+6
| * | Rename Exchange.json to Exchange_v1.jsonLeonid Logvinov2017-06-302-1/+1
| * | Factor out ZRXtokenAddress variableLeonid Logvinov2017-06-301-1/+2
| * | Rename ZeroExError.CONTRACT_DOES_NOT_EXIST to ZeroExError.EXCHANGE_CONTRACT_D...Leonid Logvinov2017-06-302-1/+2
| * | Fix a typo in a nameLeonid Logvinov2017-06-301-2/+2
| * | Factor out exchangeArtifacts variableLeonid Logvinov2017-06-301-1/+2
| * | Check that artefacts by networkId are not undefined before getting the addressLeonid Logvinov2017-06-301-2/+5
| * | Fix a typo in a nameLeonid Logvinov2017-06-301-1/+1
| * | Fix a typo in a nameLeonid Logvinov2017-06-301-1/+1
| * | Move schema assertion up to prevent the _.map failureLeonid Logvinov2017-06-301-2/+2
| * | Move schema assertion up to prevent the _.map failureLeonid Logvinov2017-06-301-1/+1
| * | Mve schema assertion up to prevent the _.map failureLeonid Logvinov2017-06-301-1/+1
| * | Make getOrderHashHex a non-async functionLeonid Logvinov2017-06-301-1/+1
| * | Update contract artefactsLeonid Logvinov2017-06-286-16/+125
| * | Remove custom Schema type and use one from jsonschemaLeonid Logvinov2017-06-283-5/+2
| * | Remove _getExchangeAddressAsyncLeonid Logvinov2017-06-272-11/+1
| * | Allow multiple exchange versions t be functional at the same timeLeonid Logvinov2017-06-274-52/+127
| * | Move exchange artifacts to an exchange subfolderLeonid Logvinov2017-06-272-1/+1
| |/
* | Check for a BigNumber instanceLeonid Logvinov2017-07-041-1/+8
* | Use _.isString instead of instanceofLeonid Logvinov2017-07-041-1/+1
* | Wrap all event args in a newer version of BigNumber and test itLeonid Logvinov2017-07-022-1/+20
|/
* Additional EtherToken comment changesFabio Berger2017-06-271-10/+10
* Improve EtherToken commentsFabio Berger2017-06-271-10/+10
* Merge pull request #81 from 0xProject/addWrappedETHSupportLeonid2017-06-275-4/+99
|\
| * refactor getBalanceInEthAsync to getBalanceInWeiAsync and change the test ass...Fabio Berger2017-06-272-7/+5
| * Fix typoFabio Berger2017-06-272-2/+2
| * Implement EtherTokenWrapper and tests, with deposit and withdraw methodsFabio Berger2017-06-264-0/+95
| * Add missing return commentFabio Berger2017-06-261-0/+1
| * Re-wrap BigNumber returned from web3 in `getBalanceInEthAsync`Fabio Berger2017-06-261-1/+2
* | Add comment before declarationsLeonid Logvinov2017-06-231-1/+1
* | Add kovan integration testsLeonid Logvinov2017-06-231-0/+8
|/
* Fix incorrect merge consequencesLeonid Logvinov2017-06-231-3/+3
* Merge branch 'master' into fill-order-amuontLeonid2017-06-2316-91/+682
|\
| * Update contractsLeonid Logvinov2017-06-226-17/+622
| * Revert "Use different lodash import syntax which allows to include only used ...Leonid2017-06-2210-73/+60
* | Return filledTakerTokenAmount from fillOrdersUpToAsyncLeonid Logvinov2017-06-221-3/+10
* | Return cancelledAmount from cancelOrderAsyncLeonid Logvinov2017-06-221-1/+6
* | Fix return commentLeonid Logvinov2017-06-221-1/+1
* | Return filledAmount from fillOrderAsyncLeonid Logvinov2017-06-211-1/+6
|/
* Rename Log*Args to Log*ContractEventArgsLeonid Logvinov2017-06-212-5/+5
* Fall back to import x = require() syntaxLeonid Logvinov2017-06-2110-23/+23
* Use different lodash import syntax which allows to include only used functionsLeonid Logvinov2017-06-2110-60/+73
* Add missing semi-colonFabio Berger2017-06-201-1/+1
* Add newline between type defsFabio Berger2017-06-201-0/+1
* Improve commentFabio Berger2017-06-201-3/+3
* Fix tslint issueFabio Berger2017-06-191-1/+2