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