diff --git a/safe.csv b/safe.csv index 2b725a1c..c20dc7f0 100644 --- a/safe.csv +++ b/safe.csv @@ -656,6 +656,7 @@ address,name,chainId 0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA,AaveV3EthereumEtherFi CAPS_PLUS_RISK_STEWARD,1 0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c,AaveV3EthereumEtherFi COLLECTOR,1 0x909bA8DA4c826C62013Ce3A30ce1F42943F3b340,AaveV3EthereumEtherFi CONFIG_ENGINE,1 +0x40ede12b44d98Fc4E53A2fB027D1BD1846e1690C,AaveV3EthereumEtherFi DEBT_SWAP_ADAPTER,1 0xaFFA06528Bd92625de2e7A0cfa0119319265Ea4b,AaveV3EthereumEtherFi DEFAULT_A_TOKEN_IMPL_REV_1,1 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb,AaveV3EthereumEtherFi DEFAULT_INCENTIVES_CONTROLLER,1 0xBb077DaFFeb23B2126E7358b0b122ba6838FB881,AaveV3EthereumEtherFi DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1 @@ -712,6 +713,7 @@ address,name,chainId 0x3843b29118fFC18d5d12EE079d0324E1bF115e69,AaveV3EthereumLido CAPS_PLUS_RISK_STEWARD,1 0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c,AaveV3EthereumLido COLLECTOR,1 0x1097eDb85392932b7dCB630baDDC8A6D73585218,AaveV3EthereumLido CONFIG_ENGINE,1 +0xd1B2dec98A95B773C4909B5CD8FB455F467A527f,AaveV3EthereumLido DEBT_SWAP_ADAPTER,1 0x7F8Fc14D462bdF93c681c1f2Fd615389bF969Fb2,AaveV3EthereumLido DEFAULT_A_TOKEN_IMPL_REV_1,1 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb,AaveV3EthereumLido DEFAULT_INCENTIVES_CONTROLLER,1 0x3E59212c34588a63350142EFad594a20C88C2CEd,AaveV3EthereumLido DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1 diff --git a/scripts/configs/pools/ethereum.ts b/scripts/configs/pools/ethereum.ts index b3638544..8148b2b5 100644 --- a/scripts/configs/pools/ethereum.ts +++ b/scripts/configs/pools/ethereum.ts @@ -101,6 +101,7 @@ export const lidoEthereumMainnetProtoV3Pool: PoolConfig = { CONFIG_ENGINE: '0x1097eDb85392932b7dCB630baDDC8A6D73585218', CAPS_PLUS_RISK_STEWARD: '0x3843b29118fFC18d5d12EE079d0324E1bF115e69', RISK_STEWARD: '0x30adC2f98ff78fDde12F191Acb82699f640694FB', + DEBT_SWAP_ADAPTER: '0xd1B2dec98A95B773C4909B5CD8FB455F467A527f', // STATIC_A_TOKEN_FACTORY: '', // FREEZING_STEWARD: '', // RATES_FACTORY: '', @@ -124,6 +125,7 @@ export const etherFiEthereumMainnetProtoV3Pool: PoolConfig = { STATIC_A_TOKEN_FACTORY: '0x1Ff525426800279843B71C0F818594DeCdC3b522', CAPS_PLUS_RISK_STEWARD: '0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA', RISK_STEWARD: '0xBF79d8339303148E345277a994Eb2cD5d82F0067', + DEBT_SWAP_ADAPTER: '0x40ede12b44d98Fc4E53A2fB027D1BD1846e1690C', }, initial: { COLLECTOR: '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c', diff --git a/src/AaveV3EthereumEtherFi.sol b/src/AaveV3EthereumEtherFi.sol index 77fe36c9..d898cc7c 100644 --- a/src/AaveV3EthereumEtherFi.sol +++ b/src/AaveV3EthereumEtherFi.sol @@ -90,6 +90,9 @@ library AaveV3EthereumEtherFi { // https://etherscan.io/address/0xBF79d8339303148E345277a994Eb2cD5d82F0067 address internal constant RISK_STEWARD = 0xBF79d8339303148E345277a994Eb2cD5d82F0067; + + // https://etherscan.io/address/0x40ede12b44d98Fc4E53A2fB027D1BD1846e1690C + address internal constant DEBT_SWAP_ADAPTER = 0x40ede12b44d98Fc4E53A2fB027D1BD1846e1690C; } library AaveV3EthereumEtherFiAssets { // https://etherscan.io/address/0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee diff --git a/src/AaveV3EthereumLido.sol b/src/AaveV3EthereumLido.sol index 84f96319..d54fa21f 100644 --- a/src/AaveV3EthereumLido.sol +++ b/src/AaveV3EthereumLido.sol @@ -87,6 +87,9 @@ library AaveV3EthereumLido { // https://etherscan.io/address/0x30adC2f98ff78fDde12F191Acb82699f640694FB address internal constant RISK_STEWARD = 0x30adC2f98ff78fDde12F191Acb82699f640694FB; + + // https://etherscan.io/address/0xd1B2dec98A95B773C4909B5CD8FB455F467A527f + address internal constant DEBT_SWAP_ADAPTER = 0xd1B2dec98A95B773C4909B5CD8FB455F467A527f; } library AaveV3EthereumLidoAssets { // https://etherscan.io/address/0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 diff --git a/src/ts/AaveV3EthereumEtherFi.ts b/src/ts/AaveV3EthereumEtherFi.ts index 348b485b..fb6ba497 100644 --- a/src/ts/AaveV3EthereumEtherFi.ts +++ b/src/ts/AaveV3EthereumEtherFi.ts @@ -77,6 +77,9 @@ export const CAPS_PLUS_RISK_STEWARD = '0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58c // https://etherscan.io/address/0xBF79d8339303148E345277a994Eb2cD5d82F0067 export const RISK_STEWARD = '0xBF79d8339303148E345277a994Eb2cD5d82F0067'; +// https://etherscan.io/address/0x40ede12b44d98Fc4E53A2fB027D1BD1846e1690C +export const DEBT_SWAP_ADAPTER = '0x40ede12b44d98Fc4E53A2fB027D1BD1846e1690C'; + export const CHAIN_ID = 1; export const ASSETS = { weETH: { diff --git a/src/ts/AaveV3EthereumLido.ts b/src/ts/AaveV3EthereumLido.ts index 51a46cc7..f30325c6 100644 --- a/src/ts/AaveV3EthereumLido.ts +++ b/src/ts/AaveV3EthereumLido.ts @@ -74,6 +74,9 @@ export const CAPS_PLUS_RISK_STEWARD = '0x3843b29118fFC18d5d12EE079d0324E1bF115e6 // https://etherscan.io/address/0x30adC2f98ff78fDde12F191Acb82699f640694FB export const RISK_STEWARD = '0x30adC2f98ff78fDde12F191Acb82699f640694FB'; +// https://etherscan.io/address/0xd1B2dec98A95B773C4909B5CD8FB455F467A527f +export const DEBT_SWAP_ADAPTER = '0xd1B2dec98A95B773C4909B5CD8FB455F467A527f'; + export const CHAIN_ID = 1; export const ASSETS = { wstETH: {