From c202f3523afee8a1912fc81a1b909e74cb1da1c8 Mon Sep 17 00:00:00 2001 From: Dmitriy Pavlov Date: Fri, 8 Sep 2023 11:16:21 +0300 Subject: [PATCH] add Factory --- src/Unit/Exchange/generateSwapCalldata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unit/Exchange/generateSwapCalldata.ts b/src/Unit/Exchange/generateSwapCalldata.ts index 9f5b83d..9e652b3 100644 --- a/src/Unit/Exchange/generateSwapCalldata.ts +++ b/src/Unit/Exchange/generateSwapCalldata.ts @@ -9,7 +9,7 @@ import type { PromiseOrValue } from '@orionprotocol/contracts/lib/ethers-v5/comm const EXECUTOR_SWAP_FUNCTION = "func_70LYiww" -export type Factory = "UniswapV2" | "UniswapV3" | "Curve" | "OrionV2" | "OrionV3" +export type Factory = "UniswapV2" | "UniswapV3" | "Curve" | "OrionV2" | "OrionV3" | "PancakeSwapV3" const exchangeToType: Partial> = { 'SPOOKYSWAP': 'UniswapV2',