Skip to content

Commit

Permalink
fix(cache): automated cache update - updated addresses (#697)
Browse files Browse the repository at this point in the history
Co-authored-by: Cache-bot <noreply@github.com>
  • Loading branch information
github-actions[bot] and web-flow authored Nov 18, 2024
1 parent 29c345a commit edbed6c
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 2 deletions.
5 changes: 5 additions & 0 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,11 @@ address,name,chainId
0x08e1bba76D27841dD91FAb4b3a636A0D5CF8c3E9,AaveV3EthereumLido ASSETS ezETH V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS ezETH INTEREST_RATE_STRATEGY,1
0x68C9c7Bf43DBd0EBab102116bc7C3C9f7d9297Ee,AaveV3EthereumLido ASSETS ezETH ORACLE,1
0x9D39A5DE30e57443BfF2A8307A4256c8797A3497,AaveV3EthereumLido ASSETS sUSDe UNDERLYING,1
0xc2015641564a5914A17CB9A92eC8d8feCfa8f2D0,AaveV3EthereumLido ASSETS sUSDe A_TOKEN,1
0x2ABbAab3EF4e4A899d39e7EC996b5715E76b399a,AaveV3EthereumLido ASSETS sUSDe V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS sUSDe INTEREST_RATE_STRATEGY,1
0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A,AaveV3EthereumLido ASSETS sUSDe ORACLE,1
0x3843b29118fFC18d5d12EE079d0324E1bF115e69,AaveV3EthereumLido CAPS_PLUS_RISK_STEWARD,1
0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c,AaveV3EthereumLido COLLECTOR,1
0x1097eDb85392932b7dCB630baDDC8A6D73585218,AaveV3EthereumLido CONFIG_ENGINE,1
Expand Down
2 changes: 2 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,8 @@ library AaveV3EthereumEModes {
uint8 internal constant NONE = 0;

uint8 internal constant ETH_CORRELATED = 1;

uint8 internal constant SUSDE_STABLECOINS = 2;
}
library AaveV3EthereumExternalLibraries {
// https://etherscan.io/address/0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0
Expand Down
20 changes: 20 additions & 0 deletions src/AaveV3EthereumLido.sol
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,24 @@ library AaveV3EthereumLidoAssets {
// https://etherscan.io/address/0x8958b1C39269167527821f8c276Ef7504883f2fa
address internal constant ezETH_INTEREST_RATE_STRATEGY =
0x8958b1C39269167527821f8c276Ef7504883f2fa;

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

uint8 internal constant sUSDe_DECIMALS = 18;

// https://etherscan.io/address/0xc2015641564a5914A17CB9A92eC8d8feCfa8f2D0
address internal constant sUSDe_A_TOKEN = 0xc2015641564a5914A17CB9A92eC8d8feCfa8f2D0;

// https://etherscan.io/address/0x2ABbAab3EF4e4A899d39e7EC996b5715E76b399a
address internal constant sUSDe_V_TOKEN = 0x2ABbAab3EF4e4A899d39e7EC996b5715E76b399a;

// https://etherscan.io/address/0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A
address internal constant sUSDe_ORACLE = 0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A;

// https://etherscan.io/address/0x8958b1C39269167527821f8c276Ef7504883f2fa
address internal constant sUSDe_INTEREST_RATE_STRATEGY =
0x8958b1C39269167527821f8c276Ef7504883f2fa;
}
library AaveV3EthereumLidoEModes {
uint8 internal constant NONE = 0;
Expand All @@ -187,6 +205,8 @@ library AaveV3EthereumLidoEModes {
uint8 internal constant LRT_STABLECOINS_MAIN = 2;

uint8 internal constant LRT_WSTETH_MAIN = 3;

uint8 internal constant SUSDE_STABLECOINS = 4;
}
library AaveV3EthereumLidoExternalLibraries {
// https://etherscan.io/address/0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0
Expand Down
13 changes: 13 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,5 +473,18 @@ export const E_MODES = {
liquidationThreshold: 9500,
liquidationBonus: 10100,
},
'2': {
label: 'sUSDe Stablecoins',
collateralBitmap: '4294967296',
collateralAssets: ['0x9D39A5DE30e57443BfF2A8307A4256c8797A3497'],
borrowableBitmap: '34359738376',
borrowableAssets: [
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'0xdC035D45d973E3EC169d2276DDab16f1e407384F',
],
ltv: 9000,
liquidationThreshold: 9200,
liquidationBonus: 10300,
},
} as const;
export const EXTERNAL_LIBRARIES = {} as const;
22 changes: 22 additions & 0 deletions src/ts/AaveV3EthereumLido.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0x68C9c7Bf43DBd0EBab102116bc7C3C9f7d9297Ee',
},
sUSDe: {
decimals: 18,
id: 5,
UNDERLYING: '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497',
A_TOKEN: '0xc2015641564a5914A17CB9A92eC8d8feCfa8f2D0',
V_TOKEN: '0x2ABbAab3EF4e4A899d39e7EC996b5715E76b399a',
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A',
},
} as const;
export const E_MODES = {
'1': {
Expand Down Expand Up @@ -156,5 +165,18 @@ export const E_MODES = {
liquidationThreshold: 9500,
liquidationBonus: 10100,
},
'4': {
label: 'sUSDe Stablecoins',
collateralBitmap: '32',
collateralAssets: ['0x9D39A5DE30e57443BfF2A8307A4256c8797A3497'],
borrowableBitmap: '12',
borrowableAssets: [
'0xdC035D45d973E3EC169d2276DDab16f1e407384F',
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
],
ltv: 9000,
liquidationThreshold: 9200,
liquidationBonus: 10300,
},
} as const;
export const EXTERNAL_LIBRARIES = {} as const;
17 changes: 15 additions & 2 deletions tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -6638,6 +6638,19 @@
"underlying": "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110"
}
},
{
"chainId": 1,
"address": "0xc2015641564a5914A17CB9A92eC8d8feCfa8f2D0",
"name": "Aave Ethereum Lido sUSDe",
"decimals": 18,
"symbol": "aEthLidosUSDe",
"tags": ["aTokenV3", "aaveV3"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asusde.svg",
"extensions": {
"pool": "0x4e033931ad43597d96D6bcc25c280717730B58B1",
"underlying": "0x9D39A5DE30e57443BfF2A8307A4256c8797A3497"
}
},
{
"chainId": 1,
"address": "0xbe1F842e7e0afd2c2322aae5d34bA899544b29db",
Expand Down Expand Up @@ -6691,6 +6704,6 @@
}
}
],
"version": { "major": 3, "minor": 0, "patch": 58 },
"timestamp": "2024-11-05T21:48:08.910Z"
"version": { "major": 3, "minor": 0, "patch": 59 },
"timestamp": "2024-11-18T13:03:11.207Z"
}

0 comments on commit edbed6c

Please sign in to comment.