From 901047d0add00582e6fd9fd88d6b454b6cc5c13a Mon Sep 17 00:00:00 2001 From: Quazia Date: Thu, 19 Oct 2023 03:28:40 +0000 Subject: [PATCH] chore: format --- packages/gmx/src/GMX.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/gmx/src/GMX.ts b/packages/gmx/src/GMX.ts index f885f7a73..94481e26f 100644 --- a/packages/gmx/src/GMX.ts +++ b/packages/gmx/src/GMX.ts @@ -48,17 +48,17 @@ export const swap = async (swap: SwapActionParams) => { to: contractAddress, // The contract address of the swap chainId: chainId, // The chain id of the swap input: { - $abiAbstract: GMX_SWAPV2_ABI, - params: { - numbers: { - minOutputAmount: amountOut, - }, - orderType: OrderType.MarketSwap, - addresses: { - receiver: recipient, - swapPath: [tokenIn, tokenOut], - }, + $abiAbstract: GMX_SWAPV2_ABI, + params: { + numbers: { + minOutputAmount: amountOut, }, + orderType: OrderType.MarketSwap, + addresses: { + receiver: recipient, + swapPath: [tokenIn, tokenOut], + }, + }, }, }) }