aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵Leonid Logvinov2017-08-241-0/+5
| | | | a test
* Simplify the validation check for ↵Leonid Logvinov2017-08-241-1/+1
| | | | ExchangeContractErrs.OrderAlreadyCancelledOrFilled
* 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 ↵Leonid Logvinov2017-08-241-2/+62
| | | | isRoundingError public
* 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 ↵Leonid Logvinov2017-07-261-53/+79
| | | | tokens traded
* Pass tokenWrapper to ↵Leonid Logvinov2017-07-261-11/+11
| | | | validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync
* Move _validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync to ↵Leonid Logvinov2017-07-261-0/+66
| | | | orderValidationUtils
* 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 ↵Fabio Berger2017-07-081-0/+29
| | | | in the ZeroEx classes auto-complete list
* 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
| | | | functions"
* 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 ↵Fabio Berger2017-06-091-2/+5
| | | | over the requests and validating them individually
* Remove catch of invalid jump throws since there are many reasons the ↵Fabio Berger2017-06-071-1/+0
| | | | contracts could throw this error
* 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
|\ | | | | Implement zeroEx.exchange.subscribeAsync
| * Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-1/+1
| |\ | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts
| * | Implement zeroEx.exchange.subscribeAsync made sure to clean up subscriptions ↵Fabio Berger2017-06-021-0/+3
| | | | | | | | | | | | if user updates the provider
* | | Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-032-0/+8
|\ \ \ | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/token_wrapper.ts
| * \ \ Merge branch 'master' into unavailableFilledCancelledFabio Berger2017-06-031-1/+1
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts
| * | Merge branch 'fillOrderAsync' into unavailableFilledCancelledFabio Berger2017-06-022-2/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # src/utils/assert.ts
| * | | 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
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | # Conflicts: # src/types.ts # src/web3_wrapper.ts
| * | | 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 ↵Fabio Berger2017-05-291-2/+1
| | | | disabled
* Port over signOrderHashAsyncFabio Berger2017-05-291-0/+4
|
* Move files up and remove ts folderLeonid Logvinov2017-05-294-0/+82