mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
changed paraswap address + contract name
This commit is contained in:
parent
b14b9dc78c
commit
d4bea002bb
|
@ -16,7 +16,7 @@ abstract contract Helpers is DSMath, Basic {
|
||||||
bytes callData;
|
bytes callData;
|
||||||
}
|
}
|
||||||
|
|
||||||
address internal constant paraswap = 0x90249ed4d69D70E709fFCd8beE2c5A566f65dADE;
|
address internal constant paraswap = 0xde33f4573bB315939a9D1E65522575E1a9fC3e74;
|
||||||
|
|
||||||
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;
|
||||||
|
|
|
@ -50,6 +50,6 @@ abstract contract ParaswapResolver is Helpers {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contract ConnectV2Paraswap is ParaswapResolver {
|
contract ConnectV2ParaswapV5Polygon is ParaswapResolver {
|
||||||
string public name = "Paraswap-v1";
|
string public name = "Paraswap-v1";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user