changed paraswap address + change mapping name

This commit is contained in:
bhavik 2021-12-29 23:06:04 +05:30
parent d4bea002bb
commit acc1d43af6
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -51,5 +51,5 @@ abstract contract ParaswapResolver is Helpers {
}
contract ConnectV2ParaswapV5Polygon is ParaswapResolver {
string public name = "Paraswap-v1";
string public name = "Paraswap-v5";
}