Leonid Logvinov
|
c8212f1d4d
|
Merge branch 'development' into feature/bignumber-8.0
|
2019-01-18 12:53:04 +01:00 |
|
Steve Klebanoff
|
466ec6b22a
|
Change LiquidityForAssetData to return a BigNumber instead of a number to avoid losing precision
|
2019-01-16 14:16:49 -08:00 |
|
Steve Klebanoff
|
bd5850f390
|
Merge branch 'development' into feature/instant/asset-buyer-check-liquidity
|
2019-01-16 09:38:38 -08:00 |
|
Leonid Logvinov
|
c3afc13dd6
|
Upgrade bignumber.js version
|
2019-01-15 16:25:24 +01:00 |
|
Steve Klebanoff
|
8d3bbb8213
|
Disable promise-function-async for mocking async functions
|
2019-01-11 09:32:28 -08:00 |
|
Steve Klebanoff
|
64a78149aa
|
Update test for required amountAvailableToFill
|
2019-01-11 09:20:59 -08:00 |
|
Steve Klebanoff
|
faee751395
|
Merge branch 'development' into feature/instant/asset-buyer-check-liquidity
|
2019-01-11 08:53:15 -08:00 |
|
Steve Klebanoff
|
742e5e039d
|
getLiquidityForAssetDataAsync helper method, and fix to assetBuyer to check for eth token in asset pairs
|
2019-01-11 08:14:57 -08:00 |
|
Steve Klebanoff
|
2360b8282f
|
rename tokensAvailableInUnitAmount to tokensAvailableInBaseUnits and use test helpers
|
2019-01-10 14:00:16 -08:00 |
|
Steve Klebanoff
|
0dade8624c
|
Adding more test coverage
|
2019-01-10 13:51:02 -08:00 |
|
Steve Klebanoff
|
a9fad77eb4
|
Implement liquidity checking w/ testing
|
2019-01-10 13:41:28 -08:00 |
|
Steve Klebanoff
|
219902a169
|
rename boolean var
|
2018-12-14 15:55:52 -08:00 |
|
Steve Klebanoff
|
69054d85e8
|
Only send in amountAvailableToFill if it's a non-zero amount, add additional tests and nest, and put error into its own file
|
2018-12-14 15:34:45 -08:00 |
|
Steve Klebanoff
|
a3d93d17cd
|
Factor in slippage amount in InsufficientAssetLiquidityError error, and show in instant
|
2018-12-14 15:34:45 -08:00 |
|
Steve Klebanoff
|
c6c45095a8
|
feat(asset-buyer): Custom InsufficientAssetLiquidityError error
BREAKING CHANGE: A custom InsufficientAssetLiquidityError error is now raised when there is insufficient liquidity
|
2018-12-14 15:34:45 -08:00 |
|
Brandon Millman
|
d73faf1b81
|
fix(asset-buyer): output assetEthAmount instead of ethPerAssetPrice in BuyQuoteInfos
|
2018-11-12 20:50:27 -08:00 |
|
Brandon Millman
|
4db33ba2b3
|
feat(asset-buyer): update buyQuoteCalculator to match rounding behavior in contracts
|
2018-10-23 14:06:21 -07:00 |
|
Jacob Evans
|
9f924e459c
|
chore: change package org from 0xproject to 0x
|
2018-10-18 22:27:31 +11:00 |
|
Brandon Millman
|
f9f8e06c1c
|
Fix incorrect affiliate fee calculations and associated tests
|
2018-10-05 15:42:19 -07:00 |
|
Brandon Millman
|
63d97f4c88
|
Update BuyQuote interface
|
2018-10-04 14:37:34 -07:00 |
|
Brandon Millman
|
a7a007435c
|
Remove unused constants
|
2018-10-03 23:23:53 -07:00 |
|
Brandon Millman
|
24e0fbd7b9
|
Add fee order with a takerFee
|
2018-10-03 23:22:38 -07:00 |
|
Brandon Millman
|
059162a90a
|
Add additional order factory methods and refactor test to use them
|
2018-10-03 23:22:13 -07:00 |
|
Brandon Millman
|
260db053fe
|
Add additional test for slippage
|
2018-10-03 14:51:24 -07:00 |
|
Brandon Millman
|
57b4396193
|
Add buy_quote_calculator_test
|
2018-10-03 14:51:24 -07:00 |
|
Brandon Millman
|
dfe58e4975
|
Delete old test
|
2018-09-15 14:14:55 +02:00 |
|
Brandon Millman
|
7b46cef83d
|
Create initial AssetBuyer class
|
2018-09-15 14:14:48 +02:00 |
|
Brandon Millman
|
91702bbae2
|
Move packages/forwarder-helper into packages/asset-buyer
|
2018-09-15 14:14:48 +02:00 |
|