From 5768afaa0c265d838148a14d7083e7f4fd3e330b Mon Sep 17 00:00:00 2001 From: Bob Lu Date: Wed, 9 Oct 2024 12:34:26 +0800 Subject: [PATCH] fix: update Aave V3 PoolDataProvider addresses --- .changeset/fuzzy-tables-call.md | 5 +++++ src/logics/aave-v3/configs.ts | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 .changeset/fuzzy-tables-call.md diff --git a/.changeset/fuzzy-tables-call.md b/.changeset/fuzzy-tables-call.md new file mode 100644 index 00000000..a84108bb --- /dev/null +++ b/.changeset/fuzzy-tables-call.md @@ -0,0 +1,5 @@ +--- +'@protocolink/logics': patch +--- + +update Aave V3 PoolDataProvider addresses diff --git a/src/logics/aave-v3/configs.ts b/src/logics/aave-v3/configs.ts index 98373b9b..1c07c7cb 100644 --- a/src/logics/aave-v3/configs.ts +++ b/src/logics/aave-v3/configs.ts @@ -13,56 +13,56 @@ export const configs: Config[] = [ { chainId: common.ChainId.mainnet, contract: { - PoolDataProvider: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3', + PoolDataProvider: '0x41393e5e337606dc3821075Af65AeE84D7688CBD', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.optimism, contract: { - PoolDataProvider: '0xd9Ca4878dd38B021583c1B669905592EAe76E044', + PoolDataProvider: '0x7F23D86Ee20D869112572136221e173428DD740B', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.gnosis, contract: { - PoolDataProvider: '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741', + PoolDataProvider: '0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.polygon, contract: { - PoolDataProvider: '0x9441B65EE553F70df9C77d45d3283B6BC24F222d', + PoolDataProvider: '0x7F23D86Ee20D869112572136221e173428DD740B', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.metis, contract: { - PoolDataProvider: '0x99411FC17Ad1B56f49719E3850B2CDcc0f9bBFd8', + PoolDataProvider: '0xC01372469A17b6716A38F00c277533917B6859c0', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.base, contract: { - PoolDataProvider: '0x2d8A3C5677189723C4cB8873CfC9C8976FDF38Ac', + PoolDataProvider: '0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.arbitrum, contract: { - PoolDataProvider: '0x6b4E260b765B3cA1514e618C0215A6B7839fF93e', + PoolDataProvider: '0x7F23D86Ee20D869112572136221e173428DD740B', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, }, { chainId: common.ChainId.avalanche, contract: { - PoolDataProvider: '0x50ddd0Cd4266299527d25De9CBb55fE0EB8dAc30', + PoolDataProvider: '0x7F23D86Ee20D869112572136221e173428DD740B', AaveV3FlashLoanCallback: '0x6f81cf774052D03873b32944a036BF0647bFB5bF', }, },