aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Increase ALLOWANCE_TO_ZERO_GAS_AMOUNTAustin Roberts2017-10-251-1/+1
* Fix the rounding of makerFillAmount and correctly validate partial feesLeonid Logvinov2017-10-241-9/+34
* Revert "Reduce final bundle size by 11% (82kB)"Leonid2017-10-2423-73/+1399
* Remove unused parts from artifactsLeonid Logvinov2017-10-185-1382/+1
* Include only used lodash functionsLeonid Logvinov2017-10-1818-17/+72
* Merge branch 'development' into setFillOrKillToUseRequestInterfaceLeonid2017-10-168-45/+70
|\
| * Make logs fetching and sunscriptions more type-safeLeonid Logvinov2017-10-136-41/+52
| * Pass correct parameters to validation simulationLeonid Logvinov2017-10-121-3/+3
| * Export ContractEventArgLeonid Logvinov2017-10-111-0/+1
| * Fix a bug in logs fetchingLeonid Logvinov2017-10-111-1/+14
* | Use OrderFillRequest interface for batchFillOrKillAssaf2017-10-113-19/+12
|/
* Throw allowance errors firstLeonid Logvinov2017-10-101-3/+3
* Remove unused checkLeonid Logvinov2017-10-101-3/+1
* Fix the commentLeonid Logvinov2017-10-101-3/+3
* Fix the commentLeonid Logvinov2017-10-101-1/+1
* Remove redundant constructorLeonid Logvinov2017-10-101-3/+0
* Assign to a variable before assigningLeonid Logvinov2017-10-101-2/+4
* Change string enum valueLeonid Logvinov2017-10-101-1/+1
* Fix the commentLeonid Logvinov2017-10-091-2/+0
* Implement transfer Emulator and rewrite testsLeonid Logvinov2017-10-094-119/+239
* Add types for TradeSide and TransferTypeLeonid Logvinov2017-10-061-0/+10
* Add a hex prefixLeonid Logvinov2017-10-061-1/+1
* Add undefined checkLeonid Logvinov2017-10-061-1/+4
* Add a commentLeonid Logvinov2017-10-061-0/+1
* Fix a typoLeonid Logvinov2017-10-061-1/+1
* introduce BlockParamLiteralLeonid Logvinov2017-10-062-2/+9
* Check for blockAndLogStreamer to be undefined instead of th filters object to...Leonid Logvinov2017-10-061-5/+8
* Install js-sha3 and use it for keccak256Leonid Logvinov2017-10-063-13/+5
* Remove _activeFiltersLeonid Logvinov2017-10-061-2/+0
* Remove unused importsLeonid Logvinov2017-10-056-18/+3
* Add type assertions for callback parametersLeonid Logvinov2017-10-053-0/+5
* Fix commentsLeonid Logvinov2017-10-052-2/+2
* Move more logic into _stopBlockAndLogStream and _startBlockAndLogStreamLeonid Logvinov2017-10-051-11/+12
* Remove missing commentLeonid Logvinov2017-10-051-1/+0
* Add missing commentLeonid Logvinov2017-10-051-0/+1
* Implement subscriptions based on ethereumjs-blockstreamLeonid Logvinov2017-10-058-183/+229
* Instantiate logAndBlockStreamerLeonid Logvinov2017-10-052-2/+13
* Add assertion for tokenAddressLeonid Logvinov2017-10-051-0/+1
* Add assertionsLeonid Logvinov2017-10-052-0/+6
* Small reorderingLeonid Logvinov2017-10-051-1/+1
* Fi fees validation is one of the tokens transfered is 0xLeonid Logvinov2017-10-041-1/+8
* Fix an issue when validation failed, but contract call will succeedLeonid Logvinov2017-10-041-1/+5
* Move ZRX_NOT_IN_TOKEN_REGISTRY to InternalZeroExErrorLeonid Logvinov2017-10-041-1/+1
* Reduce nestingLeonid Logvinov2017-10-041-10/+11
* Use findLeonid Logvinov2017-10-041-1/+1
* Allign bracketsLeonid Logvinov2017-10-041-1/+2
* Add filtering by topicLeonid Logvinov2017-10-041-3/+23
* Use a ternary and add a commentLeonid Logvinov2017-10-041-8/+2
* Use SolidityTypesLeonid Logvinov2017-10-042-3/+7
* Use 0x.length instead of 2Leonid Logvinov2017-10-041-1/+1
* Add a commentLeonid Logvinov2017-10-041-0/+1
* Fix a typoLeonid Logvinov2017-10-041-1/+1
* Use _.find instead of _.filterLeonid Logvinov2017-10-041-1/+1
* Move NoAbiDecoder to InternalZeroExErrorsLeonid Logvinov2017-10-042-2/+5
* Extract topics to its variableLeonid Logvinov2017-10-041-7/+9
* Use Noop instead of NoOpLeonid Logvinov2017-10-042-3/+5
* Don't export RawLogLeonid Logvinov2017-10-041-1/+0
* Add tests for zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-044-6/+12
* Implement zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-042-0/+26
* Add _getLogsAsync on contract_wrapperLeonid Logvinov2017-10-042-14/+29
* Implement getLogsAsync on token contractLeonid Logvinov2017-10-042-3/+22
* Refactor abi decoderLeonid Logvinov2017-10-041-2/+2
* Add tryToDecodeLogOrNoOp and _getEventSignatureFromAbiByName on contract_wrapperLeonid Logvinov2017-10-041-2/+18
* Remove old testsLeonid Logvinov2017-10-041-0/+1
* Add keccak256 on web3_wrapperLeonid Logvinov2017-10-041-0/+4
* Add NO_ABI_DECODER and ContractEventsLeonid Logvinov2017-10-041-0/+3
* Move log decoding to AbiDecoderLeonid Logvinov2017-10-042-53/+37
* Factor out tryToDecodeLogOrNoOpLeonid Logvinov2017-10-041-11/+12
* Add zeroEx.getLogsAsyncLeonid Logvinov2017-10-041-0/+11
* Re-export new typesLeonid Logvinov2017-10-041-0/+2
* Add getLogsAsync to web3_wrapperLeonid Logvinov2017-10-041-0/+18
* Add type aliases for web3 typesLeonid Logvinov2017-10-041-0/+4
* Fix typesLeonid Logvinov2017-09-291-1/+1
* Update CHANGELOGLeonid Logvinov2017-09-291-0/+1
* Merge pull request #175 from 0xProject/fix/set-interval-bugLeonid2017-09-291-1/+1
|\
| * Fix the bug in transaction mined awaitingLeonid Logvinov2017-09-291-1/+1
* | Merge pull request #173 from 0xProject/feature/ropsten-supportLeonid2017-09-293-2/+355
|\|
| * Add Ropsten artifactsLeonid Logvinov2017-09-283-2/+355
* | Fixed nitsBrandon Millman2017-09-281-9/+27
* | Add testsBrandon Millman2017-09-281-5/+0
* | Add OrderTransactionOpts to enable optional validation to exchange_wrapperBrandon Millman2017-09-282-27/+72
|/
* fix merge issueFabio Berger2017-09-261-1/+1
* Merge branch 'development' into addOrderValidationFabio Berger2017-09-261-7/+11
|\
| * Update commentLeonid Logvinov2017-09-261-1/+1
| * Make getZRXTokenAddressAsync publicLeonid Logvinov2017-09-261-7/+11
* | improve commentFabio Berger2017-09-261-1/+2
* | Refactor our logic checking fillAmountNotZero and expiryFabio Berger2017-09-261-14/+21
* | make opts optionalFabio Berger2017-09-261-1/+1
* | rename validateOrderFillableThrowIfNotFillableAsync to validateOrderFillableO...Fabio Berger2017-09-262-3/+3
* | Fix bug where we were accidentally comparing a makerTokenAmount to a takerTok...Fabio Berger2017-09-261-2/+2
* | improve commentFabio Berger2017-09-261-2/+2
* | Add validateOrderFillableThrowIfNotFillableAsync to public methods in order t...Fabio Berger2017-09-263-0/+50
|/
* Fix the typoLeonid Logvinov2017-09-201-1/+1
* Add a comment for ZeroExConfig typeLeonid Logvinov2017-09-191-0/+6
* Move lower-casing logicLeonid Logvinov2017-09-192-3/+3
* Fix a commentLeonid Logvinov2017-09-191-1/+1
* Postfix variable names with 'ifExists'Leonid Logvinov2017-09-194-14/+15
* Prefix HACK comment with HACKLeonid Logvinov2017-09-191-1/+1
* Postfix variable names with 'ifExists'Leonid Logvinov2017-09-191-6/+8
* Verify ZeroExConfigLeonid Logvinov2017-09-192-0/+14
* Fix a typoLeonid Logvinov2017-09-181-3/+3
* Add explanatory commentLeonid Logvinov2017-09-181-0/+6
* Add tests for contracts address configLeonid Logvinov2017-09-181-0/+10
* Make contract addresses configurableLeonid Logvinov2017-09-185-9/+21
* Fetch tokenTransferProxy address from exchange contractLeonid Logvinov2017-09-186-142/+39
* Replace placeholders with actual comentsLeonid Logvinov2017-09-082-6/+6
* Add a comment for MethodOptsLeonid Logvinov2017-09-081-0/+6
* Rename CallOpts to MethodOptsLeonid Logvinov2017-09-084-21/+23
* Allow user to specify defaultBlock when calling const exchange methodsLeonid Logvinov2017-09-082-9/+18
* Allow user to specify defaultBlock when calling const token methodsLeonid Logvinov2017-09-082-8/+16
* Define CallOpts typeLeonid Logvinov2017-09-082-0/+5
* Move Aftifact type definition to 'types'Leonid Logvinov2017-09-085-9/+10
* Use LogError typeLeonid Logvinov2017-09-071-3/+3
* Fix a commentLeonid Logvinov2017-09-071-2/+1
* Make intervalUtils an object instead of a class and make instance variable localLeonid Logvinov2017-09-072-15/+13
* Fix a bug in intervalUtilsLeonid Logvinov2017-09-061-1/+1
* Fix overlapping async intervals issueLeonid Logvinov2017-09-062-2/+25
* Add zeroEx.exchange.throwLogErrorsAsErrorsLeonid Logvinov2017-09-061-0/+23
* Fix log decoder to return correct typesLeonid Logvinov2017-09-061-2/+3
* 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