From acc1d43af62780dff0332437445dbdc268ddb123 Mon Sep 17 00:00:00 2001 From: bhavik Date: Wed, 29 Dec 2021 23:06:04 +0530 Subject: [PATCH] changed paraswap address + change mapping name --- contracts/polygon/connectors/paraswap/helpers.sol | 2 +- contracts/polygon/connectors/paraswap/main.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/polygon/connectors/paraswap/helpers.sol b/contracts/polygon/connectors/paraswap/helpers.sol index 8b55019b..9da20913 100644 --- a/contracts/polygon/connectors/paraswap/helpers.sol +++ b/contracts/polygon/connectors/paraswap/helpers.sol @@ -16,7 +16,7 @@ abstract contract Helpers is DSMath, Basic { bytes callData; } - address internal constant paraswap = 0xde33f4573bB315939a9D1E65522575E1a9fC3e74; + address internal constant paraswap = 0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57; function _swapHelper(SwapData memory swapData, uint256 wmaticAmt) internal returns (uint256 buyAmt) { TokenInterface buyToken = swapData.buyToken; diff --git a/contracts/polygon/connectors/paraswap/main.sol b/contracts/polygon/connectors/paraswap/main.sol index aaaf63e1..76add82a 100644 --- a/contracts/polygon/connectors/paraswap/main.sol +++ b/contracts/polygon/connectors/paraswap/main.sol @@ -51,5 +51,5 @@ abstract contract ParaswapResolver is Helpers { } contract ConnectV2ParaswapV5Polygon is ParaswapResolver { - string public name = "Paraswap-v1"; + string public name = "Paraswap-v5"; } \ No newline at end of file