From 4378286243ff90b613813310c1a37f3667a98320 Mon Sep 17 00:00:00 2001 From: Dmitriy Pavlov Date: Fri, 8 Sep 2023 11:35:06 +0300 Subject: [PATCH] update exchanges --- package.json | 2 +- src/Unit/Exchange/generateSwapCalldata.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c3f1b30..4cd621f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.81-rc0", + "version": "0.19.81-rc1", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/Unit/Exchange/generateSwapCalldata.ts b/src/Unit/Exchange/generateSwapCalldata.ts index 9e652b3..b8c9a7b 100644 --- a/src/Unit/Exchange/generateSwapCalldata.ts +++ b/src/Unit/Exchange/generateSwapCalldata.ts @@ -28,10 +28,10 @@ const exchangeToType: Partial> = { 'INTERNAL_POOL_V3_0_05': 'OrionV3', 'INTERNAL_POOL_V3_0_3': 'OrionV3', 'INTERNAL_POOL_V3_1_0': 'OrionV3', - 'PancakeSwapV3_0_01': 'PancakeSwapV3', - 'PancakeSwapV3_0_05': 'PancakeSwapV3', - 'PancakeSwapV3_0_25': 'PancakeSwapV3', - 'PancakeSwapV3_1_0': 'PancakeSwapV3', + 'PANCAKESWAP_V3_0_01': 'PancakeSwapV3', + 'PANCAKESWAP_V3_0_05': 'PancakeSwapV3', + 'PANCAKESWAP_V3_0_25': 'PancakeSwapV3', + 'PANCAKESWAP_V3_1_0': 'PancakeSwapV3', 'CURVE': "Curve", 'CURVE_FACTORY': "Curve", }