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], + }, + }, }, }) }