aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src/order_state_utils.ts
Commit message (Collapse)AuthorAgeFilesLines
* Update dependency packagesHsuan Lee2019-01-191-346/+0
|
* Upgrade bignumber.js versionLeonid Logvinov2019-01-151-6/+6
|
* Minimize unnecessary type assertionsAmir Bandeali2019-01-081-38/+23
|
* Add individual balances and allowances to OrderRelevantStateAmir Bandeali2019-01-081-0/+71
|
* Fix validateOrderFillableOrThrowAsync method so it also checks order ↵Fabio Berger2018-11-091-2/+2
| | | | signature, cancelled, cancelledUpTo, and throws helpful error messages
* chore: change package org from 0xproject to 0xJacob Evans2018-10-181-2/+2
|
* Add transactionHash to OrderState and emit it from OrderWatcher subscriptionFabio Berger2018-09-251-1/+3
|
* Append -Floor to getPartialAmount and isRoundingErrorRemco Bloemen2018-08-251-2/+2
|
* Merge developmentFabio Berger2018-08-171-46/+49
|\
| * Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.Jacob Evans2018-08-161-28/+33
| | | | | | | | Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult
| * [Order-utils] Order is valid when maker amount is very smallJacob Evans2018-08-151-19/+17
| | | | | | | | | | | | | | Previously our min fillable calculation would throw a rounding error when encountering a valid order (with a small maker amount). This was inconsistent with the on-chain logic which allowed this order to be filled.
* | Add missing commentsFabio Berger2018-08-041-26/+27
|/
* Fix tslint issuesLeonid Logvinov2018-07-171-2/+2
|
* Fix tslint issuesFabio Berger2018-06-261-1/+0
|
* Fix lint errorsFabio Berger2018-06-261-1/+0
|
* Fix orderValidationUtils where was confusing a makerAssetAmount as a ↵Fabio Berger2018-06-211-1/+8
| | | | takerAssetAmount
* Implement initial set of orderFill combinatorial testsFabio Berger2018-06-131-61/+201
|
* Cleanup after last rebaseGreg Hysen2018-06-081-2/+2
|
* Fixes after rebasingGreg Hysen2018-06-081-2/+2
|
* Pass in fee and assetAmount rather then the whole signedOrderFabio Berger2018-06-081-3/+2
|
* Revert to returning orderState on invalid orderFabio Berger2018-06-081-1/+6
|
* Update naming in orderStateUtils to use asset over token, also removed ↵Fabio Berger2018-06-081-42/+36
| | | | cancelledAmount since in V2 it's binary.
* Try enabling no-unused-variable...fragosti2018-06-051-1/+0
|
* Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-301-15/+17
| | | | package.
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-101-0/+140
unifying library with the same interface