diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-11 07:40:55 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-11 07:40:55 +0800 |
commit | 841ad8757cc9ba165f9ae303877da0d4b6ffe8b0 (patch) | |
tree | f3249b05fe5300b91f4156b12d27a01c89a05437 /packages | |
parent | 127bd4bf9dd99c0520dcc4fbd5413d98e1dac65a (diff) | |
download | dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.tar dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.tar.gz dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.tar.bz2 dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.tar.lz dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.tar.xz dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.tar.zst dexon-sol-tools-841ad8757cc9ba165f9ae303877da0d4b6ffe8b0.zip |
Add LiquidityRequestOpts type
Diffstat (limited to 'packages')
-rw-r--r-- | packages/asset-buyer/src/types.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/asset-buyer/src/types.ts b/packages/asset-buyer/src/types.ts index 71822c4d7..ef63aacfe 100644 --- a/packages/asset-buyer/src/types.ts +++ b/packages/asset-buyer/src/types.ts @@ -75,6 +75,11 @@ export interface BuyQuoteRequestOpts { slippagePercentage: number; } +/* + * shouldForceOrderRefresh: If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. Defaults to false. + */ +export interface LiquidityRequestOpts extends Pick<BuyQuoteRequestOpts, 'shouldForceOrderRefresh'> {} + /** * ethAmount: The desired amount of eth to spend. Defaults to buyQuote.worstCaseQuoteInfo.totalEthAmount. * takerAddress: The address to perform the buy. Defaults to the first available address from the provider. |