aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
Commit message (Expand)AuthorAgeFilesLines
* Make orderStateUtils operate on storesLeonid Logvinov2017-11-131-22/+31
* Create fake blockStore for exchange transfer simulatorLeonid Logvinov2017-11-131-1/+4
* Make store configurable by blockParamLeonid Logvinov2017-11-131-2/+2
* Make a store an instance variable of exchange transfer simulator and stop inh...Leonid Logvinov2017-11-131-10/+17
* Refactor out BalanceAndProxyAllowanceLazyStoreLeonid Logvinov2017-11-131-53/+2
* 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-131-0/+16
* Create assert.isValidSignature method and use it in `addOrder`Fabio Berger2017-11-101-2/+8
* Move isValidSignature implementation into signatureUtilsFabio Berger2017-11-101-0/+15
* Remove redundant assertionsLeonid Logvinov2017-11-101-0/+1
* Add assert.isValidBaseUnitAmount that checks for decimals in amounts that sho...Fabio Berger2017-11-091-0/+6
* Add todo commentsFabio Berger2017-11-091-1/+1
* Add naive order state watcher implementationLeonid Logvinov2017-10-311-0/+99
* Upgrade bignumber to the version with native typings and remove typingsLeonid Logvinov2017-10-266-29/+31
* 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-249-63/+8
* Include only used lodash functionsLeonid Logvinov2017-10-189-8/+63
* Make logs fetching and sunscriptions more type-safeLeonid Logvinov2017-10-131-2/+3
* Pass correct parameters to validation simulationLeonid Logvinov2017-10-121-3/+3
* 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-093-102/+189
* Add a hex prefixLeonid Logvinov2017-10-061-1/+1
* Add a commentLeonid Logvinov2017-10-061-0/+1
* Install js-sha3 and use it for keccak256Leonid Logvinov2017-10-061-2/+3
* Remove unused importsLeonid Logvinov2017-10-051-1/+1
* Add type assertions for callback parametersLeonid Logvinov2017-10-051-0/+3
* Implement subscriptions based on ethereumjs-blockstreamLeonid Logvinov2017-10-053-41/+81
* 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
* Use a ternary and add a commentLeonid Logvinov2017-10-041-8/+2
* Use SolidityTypesLeonid Logvinov2017-10-041-3/+5
* Use 0x.length instead of 2Leonid Logvinov2017-10-041-1/+1
* Add a commentLeonid Logvinov2017-10-041-0/+1
* Use Noop instead of NoOpLeonid Logvinov2017-10-041-1/+1
* Refactor abi decoderLeonid Logvinov2017-10-041-2/+2
* Move log decoding to AbiDecoderLeonid Logvinov2017-10-041-32/+35
* Fix typesLeonid Logvinov2017-09-291-1/+1
* Fix the bug in transaction mined awaitingLeonid Logvinov2017-09-291-1/+1
* Refactor our logic checking fillAmountNotZero and expiryFabio Berger2017-09-261-14/+21
* rename validateOrderFillableThrowIfNotFillableAsync to validateOrderFillableO...Fabio Berger2017-09-261-1/+1
* Fix bug where we were accidentally comparing a makerTokenAmount to a takerTok...Fabio Berger2017-09-261-2/+2
* Add validateOrderFillableThrowIfNotFillableAsync to public methods in order t...Fabio Berger2017-09-261-0/+21
* Make intervalUtils an object instead of a class and make instance variable localLeonid Logvinov2017-09-071-10/+10
* Fix a bug in intervalUtilsLeonid Logvinov2017-09-061-1/+1
* Fix overlapping async intervals issueLeonid Logvinov2017-09-061-0/+20
* 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-061-1/+1
* Implement custom ABI decoderLeonid Logvinov2017-09-061-0/+66
* Fix import in order_validation_utilsLeonid Logvinov2017-09-061-1/+1
* Add signature verification as a part of order validation and tests for itLeonid Logvinov2017-09-061-1/+5
* Add assert.isWeb3ProviderLeonid Logvinov2017-08-301-0/+4
* Use 0x-json-schemasLeonid Logvinov2017-08-282-37/+1
* Refactor UNLIMITED_ALLOWANCE_IN_BASE_UNITS to constantsLeonid Logvinov2017-08-251-0/+3
* Add validation for the case where the order is fully filled or canceled and a...Leonid Logvinov2017-08-241-0/+5
* 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
* Remove And's from namesLeonid Logvinov2017-08-241-12/+12
* Move order validation functions to orderValidationUtils and make isRoundingEr...Leonid Logvinov2017-08-241-2/+62
* Include variableName in error message for checksummed addressLeonid Logvinov2017-08-221-1/+1
* Reject checksummed addressesLeonid Logvinov2017-08-221-0/+4
* Simplify order checksLeonid Logvinov2017-07-261-30/+18
* Store tokenWrapper inside of OrdervalidationUtilsLeonid Logvinov2017-07-261-21/+25
* Remove and from namesLeonid Logvinov2017-07-261-5/+5
* Remove unused importsLeonid Logvinov2017-07-261-1/+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-261-53/+79
* Pass tokenWrapper to validateFillOrderBalancesAndAllowancesAndThrowIfInvalidA...Leonid Logvinov2017-07-261-11/+11
* Move _validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync to orderVa...Leonid Logvinov2017-07-261-0/+66
* Add bn.js typesLeonid Logvinov2017-07-221-1/+1
* Add a comment explaining anyLeonid Logvinov2017-07-121-1/+2
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-123-16/+15
* Use custom Schema typesLeonid Logvinov2017-07-122-14/+13
* Simplify BigNumber hackLeonid Logvinov2017-07-111-5/+2
* Move private helper methods into signatureUtils so that they don't show up in...Fabio Berger2017-07-081-0/+29
* Fix comments to use web3 provider instead of web3 instanceLeonid Logvinov2017-07-071-2/+2
* 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
* move order hash schema to a separate fileLeonid Logvinov2017-07-051-1/+2
* Add assert.doesBelongToStringEnumLeonid Logvinov2017-07-051-0/+11
* Use orderHashSchema to validate order hashLeonid Logvinov2017-07-052-8/+1
* Add orderHashSchemaLeonid Logvinov2017-07-041-1/+2
* Register new schemas within schema validatorLeonid Logvinov2017-07-041-0/+5
* Fix commentsLeonid Logvinov2017-07-041-2/+2
* Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-041-0/+44
* Merge branch 'master' into add-exchange-address-to-order-structLeonid2017-07-041-0/+3
|\
| * Fix test failures caused by testrpc new eth_sign behaviourLeonid Logvinov2017-07-011-0/+3
* | Stop passing exchangeContractAddress to utils.getOrderHashHexLeonid Logvinov2017-07-041-2/+2
* | Remove custom Schema type and use one from jsonschemaLeonid Logvinov2017-06-282-1/+2
|/
* Revert "Use different lodash import syntax which allows to include only used ...Leonid2017-06-223-23/+16
* Fall back to import x = require() syntaxLeonid Logvinov2017-06-213-10/+10
* Use different lodash import syntax which allows to include only used functionsLeonid Logvinov2017-06-213-16/+23
* Refactor subscription to return zeroExSignature objectLeonid Logvinov2017-06-131-2/+2
* Add initial error handling decorator implementationLeonid Logvinov2017-06-102-0/+37
* Merge branch 'master' into json-schemaLeonid2017-06-101-2/+2
|\
| * Merge branch 'master' into schema-testsLeonid2017-06-101-0/+1
| |\
| * \ Merge branch 'master' into schema-testsLeonid2017-06-091-0/+3
| |\ \
| * | | Add tests for TokenSchemaLeonid Logvinov2017-06-091-2/+2
* | | | Merge branch 'master' into json-schemaLeonid2017-06-101-0/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Move MAX_DIGITS_IN_UNSIGNED_256_INT to constantsFabio Berger2017-06-101-0/+1
| | |/ | |/|
* | | Address feedbackLeonid Logvinov2017-06-101-8/+5
* | | Merge branch 'master' into json-schemaLeonid2017-06-091-0/+3
|\| |
| * | Address feedbackLeonid Logvinov2017-06-091-1/+1
| * | Merge branch 'master' into fillOrderUpToAsyncLeonid2017-06-091-4/+0
| |\|
| * | Add assert.hashAtMostOneUniqueValueLeonid Logvinov2017-06-091-0/+3
* | | Make static function publicLeonid Logvinov2017-06-091-1/+1
* | | Convert to JSON schema compatible object by defaultLeonid Logvinov2017-06-091-3/+4
| |/ |/|
* | Remove isSenderAddressAvailableAsyncLeonid Logvinov2017-06-091-4/+0
|/
* Add orderFillOrKillRequestsSchema and validate using it instead of looping ov...Fabio Berger2017-06-091-2/+5
* Remove catch of invalid jump throws since there are many reasons the contract...Fabio Berger2017-06-071-1/+0
* merge masterFabio Berger2017-06-071-5/+9
|\
| * Remove assertions from utils methodsLeonid Logvinov2017-06-071-7/+0
| * Use union type Order|SignedOrderLeonid Logvinov2017-06-071-2/+2
| * Address feedbackLeonid Logvinov2017-06-071-0/+35
* | Implement fillOrKill & testsFabio Berger2017-06-072-0/+25
|/
* avoid newline issues by putting the assertion message on a single lineFabio Berger2017-06-061-2/+3
* Address feedbackLeonid Logvinov2017-06-061-2/+2
* Add isAnyAddressAvailableAsyncLeonid Logvinov2017-06-061-0/+4
* Rename isSenderAddressHexAsync to isSenderAddressAsyncLeonid Logvinov2017-06-061-8/+8
* Use variable name in assertin messageLeonid Logvinov2017-06-061-3/+4
* Rename accounts to addresesLeonid Logvinov2017-06-061-2/+2
* Rename senderAccount to senderAddressLeonid Logvinov2017-06-061-6/+6
* Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsyncLeonid Logvinov2017-06-061-1/+1
* Add variableName to isSenderAddcountHexAsyncLeonid Logvinov2017-06-061-3/+4
* Make methods accept senderAccountLeonid Logvinov2017-06-051-4/+8
* Merge pull request #32 from 0xProject/addEventSubscriptionsFabio Berger2017-06-031-0/+3
|\
| * Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-1/+1
| |\
| * | Implement zeroEx.exchange.subscribeAsync made sure to clean up subscriptions ...Fabio Berger2017-06-021-0/+3
* | | Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-032-0/+8
|\ \ \
| * \ \ Merge branch 'master' into unavailableFilledCancelledFabio Berger2017-06-031-1/+1
| |\ \ \ | | |/ / | |/| / | | |/
| * | Merge branch 'fillOrderAsync' into unavailableFilledCancelledFabio Berger2017-06-022-2/+17
| |\ \
| * | | Move isValidOrderHash to utils and implement assert.isValidOrderHashFabio Berger2017-06-012-0/+8
* | | | Add missing async suffixFabio Berger2017-06-031-1/+1
* | | | Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-032-2/+17
|\ \ \ \ | | |_|/ | |/| |
| * | | Fix commentFabio Berger2017-06-031-1/+1
| | |/ | |/|
| * | rename signed_order_schema to order_schemasFabio Berger2017-06-011-1/+1
| * | Add convertToJSONSchemaCompatibleObject methodFabio Berger2017-06-011-0/+7
| * | Merge branch 'erc20transfer' into fillOrderAsyncLeonid Logvinov2017-05-311-0/+1
| |\|
| * | Merge branch 'master' into fillOrderAsyncLeonid Logvinov2017-05-301-0/+2
| |\ \
| * | | Change BigNumber schema to Number schemaLeonid Logvinov2017-05-301-2/+2
| * | | Add isBoolean assertionLeonid Logvinov2017-05-301-0/+3
| * | | Add signedOrderSchema and all subschemasLeonid Logvinov2017-05-301-1/+6
* | | | Add setAllowanceAsync, getAllowanceAsync and transferFrom to tokenWrapperFabio Berger2017-06-021-0/+6
| |_|/ |/| |
* | | Implement setProxyAllowanceAsyncFabio Berger2017-05-301-0/+1
| |/ |/|
* | Add tests for getTokensAsync including schema validationFabio Berger2017-05-301-0/+2
|/
* Lowercase schema namesFabio Berger2017-05-301-3/+3
* Use disable-next-line instead of disable and always put rule that is being di...Fabio Berger2017-05-291-2/+1
* Port over signOrderHashAsyncFabio Berger2017-05-291-0/+4
* Move files up and remove ts folderLeonid Logvinov2017-05-294-0/+82