Ran prettier
This commit is contained in:
parent
4b508d255d
commit
1cfdc49021
@ -233,12 +233,7 @@ export class MarketOperationUtils {
|
|||||||
offChainBalancerQuotes,
|
offChainBalancerQuotes,
|
||||||
offChainCreamQuotes,
|
offChainCreamQuotes,
|
||||||
offChainBancorQuotes,
|
offChainBancorQuotes,
|
||||||
] = await Promise.all([
|
] = await Promise.all([samplerPromise, offChainBalancerPromise, offChainCreamPromise, offChainBancorPromise]);
|
||||||
samplerPromise,
|
|
||||||
offChainBalancerPromise,
|
|
||||||
offChainCreamPromise,
|
|
||||||
offChainBancorPromise,
|
|
||||||
]);
|
|
||||||
|
|
||||||
const [makerTokenDecimals, takerTokenDecimals] = tokenDecimals;
|
const [makerTokenDecimals, takerTokenDecimals] = tokenDecimals;
|
||||||
return {
|
return {
|
||||||
|
@ -98,14 +98,16 @@ export class QuoteRequestor {
|
|||||||
): TakerRequestQueryParams {
|
): TakerRequestQueryParams {
|
||||||
const buyTokenAddress = getTokenAddressOrThrow(makerAssetData);
|
const buyTokenAddress = getTokenAddressOrThrow(makerAssetData);
|
||||||
const sellTokenAddress = getTokenAddressOrThrow(takerAssetData);
|
const sellTokenAddress = getTokenAddressOrThrow(takerAssetData);
|
||||||
const { buyAmountBaseUnits, sellAmountBaseUnits } = marketOperation === MarketOperation.Buy
|
const { buyAmountBaseUnits, sellAmountBaseUnits } =
|
||||||
? {
|
marketOperation === MarketOperation.Buy
|
||||||
buyAmountBaseUnits: assetFillAmount,
|
? {
|
||||||
sellAmountBaseUnits: undefined,
|
buyAmountBaseUnits: assetFillAmount,
|
||||||
} : {
|
sellAmountBaseUnits: undefined,
|
||||||
sellAmountBaseUnits: assetFillAmount,
|
}
|
||||||
buyAmountBaseUnits: undefined,
|
: {
|
||||||
};
|
sellAmountBaseUnits: assetFillAmount,
|
||||||
|
buyAmountBaseUnits: undefined,
|
||||||
|
};
|
||||||
|
|
||||||
const requestParamsWithBigNumbers: Pick<
|
const requestParamsWithBigNumbers: Pick<
|
||||||
TakerRequestQueryParams,
|
TakerRequestQueryParams,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user