From dd463aa0e66b4a96941b11df429d3368160a0e0d Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Sat, 17 Apr 2021 00:29:01 +0530 Subject: [PATCH] Updated Aave migrator connector --- contracts/senders/aave-v2-connector/helpers.sol | 2 +- contracts/senders/aave-v2-connector/main.sol | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/senders/aave-v2-connector/helpers.sol b/contracts/senders/aave-v2-connector/helpers.sol index 24e57fd..813f2f5 100644 --- a/contracts/senders/aave-v2-connector/helpers.sol +++ b/contracts/senders/aave-v2-connector/helpers.sol @@ -6,7 +6,7 @@ import { AaveLendingPoolProviderInterface, AaveDataProviderInterface, AaveMigrat abstract contract Helpers is DSMath, Stores { - AaveMigratorInterface constant internal migrator = AaveMigratorInterface(address(2)); // Replace this (Migrator contract) + AaveMigratorInterface constant internal migrator = AaveMigratorInterface(address(0xA0557234eB7b3c503388202D3768Cfa2f1AE9Dc2)); /** * @dev Aave Data Provider diff --git a/contracts/senders/aave-v2-connector/main.sol b/contracts/senders/aave-v2-connector/main.sol index 19e9e92..c4b957c 100644 --- a/contracts/senders/aave-v2-connector/main.sol +++ b/contracts/senders/aave-v2-connector/main.sol @@ -56,6 +56,6 @@ contract AaveMigrateResolver is Helpers, Events { } -contract AaveV2Migrator is AaveMigrateResolver { - string constant public name = "AaveV2PolygonMigrator-v1"; -} \ No newline at end of file +contract ConnectV2AaveV2PolygonMigrator is AaveMigrateResolver { + string constant public name = "Aave-V2-Polygon-Migrator-v1"; +}