Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add validation for the case where the order is fully filled or canceled and ↵ | Leonid Logvinov | 2017-08-24 | 1 | -0/+5 |
| | | | | a test | ||||
* | Simplify the validation check for ↵ | Leonid Logvinov | 2017-08-24 | 1 | -1/+1 |
| | | | | ExchangeContractErrs.OrderAlreadyCancelledOrFilled | ||||
* | Remove unused var | Leonid Logvinov | 2017-08-24 | 1 | -1/+0 |
| | |||||
* | Add newline | Leonid Logvinov | 2017-08-24 | 1 | -1/+2 |
| | |||||
* | Remove And's from names | Leonid Logvinov | 2017-08-24 | 1 | -12/+12 |
| | |||||
* | Move order validation functions to orderValidationUtils and make ↵ | Leonid Logvinov | 2017-08-24 | 1 | -2/+62 |
| | | | | isRoundingError public | ||||
* | Include variableName in error message for checksummed address | Leonid Logvinov | 2017-08-22 | 1 | -1/+1 |
| | |||||
* | Reject checksummed addresses | Leonid Logvinov | 2017-08-22 | 1 | -0/+4 |
| | |||||
* | Simplify order checks | Leonid Logvinov | 2017-07-26 | 1 | -30/+18 |
| | |||||
* | Store tokenWrapper inside of OrdervalidationUtils | Leonid Logvinov | 2017-07-26 | 1 | -21/+25 |
| | |||||
* | Remove and from names | Leonid Logvinov | 2017-07-26 | 1 | -5/+5 |
| | |||||
* | Remove unused imports | Leonid Logvinov | 2017-07-26 | 1 | -1/+0 |
| | |||||
* | Cover all possible branches of order validation errors with tests | Leonid Logvinov | 2017-07-26 | 1 | -11/+8 |
| | |||||
* | Refactor OrderValidationUtils to check for the case when ZRX is one of the ↵ | Leonid Logvinov | 2017-07-26 | 1 | -53/+79 |
| | | | | tokens traded | ||||
* | Pass tokenWrapper to ↵ | Leonid Logvinov | 2017-07-26 | 1 | -11/+11 |
| | | | | validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync | ||||
* | Move _validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync to ↵ | Leonid Logvinov | 2017-07-26 | 1 | -0/+66 |
| | | | | orderValidationUtils | ||||
* | Add bn.js types | Leonid Logvinov | 2017-07-22 | 1 | -1/+1 |
| | |||||
* | Add a comment explaining any | Leonid Logvinov | 2017-07-12 | 1 | -1/+2 |
| | |||||
* | Use PascalCase names as string enum keys | Leonid Logvinov | 2017-07-12 | 3 | -16/+15 |
| | |||||
* | Use custom Schema types | Leonid Logvinov | 2017-07-12 | 2 | -14/+13 |
| | |||||
* | Simplify BigNumber hack | Leonid Logvinov | 2017-07-11 | 1 | -5/+2 |
| | |||||
* | Move private helper methods into signatureUtils so that they don't show up ↵ | Fabio Berger | 2017-07-08 | 1 | -0/+29 |
| | | | | in the ZeroEx classes auto-complete list | ||||
* | Fix comments to use web3 provider instead of web3 instance | Leonid Logvinov | 2017-07-07 | 1 | -2/+2 |
| | |||||
* | Rearrange methods in event utils | Leonid Logvinov | 2017-07-05 | 1 | -13/+13 |
| | |||||
* | Add underscore in front of _getBigNumberWrappingEventCallback | Leonid Logvinov | 2017-07-05 | 1 | -2/+2 |
| | |||||
* | Use string template | Leonid Logvinov | 2017-07-05 | 1 | -1/+1 |
| | |||||
* | move order hash schema to a separate file | Leonid Logvinov | 2017-07-05 | 1 | -1/+2 |
| | |||||
* | Add assert.doesBelongToStringEnum | Leonid Logvinov | 2017-07-05 | 1 | -0/+11 |
| | |||||
* | Use orderHashSchema to validate order hash | Leonid Logvinov | 2017-07-05 | 2 | -8/+1 |
| | |||||
* | Add orderHashSchema | Leonid Logvinov | 2017-07-04 | 1 | -1/+2 |
| | |||||
* | Register new schemas within schema validator | Leonid Logvinov | 2017-07-04 | 1 | -0/+5 |
| | |||||
* | Fix comments | Leonid Logvinov | 2017-07-04 | 1 | -2/+2 |
| | |||||
* | Add initial implementation and tests for zeroEx.token.subscribeAsync | Leonid Logvinov | 2017-07-04 | 1 | -0/+44 |
| | |||||
* | Merge branch 'master' into add-exchange-address-to-order-struct | Leonid | 2017-07-04 | 1 | -0/+3 |
|\ | |||||
| * | Fix test failures caused by testrpc new eth_sign behaviour | Leonid Logvinov | 2017-07-01 | 1 | -0/+3 |
| | | |||||
* | | Stop passing exchangeContractAddress to utils.getOrderHashHex | Leonid Logvinov | 2017-07-04 | 1 | -2/+2 |
| | | |||||
* | | Remove custom Schema type and use one from jsonschema | Leonid Logvinov | 2017-06-28 | 2 | -1/+2 |
|/ | |||||
* | Revert "Use different lodash import syntax which allows to include only used ↵ | Leonid | 2017-06-22 | 3 | -23/+16 |
| | | | | functions" | ||||
* | Fall back to import x = require() syntax | Leonid Logvinov | 2017-06-21 | 3 | -10/+10 |
| | |||||
* | Use different lodash import syntax which allows to include only used functions | Leonid Logvinov | 2017-06-21 | 3 | -16/+23 |
| | |||||
* | Refactor subscription to return zeroExSignature object | Leonid Logvinov | 2017-06-13 | 1 | -2/+2 |
| | |||||
* | Add initial error handling decorator implementation | Leonid Logvinov | 2017-06-10 | 2 | -0/+37 |
| | |||||
* | Merge branch 'master' into json-schema | Leonid | 2017-06-10 | 1 | -2/+2 |
|\ | |||||
| * | Merge branch 'master' into schema-tests | Leonid | 2017-06-10 | 1 | -0/+1 |
| |\ | |||||
| * \ | Merge branch 'master' into schema-tests | Leonid | 2017-06-09 | 1 | -0/+3 |
| |\ \ | |||||
| * | | | Add tests for TokenSchema | Leonid Logvinov | 2017-06-09 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge branch 'master' into json-schema | Leonid | 2017-06-10 | 1 | -0/+1 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Move MAX_DIGITS_IN_UNSIGNED_256_INT to constants | Fabio Berger | 2017-06-10 | 1 | -0/+1 |
| | |/ | |/| | |||||
* | | | Address feedback | Leonid Logvinov | 2017-06-10 | 1 | -8/+5 |
| | | | |||||
* | | | Merge branch 'master' into json-schema | Leonid | 2017-06-09 | 1 | -0/+3 |
|\| | | |||||
| * | | Address feedback | Leonid Logvinov | 2017-06-09 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into fillOrderUpToAsync | Leonid | 2017-06-09 | 1 | -4/+0 |
| |\| | |||||
| * | | Add assert.hashAtMostOneUniqueValue | Leonid Logvinov | 2017-06-09 | 1 | -0/+3 |
| | | | |||||
* | | | Make static function public | Leonid Logvinov | 2017-06-09 | 1 | -1/+1 |
| | | | |||||
* | | | Convert to JSON schema compatible object by default | Leonid Logvinov | 2017-06-09 | 1 | -3/+4 |
| |/ |/| | |||||
* | | Remove isSenderAddressAvailableAsync | Leonid Logvinov | 2017-06-09 | 1 | -4/+0 |
|/ | |||||
* | Add orderFillOrKillRequestsSchema and validate using it instead of looping ↵ | Fabio Berger | 2017-06-09 | 1 | -2/+5 |
| | | | | over the requests and validating them individually | ||||
* | Remove catch of invalid jump throws since there are many reasons the ↵ | Fabio Berger | 2017-06-07 | 1 | -1/+0 |
| | | | | contracts could throw this error | ||||
* | merge master | Fabio Berger | 2017-06-07 | 1 | -5/+9 |
|\ | |||||
| * | Remove assertions from utils methods | Leonid Logvinov | 2017-06-07 | 1 | -7/+0 |
| | | |||||
| * | Use union type Order|SignedOrder | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
| | | |||||
| * | Address feedback | Leonid Logvinov | 2017-06-07 | 1 | -0/+35 |
| | | |||||
* | | Implement fillOrKill & tests | Fabio Berger | 2017-06-07 | 2 | -0/+25 |
|/ | |||||
* | avoid newline issues by putting the assertion message on a single line | Fabio Berger | 2017-06-06 | 1 | -2/+3 |
| | |||||
* | Address feedback | Leonid Logvinov | 2017-06-06 | 1 | -2/+2 |
| | |||||
* | Add isAnyAddressAvailableAsync | Leonid Logvinov | 2017-06-06 | 1 | -0/+4 |
| | |||||
* | Rename isSenderAddressHexAsync to isSenderAddressAsync | Leonid Logvinov | 2017-06-06 | 1 | -8/+8 |
| | |||||
* | Use variable name in assertin message | Leonid Logvinov | 2017-06-06 | 1 | -3/+4 |
| | |||||
* | Rename accounts to addreses | Leonid Logvinov | 2017-06-06 | 1 | -2/+2 |
| | |||||
* | Rename senderAccount to senderAddress | Leonid Logvinov | 2017-06-06 | 1 | -6/+6 |
| | |||||
* | Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsync | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | |||||
* | Add variableName to isSenderAddcountHexAsync | Leonid Logvinov | 2017-06-06 | 1 | -3/+4 |
| | |||||
* | Make methods accept senderAccount | Leonid Logvinov | 2017-06-05 | 1 | -4/+8 |
| | |||||
* | Merge pull request #32 from 0xProject/addEventSubscriptions | Fabio Berger | 2017-06-03 | 1 | -0/+3 |
|\ | | | | | Implement zeroEx.exchange.subscribeAsync | ||||
| * | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 1 | -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 Berger | 2017-06-02 | 1 | -0/+3 |
| | | | | | | | | | | | | if user updates the provider | ||||
* | | | Merge branch 'master' into remainingTokenMethods | Fabio Berger | 2017-06-03 | 2 | -0/+8 |
|\ \ \ | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/token_wrapper.ts | ||||
| * \ \ | Merge branch 'master' into unavailableFilledCancelled | Fabio Berger | 2017-06-03 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts | ||||
| * | | Merge branch 'fillOrderAsync' into unavailableFilledCancelled | Fabio Berger | 2017-06-02 | 2 | -2/+17 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # src/utils/assert.ts | ||||
| * | | | Move isValidOrderHash to utils and implement assert.isValidOrderHash | Fabio Berger | 2017-06-01 | 2 | -0/+8 |
| | | | | |||||
* | | | | Add missing async suffix | Fabio Berger | 2017-06-03 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'master' into remainingTokenMethods | Fabio Berger | 2017-06-03 | 2 | -2/+17 |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | # Conflicts: # src/types.ts # src/web3_wrapper.ts | ||||
| * | | | Fix comment | Fabio Berger | 2017-06-03 | 1 | -1/+1 |
| | |/ | |/| | |||||
| * | | rename signed_order_schema to order_schemas | Fabio Berger | 2017-06-01 | 1 | -1/+1 |
| | | | |||||
| * | | Add convertToJSONSchemaCompatibleObject method | Fabio Berger | 2017-06-01 | 1 | -0/+7 |
| | | | |||||
| * | | Merge branch 'erc20transfer' into fillOrderAsync | Leonid Logvinov | 2017-05-31 | 1 | -0/+1 |
| |\| | |||||
| * | | Merge branch 'master' into fillOrderAsync | Leonid Logvinov | 2017-05-30 | 1 | -0/+2 |
| |\ \ | |||||
| * | | | Change BigNumber schema to Number schema | Leonid Logvinov | 2017-05-30 | 1 | -2/+2 |
| | | | | |||||
| * | | | Add isBoolean assertion | Leonid Logvinov | 2017-05-30 | 1 | -0/+3 |
| | | | | |||||
| * | | | Add signedOrderSchema and all subschemas | Leonid Logvinov | 2017-05-30 | 1 | -1/+6 |
| | | | | |||||
* | | | | Add setAllowanceAsync, getAllowanceAsync and transferFrom to tokenWrapper | Fabio Berger | 2017-06-02 | 1 | -0/+6 |
| |_|/ |/| | | |||||
* | | | Implement setProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Add tests for getTokensAsync including schema validation | Fabio Berger | 2017-05-30 | 1 | -0/+2 |
|/ | |||||
* | Lowercase schema names | Fabio Berger | 2017-05-30 | 1 | -3/+3 |
| | |||||
* | Use disable-next-line instead of disable and always put rule that is being ↵ | Fabio Berger | 2017-05-29 | 1 | -2/+1 |
| | | | | disabled | ||||
* | Port over signOrderHashAsync | Fabio Berger | 2017-05-29 | 1 | -0/+4 |
| | |||||
* | Move files up and remove ts folder | Leonid Logvinov | 2017-05-29 | 4 | -0/+82 |