From 7ac58c7e28204bddcded36df02476e8cc58dc35f Mon Sep 17 00:00:00 2001 From: Harsh Pandey Date: Sat, 19 Oct 2024 11:39:30 +0530 Subject: [PATCH] fix: weth gateway gnosis (#654) * fix: weth gateway gnosis * added gnosis gateway generated addresses --------- Co-authored-by: eboado --- safe.csv | 2 +- scripts/configs/pools/gnosis.ts | 2 +- src/AaveV3Gnosis.sol | 4 ++-- src/ts/AaveV3Gnosis.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/safe.csv b/safe.csv index e227f313..6df44477 100644 --- a/safe.csv +++ b/safe.csv @@ -1050,7 +1050,7 @@ address,name,chainId 0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16,AaveV3Gnosis UI_INCENTIVE_DATA_PROVIDER,100 0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9,AaveV3Gnosis UI_POOL_DATA_PROVIDER,100 0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D,AaveV3Gnosis WALLET_BALANCE_PROVIDER,100 -0x90127A46207e97e4205db5CCC1Ec9D6D43633FD4,AaveV3Gnosis WETH_GATEWAY,100 +0x7B9c12915c594a68dE96201Cbdc79147F09da278,AaveV3Gnosis WETH_GATEWAY,100 0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D,GovernanceV3Gnosis CL_EMERGENCY_ORACLE,100 0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F,GovernanceV3Gnosis CROSS_CHAIN_CONTROLLER,100 0x1dF462e2712496373A347f8ad10802a5E95f053D,GovernanceV3Gnosis EXECUTOR_LVL_1,100 diff --git a/scripts/configs/pools/gnosis.ts b/scripts/configs/pools/gnosis.ts index d4ab633f..f37b666e 100644 --- a/scripts/configs/pools/gnosis.ts +++ b/scripts/configs/pools/gnosis.ts @@ -11,7 +11,7 @@ export const gnosisProtoV3: PoolConfig = { UI_INCENTIVE_DATA_PROVIDER: '0x5d4d4007a4c6336550ddaa2a7c0d5e7972eebd16', UI_POOL_DATA_PROVIDER: '0x5598bbfa2f4fe8151f45bba0a3ede1b54b51a0a9', WALLET_BALANCE_PROVIDER: '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D', - WETH_GATEWAY: '0x90127A46207e97e4205db5CCC1Ec9D6D43633FD4', + WETH_GATEWAY: '0x7B9c12915c594a68dE96201Cbdc79147F09da278', CAPS_PLUS_RISK_STEWARD: '0x33AE1f41546a2e05368Bf789b3d868813c0Ae658', RISK_STEWARD: '0x0b9cA640284cf2636577703f785D5aEEc466BC56', FREEZING_STEWARD: '0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5', diff --git a/src/AaveV3Gnosis.sol b/src/AaveV3Gnosis.sol index 0927a8f4..4a8a5f73 100644 --- a/src/AaveV3Gnosis.sol +++ b/src/AaveV3Gnosis.sol @@ -70,8 +70,8 @@ library AaveV3Gnosis { // https://gnosisscan.io/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D address internal constant WALLET_BALANCE_PROVIDER = 0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D; - // https://gnosisscan.io/address/0x90127A46207e97e4205db5CCC1Ec9D6D43633FD4 - address internal constant WETH_GATEWAY = 0x90127A46207e97e4205db5CCC1Ec9D6D43633FD4; + // https://gnosisscan.io/address/0x7B9c12915c594a68dE96201Cbdc79147F09da278 + address internal constant WETH_GATEWAY = 0x7B9c12915c594a68dE96201Cbdc79147F09da278; // https://gnosisscan.io/address/0x33AE1f41546a2e05368Bf789b3d868813c0Ae658 address internal constant CAPS_PLUS_RISK_STEWARD = 0x33AE1f41546a2e05368Bf789b3d868813c0Ae658; diff --git a/src/ts/AaveV3Gnosis.ts b/src/ts/AaveV3Gnosis.ts index 72acd048..6b8087a7 100644 --- a/src/ts/AaveV3Gnosis.ts +++ b/src/ts/AaveV3Gnosis.ts @@ -56,8 +56,8 @@ export const UI_POOL_DATA_PROVIDER = '0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9 // https://gnosisscan.io/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D export const WALLET_BALANCE_PROVIDER = '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D'; -// https://gnosisscan.io/address/0x90127A46207e97e4205db5CCC1Ec9D6D43633FD4 -export const WETH_GATEWAY = '0x90127A46207e97e4205db5CCC1Ec9D6D43633FD4'; +// https://gnosisscan.io/address/0x7B9c12915c594a68dE96201Cbdc79147F09da278 +export const WETH_GATEWAY = '0x7B9c12915c594a68dE96201Cbdc79147F09da278'; // https://gnosisscan.io/address/0x33AE1f41546a2e05368Bf789b3d868813c0Ae658 export const CAPS_PLUS_RISK_STEWARD = '0x33AE1f41546a2e05368Bf789b3d868813c0Ae658';