Skip to content

Commit

Permalink
fix: update packages & run on node 20 (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Dec 20, 2023
1 parent ae95dba commit 2496e82
Show file tree
Hide file tree
Showing 17 changed files with 377 additions and 281 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"

- name: Install dependencies
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
},
"homepage": "https://github.com/bgd-labs/aave-address-book#readme",
"devDependencies": {
"@types/node": "^20.9.0",
"esbuild-plugin-file-path-extensions": "^1.0.0",
"@types/node": "^20.10.5",
"esbuild-plugin-file-path-extensions": "^2.0.0",
"prettier": "^3.0.3",
"prettier-plugin-solidity": "^1.1.3",
"tsup": "^7.2.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2",
"viem": "^1.18.9"
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"viem": "^1.20.3"
}
}
80 changes: 40 additions & 40 deletions src/AaveV2Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x7c5d4F8345e66f68099581Db340cd65B078C41f4
address internal constant YFI_ORACLE = 0x7c5d4F8345e66f68099581Db340cd65B078C41f4;

// https://etherscan.io/address/0xfd71623D7F41360aefE200de4f17E20A29e1d58C
address internal constant YFI_INTEREST_RATE_STRATEGY = 0xfd71623D7F41360aefE200de4f17E20A29e1d58C;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant YFI_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0xE41d2489571d322189246DaFA5ebDe1F4699F498
address internal constant ZRX_UNDERLYING = 0xE41d2489571d322189246DaFA5ebDe1F4699F498;
Expand All @@ -185,8 +185,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x2Da4983a622a8498bb1a21FaE9D8F6C664939962
address internal constant ZRX_ORACLE = 0x2Da4983a622a8498bb1a21FaE9D8F6C664939962;

// https://etherscan.io/address/0x1a4babC0e20d892167792AC79618273711afD3e7
address internal constant ZRX_INTEREST_RATE_STRATEGY = 0x1a4babC0e20d892167792AC79618273711afD3e7;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant ZRX_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
address internal constant UNI_UNDERLYING = 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984;
Expand All @@ -205,8 +205,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e
address internal constant UNI_ORACLE = 0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e;

// https://etherscan.io/address/0x24ABFac8dd8f270D752837fDFe3B3C735361f4eE
address internal constant UNI_INTEREST_RATE_STRATEGY = 0x24ABFac8dd8f270D752837fDFe3B3C735361f4eE;
// https://etherscan.io/address/0x87cCa171a2125efca9868F9Bc1FfD7B7c80dC5a3
address internal constant UNI_INTEREST_RATE_STRATEGY = 0x87cCa171a2125efca9868F9Bc1FfD7B7c80dC5a3;

// https://etherscan.io/address/0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9
address internal constant AAVE_UNDERLYING = 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9;
Expand Down Expand Up @@ -246,8 +246,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x0d16d4528239e9ee52fa531af613AcdB23D88c94
address internal constant BAT_ORACLE = 0x0d16d4528239e9ee52fa531af613AcdB23D88c94;

// https://etherscan.io/address/0xBdfC85b140edF1FeaFd6eD664027AA4C23b4A29F
address internal constant BAT_INTEREST_RATE_STRATEGY = 0xBdfC85b140edF1FeaFd6eD664027AA4C23b4A29F;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant BAT_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0x4Fabb145d64652a948d72533023f6E7A623C7C53
address internal constant BUSD_UNDERLYING = 0x4Fabb145d64652a948d72533023f6E7A623C7C53;
Expand Down Expand Up @@ -307,8 +307,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x24D9aB51950F3d62E9144fdC2f3135DAA6Ce8D1B
address internal constant ENJ_ORACLE = 0x24D9aB51950F3d62E9144fdC2f3135DAA6Ce8D1B;

// https://etherscan.io/address/0x4a4fb6B26e7F516594b7242240039EA8FAAc897a
address internal constant ENJ_INTEREST_RATE_STRATEGY = 0x4a4fb6B26e7F516594b7242240039EA8FAAc897a;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant ENJ_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0xdd974D5C2e2928deA5F71b9825b8b646686BD200
address internal constant KNC_UNDERLYING = 0xdd974D5C2e2928deA5F71b9825b8b646686BD200;
Expand All @@ -327,8 +327,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x656c0544eF4C98A6a98491833A89204Abb045d6b
address internal constant KNC_ORACLE = 0x656c0544eF4C98A6a98491833A89204Abb045d6b;

