aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'development' into feature/receipt-statusFabio Berger2017-11-1317-112/+739
|\
| * Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcherFabio Berger2017-11-138-139/+265
| |\
| | * Remove unused codeLeonid Logvinov2017-11-132-8/+0
| | * Remove redundant spacesLeonid Logvinov2017-11-131-1/+1
| | * Don't store empty objectsLeonid Logvinov2017-11-131-0/+6
| | * Fix a typoLeonid Logvinov2017-11-131-1/+1
| | * Remove duplicate operationsLeonid Logvinov2017-11-131-2/+0
| | * Remove redundant instance variablesLeonid Logvinov2017-11-131-8/+2
| | * Remove blockStore and default to numConfirmations === 0Leonid Logvinov2017-11-137-111/+16
| | * Add a commentLeonid Logvinov2017-11-131-0/+2
| | * Store number of confirmations in a blockStoreLeonid Logvinov2017-11-136-26/+24
| | * Remove tautology checkLeonid Logvinov2017-11-131-3/+0
| | * Pass blockStore to eventWatcherLeonid Logvinov2017-11-132-15/+16
| | * Fix last merge conflictsLeonid Logvinov2017-11-131-13/+3
| | * Clear cache on unsubscribeLeonid Logvinov2017-11-133-0/+10
| | * Clear store cache on eventsLeonid Logvinov2017-11-132-33/+76
| | * Add more configs for order watcherLeonid Logvinov2017-11-131-3/+5
| | * Make subscribe function async and make blockStore operationalLeonid Logvinov2017-11-132-21/+59
| | * Add more errorsLeonid Logvinov2017-11-131-0/+2
| | * Create stores in orderStateWatcherLeonid Logvinov2017-11-132-17/+24
| | * Make orderStateUtils operate on storesLeonid Logvinov2017-11-132-30/+32
| | * Create fake blockStore for exchange transfer simulatorLeonid Logvinov2017-11-131-1/+4
| | * Add initial incomplete BlockStore implementationLeonid Logvinov2017-11-131-0/+38
| | * Make stores accept numConfirmations and blockStore instead of defaultBlockLeonid Logvinov2017-11-132-10/+20
| | * Add LatestBlockNumberNotSet internal errorLeonid Logvinov2017-11-131-0/+1
| | * Add functions to clear stores cacheLeonid Logvinov2017-11-132-0/+16
| | * Add store for order filled/cancelled stateLeonid Logvinov2017-11-131-0/+52
| | * Make store configurable by blockParamLeonid Logvinov2017-11-132-5/+14
| | * Make a store an instance variable of exchange transfer simulator and stop inh...Leonid Logvinov2017-11-132-15/+22
| | * Refactor out BalanceAndProxyAllowanceLazyStoreLeonid Logvinov2017-11-132-53/+56
| * | Merge branch 'development' into orderWatcherFabio Berger2017-11-134-40/+38
| |\ \ | | |/ | |/|
| * | remove commentsJacob Evans2017-11-131-3/+0
| * | Perform the division after multiplication to reduce compounding the rounding ...Jacob Evans2017-11-131-3/+3
| * | Update commentJacob Evans2017-11-131-1/+1
| * | Added specs for allowance and balance changesJacob Evans2017-11-131-2/+0
| * | Calculate the remaining order amount in maker unitsJacob Evans2017-11-132-0/+17
| * | Merge branch 'development' into orderWatcherFabio Berger2017-11-122-1/+14
| |\ \
| * | | Add commentFabio Berger2017-11-121-0/+2
| * | | rename isDecodedLog to isLogDecodedFabio Berger2017-11-111-2/+2
| * | | Improve commentFabio Berger2017-11-111-1/+2
| * | | Declare OnOrderStateChangeCallback as either sync or asyncFabio Berger2017-11-111-3/+3
| * | | Fix commentFabio Berger2017-11-111-3/+0
| * | | Remove keys from dependentOrderHashes if emptyFabio Berger2017-11-111-2/+10
| * | | establish convention of initializing empty instances in instance declarationFabio Berger2017-11-111-4/+2
| * | | Use enum instead of boolean to avoid potential bugs from isRemoved incorrectl...Fabio Berger2017-11-111-6/+10
| * | | rename _orders to _orderByOrderhash for clarityFabio Berger2017-11-111-7/+7
| * | | Add comment above orderStateWatcher classFabio Berger2017-11-111-0/+6
| * | | Feather the callback down to _emitDifferencesAsync and don't store it as a cl...Fabio Berger2017-11-111-11/+11
| * | | Throw if trying to subscribe multiple timesFabio Berger2017-11-111-1/+9
| * | | Fix alignmentFabio Berger2017-11-111-2/+2
| * | | Add comment above the eventWatcher classFabio Berger2017-11-111-0/+4
| * | | Rename method since it's not more then just mempoolFabio Berger2017-11-111-2/+2
| * | | 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
| |/ / /
* | | | Fix testsLeonid Logvinov2017-11-131-1/+1
* | | | Normalize the way we return the transaction statusLeonid Logvinov2017-11-133-5/+33
| |_|/ |/| |
* | | Push unsubscribe to the base class rather than superJacob Evans2017-11-123-25/+16
* | | Removed nitsJacob Evans2017-11-121-1/+0
* | | Clean up subscription state.Jacob Evans2017-11-123-17/+14
* | | Fix unhandled promise rejection error on subscriptionsFabio Berger2017-11-112-9/+20
| |/ |/|
* | use util fnLuke Autry2017-11-111-1/+1
* | no race, reject from interval cb and clearLuke Autry2017-11-111-9/+10
* | allow timeout for await transaction minedLuke Autry2017-11-102-1/+13
|/
* 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