aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Improve commentFabio Berger2017-11-101-1/+2
* Make sure to set the defaultBlock to the blockNumber rather then the number o...Fabio Berger2017-11-101-5/+9
* Simplify to/from block codeFabio Berger2017-11-101-8/+5
* Add assertionFabio Berger2017-11-101-0/+2
* rename intervalId to intervalIdIfExistsFabio Berger2017-11-101-3/+5
* Fix bug where we hard-coded using pendingBlock for fetching the orderState. M...Fabio Berger2017-11-104-14/+30
* Fix commentsFabio Berger2017-11-101-3/+2
* comment improvementsFabio Berger2017-11-101-3/+3
* Closing paren on same level as openFabio Berger2017-11-101-1/+2
* Rename _callbackAsync to _callbackIfExistsAsync for clarityFabio Berger2017-11-102-11/+11
* Merge branches 'orderWatcher' and 'orderWatcher' of github.com:0xProject/0x.j...Fabio Berger2017-11-101-2/+3
|\
| * Fix getting events from non-mempoolLeonid Logvinov2017-11-101-2/+3
* | use explicit importFabio Berger2017-11-101-1/+1
|/
* Remove finished TODOsFabio Berger2017-11-102-2/+0
* Create assert.isValidSignature method and use it in `addOrder`Fabio Berger2017-11-102-2/+9
* Move isValidSignature implementation into signatureUtilsFabio Berger2017-11-102-13/+17
* Fix commentFabio Berger2017-11-101-1/+1
* Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcherFabio Berger2017-11-101-8/+9
|\
| * Revert "Use _.get for optional configs"Leonid Logvinov2017-11-101-8/+9
* | Add nested config for orderWatcherFabio Berger2017-11-104-8/+23
|/
* Rename MempoolEventCallback to EventWatcherCallbackFabio Berger2017-11-104-9/+9
* Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcherFabio Berger2017-11-101-5/+5
|\
| * Fix namingsLeonid Logvinov2017-11-101-5/+5
* | rename folder to order_watcherFabio Berger2017-11-103-10/+10
|/
* Remove redundant assertionsLeonid Logvinov2017-11-104-16/+1
* Use _.get for optional configsFabio Berger2017-11-101-9/+8
* Improve commentFabio Berger2017-11-101-1/+2
* Add SubscriptionAlreadyPresent errorLeonid Logvinov2017-11-102-0/+5
* fix merge conflictsFabio Berger2017-11-101-4/+7
|\
| * Pass orderHash instead of an order to removeOrder and adjust the testsLeonid Logvinov2017-11-101-3/+6
| * Remove check for now, we need a more robust checkFabio Berger2017-11-101-3/+0
| * Add assert.isValidBaseUnitAmount that checks for decimals in amounts that sho...Fabio Berger2017-11-104-0/+22
| * Look for relevant events in the decodedLogs and emit orderState events for or...Fabio Berger2017-11-101-8/+81
| * Add todo commentsFabio Berger2017-11-102-1/+3
| * fix stylingFabio Berger2017-11-101-1/+2
| * remove unused typeFabio Berger2017-11-101-1/+0
| * Add naive order state watcher implementationLeonid Logvinov2017-11-108-55/+163
| * Change fields in OrderState to represent taker side valuesLeonid Logvinov2017-11-101-2/+2
| * Introduce OrderState interfaceLeonid Logvinov2017-11-101-5/+9
| * Fix config schemaLeonid Logvinov2017-11-101-1/+4
| * Add empty implementation of order state watcherLeonid Logvinov2017-11-104-29/+78
| * Add new public typesLeonid Logvinov2017-11-101-0/+4
| * Move mempoolPollingIntervalMs to OrderWatcherConfigLeonid Logvinov2017-11-101-1/+6
| * Clear event cache on unsubscribeLeonid Logvinov2017-11-101-0/+1
| * Remove mempool event watcher configLeonid Logvinov2017-11-101-1/+0
| * Move provider altering logic to Web3WrapperLeonid Logvinov2017-11-103-18/+19
| * Add types for order state watcherLeonid Logvinov2017-11-101-0/+21
| * Add initial interface of an OrderWatcherLeonid Logvinov2017-11-101-0/+27
| * Rename MempoolWatcher to EventWatcher and remove from public interfaceLeonid Logvinov2017-11-102-10/+1
| * Fix namingsLeonid Logvinov2017-11-101-2/+2
| * Don't emit new events if already unsubscribedLeonid Logvinov2017-11-101-1/+3
| * Compare logs by string representationLeonid Logvinov2017-11-101-2/+2
| * Add initial mempool watching implememtationLeonid Logvinov2017-11-104-11/+89
* | Add comments to public methodsFabio Berger2017-11-101-1/+21
* | Add numConfirmations arg so that caller can decide on numConfirmations at whi...Fabio Berger2017-11-103-9/+22
* | Remove check for now, we need a more robust checkFabio Berger2017-11-091-3/+0
* | Add assert.isValidBaseUnitAmount that checks for decimals in amounts that sho...Fabio Berger2017-11-094-0/+22
* | Look for relevant events in the decodedLogs and emit orderState events for or...Fabio Berger2017-11-091-8/+81
* | Add todo commentsFabio Berger2017-11-092-1/+3
* | fix stylingFabio Berger2017-11-091-1/+2
* | remove unused typeFabio Berger2017-11-091-1/+0
* | Add naive order state watcher implementationLeonid Logvinov2017-10-318-55/+163
* | Change fields in OrderState to represent taker side valuesLeonid Logvinov2017-10-311-2/+2
* | Introduce OrderState interfaceLeonid Logvinov2017-10-311-5/+9
* | Fix config schemaLeonid Logvinov2017-10-311-1/+4
* | Add empty implementation of order state watcherLeonid Logvinov2017-10-314-29/+78
* | Add new public typesLeonid Logvinov2017-10-311-0/+4
* | Move mempoolPollingIntervalMs to OrderWatcherConfigLeonid Logvinov2017-10-311-1/+6
* | Clear event cache on unsubscribeLeonid Logvinov2017-10-311-0/+1
* | Remove mempool event watcher configLeonid Logvinov2017-10-311-1/+0
* | Move provider altering logic to Web3WrapperLeonid Logvinov2017-10-313-18/+19
* | Add types for order state watcherLeonid Logvinov2017-10-311-0/+21
* | Add initial interface of an OrderWatcherLeonid Logvinov2017-10-311-0/+27
* | Rename MempoolWatcher to EventWatcher and remove from public interfaceLeonid Logvinov2017-10-312-10/+1
* | Fix namingsLeonid Logvinov2017-10-311-2/+2
* | Don't emit new events if already unsubscribedLeonid Logvinov2017-10-311-1/+3
* | Compare logs by string representationLeonid Logvinov2017-10-311-2/+2
* | Add initial mempool watching implememtationLeonid Logvinov2017-10-314-11/+89
|/
* Merge branch 'development' of github.com:0xProject/0x.js into developmentFabio Berger2017-10-3015-118/+137
|\
| * Add HACK commentsLeonid Logvinov2017-10-261-0/+5
| * Add a forgotten augmentation fileLeonid Logvinov2017-10-261-0/+18
| * Upgrade bignumber to the version with native typings and remove typingsLeonid Logvinov2017-10-2614-118/+114
* | Fix commentFabio Berger2017-10-301-2/+2
|/
* 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