From e4e71c76e11978877397eb1631e48a0a7768b286 Mon Sep 17 00:00:00 2001 From: Noah Khamliche Date: Thu, 2 Jun 2022 20:14:02 -0400 Subject: [PATCH] add weth/eth wrap/unwrap support for bancorv3 --- .../asset-swapper/src/utils/market_operation_utils/orders.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/asset-swapper/src/utils/market_operation_utils/orders.ts b/packages/asset-swapper/src/utils/market_operation_utils/orders.ts index e82cb60b56..6ec49dcebb 100644 --- a/packages/asset-swapper/src/utils/market_operation_utils/orders.ts +++ b/packages/asset-swapper/src/utils/market_operation_utils/orders.ts @@ -217,7 +217,12 @@ export function getErc20BridgeSourceToBridgeSource(source: ERC20BridgeSource): s ======= case ERC20BridgeSource.MeshSwap: return encodeBridgeSourceId(BridgeProtocol.UniswapV2, 'MeshSwap'); +<<<<<<< HEAD >>>>>>> 1f41fe6a2 (feat/add MeshSwap on Polygon [TKR-374] (#491)) +======= + case ERC20BridgeSource.BancorV3: + return encodeBridgeSourceId(BridgeProtocol.BancorV3, 'BancorV3'); +>>>>>>> 767b42c54 (add weth/eth wrap/unwrap support for bancorv3) default: throw new Error(AggregationError.NoBridgeForSource); }