mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
changed paraswap address + change mapping name
This commit is contained in:
parent
d4bea002bb
commit
acc1d43af6
|
@ -16,7 +16,7 @@ abstract contract Helpers is DSMath, Basic {
|
||||||
bytes callData;
|
bytes callData;
|
||||||
}
|
}
|
||||||
|
|
||||||
address internal constant paraswap = 0xde33f4573bB315939a9D1E65522575E1a9fC3e74;
|
address internal constant paraswap = 0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57;
|
||||||
|
|
||||||
function _swapHelper(SwapData memory swapData, uint256 wmaticAmt) internal returns (uint256 buyAmt) {
|
function _swapHelper(SwapData memory swapData, uint256 wmaticAmt) internal returns (uint256 buyAmt) {
|
||||||
TokenInterface buyToken = swapData.buyToken;
|
TokenInterface buyToken = swapData.buyToken;
|
||||||
|
|
|
@ -51,5 +51,5 @@ abstract contract ParaswapResolver is Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
contract ConnectV2ParaswapV5Polygon is ParaswapResolver {
|
contract ConnectV2ParaswapV5Polygon is ParaswapResolver {
|
||||||
string public name = "Paraswap-v1";
|
string public name = "Paraswap-v5";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user