From d41b3e65aa0f4694536ce6a03a3ca8012c0987c5 Mon Sep 17 00:00:00 2001 From: bhavik-m Date: Sat, 12 Mar 2022 13:53:38 +0530 Subject: [PATCH] updated aave v3 addresses --- contracts/avalanche/connectors/aave/v2-to-v3-import/helpers.sol | 2 +- contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol | 2 +- contracts/polygon/connectors/aave/v2-to-v3-import/main.sol | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contracts/avalanche/connectors/aave/v2-to-v3-import/helpers.sol b/contracts/avalanche/connectors/aave/v2-to-v3-import/helpers.sol index 36f067d9..d53dba5a 100644 --- a/contracts/avalanche/connectors/aave/v2-to-v3-import/helpers.sol +++ b/contracts/avalanche/connectors/aave/v2-to-v3-import/helpers.sol @@ -25,7 +25,7 @@ abstract contract Helper is DSMath, Basic { */ AaveV3PoolProviderInterface internal constant aaveV3Provider = AaveV3PoolProviderInterface( - 0x7013523049CeC8b06F594edb8c5fb7F232c0Df7C // v3 - PoolAddressesProvider Avalanche + 0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb // v3 - PoolAddressesProvider Avalanche ); /** diff --git a/contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol b/contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol index 0882c791..5da70943 100644 --- a/contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol +++ b/contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol @@ -25,7 +25,7 @@ abstract contract Helper is DSMath, Basic { */ AaveV3PoolProviderInterface internal constant aaveV3Provider = AaveV3PoolProviderInterface( - 0x7013523049CeC8b06F594edb8c5fb7F232c0Df7C // Polygon address - PoolAddressesProvider + 0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb // Polygon address - PoolAddressesProvider ); /** diff --git a/contracts/polygon/connectors/aave/v2-to-v3-import/main.sol b/contracts/polygon/connectors/aave/v2-to-v3-import/main.sol index df8b273d..d172ff48 100644 --- a/contracts/polygon/connectors/aave/v2-to-v3-import/main.sol +++ b/contracts/polygon/connectors/aave/v2-to-v3-import/main.sol @@ -10,6 +10,7 @@ import "./events.sol"; * @title Aave v2 to v3 import connector . * @dev migrate aave V2 position to aave v3 position */ + contract _AaveV2ToV3MigrationResolver is _AaveHelper { /** * @dev Import aave position .