aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix var name and use floor instead of .round(0, ROUND_DOWN)Steve Klebanoff2018-12-221-9/+7
|
* Make amountAvailableToFill requiredSteve Klebanoff2018-12-221-5/+1
|
* Only send in amountAvailableToFill if it's a non-zero amount, add additional ↵Steve Klebanoff2018-12-151-9/+7
| | | | tests and nest, and put error into its own file
* Factor in slippage amount in InsufficientAssetLiquidityError error, and show ↵Steve Klebanoff2018-12-151-2/+15
| | | | in instant
* feat(asset-buyer): Custom InsufficientAssetLiquidityError errorSteve Klebanoff2018-12-151-2/+9
| | | | BREAKING CHANGE: A custom InsufficientAssetLiquidityError error is now raised when there is insufficient liquidity
* fix(instant): catch errors coming from calls to the orderValidator contractBrandon Millman2018-11-141-12/+17
|
* fix(asset-buyer): output assetEthAmount instead of ethPerAssetPrice in ↵Brandon Millman2018-11-132-15/+15
| | | | BuyQuoteInfos
* fix(asset-buyer): fix default values being overriden and incorrect fee roundingBrandon Millman2018-11-031-1/+1
|
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-021-16/+0
|\ | | | | | | feature/instant/token-selection-panel
| * chore: remove unused importfragosti2018-11-011-1/+0
| |
| * feat: remove isValidProvided orders validationfragosti2018-10-301-15/+0
| |
* | feat: expose new `getAvailableAssetDatasAsync` APIfragosti2018-11-011-1/+0
|/ | | | BREAKING CHANGE: the `OrderProvider` now requires a new method `getAvailableMakerAssetDatasAsync` and the `StandardRelayerAPIOrderProvider` requires the network id at init.
* chore(asset-buyer): fix lint errorsBrandon Millman2018-10-241-3/+3
|
* feat(asset-buyer): update buyQuoteCalculator to match rounding behavior in ↵Brandon Millman2018-10-243-62/+131
| | | | contracts
* chore: change package org from 0xproject to 0xJacob Evans2018-10-185-14/+14
|
* update asset-buyer to use new artifacts and abi-gen wrappers packagesAlex Browne2018-10-161-17/+3
|
* Fix incorrect affiliate fee calculations and associated testsBrandon Millman2018-10-061-5/+5
|
* Fix order expiration calc bug and expose gas options to executeBuyQuotefragosti2018-10-061-1/+1
|
* Update BuyQuote interfaceBrandon Millman2018-10-052-13/+24
|
* Add comments about buy quote calculationBrandon Millman2018-10-041-0/+2
|
* Fix linterBrandon Millman2018-10-041-2/+0
|
* Add additional test for slippageBrandon Millman2018-10-041-6/+6
|
* Add buy_quote_calculator_testBrandon Millman2018-10-041-31/+116
|
* Merge AssetBuyer and AssetBuyerManagerBrandon Millman2018-10-032-61/+30
|
* Add expiry bufferfragosti2018-09-242-4/+15
|
* Small typosfragosti2018-09-212-2/+2
|
* Add order provider response validationfragosti2018-09-211-0/+10
|
* More renamingfragosti2018-09-212-2/+3
|
* Renamed orderFetcherResponseProcessor to orderProviderResponseProcessoerfragosti2018-09-211-5/+5
|
* Add labels to TODOsfragosti2018-09-212-4/+5
|
* Move some logic to order utilsfragosti2018-09-212-8/+16
|
* Rename OrderFetcher to OrderProvider and other small improvementsfragosti2018-09-203-9/+9
|
* Implement StandardRelayerAPIAssetBuyerManagerfragosti2018-09-202-0/+27
|
* Calculate min and max rates in buy quotefragosti2018-09-191-19/+43
|
* Add isValidPercentage assertfragosti2018-09-191-0/+7
|
* Fix order expired bugfragosti2018-09-181-1/+1
|
* Add factory method on AssetBuyer for provided ordersBrandon Millman2018-09-151-0/+16
|
* Implement ProvidedOrderFetcherBrandon Millman2018-09-151-1/+6
|
* Implement StandardRelayerAPIOrderFetcherBrandon Millman2018-09-151-0/+4
|
* Flesh out the AssetBuyer classBrandon Millman2018-09-154-92/+263
|
* Create initial AssetBuyer classBrandon Millman2018-09-151-85/+85
|
* Move packages/forwarder-helper into packages/asset-buyerBrandon Millman2018-09-152-0/+113