Skip to content

Commit

Permalink
fix(cache): automated cache update - updated addresses (#739)
Browse files Browse the repository at this point in the history
Co-authored-by: Cache-bot <[email protected]>
  • Loading branch information
github-actions[bot] and web-flow authored Dec 16, 2024
1 parent 93a19df commit 16f3b10
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 17 deletions.
16 changes: 13 additions & 3 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ address,name,chainId
0xdAC17F958D2ee523a2206206994597C13D831ec7,AaveV2Ethereum ASSETS USDT UNDERLYING,1
0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811,AaveV2Ethereum ASSETS USDT A_TOKEN,1
0x531842cEbbdD378f8ee36D171d6cC9C4fcf475Ec,AaveV2Ethereum ASSETS USDT V_TOKEN,1
0xa8850b94E4A0B881c3b08aE065D189D87F34F175,AaveV2Ethereum ASSETS USDT INTEREST_RATE_STRATEGY,1
0x869eF970878F96c130E14B46B024D2ca18b5b762,AaveV2Ethereum ASSETS USDT INTEREST_RATE_STRATEGY,1
0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74,AaveV2Ethereum ASSETS USDT ORACLE,1
0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599,AaveV2Ethereum ASSETS WBTC UNDERLYING,1
0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656,AaveV2Ethereum ASSETS WBTC A_TOKEN,1
Expand Down Expand Up @@ -65,7 +65,7 @@ address,name,chainId
0x6B175474E89094C44Da98b954EedeAC495271d0F,AaveV2Ethereum ASSETS DAI UNDERLYING,1
0x028171bCA77440897B824Ca71D1c56caC55b68A3,AaveV2Ethereum ASSETS DAI A_TOKEN,1
0x6C3c78838c761c6Ac7bE9F59fe808ea2A6E4379d,AaveV2Ethereum ASSETS DAI V_TOKEN,1
0xA939B1f36E9a14B044B8149933184a18E0dFC17D,AaveV2Ethereum ASSETS DAI INTEREST_RATE_STRATEGY,1
0x7011B47A142E2f462AB10F5bDBc8A478310EB0FD,AaveV2Ethereum ASSETS DAI INTEREST_RATE_STRATEGY,1
0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58,AaveV2Ethereum ASSETS DAI ORACLE,1
0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c,AaveV2Ethereum ASSETS ENJ UNDERLYING,1
0xaC6Df26a590F08dcC95D5a4705ae8abbc88509Ef,AaveV2Ethereum ASSETS ENJ A_TOKEN,1
Expand Down Expand Up @@ -115,7 +115,7 @@ address,name,chainId
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,AaveV2Ethereum ASSETS USDC UNDERLYING,1
0xBcca60bB61934080951369a648Fb03DF4F96263C,AaveV2Ethereum ASSETS USDC A_TOKEN,1
0x619beb58998eD2278e08620f97007e1116D5D25b,AaveV2Ethereum ASSETS USDC V_TOKEN,1
0x6a8C8119b2BA9460162B8C999f5A8C84f28a033f,AaveV2Ethereum ASSETS USDC INTEREST_RATE_STRATEGY,1
0x4e1494475048fa155F1D837B6bD51458bD170f48,AaveV2Ethereum ASSETS USDC INTEREST_RATE_STRATEGY,1
0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d,AaveV2Ethereum ASSETS USDC ORACLE,1
0xD533a949740bb3306d119CC777fa900bA034cd52,AaveV2Ethereum ASSETS CRV UNDERLYING,1
0x8dAE6Cb04688C62d939ed9B68d32Bc62e49970b1,AaveV2Ethereum ASSETS CRV A_TOKEN,1
Expand Down Expand Up @@ -722,6 +722,16 @@ address,name,chainId
0x2ABbAab3EF4e4A899d39e7EC996b5715E76b399a,AaveV3EthereumLido ASSETS sUSDe V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS sUSDe INTEREST_RATE_STRATEGY,1
0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A,AaveV3EthereumLido ASSETS sUSDe ORACLE,1
0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f,AaveV3EthereumLido ASSETS GHO UNDERLYING,1
0x18eFE565A5373f430e2F809b97De30335B3ad96A,AaveV3EthereumLido ASSETS GHO A_TOKEN,1
0x18577F0f4A0B2Ee6F4048dB51c7acd8699F97DB8,AaveV3EthereumLido ASSETS GHO V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS GHO INTEREST_RATE_STRATEGY,1
0xD110cac5d8682A3b045D5524a9903E031d70FCCd,AaveV3EthereumLido ASSETS GHO ORACLE,1
0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7,AaveV3EthereumLido ASSETS rsETH UNDERLYING,1
0x56D919E7B25aA42F3F8a4BC77b8982048F2E84B4,AaveV3EthereumLido ASSETS rsETH A_TOKEN,1
0x2c2163f120cf58631368981BC16e90190Bc6C644,AaveV3EthereumLido ASSETS rsETH V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS rsETH INTEREST_RATE_STRATEGY,1
0x47F52B2e43D0386cF161e001835b03Ad49889e3b,AaveV3EthereumLido ASSETS rsETH ORACLE,1
0x3843b29118fFC18d5d12EE079d0324E1bF115e69,AaveV3EthereumLido CAPS_PLUS_RISK_STEWARD,1
0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c,AaveV3EthereumLido COLLECTOR,1
0x1097eDb85392932b7dCB630baDDC8A6D73585218,AaveV3EthereumLido CONFIG_ENGINE,1
Expand Down
12 changes: 6 additions & 6 deletions src/AaveV2Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74
address internal constant USDT_ORACLE = 0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74;

// https://etherscan.io/address/0xa8850b94E4A0B881c3b08aE065D189D87F34F175
// https://etherscan.io/address/0x869eF970878F96c130E14B46B024D2ca18b5b762
address internal constant USDT_INTEREST_RATE_STRATEGY =
0xa8850b94E4A0B881c3b08aE065D189D87F34F175;
0x869eF970878F96c130E14B46B024D2ca18b5b762;

// https://etherscan.io/address/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
address internal constant WBTC_UNDERLYING = 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599;
Expand Down Expand Up @@ -258,8 +258,8 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58
address internal constant DAI_ORACLE = 0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58;

// https://etherscan.io/address/0xA939B1f36E9a14B044B8149933184a18E0dFC17D
address internal constant DAI_INTEREST_RATE_STRATEGY = 0xA939B1f36E9a14B044B8149933184a18E0dFC17D;
// https://etherscan.io/address/0x7011B47A142E2f462AB10F5bDBc8A478310EB0FD
address internal constant DAI_INTEREST_RATE_STRATEGY = 0x7011B47A142E2f462AB10F5bDBc8A478310EB0FD;

// https://etherscan.io/address/0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c
address internal constant ENJ_UNDERLYING = 0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c;
Expand Down Expand Up @@ -432,9 +432,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d
address internal constant USDC_ORACLE = 0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d;

// https://etherscan.io/address/0x6a8C8119b2BA9460162B8C999f5A8C84f28a033f
// https://etherscan.io/address/0x4e1494475048fa155F1D837B6bD51458bD170f48
address internal constant USDC_INTEREST_RATE_STRATEGY =
0x6a8C8119b2BA9460162B8C999f5A8C84f28a033f;
0x4e1494475048fa155F1D837B6bD51458bD170f48;

// https://etherscan.io/address/0xD533a949740bb3306d119CC777fa900bA034cd52
address internal constant CRV_UNDERLYING = 0xD533a949740bb3306d119CC777fa900bA034cd52;
Expand Down
37 changes: 37 additions & 0 deletions src/AaveV3EthereumLido.sol
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,41 @@ library AaveV3EthereumLidoAssets {
// https://etherscan.io/address/0x8958b1C39269167527821f8c276Ef7504883f2fa
address internal constant sUSDe_INTEREST_RATE_STRATEGY =
0x8958b1C39269167527821f8c276Ef7504883f2fa;

// https://etherscan.io/address/0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f
address internal constant GHO_UNDERLYING = 0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f;

uint8 internal constant GHO_DECIMALS = 18;

// https://etherscan.io/address/0x18eFE565A5373f430e2F809b97De30335B3ad96A
address internal constant GHO_A_TOKEN = 0x18eFE565A5373f430e2F809b97De30335B3ad96A;

// https://etherscan.io/address/0x18577F0f4A0B2Ee6F4048dB51c7acd8699F97DB8
address internal constant GHO_V_TOKEN = 0x18577F0f4A0B2Ee6F4048dB51c7acd8699F97DB8;

// https://etherscan.io/address/0xD110cac5d8682A3b045D5524a9903E031d70FCCd
address internal constant GHO_ORACLE = 0xD110cac5d8682A3b045D5524a9903E031d70FCCd;

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

// https://etherscan.io/address/0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7
address internal constant rsETH_UNDERLYING = 0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7;

uint8 internal constant rsETH_DECIMALS = 18;

// https://etherscan.io/address/0x56D919E7B25aA42F3F8a4BC77b8982048F2E84B4
address internal constant rsETH_A_TOKEN = 0x56D919E7B25aA42F3F8a4BC77b8982048F2E84B4;

// https://etherscan.io/address/0x2c2163f120cf58631368981BC16e90190Bc6C644
address internal constant rsETH_V_TOKEN = 0x2c2163f120cf58631368981BC16e90190Bc6C644;

// https://etherscan.io/address/0x47F52B2e43D0386cF161e001835b03Ad49889e3b
address internal constant rsETH_ORACLE = 0x47F52B2e43D0386cF161e001835b03Ad49889e3b;

// https://etherscan.io/address/0x8958b1C39269167527821f8c276Ef7504883f2fa
address internal constant rsETH_INTEREST_RATE_STRATEGY =
0x8958b1C39269167527821f8c276Ef7504883f2fa;
}
library AaveV3EthereumLidoEModes {
uint8 internal constant NONE = 0;
Expand All @@ -219,6 +254,8 @@ library AaveV3EthereumLidoEModes {
uint8 internal constant LRT_WSTETH_MAIN = 3;

uint8 internal constant SUSDE_STABLECOINS = 4;

uint8 internal constant RSETH_LST_MAIN = 5;
}
library AaveV3EthereumLidoExternalLibraries {
// https://etherscan.io/address/0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0
Expand Down
6 changes: 3 additions & 3 deletions src/ts/AaveV2Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const ASSETS = {
UNDERLYING: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
A_TOKEN: '0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811',
V_TOKEN: '0x531842cEbbdD378f8ee36D171d6cC9C4fcf475Ec',
INTEREST_RATE_STRATEGY: '0xa8850b94E4A0B881c3b08aE065D189D87F34F175',
INTEREST_RATE_STRATEGY: '0x869eF970878F96c130E14B46B024D2ca18b5b762',
ORACLE: '0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74',
},
WBTC: {
Expand Down Expand Up @@ -163,7 +163,7 @@ export const ASSETS = {
UNDERLYING: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
A_TOKEN: '0x028171bCA77440897B824Ca71D1c56caC55b68A3',
V_TOKEN: '0x6C3c78838c761c6Ac7bE9F59fe808ea2A6E4379d',
INTEREST_RATE_STRATEGY: '0xA939B1f36E9a14B044B8149933184a18E0dFC17D',
INTEREST_RATE_STRATEGY: '0x7011B47A142E2f462AB10F5bDBc8A478310EB0FD',
ORACLE: '0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58',
},
ENJ: {
Expand Down Expand Up @@ -253,7 +253,7 @@ export const ASSETS = {
UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
A_TOKEN: '0xBcca60bB61934080951369a648Fb03DF4F96263C',
V_TOKEN: '0x619beb58998eD2278e08620f97007e1116D5D25b',
INTEREST_RATE_STRATEGY: '0x6a8C8119b2BA9460162B8C999f5A8C84f28a033f',
INTEREST_RATE_STRATEGY: '0x4e1494475048fa155F1D837B6bD51458bD170f48',
ORACLE: '0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d',
},
CRV: {
Expand Down
39 changes: 36 additions & 3 deletions src/ts/AaveV3EthereumLido.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,24 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0xb37aE8aBa6C0C1Bf2c509fc06E11aa4AF29B665A',
},
GHO: {
decimals: 18,
id: 6,
UNDERLYING: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f',
A_TOKEN: '0x18eFE565A5373f430e2F809b97De30335B3ad96A',
V_TOKEN: '0x18577F0f4A0B2Ee6F4048dB51c7acd8699F97DB8',
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0xD110cac5d8682A3b045D5524a9903E031d70FCCd',
},
rsETH: {
decimals: 18,
id: 7,
UNDERLYING: '0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7',
A_TOKEN: '0x56D919E7B25aA42F3F8a4BC77b8982048F2E84B4',
V_TOKEN: '0x2c2163f120cf58631368981BC16e90190Bc6C644',
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0x47F52B2e43D0386cF161e001835b03Ad49889e3b',
},
} as const;
export const E_MODES = {
'1': {
Expand All @@ -157,8 +175,12 @@ export const E_MODES = {
label: 'LRT Stablecoins main',
collateralBitmap: '16',
collateralAssets: ['0xbf5495Efe5DB9ce00f80364C8B423567e58d2110'],
borrowableBitmap: '4',
borrowableAssets: ['0xdC035D45d973E3EC169d2276DDab16f1e407384F'],
borrowableBitmap: '76',
borrowableAssets: [
'0xdC035D45d973E3EC169d2276DDab16f1e407384F',
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f',
],
ltv: 7500,
liquidationThreshold: 7800,
liquidationBonus: 10750,
Expand All @@ -177,14 +199,25 @@ export const E_MODES = {
label: 'sUSDe Stablecoins',
collateralBitmap: '32',
collateralAssets: ['0x9D39A5DE30e57443BfF2A8307A4256c8797A3497'],
borrowableBitmap: '12',
borrowableBitmap: '76',
borrowableAssets: [
'0xdC035D45d973E3EC169d2276DDab16f1e407384F',
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f',
],
ltv: 9000,
liquidationThreshold: 9200,
liquidationBonus: 10300,
},
'5': {
label: 'rsETH LST main',
collateralBitmap: '128',
collateralAssets: ['0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7'],
borrowableBitmap: '1',
borrowableAssets: ['0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0'],
ltv: 9250,
liquidationThreshold: 9450,
liquidationBonus: 10100,
},
} as const;
export const EXTERNAL_LIBRARIES = {} as const;
30 changes: 28 additions & 2 deletions tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -6811,6 +6811,32 @@
"underlying": "0x9D39A5DE30e57443BfF2A8307A4256c8797A3497"
}
},
{
"chainId": 1,
"address": "0x18eFE565A5373f430e2F809b97De30335B3ad96A",
"name": "Aave Ethereum Lido GHO",
"decimals": 18,
"symbol": "aEthLidoGHO",
"tags": ["aTokenV3", "aaveV3"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/agho.svg",
"extensions": {
"pool": "0x4e033931ad43597d96D6bcc25c280717730B58B1",
"underlying": "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f"
}
},
{
"chainId": 1,
"address": "0x56D919E7B25aA42F3F8a4BC77b8982048F2E84B4",
"name": "Aave Ethereum Lido rsETH",
"decimals": 18,
"symbol": "aEthLidorsETH",
"tags": ["aTokenV3", "aaveV3"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/arseth.svg",
"extensions": {
"pool": "0x4e033931ad43597d96D6bcc25c280717730B58B1",
"underlying": "0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7"
}
},
{
"chainId": 1,
"address": "0xbe1F842e7e0afd2c2322aae5d34bA899544b29db",
Expand Down Expand Up @@ -6864,6 +6890,6 @@
}
}
],
"version": { "major": 3, "minor": 0, "patch": 63 },
"timestamp": "2024-11-28T10:58:50.316Z"
"version": { "major": 3, "minor": 0, "patch": 64 },
"timestamp": "2024-12-16T00:15:18.778Z"
}

0 comments on commit 16f3b10

Please sign in to comment.