aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src
Commit message (Expand)AuthorAgeFilesLines
* Update dependency packagesHsuan Lee2019-01-1914-1307/+0
* Merge branch 'development' into feature/bignumber-8.0Leonid Logvinov2019-01-184-4/+98
|\
| * Use more specific helper method decodeAssetDataOrThrowSteve Klebanoff2019-01-171-1/+1
| * Change LiquidityForAssetData to return a BigNumber instead of a number to avo...Steve Klebanoff2019-01-173-6/+6
| * export type instead of interface for more succinct syntaxSteve Klebanoff2019-01-171-1/+1
| * Clarify boolean variable nameSteve Klebanoff2019-01-171-1/+1
| * Remove accidental importSteve Klebanoff2019-01-171-1/+0
| * Export types and add additional documentationSteve Klebanoff2019-01-162-0/+10
| * Merge branch 'development' into feature/instant/asset-buyer-check-liquiditySteve Klebanoff2019-01-161-1/+1
| |\
| * | Move calculateLiquidity to helper functionSteve Klebanoff2019-01-122-31/+35
| * | Merge branch 'development' into feature/instant/asset-buyer-check-liquiditySteve Klebanoff2019-01-124-2/+37
| |\ \
| * | | getLiquidityForAssetDataAsync helper method, and fix to assetBuyer to check f...Steve Klebanoff2019-01-121-1/+2
| * | | Add LiquidityRequestOpts typeSteve Klebanoff2019-01-111-0/+5
| * | | Getting rid of unused params and adding documentationSteve Klebanoff2019-01-111-8/+14
| * | | rename tokensAvailableInUnitAmount to tokensAvailableInBaseUnits and use test...Steve Klebanoff2019-01-112-5/+5
| * | | Implement liquidity checking w/ testingSteve Klebanoff2019-01-112-3/+72
* | | | Apply prettierLeonid Logvinov2019-01-151-1/+3
* | | | Upgrade bignumber.js versionLeonid Logvinov2019-01-153-24/+21
| |_|/ |/| |
* | | Implement tslint enum-naming to enforce PascalCase on enum members (#1474)Xianny2019-01-121-1/+1
| |/ |/|
* | Fix var name and use floor instead of .round(0, ROUND_DOWN)Steve Klebanoff2018-12-221-9/+7
* | Make amountAvailableToFill requiredSteve Klebanoff2018-12-222-7/+3
* | more documentationSteve Klebanoff2018-12-151-0/+6
* | Only send in amountAvailableToFill if it's a non-zero amount, add additional ...Steve Klebanoff2018-12-154-21/+25
* | Factor in slippage amount in InsufficientAssetLiquidityError error, and show ...Steve Klebanoff2018-12-153-5/+19
* | feat(asset-buyer): Custom InsufficientAssetLiquidityError errorSteve Klebanoff2018-12-152-2/+19
|/
* fix(asset-buyer): update SRA order provider to include DAIBrandon Millman2018-12-041-1/+7
* 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 BuyQuo...Brandon Millman2018-11-133-18/+18
* fix(asset-buyer): lower default expiryBuffer from 5 minutes to 2 minutesBrandon Millman2018-11-071-1/+1
* fix(asset-buyer): fix default values being overriden and incorrect fee roundingBrandon Millman2018-11-032-13/+22
* fix: make maxPerPage for the SRA getAvailableMakerAssetDatasAsync call a loca...fragosti2018-11-022-3/+3
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-022-17/+0
|\
| * chore: remove unused importfragosti2018-11-011-1/+0
| * feat: remove isValidProvided orders validationfragosti2018-10-302-16/+0
* | feat: expose new `getAvailableAssetDatasAsync` APIfragosti2018-11-016-10/+54
|/
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-266-65/+147
|\
| * chore(asset-buyer): fix lint errorsBrandon Millman2018-10-241-3/+3
| * feat(asset-buyer): update buyQuoteCalculator to match rounding behavior in co...Brandon Millman2018-10-246-65/+147
* | feat: no longer require separate `orders` and `feeOrders` args in `getAssetBu...fragosti2018-10-251-4/+1
|/
* feat(asset-buyer): throw SignatureRequestDenied and TransactionValueTooLow er...Brandon Millman2018-10-242-16/+29
* chore: change package org from 0xproject to 0xJacob Evans2018-10-1811-29/+29
* Fix duplicate BuyQuoteInfoBrandon Millman2018-10-181-1/+0
* Merge branch 'development' into feature/website/asset-buyer-docsBrandon Millman2018-10-181-0/+1
|\
| * Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-172-19/+5
| |\
| * | fix: export BuyQuoteInfo from asset-buyerfragosti2018-10-121-0/+1
* | | feat(asset-buyer): add missing types to public interfaceBrandon Millman2018-10-171-1/+8
| |/ |/|
* | Apply various PR feedbackAlex Browne2018-10-161-2/+0
* | Introduce new contract-addresses package and use it everywhereAlex Browne2018-10-161-11/+2
* | update asset-buyer to use new artifacts and abi-gen wrappers packagesAlex Browne2018-10-162-19/+16
|/
* Add comments for expiryBufferBrandon Millman2018-10-102-2/+2
* Fix incorrect affiliate fee calculations and associated testsBrandon Millman2018-10-061-5/+5
* Increase default expiryBufferSeconds from 15 to 300 (5 minutes)Brandon Millman2018-10-061-1/+1
* Add comments for gasPrice and gasLimitBrandon Millman2018-10-061-0/+2
* Fix order expiration calc bug and expose gas options to executeBuyQuotefragosti2018-10-063-2/+8
* Update BuyQuote interfaceBrandon Millman2018-10-054-30/+49
* Add missing default optionsBrandon Millman2018-10-041-3/+6
* 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
* Fix linter errorsBrandon Millman2018-10-031-1/+1
* Clean up interfaces and exportsBrandon Millman2018-10-032-40/+38
* Remove static methods to retrieve assetDatas from SRABrandon Millman2018-10-031-19/+0
* Add AssetUnavailable errorBrandon Millman2018-10-032-7/+4
* Merge AssetBuyer and AssetBuyerManagerBrandon Millman2018-10-035-326/+148
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-251-1/+2
|\
| * Move SRA types from @0xproject/connect to @0xproject/sra-typesLeonid Logvinov2018-09-251-1/+2
* | Use options object convention everywhere, and make package privatefragosti2018-09-255-139/+103
* | Provide convenience methods on AssetBuyerManagerfragosti2018-09-252-1/+43
* | Rename StandardRelayerAPIAssetBuyerManager to just AssetBuyerManager and gene...fragosti2018-09-253-25/+58
|/
* Add expiry bufferfragosti2018-09-244-14/+51
* Small typosfragosti2018-09-212-2/+2
* Add order provider response validationfragosti2018-09-213-0/+15
* Make asset buyer map privatefragosti2018-09-211-4/+4
* More renamingfragosti2018-09-218-67/+68
* Renamed orderFetcherResponseProcessor to orderProviderResponseProcessoerfragosti2018-09-212-7/+7
* Add labels to TODOsfragosti2018-09-212-4/+5
* Move some logic to order utilsfragosti2018-09-212-8/+16
* Add utility to get assetDatasfragosti2018-09-211-1/+8
* Rename OrderFetcher to OrderProvider and other small improvementsfragosti2018-09-209-49/+48
* Update descriptions for methods on AssetBuyerfragosti2018-09-201-3/+3
* Implement StandardRelayerAPIAssetBuyerManagerfragosti2018-09-207-14/+166
* Rename forceOrderRefresh to shouldForceOrderRefreshfragosti2018-09-193-5/+5
* Calculate min and max rates in buy quotefragosti2018-09-191-19/+43
* Add isValidPercentage assertfragosti2018-09-192-13/+14
* make the slippage percentage customizable by integratorfragosti2018-09-183-7/+20
* Restrict orders field of AssetBuyerOrdersAndFillableAmounts to SignedOrder fo...fragosti2018-09-181-2/+2
* Fix order expired bugfragosti2018-09-181-1/+1
* Move all constants to own filefragosti2018-09-182-12/+11
* Add factory method for specific assetData to buy and add commentsBrandon Millman2018-09-152-3/+54
* Add factory method on AssetBuyer for specific token addressBrandon Millman2018-09-151-1/+20
* Add factory method on AssetBuyer for provided ordersBrandon Millman2018-09-152-1/+39
* Export the order fetchersBrandon Millman2018-09-151-0/+2
* Fix lint errorsBrandon Millman2018-09-153-18/+5
* Implement ProvidedOrderFetcherBrandon Millman2018-09-153-1/+48
* Implement StandardRelayerAPIOrderFetcherBrandon Millman2018-09-153-262/+84
* Flesh out the AssetBuyer classBrandon Millman2018-09-159-233/+544
* Create initial AssetBuyer classBrandon Millman2018-09-157-441/+500
* Move packages/forwarder-helper into packages/asset-buyerBrandon Millman2018-09-158-0/+501