// https://etherscan.io/address/0xFDBDa42D2aC1bfbbc10555eb255De8387b8977C4
address internal constant KNC_INTEREST_RATE_STRATEGY = 0xFDBDa42D2aC1bfbbc10555eb255De8387b8977C4;
// https://etherscan.io/address/0xeB65a3163Fd8900F4fE9a044e18966706b69A74D
address internal constant KNC_INTEREST_RATE_STRATEGY = 0xeB65a3163Fd8900F4fE9a044e18966706b69A74D;

// https://etherscan.io/address/0x514910771AF9Ca656af840dff83E8264EcF986CA
address internal constant LINK_UNDERLYING = 0x514910771AF9Ca656af840dff83E8264EcF986CA;
Expand Down Expand Up @@ -368,9 +368,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x82A44D92D6c329826dc557c5E1Be6ebeC5D5FeB9
address internal constant MANA_ORACLE = 0x82A44D92D6c329826dc557c5E1Be6ebeC5D5FeB9;

// https://etherscan.io/address/0x004fC239848D8A8d3304729b78ba81d73d83C99F
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant MANA_INTEREST_RATE_STRATEGY =
0x004fC239848D8A8d3304729b78ba81d73d83C99F;
0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
address internal constant MKR_UNDERLYING = 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2;
Expand All @@ -389,8 +389,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x24551a8Fb2A7211A25a17B1481f043A8a8adC7f2
address internal constant MKR_ORACLE = 0x24551a8Fb2A7211A25a17B1481f043A8a8adC7f2;

// https://etherscan.io/address/0xE3a3DE71B827cB73663A24cDB6243bA7F986cC3b
address internal constant MKR_INTEREST_RATE_STRATEGY = 0xE3a3DE71B827cB73663A24cDB6243bA7F986cC3b;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant MKR_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0x408e41876cCCDC0F92210600ef50372656052a38
address internal constant REN_UNDERLYING = 0x408e41876cCCDC0F92210600ef50372656052a38;
Expand All @@ -409,8 +409,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x3147D7203354Dc06D9fd350c7a2437bcA92387a4
address internal constant REN_ORACLE = 0x3147D7203354Dc06D9fd350c7a2437bcA92387a4;

// https://etherscan.io/address/0x9B1e3C7483F0f21abFEaE3AeBC9b47b5f23f5bB0
address internal constant REN_INTEREST_RATE_STRATEGY = 0x9B1e3C7483F0f21abFEaE3AeBC9b47b5f23f5bB0;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant REN_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
address internal constant SNX_UNDERLYING = 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F;
Expand All @@ -429,8 +429,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x79291A9d692Df95334B1a0B3B4AE6bC606782f8c
address internal constant SNX_ORACLE = 0x79291A9d692Df95334B1a0B3B4AE6bC606782f8c;

// https://etherscan.io/address/0xCc92073dDe8aE03bAA1812AC5cF22e69b5E76914
address internal constant SNX_INTEREST_RATE_STRATEGY = 0xCc92073dDe8aE03bAA1812AC5cF22e69b5E76914;
// https://etherscan.io/address/0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5
address internal constant SNX_INTEREST_RATE_STRATEGY = 0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5;

// https://etherscan.io/address/0x57Ab1ec28D129707052df4dF418D58a2D46d5f51
address internal constant sUSD_UNDERLYING = 0x57Ab1ec28D129707052df4dF418D58a2D46d5f51;
Expand Down Expand Up @@ -512,8 +512,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e
address internal constant CRV_ORACLE = 0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e;

