Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch over to Lerna + Yarn Workspaces setup for a mono-repo approach | Fabio Berger | 2017-11-13 | 11 | -789/+0 |
| | |||||
* | Remove blockStore and default to numConfirmations === 0 | Leonid Logvinov | 2017-11-13 | 1 | -4/+1 |
| | |||||
* | Store number of confirmations in a blockStore | Leonid Logvinov | 2017-11-13 | 1 | -2/+2 |
| | |||||
* | Make orderStateUtils operate on stores | Leonid Logvinov | 2017-11-13 | 1 | -22/+31 |
| | |||||
* | Create fake blockStore for exchange transfer simulator | Leonid Logvinov | 2017-11-13 | 1 | -1/+4 |
| | |||||
* | Make store configurable by blockParam | Leonid Logvinov | 2017-11-13 | 1 | -2/+2 |
| | |||||
* | Make a store an instance variable of exchange transfer simulator and stop ↵ | Leonid Logvinov | 2017-11-13 | 1 | -10/+17 |
| | | | | inheriting it | ||||
* | Refactor out BalanceAndProxyAllowanceLazyStore | Leonid Logvinov | 2017-11-13 | 1 | -53/+2 |
| | |||||
* | remove comments | Jacob Evans | 2017-11-13 | 1 | -3/+0 |
| | |||||
* | Perform the division after multiplication to reduce compounding the rounding ↵ | Jacob Evans | 2017-11-13 | 1 | -3/+3 |
| | | | | errors | ||||
* | Update comment | Jacob Evans | 2017-11-13 | 1 | -1/+1 |
| | |||||
* | Added specs for allowance and balance changes | Jacob Evans | 2017-11-13 | 1 | -2/+0 |
| | |||||
* | Calculate the remaining order amount in maker units | Jacob Evans | 2017-11-13 | 1 | -0/+16 |
| | |||||
* | Create assert.isValidSignature method and use it in `addOrder` | Fabio Berger | 2017-11-10 | 1 | -2/+8 |
| | |||||
* | Move isValidSignature implementation into signatureUtils | Fabio Berger | 2017-11-10 | 1 | -0/+15 |
| | |||||
* | Remove redundant assertions | Leonid Logvinov | 2017-11-10 | 1 | -0/+1 |
| | |||||
* | Add assert.isValidBaseUnitAmount that checks for decimals in amounts that ↵ | Fabio Berger | 2017-11-09 | 1 | -0/+6 |
| | | | | should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. | ||||
* | Add todo comments | Fabio Berger | 2017-11-09 | 1 | -1/+1 |
| | |||||
* | Add naive order state watcher implementation | Leonid Logvinov | 2017-10-31 | 1 | -0/+99 |
| | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
* | Upgrade bignumber to the version with native typings and remove typings | Leonid Logvinov | 2017-10-26 | 6 | -29/+31 |
| | |||||
* | Fix the rounding of makerFillAmount and correctly validate partial fees | Leonid Logvinov | 2017-10-24 | 1 | -9/+34 |
| | |||||
* | Revert "Reduce final bundle size by 11% (82kB)" | Leonid | 2017-10-24 | 9 | -63/+8 |
| | |||||
* | Include only used lodash functions | Leonid Logvinov | 2017-10-18 | 9 | -8/+63 |
| | |||||
* | Make logs fetching and sunscriptions more type-safe | Leonid Logvinov | 2017-10-13 | 1 | -2/+3 |
| | |||||
* | Pass correct parameters to validation simulation | Leonid Logvinov | 2017-10-12 | 1 | -3/+3 |
| | |||||
* | Throw allowance errors first | Leonid Logvinov | 2017-10-10 | 1 | -3/+3 |
| | |||||
* | Remove unused check | Leonid Logvinov | 2017-10-10 | 1 | -3/+1 |
| | |||||
* | Fix the comment | Leonid Logvinov | 2017-10-10 | 1 | -3/+3 |
| | |||||
* | Fix the comment | Leonid Logvinov | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | Remove redundant constructor | Leonid Logvinov | 2017-10-10 | 1 | -3/+0 |
| | |||||
* | Assign to a variable before assigning | Leonid Logvinov | 2017-10-10 | 1 | -2/+4 |
| | |||||
* | Change string enum value | Leonid Logvinov | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | Fix the comment | Leonid Logvinov | 2017-10-09 | 1 | -2/+0 |
| | |||||
* | Implement transfer Emulator and rewrite tests | Leonid Logvinov | 2017-10-09 | 3 | -102/+189 |
| | |||||
* | Add a hex prefix | Leonid Logvinov | 2017-10-06 | 1 | -1/+1 |
| | |||||
* | Add a comment | Leonid Logvinov | 2017-10-06 | 1 | -0/+1 |
| | |||||
* | Install js-sha3 and use it for keccak256 | Leonid Logvinov | 2017-10-06 | 1 | -2/+3 |
| | |||||
* | Remove unused imports | Leonid Logvinov | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | Add type assertions for callback parameters | Leonid Logvinov | 2017-10-05 | 1 | -0/+3 |
| | |||||
* | Implement subscriptions based on ethereumjs-blockstream | Leonid Logvinov | 2017-10-05 | 3 | -41/+81 |
| | |||||
* | Small reordering | Leonid Logvinov | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | Fi fees validation is one of the tokens transfered is 0x | Leonid Logvinov | 2017-10-04 | 1 | -1/+8 |
| | |||||
* | Fix an issue when validation failed, but contract call will succeed | Leonid Logvinov | 2017-10-04 | 1 | -1/+5 |
| | |||||
* | Use a ternary and add a comment | Leonid Logvinov | 2017-10-04 | 1 | -8/+2 |
| | |||||
* | Use SolidityTypes | Leonid Logvinov | 2017-10-04 | 1 | -3/+5 |
| | |||||
* | Use 0x.length instead of 2 | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Add a comment | Leonid Logvinov | 2017-10-04 | 1 | -0/+1 |
| | |||||
* | Use Noop instead of NoOp | Leonid Logvinov | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Refactor abi decoder | Leonid Logvinov | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | Move log decoding to AbiDecoder | Leonid Logvinov | 2017-10-04 | 1 | -32/+35 |
| | |||||
* | Fix types | Leonid Logvinov | 2017-09-29 | 1 | -1/+1 |
| | |||||
* | Fix the bug in transaction mined awaiting | Leonid Logvinov | 2017-09-29 | 1 | -1/+1 |
| | |||||
* | Refactor our logic checking fillAmountNotZero and expiry | Fabio Berger | 2017-09-26 | 1 | -14/+21 |
| | |||||
* | rename validateOrderFillableThrowIfNotFillableAsync to ↵ | Fabio Berger | 2017-09-26 | 1 | -1/+1 |
| | | | | validateOrderFillableOrThrowAsync | ||||
* | Fix bug where we were accidentally comparing a makerTokenAmount to a ↵ | Fabio Berger | 2017-09-26 | 1 | -2/+2 |
| | | | | takerTokenAmount | ||||
* | Add validateOrderFillableThrowIfNotFillableAsync to public methods in order ↵ | Fabio Berger | 2017-09-26 | 1 | -0/+21 |
| | | | | to validate orders in an orderbook without a specific taker in mind | ||||
* | Make intervalUtils an object instead of a class and make instance variable local | Leonid Logvinov | 2017-09-07 | 1 | -10/+10 |
| | |||||
* | Fix a bug in intervalUtils | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Fix overlapping async intervals issue | Leonid Logvinov | 2017-09-06 | 1 | -0/+20 |
| | |||||
* | Fix log decoder to return correct types | Leonid Logvinov | 2017-09-06 | 1 | -2/+3 |
| | |||||
* | Use startsWith instead of includes | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Use template strings | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Use _.includes instead of indexOf | Leonid Logvinov | 2017-09-06 | 1 | -6/+6 |
| | |||||
* | Rename methodID to methodId | Leonid Logvinov | 2017-09-06 | 1 | -4/+4 |
| | |||||
* | Remove redundant js prefix | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Implement custom ABI decoder | Leonid Logvinov | 2017-09-06 | 1 | -0/+66 |
| | |||||
* | Fix import in order_validation_utils | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Add signature verification as a part of order validation and tests for it | Leonid Logvinov | 2017-09-06 | 1 | -1/+5 |
| | |||||
* | Add assert.isWeb3Provider | Leonid Logvinov | 2017-08-30 | 1 | -0/+4 |
| | |||||
* | Use 0x-json-schemas | Leonid Logvinov | 2017-08-28 | 2 | -37/+1 |
| | |||||
* | Refactor UNLIMITED_ALLOWANCE_IN_BASE_UNITS to constants | Leonid Logvinov | 2017-08-25 | 1 | -0/+3 |
| | |||||
* | 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 |