diff --git a/projects/symbiosis-finance/config.js b/projects/symbiosis-finance/config.js index 68ec85e76d6d..e53656179b76 100644 --- a/projects/symbiosis-finance/config.js +++ b/projects/symbiosis-finance/config.js @@ -1,456 +1,394 @@ -const ADDRESSES = require('../helper/coreAssets.json') - -const TOKENS = { - ethereum: { - pufETH: "0xD9A442856C234a39a81a089C06451EBAa4306a72", - LADYS: "0x12970E6868f88f6557B76120662c1B3E50A646bf", - XDAO: "0x71eebA415A523F5C952Cc2f06361D5443545Ad28", - G: "0x9C7BEBa8F6eF6643aBd725e45a4E8387eF260649" - }, - bsc: { - XDAO: "0x71eebA415A523F5C952Cc2f06361D5443545Ad28", - G: "0x9C7BEBa8F6eF6643aBd725e45a4E8387eF260649" - }, - polygon: { - XDAO: "0x71eebA415A523F5C952Cc2f06361D5443545Ad28" - }, - arbitrum: { - XDAO: "0x71eebA415A523F5C952Cc2f06361D5443545Ad28", - LADYS: "0x3b60FF35D3f7F62d636b067dD0dC0dFdAd670E4E" - }, - manta: { - pufETH: "0xA53E005Cecd3D7C89A4AE814617cC14828b6527E" - }, - scroll: { - pufETH: "0xc4d46E8402F476F269c379677C99F18E22Ea030e" - }, - zeta: { - pufETH: "0x1e4bF3CaBD7707089138dD5a545B077413FA83Fc" - }, - zklink: { - pufETH: "0x1B49eCf1A8323Db4abf48b2F5EFaA33F7DdAB3FC" - }, - cronos: { - USDC: ADDRESSES.cronos.USDC - }, - fraxtal: { - WETH: ADDRESSES.fraxtal.WETH, - FRAX: ADDRESSES.fraxtal.FRAX - }, - gravity: { - USDC_e: ADDRESSES.gravity.USDC_e, - wG: ADDRESSES.gravity.wG - }, - bsquared: { - WBTC: ADDRESSES.bsquared.WBTC, - }, - cronos_zkevm: { - USDC: ADDRESSES.cronos_zkevm.USDC, - } -} - module.exports = { chains: [ { - name: 'ethereum', - tokens: [ - ADDRESSES.ethereum.USDC, - ADDRESSES.ethereum.USDT, - ADDRESSES.ethereum.WETH, - ADDRESSES.ethereum.WBTC, - ADDRESSES.ethereum.FRAX, - TOKENS.ethereum.XDAO, - TOKENS.ethereum.LADYS, - TOKENS.ethereum.pufETH, - TOKENS.ethereum.G, - ], - holders: [ - '0xb80fDAA74dDA763a8A158ba85798d373A5E84d84', // portal v1 - '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8', // portal v2 - '0x42Cd64f48496dDdfEfF8F3704df9175dbe20d325', // portal Teleport - ] - }, - { - name: 'bsc', - tokens: [ - ADDRESSES.bsc.BUSD, - ADDRESSES.bsc.USDC, - ADDRESSES.bsc.ETH, - ADDRESSES.bsc.BTCB, - TOKENS.bsc.XDAO, - TOKENS.bsc.G, - ], - holders: [ - '0xD7F9989bE0d15319d13d6FA5d468211C89F0b147', // portal v1 - '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4', // portal v2 - '0xb91d3060C90aac7c4c706aef2B37997b3b2a1DcF', // portal Teleport - '0xab0738320A21741f12797Ee921461C691673E276', // v1 pool with Ethereum - ] - }, - { - name: 'avax', - tokens: [ - ADDRESSES.avax.USDC_e, - ADDRESSES.avax.USDC, - ], - holders: [ - '0xD7F9989bE0d15319d13d6FA5d468211C89F0b147', // portal v1 - '0xE75C7E85FE6ADd07077467064aD15847E6ba9877', // portal v2 - '0xab0738320A21741f12797Ee921461C691673E276', // v1 pool with Ethereum - '0xF4BFF06E02cdF55918e0ec98082bDE1DA85d33Db', // v1 pool with BNB chain - ] - }, - { - name: 'polygon', - tokens: [ - ADDRESSES.polygon.USDC, - ADDRESSES.polygon.WETH_1, - ADDRESSES.polygon.FRAX, - TOKENS.polygon.XDAO, - ], - holders: [ - '0xD7F9989bE0d15319d13d6FA5d468211C89F0b147', // portal v1 - '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8', // portal v2 - '0x3338BE49A5f60e2593337919F9aD7098e9a7Dd7E', // portal Teleport - '0xab0738320A21741f12797Ee921461C691673E276', // v1 pool with Ethereum - '0xF4BFF06E02cdF55918e0ec98082bDE1DA85d33Db', // v1 pool with BNB chain - '0x3F1bfa6FA3B6D03202538Bf0cdE92BbE551104ac', // v1 pool with Avalanche - ] - }, - { - name: 'telos', - tokens: [ - ADDRESSES.telos.syUSDC, - ], - holders: [ - '0x17A0E3234f00b9D7028e2c78dB2caa777F11490F', // portal v1 - '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8', // portal v2 - '0x7f3C1E54b8b8C7c08b02f0da820717fb641F26C8', // v1 pool with BNB chain - ] - }, - { - name: 'aurora', - tokens: [ - ADDRESSES.aurora.USDC_e, - ], - holders: [ - '0x17A0E3234f00b9D7028e2c78dB2caa777F11490F', // portal v1 - '0x7Ff7AdE2A214F9A4634bBAA4E870A5125dA521B8', // v1 pool with BNB chain - '0x7F1245B61Ba0b7D4C41f28cAc9F8637fc6Bec9E4', // v1 pool with Polygon - ] - }, - { - name: 'boba', - tokens: [ - ADDRESSES.boba.USDC, - ], - holders: [ - '0xD7F9989bE0d15319d13d6FA5d468211C89F0b147', // portal v1 - '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8', // portal v2 - '0xab0738320A21741f12797Ee921461C691673E276', // v1 pool with Ethereum - '0xe0ddd7afC724BD4B320472B5C954c0abF8192344', // v1 pool with BNB chain - ] - }, - { - name: 'boba_avax', - tokens: [ - ADDRESSES.boba_avax.USDC_e, - ], - holders: [ - '0xd8db4fb1fEf63045A443202d506Bcf30ef404160', // portal v2 - ] - }, - { - name: 'boba_bnb', - tokens: [ - ADDRESSES.boba_bnb.USDC, - ], - holders: [ - '0x6148FD6C649866596C3d8a971fC313E5eCE84882', // pool v2 - ] - }, - { - name: 'kava', - tokens: [ - ADDRESSES.kava.USDC, - ADDRESSES.kava.USDt, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'era', - tokens: [ - ADDRESSES.era.USDC, - ADDRESSES.era.WETH, - ADDRESSES.era.WBTC, - ], - holders: [ - '0x39dE19C9fF25693A2311AAD1dc5C790194084A39', // portal v2 - '0x4f5456d4d0764473DfCA1ffBB8524C151c4F19b9', // new portal v2 - '0x97b99f47b086a074f214f4A62A3b041599726DC2', // portal Teleport - ] - }, - { - name: 'arbitrum', - tokens: [ - ADDRESSES.arbitrum.USDC, // USDC.e - ADDRESSES.arbitrum.USDC_CIRCLE, - ADDRESSES.arbitrum.WETH, - ADDRESSES.arbitrum.FRAX, - TOKENS.arbitrum.XDAO, - TOKENS.arbitrum.LADYS, - ], - holders: [ - '0x01A3c8E513B758EBB011F7AFaf6C37616c9C24d9', // portal v2 - '0x0425841529882628880fBD228AC90606e0c2e09A', // portal Teleport - ] - }, - { - name: 'optimism', - tokens: [ - ADDRESSES.optimism.USDC, - ADDRESSES.optimism.WETH_1, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'arbitrum_nova', - tokens: [ - ADDRESSES.arbitrum_nova.USDC, - ADDRESSES.arbitrum_nova.WETH, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'polygon_zkevm', - tokens: [ - ADDRESSES.polygon_zkevm.USDC, - ADDRESSES.polygon_zkevm.USDC_CIRCLE, - ADDRESSES.polygon_zkevm.WETH, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'mantle', - tokens: [ - ADDRESSES.mantle.USDC, - ADDRESSES.mantle.WETH, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'linea', - tokens: [ - ADDRESSES.linea.WETH, - ADDRESSES.linea.USDC, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - '0x7f6fb9f3ce785F3d85772c038Fda58eC9432D421', // portal Teleport - ] - }, - { - name: 'base', - tokens: [ - ADDRESSES.base.WETH, - ADDRESSES.base.USDbC, - ], - holders: [ - '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4', // portal v2 - '0xEE981B2459331AD268cc63CE6167b446AF4161f8', // portal v2 new - ] - }, - { - name: 'tron', - tokens: [ - ADDRESSES.tron.USDT, - ], - holders: [ - 'TVgY3ayqTGUoe7th84ZNL5peVfRNdLFDjf', // portal v2 - ] - }, - { - name: 'scroll', - tokens: [ - ADDRESSES.scroll.WETH, - ADDRESSES.scroll.USDC, - TOKENS.scroll.pufETH, - ], - holders: [ - '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4', // portal v2 - '0x9b1c1949995E43E6d391A4FDA207bf4386Ee5a32', // portal Teleport - ] - }, - { - name: 'manta', - tokens: [ - ADDRESSES.manta.WETH, - ADDRESSES.manta.USDC, - TOKENS.manta.pufETH, - ], - holders: [ - '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4', // portal v2 - ] - }, - { - name: 'metis', - tokens: [ - ADDRESSES.metis.WETH, - ], - holders: [ - '0xd8db4fb1fEf63045A443202d506Bcf30ef404160', // portal v2 - ] - }, - { - name: 'mode', - tokens: [ - ADDRESSES.mode.WETH, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'rsk', - tokens: [ - ADDRESSES.rsk.rUSDT, - ADDRESSES.rsk.WRBTC1, - ], - holders: [ - '0x5aa5f7f84ed0e5db0a4a85c3947ea16b53352fd4', // portal v2 - ] - }, - { - name: 'blast', - tokens: [ - ADDRESSES.blast.WETH, - ], - holders: [ - '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4', // portal v2 - ] - }, - { - name: 'merlin', - tokens: [ - ADDRESSES.merlin.WBTC, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'ftn', - tokens: [ - ADDRESSES.ftn.USDC, - ], - holders: [ - '0x318C2B9a03C37702742C3d40C72e4056e430135A', // portal v2 - ] - }, - { - name: 'zklink', - tokens: [ - ADDRESSES.zklink.WETH, - TOKENS.zklink.pufETH, - ], - holders: [ - '0x8Dc71561414CDcA6DcA7C1dED1ABd04AF474D189', // portal v2 - ] - }, - { - name: 'core', - tokens: [ - ADDRESSES.core.coreBTC, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'taiko', - tokens: [ - ADDRESSES.taiko.WETH, - ], - holders: [ - '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4', // portal v2 - ] - }, - { - name: 'sei', - tokens: [ - ADDRESSES.sei.USDC, - ADDRESSES.sei.USDT, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'zeta', - tokens: [ - TOKENS.zeta.pufETH, - ADDRESSES.zeta.USDC_1, - ], - holders: [ - '0x8a7F930003BedD63A1ebD99C5917FD6aE7E3dedf', // portal v2 - ] - }, - { - name: 'cronos', - tokens: [ - TOKENS.cronos.USDC, - ], - holders: [ - '0xE75C7E85FE6ADd07077467064aD15847E6ba9877', // portal v2 - ] - }, - { - name: 'fraxtal', - tokens: [ - TOKENS.fraxtal.WETH, - TOKENS.fraxtal.FRAX, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'gravity', - tokens: [ - TOKENS.gravity.USDC_e, - TOKENS.gravity.wG, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'bsquared', - tokens: [ - TOKENS.bsquared.WBTC, - ], - holders: [ - '0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2 - ] - }, - { - name: 'cronos_zkevm', - tokens: [ - TOKENS.cronos_zkevm.USDC, - ], - holders: [ - '0x2E818E50b913457015E1277B43E469b63AC5D3d7', // portal v2 - ] - }, + name: 'ethereum', + tokens: [ + '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC, + '0xd38BB40815d2B0c2d2c866e0c72c5728ffC76dd9', // SIS, + '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH, + '0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT, + '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', // WBTC, + '0x12970E6868f88f6557B76120662c1B3E50A646bf', // LADYS, + '0xD9A442856C234a39a81a089C06451EBAa4306a72', // pufETH, + '0x853d955aCEf822Db058eb8505911ED77F175b99e', // FRAX, + '0x9C7BEBa8F6eF6643aBd725e45a4E8387eF260649', // G, + '0x582d872A1B094FC48F5DE31D3B73F2D9bE47def1', // WTON + ], + holders: [ + '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8' // portal + ] + }, + { + name: 'bsc', + tokens: [ + '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // USDC, + '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // BUSD, + '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', // ETH, + '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', // BTCB, + '0xF98b660AdF2ed7d9d9D9dAACC2fb0CAce4F21835', // SIS, + '0x9C7BEBa8F6eF6643aBd725e45a4E8387eF260649', // G, + '0x76A797A59Ba2C17726896976B7B3747BfD1d220f', // WTON + ], + holders: [ + '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4' // portal + ] + }, + { + name: 'avax', + tokens: [ + '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', // USDC, + '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // USDC.e + ], + holders: [ + '0xE75C7E85FE6ADd07077467064aD15847E6ba9877' // portal + ] + }, + { + name: 'polygon', + tokens: [ + '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // USDC.e, + '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', // WETH, + '0x45c32fA6DF82ead1e2EF74d17b76547EDdFaFF89', // FRAX + ], + holders: [ + '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8' // portal + ] + }, + { + name: 'telos', + tokens: [ + '0xe6E5f3d264117E030C21920356641DbD5B3d660c', // USDC, + '0x63d71E79AdF0886c989A23b04a0E86F1489b6BC3', // WETH, + '0x7bD3ffe9f0C9CF08FD60e102FEa455A6EA580276', // USDT + ], + holders: [ + '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8' // portal + ] + }, + { + name: 'kava', + tokens: [ + '0x919C1c267BC06a7039e03fcc2eF738525769109c', // USDt + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'boba', + tokens: [ + '0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc', // USDC + ], + holders: [ + '0xb8f275fBf7A959F4BCE59999A2EF122A099e81A8' // portal + ] + }, + { + name: 'era', + tokens: [ + '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4', // USDC.e, + '0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4', // USDC, + '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', // WETH, + '0xBBeB516fb02a01611cBBE0453Fe3c580D7281011', // WBTC, + '0xdd9f72afED3631a6C85b5369D84875e6c42f1827', // SIS, + '0xED0c95EBe5a3E687cB2224687024FeC6518E683e', // syBTC + ], + holders: [ + '0x4f5456d4d0764473DfCA1ffBB8524C151c4F19b9' // portal + ] + }, + { + name: 'arbitrum', + tokens: [ + '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', // USDC, + '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // USDC.e, + '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', // WETH, + '0x9E758B8a98a42d612b3D38B66a22074DC03D7370', // SIS, + '0x3b60FF35D3f7F62d636b067dD0dC0dFdAd670E4E', // LADYS, + '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F', // FRAX, + '0x1A6B3A62391ECcaaa992ade44cd4AFe6bEC8CfF1', // UXLINK + ], + holders: [ + '0x01A3c8E513B758EBB011F7AFaf6C37616c9C24d9' // portal + ] + }, + { + name: 'optimism', + tokens: [ + '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', // USDC.e, + '0x4200000000000000000000000000000000000006', // WETH + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'arbitrum_nova', + tokens: [ + '0x750ba8b76187092B0D1E87E28daaf484d1b5273b', // USDC, + '0x722E8BdD2ce80A4422E880164f2079488e115365', // WETH + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'polygon_zkevm', + tokens: [ + '0xA8CE8aee21bC2A48a5EF670afCc9274C7bbbC035', // USDC, + '0x37eAA0eF3549a5Bb7D431be78a3D99BD360d19e5', // USDC.e, + '0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9', // WETH + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'linea', + tokens: [ + '0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f', // WETH, + '0x176211869cA2b568f2A7D4EE941E073a821EE1ff', // USDC, + '0x6EF95B6f3b0F39508e3E04054Be96D5eE39eDE0d', // SIS + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'mantle', + tokens: [ + '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9', // USDC, + '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111', // WETH, + '0x1Bdd8878252DaddD3Af2ba30628813271294eDc0', // CATI + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'base', + tokens: [ + '0x4200000000000000000000000000000000000006', // WETH, + '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', // USDbC, + '0x9C7BEBa8F6eF6643aBd725e45a4E8387eF260649', // G + ], + holders: [ + '0xEE981B2459331AD268cc63CE6167b446AF4161f8' // portal + ] + }, + { + name: 'tron', + tokens: [ + 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t', // USDT + ], + holders: [ + 'TVgY3ayqTGUoe7th84ZNL5peVfRNdLFDjf' // portal + ] + }, + { + name: 'scroll', + tokens: [ + '0x5300000000000000000000000000000000000004', // WETH, + '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4', // USDC, + '0x1467b62A6AE5CdcB10A6a8173cfe187DD2C5a136', // SIS, + '0xc4d46E8402F476F269c379677C99F18E22Ea030e', // pufETH + ], + holders: [ + '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4' // portal + ] + }, + { + name: 'manta', + tokens: [ + '0x0Dc808adcE2099A9F62AA87D9670745AbA741746', // WETH, + '0xb73603C5d87fA094B7314C74ACE2e64D165016fb', // USDC, + '0xA53E005Cecd3D7C89A4AE814617cC14828b6527E', // pufETH + ], + holders: [ + '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4' // portal + ] + }, + { + name: 'metis', + tokens: [ + '0x420000000000000000000000000000000000000A', // WETH + ], + holders: [ + '0xd8db4fb1fEf63045A443202d506Bcf30ef404160' // portal + ] + }, + { + name: 'ftn', + tokens: [ + '0x4237e0A5b55233D5B6D6d1D9BF421723954130D8', // USDC, + '0xE5b3562A0fa9eC3e718C96FfE349e1280D2Be591', // WETH, + '0xDeF886C55a79830C47108eeb9c37e78a49684e41', // USDT + ], + holders: [ + '0x318C2B9a03C37702742C3d40C72e4056e430135A' // portal + ] + }, + { + name: 'mode', + tokens: [ + '0x4200000000000000000000000000000000000006', // WETH + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'rsk', + tokens: [ + '0xef213441A85dF4d7ACbDaE0Cf78004e1E486bB96', // rUSDT, + '0x542fDA317318eBF1d3DEAf76E0b632741A7e677d', // WRBTC + ], + holders: [ + '0x5aa5f7f84ed0e5db0a4a85c3947ea16b53352fd4' // portal + ] + }, + { + name: 'blast', + tokens: [ + '0x4300000000000000000000000000000000000004', // WETH + ], + holders: [ + '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4' // portal + ] + }, + { + name: 'merlin', + tokens: [ + '0xF6D226f9Dc15d9bB51182815b320D3fBE324e1bA', // WBTC + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'zklink', + tokens: [ + '0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169', // WETH, + '0x1B49eCf1A8323Db4abf48b2F5EFaA33F7DdAB3FC', // pufETH + ], + holders: [ + '0x8Dc71561414CDcA6DcA7C1dED1ABd04AF474D189' // portal + ] + }, + { + name: 'core', + tokens: [ + '0x8034aB88C3512246Bf7894f57C834DdDBd1De01F', // coreBTC + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'taiko', + tokens: [ + '0xA51894664A773981C6C112C43ce576f315d5b1B6', // WETH + ], + holders: [ + '0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4' // portal + ] + }, + { + name: 'sei', + tokens: [ + '0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1', // USDC, + '0xB75D0B03c06A926e488e2659DF1A861F860bD3d1', // USDT + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'zeta', + tokens: [ + '0x1e4bF3CaBD7707089138dD5a545B077413FA83Fc', // pufETH, + '0x0cbe0dF132a6c6B4a2974Fa1b7Fb953CF0Cc798a', // USDC.ETH + ], + holders: [ + '0x8a7F930003BedD63A1ebD99C5917FD6aE7E3dedf' // portal + ] + }, + { + name: 'cronos', + tokens: [ + '0xc21223249CA28397B4B6541dfFaEcC539BfF0c59', // USDC + ], + holders: [ + '0xE75C7E85FE6ADd07077467064aD15847E6ba9877' // portal + ] + }, + { + name: 'fraxtal', + tokens: [ + '0xA8a59D73388D0c4344a7b0Ba287ddb654227c38a', // WETH, + '0xFc00000000000000000000000000000000000001', // FRAX + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'gravity', + tokens: [ + '0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6', // USDC.e, + '0xBB859E225ac8Fb6BE1C7e38D87b767e95Fef0EbD', // wG + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'bsquared', + tokens: [ + '0x4200000000000000000000000000000000000006', // WBTC + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'ton', + tokens: [ + 'EQD8AErK5HbmnftlHQuk8bXC_JuX1COLPeNIfMriw23gfO3I', // TON, + 'EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs', // USDT, + 'EQBh9XACT0B60U8Q48VnjyqCxzxpM4oA0c8rqKt4h70yk1V5', // UXLINK, + 'EQD-cvR0Nz6XAyRBvbhz-abTrRC6sI5tvHvvpeQraV9UAAD7', // CATI + ], + holders: [ + 'EQDpUHhVl5lJ6Y47DCd0TWdXB_kd-U-N6KyAELePNjfj15HT' // portal + ] + }, + { + name: 'cronos_zkevm', + tokens: [ + '0xaa5b845F8C9c047779bEDf64829601d8B264076c', // USDC + ], + holders: [ + '0x2E818E50b913457015E1277B43E469b63AC5D3d7' // portal + ] + }, + { + name: 'morph', + tokens: [ + '0xe34c91815d7fc18A9e2148bcD4241d0a5848b693', // USDC + ], + holders: [ + '0x292fC50e4eB66C3f6514b9E402dBc25961824D62' // portal + ] + }, + { + name: 'boba_bnb', + tokens: [ + '0x9f98f9f312d23d078061962837042b8918e6aff2', // USDC + ], + holders: [ + '0x6148FD6C649866596C3d8a971fC313E5eCE84882' // portal + ] + } ] } \ No newline at end of file diff --git a/projects/symbiosis-finance/index.js b/projects/symbiosis-finance/index.js index 6df91ba4bcf4..794479e66c04 100644 --- a/projects/symbiosis-finance/index.js +++ b/projects/symbiosis-finance/index.js @@ -1,15 +1,28 @@ const config = require("./config"); const { sumTokensExport } = require('../helper/unwrapLPs') +const { sumTokensExport: sumTon } = require('../helper/chain/ton') module.exports = { - methodology: 'Counts the amount of stables locked in Symbiosis protocol contracts: Portals V1, NervePools V1, Portals V2, OmniPool V2', + methodology: 'Counts the amount of stables locked in Symbiosis protocol contracts: Portals V2', }; config.chains.forEach(chainInfo => { const {name: chain, tokens, holders} = chainInfo - module.exports[chain] = { - tvl: sumTokensExport({ chain, tokens, owners: holders }) + + if (chain === 'ton') { + module.exports[chain] = { + tvl: sumTon({ chain, tokens, owners: holders }) + } + } else { + module.exports[chain] = { + tvl: sumTokensExport({ chain, tokens, owners: holders }) + } } }) -module.exports.boba_avax.tvl = () => ({}) \ No newline at end of file +const deprecatedChains = ['aurora', 'boba_avax'] +deprecatedChains.forEach(chain => { + module.exports[chain] = { + tvl: () => ({}) + } +}) \ No newline at end of file diff --git a/utils/scripts/useTokenLabels.js b/utils/scripts/useTokenLabels.js index 36a873063971..f7c233fef1ed 100644 --- a/utils/scripts/useTokenLabels.js +++ b/utils/scripts/useTokenLabels.js @@ -28,7 +28,10 @@ function run() { run() +const ignoredFolders = ['symbiosis-finance', 'node_modules'] + function updateFile(file) { + if (ignoredFolders.some(s => file.includes(s))) return; let relativePath = path.relative(file + '/..', allLabelsFile) if (relativePath.startsWith('coreAssets')) relativePath = './' + relativePath const requireStr = `const ADDRESSES = require('${relativePath}')\n`