Skip to content

Commit

Permalink
use token label
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Aug 9, 2024
1 parent 942cbd0 commit 58c72db
Show file tree
Hide file tree
Showing 61 changed files with 149 additions and 128 deletions.
2 changes: 1 addition & 1 deletion projects/aark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ async function tvl(api) {
return api.sumTokens({ owner: VAULT_CONTRACT_ADDRESS, tokens: [
ADDRESSES.arbitrum.WETH,
ADDRESSES.arbitrum.USDC,
'0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F', //FRAX
ADDRESSES.arbitrum.FRAX, //FRAX
ADDRESSES.arbitrum.USDC_CIRCLE,
ADDRESSES.arbitrum.WSTETH,
ADDRESSES.arbitrum.DAI,
Expand Down
8 changes: 4 additions & 4 deletions projects/airpuff/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@ module.exports = {
tvl: async (api) => {
const KUSDC = {
vault: "0x4c18E80b801AA24066D8B1C6E65ee245497Cb741",
token: "0xa415021bC5c4C3b5B989116DC35Ae95D9C962c8D",
token: ADDRESSES.karak.USDC,
};

const KWETH = {
vault: "0x9a9631F7BEcE5C6E0aBA1f73f0e5796c534dc4db",
token: "0x4200000000000000000000000000000000000006",
token: ADDRESSES.optimism.WETH_1,
};

const wethLending = {
vault: "0xd6034F9147CF7528e857403Dea93bc45743295eb",
token: "0x4200000000000000000000000000000000000006",
token: ADDRESSES.optimism.WETH_1,
};

const usdcLending = {
vault: "0x475820E4bCE0E3d233Ad7f6A8c9DD1f66974c5d6",
token: "0xa415021bC5c4C3b5B989116DC35Ae95D9C962c8D",
token: ADDRESSES.karak.USDC,
};

const KarakUSDCBal = await api.call({ target: KUSDC.vault, abi: contractAbis.getTotalSupply });
Expand Down
35 changes: 18 additions & 17 deletions projects/alphafi/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const ADDRESSES = require('../helper/coreAssets.json')
const sui = require("../helper/chain/sui")
const { addUniV3LikePosition } = require("../helper/unwrapLPs")

Expand All @@ -7,58 +8,58 @@ const ALPHAFI_CETUS_TVL_IDS = [
poolID: "0x30066d9879374276dc01177fbd239a9377b497bcd347c82811d75fcda35b18e5",
cetusPoolID: "0xc8d7a1503dc2f9f5b05449a87d8733593e2f0f3e7bffd90541252782e4d2ca20",
investorID: "0x87a76889bf4ed211276b16eb482bf6df8d4e27749ebecd13017d19a63f75a6d5",
token0Type: "0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN",
token1Type: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN"
token0Type: ADDRESSES.sui.USDT,
token1Type: ADDRESSES.sui.USDC
},
{
poolID: "0xa7239a0c727c40ee3a139689b16b281acfd0682a06c23531b184a61721ece437",
cetusPoolID: "0x0e809689d04d87f4bd4e660cd1b84bf5448c5a7997e3d22fc480e7e5e0b3f58d",
investorID: "0x1b923520f19660d4eb013242c6d03c84fdea034b8f784cfd71173ef72ece50e1",
token0Type: "0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb::usdy::USDY",
token1Type: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN"
token1Type: ADDRESSES.sui.USDC
},
{
poolID: "0xee6f6392cbd9e1997f6e4cf71db0c1ae1611f1f5f7f23f90ad2c64b8f23cceab",
cetusPoolID: "0xcf994611fd4c48e277ce3ffd4d4364c914af2c3cbb05f7bf6facd371de688630",
investorID: "0xb6ca8aba0fb26ed264a3ae3d9c1461ac7c96cdcbeabb01e71086e9a8340b9c55",
token0Type: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",
token1Type: "0x2::sui::SUI"
token0Type: ADDRESSES.sui.USDC,
token1Type: ADDRESSES.sui.SUI
},
{
poolID: "0x676fc5cad79f51f6a7d03bfa3474ecd3c695d322380fc68e3d4f61819da3bf8a",
cetusPoolID: "0xaa57c66ba6ee8f2219376659f727f2b13d49ead66435aa99f57bb008a64a8042",
investorID: "0x9ae0e56aa0ebc27f9d8a17b5a9118d368ba262118d878977b6194a10a671bbbc",
token0Type: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",
token1Type: "0x027792d9fed7f9844eb4839566001bb6f6cb4804f66aa2da6fe1ee242d896881::coin::COIN"
token0Type: ADDRESSES.sui.USDC,
token1Type: ADDRESSES.sui.WBTC
},
{
poolID: "0xbdf4f673b34274f36be284bca3f765083380fefb29141f971db289294bf679c6",
cetusPoolID: "0x5b0b24c27ccf6d0e98f3a8704d2e577de83fa574d3a9060eb8945eeb82b3e2df",
investorID: "0x05fa099d1df7b5bfb2e420d5ee2d63508db17c40ce7c4e0ca0305cd5df974e43",
token0Type: "0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN",
token1Type: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN"
token0Type: ADDRESSES.sui.WETH,
token1Type: ADDRESSES.sui.USDC
},
{
poolID: "0x045e4e3ccd383bedeb8fda54c39a7a1b1a6ed6a9f66aec4998984373558f96a0",
cetusPoolID: "0x0254747f5ca059a1972cd7f6016485d51392a3fde608107b93bbaebea550f703",
investorID: "0xdd9018247d579bd7adfdbced4ed39c28821c6019461d37dbdf32f0d409959b1c",
token0Type: "0xa99b8952d4f7d947ea77fe0ecdcc9e5fc0bcab2841d6e2a5aa00c3044e5544b5::navx::NAVX",
token1Type: "0x2::sui::SUI"
token1Type: ADDRESSES.sui.SUI
},
{
poolID: "0x59ff9c5df31bfd0a59ac8393cf6f8db1373252e845958953e6199952d194dae4",
cetusPoolID: "0x81fe26939ed676dd766358a60445341a06cea407ca6f3671ef30f162c84126d5",
investorID: "0x8051a9ce43f9c21e58331b1ba2b1925e4ae4c001b1400459236d86d5d3d2888b",
token0Type: "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::buck::BUCK",
token1Type: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN"
token0Type: ADDRESSES.sui.BUCK,
token1Type: ADDRESSES.sui.USDC
},

]

const ALPHAFI_NAVI_TVL_IDS = [
{
poolID: "0x643f84e0a33b19e2b511be46232610c6eb38e772931f582f019b8bbfb893ddb3",
tokenType: "0x2::sui::SUI",
tokenType: ADDRESSES.sui.SUI,
expo: 9
},
{
Expand All @@ -68,17 +69,17 @@ const ALPHAFI_NAVI_TVL_IDS = [
},
{
poolID: "0xc696ca5b8f21a1f8fcd62cff16bbe5a396a4bed6f67909cfec8269eb16e60757",
tokenType: "0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN",
tokenType: ADDRESSES.sui.USDT,
expo: 6,
},
{
poolID: "0x01493446093dfcdcfc6c16dc31ffe40ba9ac2e99a3f6c16a0d285bff861944ae",
tokenType: "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",
tokenType: ADDRESSES.sui.USDC,
expo: 6
},
{
poolID: "0xe4eef7d4d8cafa3ef90ea486ff7d1eec347718375e63f1f778005ae646439aad",
tokenType: "0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN",
tokenType: ADDRESSES.sui.WETH,
expo: 8
},
]
Expand All @@ -88,7 +89,7 @@ const ALPHAFI_POOL2_IDS = [{
cetusPoolID: "0xda7347c3192a27ddac32e659c9d9cbed6f8c9d1344e605c71c8886d7b787d720",
investorID: "0x46d901d5e1dba34103038bd2ba789b775861ea0bf4d6566afd5029cf466a3d88",
token0Type: "0xfe3afec26c59e874f3c1d60b8203cb3852d2bb2aa415df9548b8d688e6683f93::alpha::ALPHA",
token1Type: "0x2::sui::SUI"
token1Type: ADDRESSES.sui.SUI
},
]

Expand Down
10 changes: 5 additions & 5 deletions projects/angle/addresses.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const TreasuryTokenAddresses = {
ADDRESSES.ethereum.CVX,
'0x875773784Af8135eA0ef43b5a374AaD105c5D39e',
'0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490',
'0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0',
ADDRESSES.ethereum.FXS,
'0x73968b9a57c6E53d41345FD57a6E6ae27d6CDB2F',
'0x4da27a545c0c5B758a6BA100e3a049001de870f5',
ADDRESSES.ethereum.USDC,
Expand Down Expand Up @@ -122,7 +122,7 @@ const chains = [
const tokens = {
ethereum: {
EURA: '0x1a7e4e63778B4f12a199C062f3eFdD288afCBce8',
stEUR: '0x004626A008B1aCdC4c74ab51644093b155e59A23',
stEUR: ADDRESSES.celo.STEUR,
USDA: '0x0000206329b97DB379d5E1Bf586BbDB969C63274',
stUSD: '0x0022228a2cc5E7eF0274A7Baa600d44da5aB5776',
bC3M: '0x2F123cF3F37CE3328CC9B5b8415f9EC5109b45e7',
Expand All @@ -133,7 +133,7 @@ const tokens = {
},
arbitrum: {
EURA: '0xFA5Ed56A203466CbBC2430a43c66b9D8723528E7',
stEUR: '0x004626A008B1aCdC4c74ab51644093b155e59A23',
stEUR: ADDRESSES.celo.STEUR,
USDA: '0x0000206329b97DB379d5E1Bf586BbDB969C63274',
stUSD: '0x0022228a2cc5E7eF0274A7Baa600d44da5aB5776',
},
Expand All @@ -154,7 +154,7 @@ const tokens = {
},
xdai: {
EURA: '0x4b1E2c2762667331Bc91648052F646d1b0d35984',
stEUR: '0x004626A008B1aCdC4c74ab51644093b155e59A23',
stEUR: ADDRESSES.celo.STEUR,
USDA: '0x0000206329b97DB379d5E1Bf586BbDB969C63274',
stUSD: '0x0022228a2cc5E7eF0274A7Baa600d44da5aB5776',
},
Expand All @@ -165,7 +165,7 @@ const tokens = {
},
celo: {
EURA: '0xC16B81Af351BA9e64C1a069E3Ab18c244A1E3049',
stEUR: '0x004626A008B1aCdC4c74ab51644093b155e59A23',
stEUR: ADDRESSES.celo.STEUR,
USDA: '0x0000206329b97DB379d5E1Bf586BbDB969C63274',
stUSD: '0x0022228a2cc5E7eF0274A7Baa600d44da5aB5776',
},
Expand Down
2 changes: 1 addition & 1 deletion projects/bifi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const chainPools = {
UnifiedDAI: { pool: '0x2168dAb12A6A93181bbAD9C9dc769307C36fB45C', token: ADDRESSES.bfc.UnifiedDAI },
UnifiedWBTC: { pool: '0xEa3b4a2dA5DbE8379AD4c60aaD5184df69D7C9AD', token: ADDRESSES.bfc.WBTC},
UnifiedBTCB: { pool: '0x0B31FeE8bF53bFe2f5F7083B73A4c9C8B517E32F', token: ADDRESSES.bfc.BTCB},
BitcoinUSD: { pool: '0xcF2FC1d354018A39D5Ef036aA865Ad8cbF7B611E', token: '0x6906Ccda405926FC3f04240187dd4fAd5DF6d555' }
BitcoinUSD: { pool: '0xcF2FC1d354018A39D5Ef036aA865Ad8cbF7B611E', token: ADDRESSES.bfc.BitcoinUSD }
},
}

Expand Down
3 changes: 2 additions & 1 deletion projects/blasterswap-vaults/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { staking } = require("../helper/staking.js");

const vaults = ['0xC52fb7E613e401a0195C2fdB369618580D58C91D', '0x013249266842e078999088807033D80531A84260'];
const tokens = ['0xd43D8aDAC6A4C7d9Aeece7c3151FcA8f23752cf8', '0x5ffd9EbD27f2fcAB044c0f0a26A45Cb62fa29c06'];

module.exports = {
blast: {
tvl: staking('0x0464a36beCf9967111D2dCAb57CAf4a2376f6E3F', '0xb1a5700fa2358173fe465e6ea4ff52e36e88e2ad'),
tvl: staking('0x0464a36beCf9967111D2dCAb57CAf4a2376f6E3F', ADDRESSES.blast.BLAST),
staking: staking(vaults, tokens)
},
}
2 changes: 1 addition & 1 deletion projects/bracket-fi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config = {
"0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8",
"0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe",
"0x4186BFC76E2E237523CBC30FD220FE055156b41F",
"0x2416092f143378750bb29b79eD961ab195CcEea5"
ADDRESSES.blast.ezETH
]
},
}
Expand Down
2 changes: 1 addition & 1 deletion projects/bridgers-ai/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const tokensConf = {
TON: ADDRESSES.ton.TON,
USDT: ADDRESSES.ton.USDT,
USDC: ADDRESSES.ton.USDC,
NOT: 'EQAvlWFDxGF2lXm67y4yzC17wYKD9A0guwPkMs1gOsM__NOT',
NOT: ADDRESSES.ton.NOT,
},
era: {
ETH: nullAddress,
Expand Down
14 changes: 7 additions & 7 deletions projects/buzz-farming/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
const {sumTokensExport} = require('../helper/sumTokens');
const ADDRESSES = require('../helper/coreAssets.json')

const ADDRESSES_BSQUARED_BSTONE = '0x7537C1F80c9E157ED7AFD93a494be3e1f04f1462';
const ADDRESSES_BSQUARED_FDUSD = '0xC2Fe4f673455Ef92299770a09CDB5E8756A525D5';
const ADDRESSES_BSQUARED_MATIC = '0xc3ee2Df14B1Bc526c24ED802f1873d49664a0d5c';
const ADDRESSES_BSQUARED_ORDI = '0xa0f4470B714677AEEcE0d20074c540b3Cf6a477E';
const ADDRESSES_BSQUARED_SATS = '0x7eBFcE05E418C380a2b6EB0F65995cA04ef4bc00';
const ADDRESSES_BSQUARED_BSTONE = ADDRESSES.bsquared.BSTONE;
const ADDRESSES_BSQUARED_FDUSD = ADDRESSES.bsquared.FDUSD;
const ADDRESSES_BSQUARED_MATIC = ADDRESSES.bsquared.MATIC;
const ADDRESSES_BSQUARED_ORDI = ADDRESSES.bsquared.ORDI;
const ADDRESSES_BSQUARED_SATS = ADDRESSES.bsquared.SATS;
const ADDRESSES_BSQUARED_FBTC = '0x5d247f32b792a61f7b4078cf7752a878aff152e2';
const ADDRESSES_BSQUARED_UBTC = '0x796e4d53067ff374b89b2ac101ce0c1f72ccaac2';
const ADDRESSES_BSQUARED_UBTC = ADDRESSES.bsquared.UBTC;
const ADDRESSES_BSQUARED_USDA = '0x46fecc5bef70615ee3bfdbd2b278944368b78cf5';
const ADDRESSES_BSQUARED_ETH = '0xd48d3a551757ac47655fce25bde1b0b6b1cb2a5a';
const ADDRESSES_BSQUARED_ETH = ADDRESSES.bsquared.ETH;

const tokenList = [ADDRESSES.null, ADDRESSES.bsquared.USDT, ADDRESSES.bsquared.USDC, ADDRESSES.bsquared.WBTC, ADDRESSES_BSQUARED_BSTONE, ADDRESSES_BSQUARED_FDUSD, ADDRESSES_BSQUARED_MATIC, ADDRESSES_BSQUARED_ORDI, ADDRESSES_BSQUARED_SATS, ADDRESSES_BSQUARED_FBTC, ADDRESSES_BSQUARED_UBTC, ADDRESSES_BSQUARED_USDA, ADDRESSES_BSQUARED_ETH,];

Expand Down
3 changes: 2 additions & 1 deletion projects/carbondefi/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokens2 } = require("../helper/unwrapLPs");

const config = {
Expand All @@ -12,7 +13,7 @@ const config = {
celo: {
fromBlock: 26828280,
controller: "0x6619871118D144c1c28eC3b23036FC1f0829ed3a",
gasToken: "0x471EcE3750Da237f93B8E339c536989b8978a438",
gasToken: ADDRESSES.celo.CELO,
},
};

Expand Down
2 changes: 1 addition & 1 deletion projects/celerbridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ const liquidityBridgeTokens = [
},
{
// FXS
ethereum: "0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0",
ethereum: ADDRESSES.ethereum.FXS,
},
{
// MAI
Expand Down
3 changes: 2 additions & 1 deletion projects/chiliz-governance-staking/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokensExport, nullAddress } = require("../helper/unwrapLPs");
const STAKING_CONTRACT = '0x0000000000000000000000000000000000001000';
const STAKING_CONTRACT = ADDRESSES.findora.FRA;

module.exports = {
methodology: 'Total CHZ Locked in Staking System Contract.',
Expand Down
2 changes: 1 addition & 1 deletion projects/concentrator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const arUSDAddress = "0x549716F858aefF9CB845d4C78c67A7599B0Df240";
const arUSD4626Address = "0x07D1718fF05a8C53C8F05aDAEd57C0d672945f9a";
const rUSDAddress = "0x65D72AA8DA931F047169112fcf34f52DbaAE7D18";
const aFXNAddress = "0x00Bac667a4cCf9089aB1Db978238C555C4349545";
const fxnAddress = "0x365AccFCa291e7D3914637ABf1F7635dB165Bb09";
const fxnAddress = ADDRESSES.ethereum.FXN;

const concentratorNewVault = "0x3Cf54F3A1969be9916DAD548f3C084331C4450b5";
const concentratorAfxsVault = "0xD6E3BB7b1D6Fa75A71d48CFB10096d59ABbf99E1";
Expand Down
2 changes: 1 addition & 1 deletion projects/convex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const boosterAddresses = {

const staker = '0x989aeb4d175e16225e39e87d0d97a3360524ad80'
const cvxRewardsAddress = "0xCF50b810E57Ac33B91dCF525C6ddd9881B139332";
const cvxLockerAddress = "0x72a19342e8F1838460eBFCCEf09F6585e32db86E";
const cvxLockerAddress = ADDRESSES.ethereum.vlCVX;

const arbiPoolInfoABI = 'function poolInfo(uint256) view returns (address lptoken, address gauge, address rewards, bool shutdown, address factory)'

Expand Down
2 changes: 1 addition & 1 deletion projects/dotoracle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
usdt: ADDRESSES.ethereum.USDT,
DAI: ADDRESSES.ethereum.DAI,
frax: ADDRESSES.ethereum.FRAX,
fxs: '0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0',
fxs: ADDRESSES.ethereum.FXS,
maker: ADDRESSES.ethereum.MKR,
aave: ADDRESSES.ethereum.AAVE,
}
Expand Down
3 changes: 2 additions & 1 deletion projects/doubler/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const WETH_CONTRACT = '0x82af49447d8a07e3bd95bd0d56f35241523fbab1';
const ADDRESSES = require('../helper/coreAssets.json')
const WETH_CONTRACT = ADDRESSES.arbitrum.WETH;
const DOUBLER_CONTRACT = '0x56386f04111057a5D8DF8d719827038B716333F0';

async function tvl(api) {
Expand Down
3 changes: 2 additions & 1 deletion projects/echo-bridge/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokensExport } = require('../helper/sumTokens')

module.exports = {
bsquared: {
tvl: sumTokensExport({ owner: '0x5b1399B8b97fBC3601D8B60Cc0F535844C411Bd5', tokens: ['0x796e4D53067FF374B89b2Ac101ce0c1f72ccaAc2']})
tvl: sumTokensExport({ owner: '0x5b1399B8b97fBC3601D8B60Cc0F535844C411Bd5', tokens: [ADDRESSES.bsquared.UBTC]})
}
}
2 changes: 1 addition & 1 deletion projects/ensuro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const addressBook = {
aave_v3_usdc: "0x625E7708f30cA75bfd92586e17077590C60eb4cD", // aPolUSDC
aave_v2_usdc: "0x1a13F4Ca1d028320A707D99520AbFefca3998b7F", // amUSDC
compound_v3_usdc: "0xF25212E676D1F7F89Cd72fFEe66158f541246445", // Compound USDC
mountain_usdm: "0x59D9356E565Ab3A36dD77763Fc0d87fEaf85508C", // Mountain USDM
mountain_usdm: ADDRESSES.ethereum.USDM, // Mountain USDM
reserves: [
// eTokens
{name: "eToken Junior Koala", address: "0x8d2Ee82c4172B2138B06b8037d769cBfAf9C0274"},
Expand Down
2 changes: 1 addition & 1 deletion projects/fpi/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const ADDRESSES = require('../helper/coreAssets.json')

const frax = ADDRESSES.ethereum.FRAX
const fxs = "0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0"
const fxs = ADDRESSES.ethereum.FXS

async function tvl(api){
const balances = {}
Expand Down
2 changes: 1 addition & 1 deletion projects/fraxfinance/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { staking, } = require("../helper/staking");
const { sumTokens2, nullAddress, } = require("../helper/unwrapLPs");

const USDC = ADDRESSES.ethereum.USDC;
const FXS = "0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0";
const FXS = ADDRESSES.ethereum.FXS;
const FRAX_3CRV = '0xd632f22692fac7611d2aa1c0d552930d43caed3b'
const T_3CRV = '0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490'

Expand Down
4 changes: 2 additions & 2 deletions projects/fraxlend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const registry_config = {

const frax_config = {
ethereum: ADDRESSES.ethereum.FRAX,
fraxtal: "0xFc00000000000000000000000000000000000001",
arbitrum: "0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F"
fraxtal: ADDRESSES.fraxtal.FRAX,
arbitrum: ADDRESSES.arbitrum.FRAX
}

async function tvl(api) {
Expand Down
13 changes: 7 additions & 6 deletions projects/gudchain/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokensExport } = require("../helper/unwrapLPs");

const launchBridge = "0xd759e176DEF0F14e5C2D300238d41b1CBB5585BF";
Expand All @@ -8,14 +9,14 @@ module.exports = {
owner: launchBridge,
start: 20203960,
tokens: [
"0x0000000000000000000000000000000000000000",
"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
ADDRESSES.null,
ADDRESSES.ethereum.STETH,
"0xa2E3356610840701BDf5611a53974510Ae27E2e1",
"0xd5F7838F5C461fefF7FE49ea5ebaF7728bB0ADfa",
"0x6B175474E89094C44Da98b954EedeAC495271d0F",
"0x83F20F44975D03b1b09e64809B757c47f942BEeA",
"0xdAC17F958D2ee523a2206206994597C13D831ec7",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
ADDRESSES.ethereum.DAI,
ADDRESSES.ethereum.SDAI,
ADDRESSES.ethereum.USDT,
ADDRESSES.ethereum.USDC
]
})
}
Expand Down
Loading

0 comments on commit 58c72db

Please sign in to comment.