// https://etherscan.io/address/0xA4C2C730A4c01c64d54ce0165c27120989A3C743
address internal constant CRV_INTEREST_RATE_STRATEGY = 0xA4C2C730A4c01c64d54ce0165c27120989A3C743;
// https://etherscan.io/address/0x35FE8C9924718f286463e659be35b4122eEe907F
address internal constant CRV_INTEREST_RATE_STRATEGY = 0x35FE8C9924718f286463e659be35b4122eEe907F;

// https://etherscan.io/address/0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd
address internal constant GUSD_UNDERLYING = 0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd;
Expand Down Expand Up @@ -553,8 +553,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xC1438AA3823A6Ba0C159CfA8D98dF5A994bA120b
address internal constant BAL_ORACLE = 0xC1438AA3823A6Ba0C159CfA8D98dF5A994bA120b;

// https://etherscan.io/address/0x46158614537A48D51a30073A86b4B73B16D33b53
address internal constant BAL_INTEREST_RATE_STRATEGY = 0x46158614537A48D51a30073A86b4B73B16D33b53;
// https://etherscan.io/address/0xb873ec463CAC50112B0e14d060fbc4192406279f
address internal constant BAL_INTEREST_RATE_STRATEGY = 0xb873ec463CAC50112B0e14d060fbc4192406279f;

// https://etherscan.io/address/0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272
address internal constant xSUSHI_UNDERLYING = 0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272;
Expand All @@ -573,9 +573,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xF05D9B6C08757EAcb1fbec18e36A1B7566a13DEB
address internal constant xSUSHI_ORACLE = 0xF05D9B6C08757EAcb1fbec18e36A1B7566a13DEB;

// https://etherscan.io/address/0xb49034Ada4BE5c6Bb3823A623C6250267110b06b
// https://etherscan.io/address/0x6855E5544Cd803BF24c9612b3F12C009116B0ee1
address internal constant xSUSHI_INTEREST_RATE_STRATEGY =
0xb49034Ada4BE5c6Bb3823A623C6250267110b06b;
0x6855E5544Cd803BF24c9612b3F12C009116B0ee1;

// https://etherscan.io/address/0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5
address internal constant renFIL_UNDERLYING = 0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5;
Expand Down Expand Up @@ -615,8 +615,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x4ad7B025127e89263242aB68F0f9c4E5C033B489
address internal constant RAI_ORACLE = 0x4ad7B025127e89263242aB68F0f9c4E5C033B489;

// https://etherscan.io/address/0xA7d4df837926cD55036175AfeF38395d56A64c22
address internal constant RAI_INTEREST_RATE_STRATEGY = 0xA7d4df837926cD55036175AfeF38395d56A64c22;
// https://etherscan.io/address/0xc83cDb49F234EC6666D7857B3EAa1302b109394C
address internal constant RAI_INTEREST_RATE_STRATEGY = 0xc83cDb49F234EC6666D7857B3EAa1302b109394C;

// https://etherscan.io/address/0xD46bA6D942050d489DBd938a2C909A5d5039A161
address internal constant AMPL_UNDERLYING = 0xD46bA6D942050d489DBd938a2C909A5d5039A161;
Expand All @@ -635,9 +635,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x492575FDD11a0fCf2C6C719867890a7648d526eB
address internal constant AMPL_ORACLE = 0x492575FDD11a0fCf2C6C719867890a7648d526eB;

// https://etherscan.io/address/0x84d1FaD9559b8AC1Fda17d073B8542c8Fb6986dd
// https://etherscan.io/address/0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5
address internal constant AMPL_INTEREST_RATE_STRATEGY =
0x84d1FaD9559b8AC1Fda17d073B8542c8Fb6986dd;
0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5;

// https://etherscan.io/address/0x8E870D67F660D95d5be530380D0eC0bd388289E1
address internal constant USDP_UNDERLYING = 0x8E870D67F660D95d5be530380D0eC0bd388289E1;
Expand Down Expand Up @@ -677,8 +677,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x029849bbc0b1d93b85a8b6190e979fd38F5760E2
address internal constant DPI_ORACLE = 0x029849bbc0b1d93b85a8b6190e979fd38F5760E2;

