Skip to content

Commit

Permalink
chore(cache): automated cache update (#473)
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 Jun 22, 2024
1 parent 5c34045 commit 2a64087
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 4 deletions.
21 changes: 21 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
9 changes: 9 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
26 changes: 24 additions & 2 deletions src/ts/tokenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
};
26 changes: 24 additions & 2 deletions tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}

0 comments on commit 2a64087

Please sign in to comment.