From 2a6408734b87935aca7fb3d883faf33ba48a18be Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jun 2024 11:59:57 +0900 Subject: [PATCH] chore(cache): automated cache update (#473) Co-authored-by: sakulstra --- src/AaveV3Ethereum.sol | 21 +++++++++++++++++++++ src/ts/AaveV3Ethereum.ts | 9 +++++++++ src/ts/tokenlist.ts | 26 ++++++++++++++++++++++++-- tokenlist.json | 26 ++++++++++++++++++++++++-- 4 files changed, 78 insertions(+), 4 deletions(-) diff --git a/src/AaveV3Ethereum.sol b/src/AaveV3Ethereum.sol index c040ece5..a1bc008f 100644 --- a/src/AaveV3Ethereum.sol +++ b/src/AaveV3Ethereum.sol @@ -778,6 +778,27 @@ library AaveV3EthereumAssets { // https://etherscan.io/address/0x4011fcd421b9E90f131B164EC1d162DBE269621C address internal constant USDe_INTEREST_RATE_STRATEGY = 0x4011fcd421b9E90f131B164EC1d162DBE269621C; + + // https://etherscan.io/address/0xA35b1B31Ce002FBF2058D22F30f95D405200A15b + address internal constant ETHx_UNDERLYING = 0xA35b1B31Ce002FBF2058D22F30f95D405200A15b; + + uint8 internal constant ETHx_DECIMALS = 18; + + // https://etherscan.io/address/0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002 + address internal constant ETHx_A_TOKEN = 0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002; + + // https://etherscan.io/address/0x08a8Dc81AeA67F84745623aC6c72CDA3967aab8b + address internal constant ETHx_V_TOKEN = 0x08a8Dc81AeA67F84745623aC6c72CDA3967aab8b; + + // https://etherscan.io/address/0xBDfa7DE5CF7a7DdE4F023Cac842BF520fcF5395C + address internal constant ETHx_S_TOKEN = 0xBDfa7DE5CF7a7DdE4F023Cac842BF520fcF5395C; + + // https://etherscan.io/address/0xD6270dAabFe4862306190298C2B48fed9e15C847 + address internal constant ETHx_ORACLE = 0xD6270dAabFe4862306190298C2B48fed9e15C847; + + // https://etherscan.io/address/0x48AF11111764E710fcDcE2750db848C63edab57B + address internal constant ETHx_INTEREST_RATE_STRATEGY = + 0x48AF11111764E710fcDcE2750db848C63edab57B; } library AaveV3EthereumEModes { diff --git a/src/ts/AaveV3Ethereum.ts b/src/ts/AaveV3Ethereum.ts index 2eae58e4..f03f4142 100644 --- a/src/ts/AaveV3Ethereum.ts +++ b/src/ts/AaveV3Ethereum.ts @@ -385,6 +385,15 @@ export const ASSETS = { INTEREST_RATE_STRATEGY: '0x4011fcd421b9E90f131B164EC1d162DBE269621C', ORACLE: '0x55B6C4D3E8A27b8A1F5a263321b602e0fdEEcC17', }, + ETHx: { + decimals: 18, + UNDERLYING: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', + A_TOKEN: '0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002', + S_TOKEN: '0xBDfa7DE5CF7a7DdE4F023Cac842BF520fcF5395C', + V_TOKEN: '0x08a8Dc81AeA67F84745623aC6c72CDA3967aab8b', + INTEREST_RATE_STRATEGY: '0x48AF11111764E710fcDcE2750db848C63edab57B', + ORACLE: '0xD6270dAabFe4862306190298C2B48fed9e15C847', + }, } as const; export const E_MODES = { NONE: 0, diff --git a/src/ts/tokenlist.ts b/src/ts/tokenlist.ts index 5534cef2..de6f62e4 100644 --- a/src/ts/tokenlist.ts +++ b/src/ts/tokenlist.ts @@ -2370,6 +2370,28 @@ export const tokenlist = { underlying: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3', }, }, + { + chainId: 1, + address: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', + name: 'ETHx', + decimals: 18, + symbol: 'ETHx', + tags: ['underlying'], + logoURI: 'ipfs://QmYXBy6e3HFb9ZTC3ECNWD4ziXjBD4R1Eo1nyPBDMPSskR', + }, + { + chainId: 1, + address: '0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002', + name: 'Aave Ethereum ETHx', + decimals: 18, + symbol: 'aEthETHx', + tags: ['aTokenV3', 'aaveV3'], + logoURI: 'ipfs://QmYMZXZfrHZ7A4gBJSdb7DW3yvoDTSHrsW5ouF5D4SFf61', + extensions: { + pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', + underlying: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', + }, + }, { chainId: 137, address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', @@ -6047,6 +6069,6 @@ export const tokenlist = { }, }, ], - version: {major: 3, minor: 0, patch: 20}, - timestamp: '2024-06-06T17:14:34.891Z', + version: {major: 3, minor: 0, patch: 21}, + timestamp: '2024-06-22T00:10:57.128Z', }; diff --git a/tokenlist.json b/tokenlist.json index cf71d385..f0f61623 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -2370,6 +2370,28 @@ "underlying": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3" } }, + { + "chainId": 1, + "address": "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b", + "name": "ETHx", + "decimals": 18, + "symbol": "ETHx", + "tags": ["underlying"], + "logoURI": "ipfs://QmYXBy6e3HFb9ZTC3ECNWD4ziXjBD4R1Eo1nyPBDMPSskR" + }, + { + "chainId": 1, + "address": "0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002", + "name": "Aave Ethereum ETHx", + "decimals": 18, + "symbol": "aEthETHx", + "tags": ["aTokenV3", "aaveV3"], + "logoURI": "ipfs://QmYMZXZfrHZ7A4gBJSdb7DW3yvoDTSHrsW5ouF5D4SFf61", + "extensions": { + "pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", + "underlying": "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b" + } + }, { "chainId": 137, "address": "0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE", @@ -6047,6 +6069,6 @@ } } ], - "version": { "major": 3, "minor": 0, "patch": 20 }, - "timestamp": "2024-06-06T17:14:34.891Z" + "version": { "major": 3, "minor": 0, "patch": 21 }, + "timestamp": "2024-06-22T00:10:57.128Z" }