aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-266-65/+147
|\ | | | | | | feature/instant/fixed-orders-in-render-method
| * chore(asset-buyer): fix lint errorsBrandon Millman2018-10-241-3/+3
| |
| * feat(asset-buyer): update buyQuoteCalculator to match rounding behavior in ↵Brandon Millman2018-10-246-65/+147
| | | | | | | | 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-242-16/+29
| | | | errors when executing buy
* 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
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (31 commits) Update CODEOWNERS Update CODEOWNERS Update CODEOWNERS Add leo to CODEOWNERS on some packages fix(monorepo-scripts): Format date as UTC not local time. Bump max bundle size for instant fix: dont use enum string as type as typedoc gets confused feat: export AssetData from order-utils feat: export AssetData from utils chore: temporarily increase the bundle size for instant Remove order-utils from dependencies Run tests on circle CI Add tests for format and use toFixed instead of round for usd Remove expiry buffer seconds option from AssetBuyer init Add ts-optchain and use it instead of lodash get Hide USD price when ETH-USD price is not available Rename OrderDetailsRow to EthAmountRow fix: add Steve's github account to about page, and capitalize AppFolio correctly Put boundNoop in a util file Add tnxHash to buy button callbacks ...
| * Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-172-19/+5
| |\ | | | | | | | | | feature/instant/move-features-over-from-zrx-buyer
| * | 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 ↵fragosti2018-09-251-1/+2
|\ | | | | | | feature/asset-buyer/improve-asset-buyer-manager
| * 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 ↵fragosti2018-09-253-25/+58
|/ | | | generalize it
* 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 ↵fragosti2018-09-181-2/+2
| | | | for consistency
* 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