// https://etherscan.io/address/0x9440aEc0795D7485e58bCF26622c2f4A681A9671
address internal constant DPI_INTEREST_RATE_STRATEGY = 0x9440aEc0795D7485e58bCF26622c2f4A681A9671;
// https://etherscan.io/address/0xA12D7bB07379ad6de4497B80088e28D4C00932D1
address internal constant DPI_INTEREST_RATE_STRATEGY = 0xA12D7bB07379ad6de4497B80088e28D4C00932D1;

// https://etherscan.io/address/0x853d955aCEf822Db058eb8505911ED77F175b99e
address internal constant FRAX_UNDERLYING = 0x853d955aCEf822Db058eb8505911ED77F175b99e;
Expand Down Expand Up @@ -759,8 +759,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xd4641b75015E6536E8102D98479568D05D7123Db
address internal constant ENS_ORACLE = 0xd4641b75015E6536E8102D98479568D05D7123Db;

// https://etherscan.io/address/0xb2eD1eCE1c13455Ce9299d35D3B00358529f3Dc8
address internal constant ENS_INTEREST_RATE_STRATEGY = 0xb2eD1eCE1c13455Ce9299d35D3B00358529f3Dc8;
// https://etherscan.io/address/0x6855E5544Cd803BF24c9612b3F12C009116B0ee1
address internal constant ENS_INTEREST_RATE_STRATEGY = 0x6855E5544Cd803BF24c9612b3F12C009116B0ee1;

// https://etherscan.io/address/0xa693B19d2931d498c5B318dF961919BB4aee87a5
address internal constant UST_UNDERLYING = 0xa693B19d2931d498c5B318dF961919BB4aee87a5;
Expand All @@ -779,8 +779,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xa20623070413d42a5C01Db2c8111640DD7A5A03a
address internal constant UST_ORACLE = 0xa20623070413d42a5C01Db2c8111640DD7A5A03a;

// https://etherscan.io/address/0x0dEDCaE8Eb22A2EFB597aBde1834173C47Cff186
address internal constant UST_INTEREST_RATE_STRATEGY = 0x0dEDCaE8Eb22A2EFB597aBde1834173C47Cff186;
// https://etherscan.io/address/0xc83cDb49F234EC6666D7857B3EAa1302b109394C
address internal constant UST_INTEREST_RATE_STRATEGY = 0xc83cDb49F234EC6666D7857B3EAa1302b109394C;

// https://etherscan.io/address/0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B
address internal constant CVX_UNDERLYING = 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B;
Expand All @@ -799,8 +799,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xC9CbF687f43176B302F03f5e58470b77D07c61c6
address internal constant CVX_ORACLE = 0xC9CbF687f43176B302F03f5e58470b77D07c61c6;

// https://etherscan.io/address/0x1dA981865AE7a0C838eFBF4C7DFecb5c7268E73A
address internal constant CVX_INTEREST_RATE_STRATEGY = 0x1dA981865AE7a0C838eFBF4C7DFecb5c7268E73A;
// https://etherscan.io/address/0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069
address internal constant CVX_INTEREST_RATE_STRATEGY = 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069;

// https://etherscan.io/address/0x111111111117dC0aa78b770fA6A738034120C302
address internal constant ONE_INCH_UNDERLYING = 0x111111111117dC0aa78b770fA6A738034120C302;
Expand All @@ -819,9 +819,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8
address internal constant ONE_INCH_ORACLE = 0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8;

// https://etherscan.io/address/0xb2eD1eCE1c13455Ce9299d35D3B00358529f3Dc8
// https://etherscan.io/address/0x6855E5544Cd803BF24c9612b3F12C009116B0ee1
address internal constant ONE_INCH_INTEREST_RATE_STRATEGY =
0xb2eD1eCE1c13455Ce9299d35D3B00358529f3Dc8;
0x6855E5544Cd803BF24c9612b3F12C009116B0ee1;

