Skip to content

Commit

Permalink
fix(cache): automated cache update - updated addresses (#528)
Browse files Browse the repository at this point in the history
Co-authored-by: sakulstra <sakulstra@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and sakulstra authored Aug 14, 2024
1 parent c9972c6 commit eec868e
Show file tree
Hide file tree
Showing 4 changed files with 591 additions and 4 deletions.
54 changes: 54 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ library AaveV3EthereumAssets {
address internal constant WBTC_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xB07E357cc262E92eee03D8B81464D596B258eA7a
address internal constant WBTC_STATA_TOKEN = 0xB07E357cc262E92eee03D8B81464D596B258eA7a;

// https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
address internal constant USDC_UNDERLYING = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;

Expand Down Expand Up @@ -248,6 +251,9 @@ library AaveV3EthereumAssets {
address internal constant LINK_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x57bd8C73838d1781b4f6E0d5Cf89eb676488d3df
address internal constant LINK_STATA_TOKEN = 0x57bd8C73838d1781b4f6E0d5Cf89eb676488d3df;

// https://etherscan.io/address/0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9
address internal constant AAVE_UNDERLYING = 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9;

Expand All @@ -269,6 +275,9 @@ library AaveV3EthereumAssets {
address internal constant AAVE_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xFEB859A50f92C6D5ad7C9eF7C2c060D164B3280f
address internal constant AAVE_STATA_TOKEN = 0xFEB859A50f92C6D5ad7C9eF7C2c060D164B3280f;

// https://etherscan.io/address/0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
address internal constant cbETH_UNDERLYING = 0xBe9895146f7AF43049ca1c1AE358B0541Ea49704;

Expand All @@ -290,6 +299,9 @@ library AaveV3EthereumAssets {
address internal constant cbETH_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xe2a6863C8f043457B497667Ef3c43073e2D69089
address internal constant cbETH_STATA_TOKEN = 0xe2a6863C8f043457B497667Ef3c43073e2D69089;

// https://etherscan.io/address/0xdAC17F958D2ee523a2206206994597C13D831ec7
address internal constant USDT_UNDERLYING = 0xdAC17F958D2ee523a2206206994597C13D831ec7;

Expand Down Expand Up @@ -335,6 +347,9 @@ library AaveV3EthereumAssets {
address internal constant rETH_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x867Cf025B5dA438c4e215c60B59bBB3aFe896Fda
address internal constant rETH_STATA_TOKEN = 0x867Cf025B5dA438c4e215c60B59bBB3aFe896Fda;

// https://etherscan.io/address/0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
address internal constant LUSD_UNDERLYING = 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0;

Expand Down Expand Up @@ -379,6 +394,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant CRV_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x149EE12310D499F701B6A5714eDAd2C832008fd2
address internal constant CRV_STATA_TOKEN = 0x149EE12310D499F701B6A5714eDAd2C832008fd2;

// https://etherscan.io/address/0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
address internal constant MKR_UNDERLYING = 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2;

Expand Down Expand Up @@ -419,6 +437,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant SNX_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xaECEbdfE454d869A626cAb38226C52a1575D1866
address internal constant SNX_STATA_TOKEN = 0xaECEbdfE454d869A626cAb38226C52a1575D1866;

// https://etherscan.io/address/0xba100000625a3754423978a60c9317c58a424e3D
address internal constant BAL_UNDERLYING = 0xba100000625a3754423978a60c9317c58a424e3D;

Expand Down Expand Up @@ -459,6 +480,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant UNI_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x78fb5E79D5cb59729D0cd72bEA7879aD2683454D
address internal constant UNI_STATA_TOKEN = 0x78fb5E79D5cb59729D0cd72bEA7879aD2683454D;

// https://etherscan.io/address/0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
address internal constant LDO_UNDERLYING = 0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32;

Expand All @@ -479,6 +503,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant LDO_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x1eA6E1ba21601258401d0B9DB24eA0a07948458e
address internal constant LDO_STATA_TOKEN = 0x1eA6E1ba21601258401d0B9DB24eA0a07948458e;

// https://etherscan.io/address/0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
address internal constant ENS_UNDERLYING = 0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72;

Expand All @@ -499,6 +526,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant ENS_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x2767C27Eeaf3566082E74b963B6A0f5c9a46C8a1
address internal constant ENS_STATA_TOKEN = 0x2767C27Eeaf3566082E74b963B6A0f5c9a46C8a1;

// https://etherscan.io/address/0x111111111117dC0aa78b770fA6A738034120C302
address internal constant ONE_INCH_UNDERLYING = 0x111111111117dC0aa78b770fA6A738034120C302;

Expand All @@ -520,6 +550,9 @@ library AaveV3EthereumAssets {
address internal constant ONE_INCH_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xB490fF18e55b8881C9527FE7E358dd363780449F
address internal constant ONE_INCH_STATA_TOKEN = 0xB490fF18e55b8881C9527FE7E358dd363780449F;

// https://etherscan.io/address/0x853d955aCEf822Db058eb8505911ED77F175b99e
address internal constant FRAX_UNDERLYING = 0x853d955aCEf822Db058eb8505911ED77F175b99e;

Expand Down Expand Up @@ -564,6 +597,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant GHO_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x048459E4fb3402e58d8900aF7283Ad574B91d742
address internal constant GHO_STATA_TOKEN = 0x048459E4fb3402e58d8900aF7283Ad574B91d742;

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

Expand All @@ -584,6 +620,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant RPL_INTEREST_RATE_STRATEGY = 0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x95EF7cb3494e65dA4926bA330dBf540a13afFD17
address internal constant RPL_STATA_TOKEN = 0x95EF7cb3494e65dA4926bA330dBf540a13afFD17;

// https://etherscan.io/address/0x83F20F44975D03b1b09e64809B757c47f942BEeA
address internal constant sDAI_UNDERLYING = 0x83F20F44975D03b1b09e64809B757c47f942BEeA;

Expand All @@ -605,6 +644,9 @@ library AaveV3EthereumAssets {
address internal constant sDAI_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xFa7E3571786CE9489bBC58d9Cb8ecE8aAe6B56F3
address internal constant sDAI_STATA_TOKEN = 0xFa7E3571786CE9489bBC58d9Cb8ecE8aAe6B56F3;

// https://etherscan.io/address/0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
address internal constant STG_UNDERLYING = 0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6;

Expand Down Expand Up @@ -755,6 +797,9 @@ library AaveV3EthereumAssets {
address internal constant osETH_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0xE5248968166206d14ab57345971E32facD839aDA
address internal constant osETH_STATA_TOKEN = 0xE5248968166206d14ab57345971E32facD839aDA;

// https://etherscan.io/address/0x4c9EDD5852cd905f086C759E8383e09bff1E68B3
address internal constant USDe_UNDERLYING = 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3;

Expand All @@ -776,6 +821,9 @@ library AaveV3EthereumAssets {
address internal constant USDe_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x46e5d6A33C8Bd8eD38F3c95991C78C9B2FF3bC99
address internal constant USDe_STATA_TOKEN = 0x46e5d6A33C8Bd8eD38F3c95991C78C9B2FF3bC99;

// https://etherscan.io/address/0xA35b1B31Ce002FBF2058D22F30f95D405200A15b
address internal constant ETHx_UNDERLYING = 0xA35b1B31Ce002FBF2058D22F30f95D405200A15b;

Expand All @@ -797,6 +845,9 @@ library AaveV3EthereumAssets {
address internal constant ETHx_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x7CC6694CF75C18D488d16FB4bf3c71A3B31cc7FB
address internal constant ETHx_STATA_TOKEN = 0x7CC6694CF75C18D488d16FB4bf3c71A3B31cc7FB;

// https://etherscan.io/address/0x9D39A5DE30e57443BfF2A8307A4256c8797A3497
address internal constant sUSDe_UNDERLYING = 0x9D39A5DE30e57443BfF2A8307A4256c8797A3497;

Expand All @@ -817,6 +868,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x847A3364Cc5fE389283bD821cfC8A477288D9e82
address internal constant sUSDe_INTEREST_RATE_STRATEGY =
0x847A3364Cc5fE389283bD821cfC8A477288D9e82;

// https://etherscan.io/address/0x54D612b000697bd8B0094889D7d6A92bA0Bf2DEa
address internal constant sUSDe_STATA_TOKEN = 0x54D612b000697bd8B0094889D7d6A92bA0Bf2DEa;
}

library AaveV3EthereumEModes {
Expand Down
18 changes: 18 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export const ASSETS = {
V_TOKEN: '0x40aAbEf1aa8f0eEc637E0E7d92fbfFB2F26A8b7B',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x230E0321Cf38F09e247e50Afc7801EA2351fe56F',
STATA_TOKEN: '0xB07E357cc262E92eee03D8B81464D596B258eA7a',
},
USDC: {
decimals: 6,
Expand Down Expand Up @@ -151,6 +152,7 @@ export const ASSETS = {
V_TOKEN: '0x4228F8895C7dDA20227F6a5c6751b8Ebf19a6ba8',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c',
STATA_TOKEN: '0x57bd8C73838d1781b4f6E0d5Cf89eb676488d3df',
},
AAVE: {
decimals: 18,
Expand All @@ -160,6 +162,7 @@ export const ASSETS = {
V_TOKEN: '0xBae535520Abd9f8C85E58929e0006A2c8B372F74',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x547a514d5e3769680Ce22B2361c10Ea13619e8a9',
STATA_TOKEN: '0xFEB859A50f92C6D5ad7C9eF7C2c060D164B3280f',
},
cbETH: {
decimals: 18,
Expand All @@ -169,6 +172,7 @@ export const ASSETS = {
V_TOKEN: '0x0c91bcA95b5FE69164cE583A2ec9429A569798Ed',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x6243d2F41b4ec944F731f647589E28d9745a2674',
STATA_TOKEN: '0xe2a6863C8f043457B497667Ef3c43073e2D69089',
},
USDT: {
decimals: 6,
Expand All @@ -188,6 +192,7 @@ export const ASSETS = {
V_TOKEN: '0xae8593DD575FE29A9745056aA91C4b746eee62C8',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x5AE8365D0a30D67145f0c55A08760C250559dB64',
STATA_TOKEN: '0x867Cf025B5dA438c4e215c60B59bBB3aFe896Fda',
},
LUSD: {
decimals: 18,
Expand All @@ -207,6 +212,7 @@ export const ASSETS = {
V_TOKEN: '0x1b7D3F4b3c032a5AE656e30eeA4e8E1Ba376068F',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f',
STATA_TOKEN: '0x149EE12310D499F701B6A5714eDAd2C832008fd2',
},
MKR: {
decimals: 18,
Expand All @@ -225,6 +231,7 @@ export const ASSETS = {
V_TOKEN: '0x8d0de040e8aAd872eC3c33A3776dE9152D3c34ca',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699',
STATA_TOKEN: '0xaECEbdfE454d869A626cAb38226C52a1575D1866',
},
BAL: {
decimals: 18,
Expand All @@ -243,6 +250,7 @@ export const ASSETS = {
V_TOKEN: '0xF64178Ebd2E2719F2B1233bCb5Ef6DB4bCc4d09a',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x553303d460EE0afB37EdFf9bE42922D8FF63220e',
STATA_TOKEN: '0x78fb5E79D5cb59729D0cd72bEA7879aD2683454D',
},
LDO: {
decimals: 18,
Expand All @@ -252,6 +260,7 @@ export const ASSETS = {
V_TOKEN: '0xc30808705C01289A3D306ca9CAB081Ba9114eC82',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xb01e6C9af83879B8e06a092f0DD94309c0D497E4',
STATA_TOKEN: '0x1eA6E1ba21601258401d0B9DB24eA0a07948458e',
},
ENS: {
decimals: 18,
Expand All @@ -261,6 +270,7 @@ export const ASSETS = {
V_TOKEN: '0xd180D7fdD4092f07428eFE801E17BC03576b3192',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x5C00128d4d1c2F4f652C267d7bcdD7aC99C16E16',
STATA_TOKEN: '0x2767C27Eeaf3566082E74b963B6A0f5c9a46C8a1',
},
ONE_INCH: {
decimals: 18,
Expand All @@ -270,6 +280,7 @@ export const ASSETS = {
V_TOKEN: '0xA38fCa8c6Bf9BdA52E76EB78f08CaA3BE7c5A970',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xc929ad75B72593967DE83E7F7Cda0493458261D9',
STATA_TOKEN: '0xB490fF18e55b8881C9527FE7E358dd363780449F',
},
FRAX: {
decimals: 18,
Expand All @@ -289,6 +300,7 @@ export const ASSETS = {
V_TOKEN: '0x786dBff3f1292ae8F92ea68Cf93c30b34B1ed04B',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xD110cac5d8682A3b045D5524a9903E031d70FCCd',
STATA_TOKEN: '0x048459E4fb3402e58d8900aF7283Ad574B91d742',
},
RPL: {
decimals: 18,
Expand All @@ -298,6 +310,7 @@ export const ASSETS = {
V_TOKEN: '0x8988ECA19D502fd8b9CCd03fA3bD20a6f599bc2A',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x4E155eD98aFE9034b7A5962f6C84c86d869daA9d',
STATA_TOKEN: '0x95EF7cb3494e65dA4926bA330dBf540a13afFD17',
},
sDAI: {
decimals: 18,
Expand All @@ -307,6 +320,7 @@ export const ASSETS = {
V_TOKEN: '0x8Db9D35e117d8b93C6Ca9b644b25BaD5d9908141',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x29081f7aB5a644716EfcDC10D5c926c5fEe9F72B',
STATA_TOKEN: '0xFa7E3571786CE9489bBC58d9Cb8ecE8aAe6B56F3',
},
STG: {
decimals: 18,
Expand Down Expand Up @@ -372,6 +386,7 @@ export const ASSETS = {
V_TOKEN: '0x8838eefF2af391863E1Bb8b1dF563F86743a8470',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x0A2AF898cEc35197e6944D9E0F525C2626393442',
STATA_TOKEN: '0xE5248968166206d14ab57345971E32facD839aDA',
},
USDe: {
decimals: 18,
Expand All @@ -381,6 +396,7 @@ export const ASSETS = {
V_TOKEN: '0x015396E1F286289aE23a762088E863b3ec465145',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0x55B6C4D3E8A27b8A1F5a263321b602e0fdEEcC17',
STATA_TOKEN: '0x46e5d6A33C8Bd8eD38F3c95991C78C9B2FF3bC99',
},
ETHx: {
decimals: 18,
Expand All @@ -390,6 +406,7 @@ export const ASSETS = {
V_TOKEN: '0x08a8Dc81AeA67F84745623aC6c72CDA3967aab8b',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xD6270dAabFe4862306190298C2B48fed9e15C847',
STATA_TOKEN: '0x7CC6694CF75C18D488d16FB4bf3c71A3B31cc7FB',
},
sUSDe: {
decimals: 18,
Expand All @@ -399,6 +416,7 @@ export const ASSETS = {
V_TOKEN: '0xeFFDE9BFA8EC77c14C364055a200746d6e12BeD6',
INTEREST_RATE_STRATEGY: '0x847A3364Cc5fE389283bD821cfC8A477288D9e82',
ORACLE: '0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A',
STATA_TOKEN: '0x54D612b000697bd8B0094889D7d6A92bA0Bf2DEa',
},
} as const;
export const E_MODES = {
Expand Down
Loading

0 comments on commit eec868e

Please sign in to comment.