aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer
Commit message (Expand)AuthorAgeFilesLines
* Assert that assetData is a string before we try to decode itSteve Klebanoff2019-01-241-0/+1
* Merge branch 'development' into feature/bignumber-8.0Leonid Logvinov2019-01-1811-9/+406
|\
| * Merge branch 'development' into feature/instant/asset-buyer-check-liquiditySteve Klebanoff2019-01-183-2/+15
| |\
| | * PublishLeonid Logvinov2019-01-181-2/+2
| | * Updated CHANGELOGSLeonid Logvinov2019-01-182-0/+13
| * | 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-174-20/+20
| * | export type instead of interface for more succinct syntaxSteve Klebanoff2019-01-171-1/+1
| * | Clarify boolean variable nameSteve Klebanoff2019-01-171-1/+1
| * | Merge branch 'development' into feature/instant/asset-buyer-check-liquiditySteve Klebanoff2019-01-172-3/+3
| |\|
| | * Merge branch 'development' into fix/asset-buyer/zero-amount-available-testSteve Klebanoff2019-01-164-14/+27
| | |\
| | * | Update test for required amountAvailableToFillSteve Klebanoff2019-01-122-3/+3
| * | | Remove accidental importSteve Klebanoff2019-01-171-1/+0
| * | | Add PR number and fix descriptionSteve Klebanoff2019-01-161-1/+2
| * | | Export types and add additional documentationSteve Klebanoff2019-01-162-0/+10
| * | | Merge branch 'development' into feature/instant/asset-buyer-check-liquiditySteve Klebanoff2019-01-164-15/+33
| |\ \ \ | | | |/ | | |/|
| * | | prettier changelogSteve Klebanoff2019-01-121-2/+1
| * | | Disable promise-function-async for mocking async functionsSteve Klebanoff2019-01-121-0/+2
| * | | Move calculateLiquidity to helper functionSteve Klebanoff2019-01-122-31/+35
| * | | Add new version to CHANGELOGSteve Klebanoff2019-01-121-0/+9
| * | | Merge branch 'development' into feature/instant/asset-buyer-check-liquiditySteve Klebanoff2019-01-1210-31/+233
| |\ \ \
| * | | | getLiquidityForAssetDataAsync helper method, and fix to assetBuyer to check f...Steve Klebanoff2019-01-122-9/+24
| * | | | 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-113-32/+29
| * | | | Adding more test coverageSteve Klebanoff2019-01-111-4/+37
| * | | | Implement liquidity checking w/ testingSteve Klebanoff2019-01-115-3/+307
* | | | | Fix prettierLeonid Logvinov2019-01-161-8/+4
* | | | | Add CHANGELOG entriesLeonid Logvinov2019-01-161-4/+17
* | | | | Upgrade chai-bignumberLeonid Logvinov2019-01-151-1/+1
* | | | | Apply prettierLeonid Logvinov2019-01-151-1/+3
* | | | | Upgrade chai-bignumberLeonid Logvinov2019-01-151-1/+1
* | | | | Upgrade bignumber.js versionLeonid Logvinov2019-01-154-27/+24
| |_|/ / |/| | |
* | | | PublishLeonid Logvinov2019-01-151-13/+13
* | | | Updated CHANGELOGSLeonid Logvinov2019-01-152-0/+13
* | | | Implement tslint enum-naming to enforce PascalCase on enum members (#1474)Xianny2019-01-121-1/+1
| |_|/ |/| |
* | | PublishFabio Berger2019-01-121-13/+13
* | | Updated CHANGELOGSFabio Berger2019-01-122-1/+6
| |/ |/|
* | Update prettier to version ^1.15.3Alex Browne2019-01-111-8/+4
* | Merge branch 'development' into feature/instant/tell-amount-availableSteve Klebanoff2019-01-104-12/+23
|\ \
| * | PublishFabio Berger2019-01-091-10/+10
| * | Updated CHANGELOGSFabio Berger2019-01-092-0/+13
| * | Remove beta note from asset-buyerSteve Klebanoff2019-01-091-2/+0
| |/
* | Add PR numberSteve Klebanoff2019-01-041-1/+2
* | 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
* | rename boolean varSteve Klebanoff2018-12-151-3/+3
* | Update asset-buyer changelog describing error changeSteve Klebanoff2018-12-151-0/+8
* | Only send in amountAvailableToFill if it's a non-zero amount, add additional ...Steve Klebanoff2018-12-156-103/+149
* | Factor in slippage amount in InsufficientAssetLiquidityError error, and show ...Steve Klebanoff2018-12-155-7/+49
* | feat(asset-buyer): Custom InsufficientAssetLiquidityError errorSteve Klebanoff2018-12-154-9/+107
|/
* PublishLeonid Logvinov2018-12-141-13/+13
* Updated CHANGELOGSLeonid Logvinov2018-12-141-2/+2
* Updated CHANGELOGSLeonid Logvinov2018-12-142-0/+13
* PublishFabio Berger2018-12-121-12/+12
* Updated CHANGELOGSFabio Berger2018-12-122-2/+2
* Updated CHANGELOGSLeonid Logvinov2018-12-112-1/+6
* fix(asset-buyer): update SRA order provider to include DAIBrandon Millman2018-12-042-1/+15
* PublishJacob Evans2018-11-281-6/+6
* Updated CHANGELOGSJacob Evans2018-11-282-0/+13
* PublishFabio Berger2018-11-221-10/+10
* Updated CHANGELOGSFabio Berger2018-11-222-1/+6
* fix(asset-buyer): change lodash version to the same as other 0x packagesBrandon Millman2018-11-162-1/+10
* Merge pull request #1258 from 0xProject/fix/instant/contract-callBrandon Millman2018-11-151-12/+17
|\
| * fix(instant): catch errors coming from calls to the orderValidator contractBrandon Millman2018-11-141-12/+17
* | PublishLeonid Logvinov2018-11-141-9/+9
* | Updated CHANGELOGSLeonid Logvinov2018-11-142-1/+6
|/
* Merge branch 'development' into fix/asset-buyer/price-per-tokenBrandon Millman2018-11-143-6/+19
|\
| * PublishLeonid Logvinov2018-11-141-6/+6
| * Updated CHANGELOGSLeonid Logvinov2018-11-142-0/+13
* | chore(asset-buyer): update changelog to major version bumpBrandon Millman2018-11-141-1/+1
* | chore(asset-buyer): update changelogBrandon Millman2018-11-131-0/+9
* | fix(asset-buyer): output assetEthAmount instead of ethPerAssetPrice in BuyQuo...Brandon Millman2018-11-134-31/+31
|/
* PublishLeonid Logvinov2018-11-121-8/+8
* Updated CHANGELOGSLeonid Logvinov2018-11-122-0/+13
* PublishJacob Evans2018-11-091-13/+13
* Updated CHANGELOGSJacob Evans2018-11-092-1/+12
* fix(asset-buyer): lower default expiryBuffer from 5 minutes to 2 minutesBrandon Millman2018-11-072-1/+5
* fix(asset-buyer): fix default values being overriden and incorrect fee roundingBrandon Millman2018-11-033-13/+32
* 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-023-17/+4
|\
| * chore: remove unused importfragosti2018-11-011-1/+0
| * chore: add changelogfragosti2018-10-301-0/+4
| * feat: remove isValidProvided orders validationfragosti2018-10-302-16/+0
* | chore: add to changelogfragosti2018-11-011-0/+5
* | feat: expose new `getAvailableAssetDatasAsync` APIfragosti2018-11-016-10/+54
|/
* Merge branch 'development' into feature/instant/fixed-orders-in-render-methodBrandon Millman2018-10-291-1/+1
|\
| * Merge pull request #1178 from 0xProject/fix/linter-improvementsAlex Browne2018-10-271-1/+1
| |\
| | * chore: Add --format stylish to tslintAlex Browne2018-10-241-1/+1
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-267-69/+155
|\| |
| * | 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-247-69/+155
| |/
* | chore: add to asset-buyer changelog.jsonfragosti2018-10-261-0/+9
* | 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-243-16/+33
* PublishLeonid Logvinov2018-10-181-13/+13
* Updated CHANGELOGSLeonid Logvinov2018-10-182-1/+11
* Fix ethereum-types versionsLeonid Logvinov2018-10-181-1/+1
* chore: change README.md from 0xproject to 0xJacob Evans2018-10-181-7/+7
* chore: change tslint.json from 0xproject to 0xJacob Evans2018-10-181-1/+1
* chore: change package org from 0xproject to 0xJacob Evans2018-10-1813-43/+43
* Merge pull request #1145 from 0xProject/refactorSchemasToJSONKadinsky2018-10-181-1/+1
|\
| * chore: Update TypeDoc to 0.13.0 (supports TS v3.1)Fabio Berger2018-10-171-1/+1
* | Fix duplicate BuyQuoteInfoBrandon Millman2018-10-181-1/+0
* | Merge branch 'development' into feature/website/asset-buyer-docsBrandon Millman2018-10-182-0/+5
|\|
| * Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-174-25/+13
| |\
| * | feat: add changelog entries for changed packagesfragosti2018-10-161-0/+4
| * | fix: export BuyQuoteInfo from asset-buyerfragosti2018-10-121-0/+1
* | | feat(asset-buyer): add missing types to public interfaceBrandon Millman2018-10-172-1/+12
* | | feat(asset-buyer): add hooks for documentationBrandon Millman2018-10-172-1/+10
| |/ |/|
* | Update CHANGELOG.json for all changed packagesAlex Browne2018-10-161-0/+5
* | Apply various PR feedbackAlex Browne2018-10-162-3/+0
* | Introduce new contract-addresses package and use it everywhereAlex Browne2018-10-162-11/+3
* | Remove unused copyfiles dependenciesAlex Browne2018-10-161-1/+0
* | update asset-buyer to use new artifacts and abi-gen wrappers packagesAlex Browne2018-10-163-24/+19
|/
* Update the CHANGELOGBrandon Millman2018-10-101-0/+8
* Add comments for expiryBufferBrandon Millman2018-10-102-2/+2
* Fix incorrect affiliate fee calculations and associated testsBrandon Millman2018-10-062-14/+20
* 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
* PublishBrandon Millman2018-10-051-13/+13
* Updated CHANGELOGSBrandon Millman2018-10-052-1/+7
* Update BuyQuote interfaceBrandon Millman2018-10-055-40/+73
* Add missing default optionsBrandon Millman2018-10-041-3/+6
* Remove unused constantsBrandon Millman2018-10-041-3/+0
* Add fee order with a takerFeeBrandon Millman2018-10-041-2/+6
* Add additional order factory methods and refactor test to use themBrandon Millman2018-10-041-60/+23
* Add comments about buy quote calculationBrandon Millman2018-10-041-0/+2
* Update CHANGELOGBrandon Millman2018-10-041-0/+4
* Fix linterBrandon Millman2018-10-041-2/+0
* Add additional test for slippageBrandon Millman2018-10-042-18/+70
* Add buy_quote_calculator_testBrandon Millman2018-10-042-31/+246
* Update READMEBrandon Millman2018-10-031-14/+0
* Fix linter errorsBrandon Millman2018-10-031-1/+1
* Merge branch 'development' into feature/asset-buyer/improve-asset-buyer-managerBrandon Millman2018-10-033-13/+53
|\
| * Introduce a build:ci command that doesn't build webpack bundlesLeonid Logvinov2018-10-021-0/+1
| * Updated CHANGELOGSLeonid Logvinov2018-10-022-0/+13
| * PublishFabio Berger2018-09-291-12/+12
| * Updated CHANGELOGSFabio Berger2018-09-292-0/+13
| * PublishFabio Berger2018-09-261-12/+12
| * Updated CHANGELOGSFabio Berger2018-09-262-0/+13
* | 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
* | Add to CHANGELOGfragosti2018-09-251-0/+9
* | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-254-11/+34
|\|
| * PublishLeonid Logvinov2018-09-251-10/+10
| * Updated CHANGELOGSLeonid Logvinov2018-09-252-0/+22
| * Move SRA types from @0xproject/connect to @0xproject/sra-typesLeonid Logvinov2018-09-251-1/+2
* | Make package public again, but add warningfragosti2018-09-252-1/+3
* | Add AssetBuyerManager to READMEfragosti2018-09-251-0/+14
* | Use options object convention everywhere, and make package privatefragosti2018-09-257-142/+106
* | Provide convenience methods on AssetBuyerManagerfragosti2018-09-252-1/+43
* | Rename StandardRelayerAPIAssetBuyerManager to just AssetBuyerManager and gene...fragosti2018-09-253-25/+58
|/
* Upgrade all depsfragosti2018-09-241-8/+8
* Improve READMEfragosti2018-09-241-3/+1
* Add expiry bufferfragosti2018-09-244-14/+51
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-211-1/+1
* 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
* Add better description to READMEfragosti2018-09-201-1/+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
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-181-4/+1
* 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
* Delete old testBrandon Millman2018-09-151-136/+0
* 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-159-573/+634
* Update readme, changelog, and package.json with renameBrandon Millman2018-09-154-51/+14
* Move packages/forwarder-helper into packages/asset-buyerBrandon Millman2018-09-1518-0/+882