// https://etherscan.io/address/0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
address internal constant LUSD_UNDERLYING = 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2EthereumAMM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV2EthereumAMM {
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
address internal constant POOL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A;

// https://etherscan.io/address/0xB9062896ec3A615a4e4444DF183F0531a77218AE
address internal constant EMERGENCY_ADMIN = 0xB9062896ec3A615a4e4444DF183F0531a77218AE;
// https://etherscan.io/address/0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633
address internal constant EMERGENCY_ADMIN = 0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633;

// https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c
ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Arbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ library AaveV3Arbitrum {
// https://arbiscan.io/address/0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7
IAaveOracle internal constant ORACLE = IAaveOracle(0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7);

// https://arbiscan.io/address/0xF876d26041a4Fdc7A787d209DC3D2795dDc74f1e
address internal constant PRICE_ORACLE_SENTINEL = 0xF876d26041a4Fdc7A787d209DC3D2795dDc74f1e;
// https://arbiscan.io/address/0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b
address internal constant PRICE_ORACLE_SENTINEL = 0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b;

// https://arbiscan.io/address/0x6b4E260b765B3cA1514e618C0215A6B7839fF93e
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
Expand Down
25 changes: 23 additions & 2 deletions src/AaveV3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ library AaveV3Base {
// https://basescan.org/address/0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156
IAaveOracle internal constant ORACLE = IAaveOracle(0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156);

// https://basescan.org/address/0xe34949A48cd2E6f5CD41753e449bd2d43993C9AC
address internal constant PRICE_ORACLE_SENTINEL = 0xe34949A48cd2E6f5CD41753e449bd2d43993C9AC;
// https://basescan.org/address/0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6
address internal constant PRICE_ORACLE_SENTINEL = 0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6;

// https://basescan.org/address/0x2d8A3C5677189723C4cB8873CfC9C8976FDF38Ac
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
Expand Down Expand Up @@ -175,6 +175,27 @@ library AaveV3BaseAssets {

// https://basescan.org/address/0x6fCe2756794128B1771324caA860965801DCbCdB
address internal constant USDbC_STATA_TOKEN = 0x6fCe2756794128B1771324caA860965801DCbCdB;

// https://basescan.org/address/0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452
address internal constant wstETH_UNDERLYING = 0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452;

uint8 internal constant wstETH_DECIMALS = 18;

// https://basescan.org/address/0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D
address internal constant wstETH_A_TOKEN = 0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D;

// https://basescan.org/address/0x41A7C3f5904ad176dACbb1D99101F59ef0811DC1
address internal constant wstETH_V_TOKEN = 0x41A7C3f5904ad176dACbb1D99101F59ef0811DC1;

// https://basescan.org/address/0xfe742Fa2a84294E8316F05b17c05090Fc68B5105
address internal constant wstETH_S_TOKEN = 0xfe742Fa2a84294E8316F05b17c05090Fc68B5105;

// https://basescan.org/address/0x945fD405773973d286De54E44649cc0d9e264F78
address internal constant wstETH_ORACLE = 0x945fD405773973d286De54E44649cc0d9e264F78;

// https://basescan.org/address/0x2f51b00eC4912874DFDBd8dC3C8e390c21e77aF9
address internal constant wstETH_INTEREST_RATE_STRATEGY =
0x2f51b00eC4912874DFDBd8dC3C8e390c21e77aF9;
}

library AaveV3BaseEModes {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0xD110cac5d8682A3b045D5524a9903E031d70FCCd
address internal constant GHO_ORACLE = 0xD110cac5d8682A3b045D5524a9903E031d70FCCd;

// https://etherscan.io/address/0xE6e780D77b883E9a5eC84f7baA6BF4DB43177Fa7
address internal constant GHO_INTEREST_RATE_STRATEGY = 0xE6e780D77b883E9a5eC84f7baA6BF4DB43177Fa7;
// https://etherscan.io/address/0x00524e8E4C5FD2b8D8aa1226fA16b39Cad69B8A0
address internal constant GHO_INTEREST_RATE_STRATEGY = 0x00524e8E4C5FD2b8D8aa1226fA16b39Cad69B8A0;

// https://etherscan.io/address/0xD33526068D116cE69F19A9ee46F0bd304F21A51f
address internal constant RPL_UNDERLYING = 0xD33526068D116cE69F19A9ee46F0bd304F21A51f;
Expand Down
Loading

0 comments on commit 2496e82

Please sign in to comment.