aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src/asset_buyer.ts
Commit message (Collapse)AuthorAgeFilesLines
* Assert that assetData is a string before we try to decode itSteve Klebanoff2019-01-241-0/+1
|
* Use more specific helper method decodeAssetDataOrThrowSteve Klebanoff2019-01-171-1/+1
|
* Change LiquidityForAssetData to return a BigNumber instead of a number to ↵Steve Klebanoff2019-01-171-2/+2
| | | | avoid losing precision
* Clarify boolean variable nameSteve Klebanoff2019-01-171-1/+1
|
* Move calculateLiquidity to helper functionSteve Klebanoff2019-01-121-31/+1
|
* getLiquidityForAssetDataAsync helper method, and fix to assetBuyer to check ↵Steve Klebanoff2019-01-121-1/+2
| | | | for eth token in asset pairs
* Getting rid of unused params and adding documentationSteve Klebanoff2019-01-111-8/+14
|
* rename tokensAvailableInUnitAmount to tokensAvailableInBaseUnits and use ↵Steve Klebanoff2019-01-111-4/+4
| | | | test helpers
* Implement liquidity checking w/ testingSteve Klebanoff2019-01-111-3/+64
|
* fix(asset-buyer): fix default values being overriden and incorrect fee roundingBrandon Millman2018-11-031-12/+21
|
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-021-1/+0
|\ | | | | | | feature/instant/token-selection-panel
| * feat: remove isValidProvided orders validationfragosti2018-10-301-1/+0
| |
* | feat: expose new `getAvailableAssetDatasAsync` APIfragosti2018-11-011-1/+11
|/ | | | BREAKING CHANGE: the `OrderProvider` now requires a new method `getAvailableMakerAssetDatasAsync` and the `StandardRelayerAPIOrderProvider` requires the network id at init.
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-261-1/+7
|\ | | | | | | feature/instant/fixed-orders-in-render-method
| * feat(asset-buyer): update buyQuoteCalculator to match rounding behavior in ↵Brandon Millman2018-10-241-1/+7
| | | | | | | | contracts
* | feat: no longer require separate `orders` and `feeOrders` args in ↵fragosti2018-10-251-4/+1
|/ | | | | | `getAssetBuyerForProvidedOrders` BREAKING_CHANGE: `getAssetBuyerForProvidedOrders` factory function now takes 3 args instead of 4
* feat(asset-buyer): throw SignatureRequestDenied and TransactionValueTooLow ↵Brandon Millman2018-10-241-16/+27
| | | | errors when executing buy
* chore: change package org from 0xproject to 0xJacob Evans2018-10-181-6/+6
|
* 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-161-2/+13
|
* Fix order expiration calc bug and expose gas options to executeBuyQuotefragosti2018-10-061-1/+5
|
* Update BuyQuote interfaceBrandon Millman2018-10-051-9/+6
|
* Add missing default optionsBrandon Millman2018-10-041-3/+6
|
* Fix linter errorsBrandon Millman2018-10-031-1/+1
|
* Clean up interfaces and exportsBrandon Millman2018-10-031-38/+38
|
* Remove static methods to retrieve assetDatas from SRABrandon Millman2018-10-031-19/+0
|
* Add AssetUnavailable errorBrandon Millman2018-10-031-0/+3
|
* Merge AssetBuyer and AssetBuyerManagerBrandon Millman2018-10-031-91/+117
|
* Use options object convention everywhere, and make package privatefragosti2018-09-251-75/+31
|
* Provide convenience methods on AssetBuyerManagerfragosti2018-09-251-0/+1
|
* Add expiry bufferfragosti2018-09-241-10/+35
|
* Add order provider response validationfragosti2018-09-211-0/+4
|
* More renamingfragosti2018-09-211-20/+20
|
* Renamed orderFetcherResponseProcessor to orderProviderResponseProcessoerfragosti2018-09-211-2/+2
|
* Rename OrderFetcher to OrderProvider and other small improvementsfragosti2018-09-201-15/+13
|
* Update descriptions for methods on AssetBuyerfragosti2018-09-201-3/+3
|
* Implement StandardRelayerAPIAssetBuyerManagerfragosti2018-09-201-14/+4
|
* Rename forceOrderRefresh to shouldForceOrderRefreshfragosti2018-09-191-3/+3
|
* Add isValidPercentage assertfragosti2018-09-191-13/+7
|
* make the slippage percentage customizable by integratorfragosti2018-09-181-5/+5
|
* Move all constants to own filefragosti2018-09-181-12/+7
|
* Add factory method for specific assetData to buy and add commentsBrandon Millman2018-09-151-2/+53
|
* Add factory method on AssetBuyer for specific token addressBrandon Millman2018-09-151-1/+20
|
* Add factory method on AssetBuyer for provided ordersBrandon Millman2018-09-151-1/+23
|
* Fix lint errorsBrandon Millman2018-09-151-4/+3
|
* Flesh out the AssetBuyer classBrandon Millman2018-09-151-0/+227