From 6b29c5f6b18d861b707872047061fc269edd5467 Mon Sep 17 00:00:00 2001 From: Harsh Pandey Date: Tue, 3 Sep 2024 18:45:40 +0530 Subject: [PATCH] feat: add risk steward for etherfi (#569) --- safe.csv | 1 + scripts/configs/pools/ethereum.ts | 1 + src/AaveV3EthereumEtherFi.sol | 3 +++ src/ts/AaveV3EthereumEtherFi.ts | 3 +++ 4 files changed, 8 insertions(+) diff --git a/safe.csv b/safe.csv index 688ac8bc..363e50ca 100644 --- a/safe.csv +++ b/safe.csv @@ -730,6 +730,7 @@ address,name,chainId 0x5ccAc427EcEf826c94f8a79a3cB6CF5A385D3eB5,AaveV3EthereumEtherFi POOL_CONFIGURATOR_IMPL,1 0xf231D3E81a282638E88724d354940425eDB4b1A5,AaveV3EthereumEtherFi POOL_IMPL,1 0x8831a5EEB5e10D2E5148Ca91ee9E4716a00c2CB2,AaveV3EthereumEtherFi REPAY_WITH_COLLATERAL_ADAPTER,1 +0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3,AaveV3EthereumEtherFi RISK_STEWARD,1 0x1Ff525426800279843B71C0F818594DeCdC3b522,AaveV3EthereumEtherFi STATIC_A_TOKEN_FACTORY,1 0xB04427eFdd15b0EC233400d2F7f7E4fd0291C285,AaveV3EthereumEtherFi SWAP_COLLATERAL_ADAPTER,1 0x162A7AC02f547ad796CA549f757e2b8d1D9b10a6,AaveV3EthereumEtherFi UI_INCENTIVE_DATA_PROVIDER,1 diff --git a/scripts/configs/pools/ethereum.ts b/scripts/configs/pools/ethereum.ts index a12a5ba3..57079493 100644 --- a/scripts/configs/pools/ethereum.ts +++ b/scripts/configs/pools/ethereum.ts @@ -123,6 +123,7 @@ export const etherFiEthereumMainnetProtoV3Pool: PoolConfig = { CONFIG_ENGINE: '0x482548b76D4C577A0b5cb2A1f97EFB2893E957ed', STATIC_A_TOKEN_FACTORY: '0x1Ff525426800279843B71C0F818594DeCdC3b522', CAPS_PLUS_RISK_STEWARD: '0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA', + RISK_STEWARD: '0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3', }, initial: { COLLECTOR: '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c', diff --git a/src/AaveV3EthereumEtherFi.sol b/src/AaveV3EthereumEtherFi.sol index d21e9471..8be0f2e7 100644 --- a/src/AaveV3EthereumEtherFi.sol +++ b/src/AaveV3EthereumEtherFi.sol @@ -92,6 +92,9 @@ library AaveV3EthereumEtherFi { // https://etherscan.io/address/0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA address internal constant CAPS_PLUS_RISK_STEWARD = 0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA; + + // https://etherscan.io/address/0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3 + address internal constant RISK_STEWARD = 0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3; } library AaveV3EthereumEtherFiAssets {} diff --git a/src/ts/AaveV3EthereumEtherFi.ts b/src/ts/AaveV3EthereumEtherFi.ts index 5d58a199..8683f1a7 100644 --- a/src/ts/AaveV3EthereumEtherFi.ts +++ b/src/ts/AaveV3EthereumEtherFi.ts @@ -77,6 +77,9 @@ export const STATIC_A_TOKEN_FACTORY = '0x1Ff525426800279843B71C0F818594DeCdC3b52 // https://etherscan.io/address/0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA export const CAPS_PLUS_RISK_STEWARD = '0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA'; +// https://etherscan.io/address/0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3 +export const RISK_STEWARD = '0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3'; + export const CHAIN_ID = 1; export const ASSETS = {} as const; export const E_MODES = {