Skip to content

Commit 4fff6a2

Browse files
committed
use token labels
1 parent 7996151 commit 4fff6a2

File tree

10 files changed

+19
-16
lines changed

10 files changed

+19
-16
lines changed

projects/airpuff/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ module.exports = {
2626

2727
const ezETH = {
2828
vault: "0x497eB27Ca1ed7566653edf811b03d6418a03FC9d",
29-
reStakingToken: "0x2416092f143378750bb29b79eD961ab195CcEea5",
29+
reStakingToken: ADDRESSES.blast.ezETH,
3030
oracle: "0x2BAF3A2B667A5027a83101d218A9e8B73577F117", //Renzo
3131
oracleToken: "0x59e710215d45f584f44c0fee83da6d43d762d857",
3232
};
3333

3434
const ezETH1x = {
3535
vault: "0x9c96d0Cc5341654167ee35DB4F288ae523fe8779",
36-
reStakingToken: "0x2416092f143378750bb29b79eD961ab195CcEea5",
36+
reStakingToken: ADDRESSES.blast.ezETH,
3737
oracle: "0x2BAF3A2B667A5027a83101d218A9e8B73577F117", //Renzo
3838
oracleToken: "0x59e710215d45f584f44c0fee83da6d43d762d857",
3939
};
@@ -257,7 +257,7 @@ module.exports = {
257257
// leverage users
258258
const ezETH = {
259259
vault: "0x6295248F578bFA9c057a3e1182BED27121530E7A",
260-
reStakingToken: "0x2416092f143378750bb29b79eD961ab195CcEea5",
260+
reStakingToken: ADDRESSES.blast.ezETH,
261261
oracle: "0x28c1576eb118f2Ccd02eF2e6Dbd732F5C8D2e86B", //Renzo
262262
};
263263

@@ -275,7 +275,7 @@ module.exports = {
275275

276276
const ezETH1x = {
277277
vault: "0x0bAc1a3D569c16D8AD9D3aB37f61dAF18DCfF781" /*vault*/,
278-
reStakingToken: "0x2416092f143378750bb29b79eD961ab195CcEea5" /*reStakingToken*/,
278+
reStakingToken: ADDRESSES.blast.ezETH /*reStakingToken*/,
279279
oracle: "0x28c1576eb118f2Ccd02eF2e6Dbd732F5C8D2e86B" /*oracle*/,
280280
};
281281
const weETH1x = {

projects/blackwing/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const BLACKWING_VAULT_ETH = '0xc6aDE8A68026d582AB37B879D188caF7e405dD09'
66
const BLACKWING_VAULT_BSC = '0xD00789260984160a64DcF19A03896DfF73BF4514'
77

88
const ARBITRUM_WEETH = "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe";
9-
const ARBITRUM_EZETH = "0x2416092f143378750bb29b79eD961ab195CcEea5";
9+
const ARBITRUM_EZETH = ADDRESSES.blast.ezETH;
1010

1111
const ETHEREUM_MAINNET_RSWETH = '0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0';
1212
const ETHEREUM_MAINNET_RSETH = "0xa1290d69c65a6fe4df752f95823fae25cb99e5a7";

projects/butternetwork/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const config = {
5858
WBTC: ADDRESSES.merlin.WBTC,
5959
WBTC_1: ADDRESSES.merlin.WBTC_1,
6060
SolvBTC: "0x41D9036454BE47d3745A823C4aaCD0e29cFB0f71",
61-
iUSD: "0x0A3BB08b3a15A19b4De82F8AcFc862606FB69A2D"
61+
iUSD: ADDRESSES.bsc.iUSD
6262
}
6363
}
6464
}

projects/etherfi-liquid/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
const ADDRESSES = require('../helper/coreAssets.json')
12
async function tvl(api) {
23
const bal = await api.call({
34
abi: "uint256:totalAssets",
45
target: '0xea1a6307d9b18f8d1cbf1c3dd6aad8416c06a221',
56
});
6-
api.add("0x35fa164735182de50811e8e2e824cfb9b6118ac2", bal);
7+
api.add(ADDRESSES.ethereum.EETH, bal);
78
}
89

910
module.exports = {

projects/helper/tokenMapping.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const fixBalancesTokens = {
4242
karak: {
4343
'0xa415021bc5c4c3b5b989116dc35ae95d9c962c8d': { coingeckoId: 'usd-coin', decimals: 6, },
4444
'0xf948aacec00289fc33d8226391f7e04bb457ad49': { coingeckoId: 'restaked-swell-eth', decimals: 18, },
45-
'0x4200000000000000000000000000000000000006': { coingeckoId: 'ethereum', decimals: 18, },
45+
[ADDRESSES.optimism.WETH_1]: { coingeckoId: 'ethereum', decimals: 18, },
4646
},
4747
linea: {
4848
'0x894134a25a5fac1c2c26f1d8fbf05111a3cb9487': { coingeckoId: 'grai', decimals: 18, },
@@ -79,7 +79,7 @@ const fixBalancesTokens = {
7979
'0x6b4ecada640f1b30dbdb68f77821a03a5f282ebe': { coingeckoId: "usd-coin", decimals: 6, },
8080
},
8181
zeta: {
82-
'0x5f0b1a82749cb4e2278ec87f8bf6b618dc71a8bf': { coingeckoId: "zetachain", decimals: 18, },
82+
[ADDRESSES.zeta.WZETA]: { coingeckoId: "zetachain", decimals: 18, },
8383
}
8484
}
8585

projects/juice-finance/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const ADDRESSES = require("../helper/coreAssets.json");
22
const { sumTokens2 } = require("../helper/unwrapLPs");
33

44
// Tokens
5-
const EZETH = "0x2416092f143378750bb29b79eD961ab195CcEea5";
5+
const EZETH = ADDRESSES.blast.ezETH;
66

77
// Lending pools
88
const LENDING_POOL_USDB = "0x4A1d9220e11a47d8Ab22Ccd82DA616740CF0920a";

projects/renzo/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
const ADDRESSES = require('../helper/coreAssets.json')
12
const L1_EZ_ETH_ADDRESS = "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110";
2-
const L2_EZ_ETH_ADDRESS = "0x2416092f143378750bb29b79eD961ab195CcEea5";
3+
const L2_EZ_ETH_ADDRESS = ADDRESSES.blast.ezETH;
34
const L1_LOCKBOX_ADDRESS = "0xC8140dA31E6bCa19b287cC35531c2212763C2059";
45

56
async function L2Tvl(api) {

projects/swell-l2-farm/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const ADDRESSES = require('../helper/coreAssets.json')
12
const { nullAddress } = require("../helper/tokenMapping");
23
const { sumTokensExport } = require("../helper/unwrapLPs");
34

@@ -7,14 +8,14 @@ module.exports = {
78
owners: ["0x38D43a6Cb8DA0E855A42fB6b0733A0498531d774"],
89
tokens: [
910
nullAddress,
10-
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
11+
ADDRESSES.ethereum.WSTETH,
1112
"0x49446A0874197839D15395B908328a74ccc96Bc0",
1213
"0xE46a5E19B19711332e33F33c2DB3eA143e86Bc10",
1314
"0x49446A0874197839D15395B908328a74ccc96Bc0",
1415
"0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0",
1516
"0xf951E335afb289353dc249e82926178EaC7DEd78",
1617
"0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
17-
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
18+
ADDRESSES.ethereum.WETH,
1819
"0x8a053350ca5F9352a16deD26ab333e2D251DAd7c",
1920
"0x8457CA5040ad67fdebbCC8EdCE889A335Bc0fbFB",
2021
"0x5cb12D56F5346a016DBBA8CA90635d82e6D1bcEa",

projects/zircuit/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const TOKEN_CONTRACTS = [
1616
'0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', // weETH
1717
'0xf951E335afb289353dc249e82926178EaC7DEd78', // swETH
1818
'0x4c9EDD5852cd905f086C759E8383e09bff1E68B3', // USDe
19-
'0x4d831e22F062b5327dFdB15f0b6a5dF20E2E3dD0', // cSTONE
19+
ADDRESSES.ethereum.STONE, // cSTONE
2020
'0xd5F7838F5C461fefF7FE49ea5ebaF7728bB0ADfa', // mETH
2121
'0xD9A442856C234a39a81a089C06451EBAa4306a72' // pufETH
2222
];

projects/zkLink/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const config = {
3535
],
3636
tokens: [
3737
"0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4", // WBTC
38-
"0x2416092f143378750bb29b79eD961ab195CcEea5", // ezETH
38+
ADDRESSES.blast.ezETH, // ezETH
3939
"0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F", // wstETH
4040
"0x531e4901EB141a71e111Cc23Fc4fBD4B7dB788d5", // ZKT
4141
ADDRESSES.linea.USDT, // USDT
@@ -90,7 +90,7 @@ const config = {
9090
],
9191
tokens: [
9292
ADDRESSES.null,
93-
"0x2416092f143378750bb29b79eD961ab195CcEea5", // ezeth
93+
ADDRESSES.blast.ezETH, // ezeth
9494
"0x8cDe337D4D39f692f867c9FFA696f555EdaB4BeD", // zkt
9595
"0x038f1C6ED5FccF690A920a27b39366eeeF27eFCe", // rich
9696
"0x5FE8534a6F96cb01261Bd96e98c17C2c1Cab3204", // BAJA

0 commit comments

Comments
 (0)