From 15354e8cf22e839f3b465710713fec8fa8e1e19a Mon Sep 17 00:00:00 2001 From: Testingtester2 <151787101+Testingtester2@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:19:47 -0400 Subject: [PATCH 1/3] Update index.js Add Shibaswap-Shibarium --- projects/shibaswap/index.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/projects/shibaswap/index.js b/projects/shibaswap/index.js index 772fb8ccf369..997db6b0e14a 100644 --- a/projects/shibaswap/index.js +++ b/projects/shibaswap/index.js @@ -1,12 +1,13 @@ -const {getUniTVL} = require('../helper/unknownTokens') +const { getUniTVL } = require('../helper/unknownTokens'); -const FACTORY = '0x115934131916c8b277dd010ee02de363c09d037c'; +const FACTORY_ETHEREUM = '0x115934131916c8b277dd010ee02de363c09d037c'; +const FACTORY_SHIBARIUM = '0xEF83bbB63E8A7442E3a4a5d28d9bBf32D7c813c8'; module.exports = { misrepresentedTokens: true, ethereum: { tvl: getUniTVL({ - factory: FACTORY, + factory: FACTORY_ETHEREUM, useDefaultCoreAssets: true, blacklist: [ '0x6ADb2E268de2aA1aBF6578E4a8119b960E02928F', @@ -17,5 +18,11 @@ module.exports = { '0xC1bfcCd4c29813eDe019D00D2179Eea838a67703' ], }) + }, + shibarium: { + tvl: getUniTVL({ + factory: FACTORY_SHIBARIUM, + useDefaultCoreAssets: true, + }) } -}; \ No newline at end of file +}; From 9e6647e949056b77777be2af5e665429e3c58420 Mon Sep 17 00:00:00 2001 From: Testingtester2 <151787101+Testingtester2@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:55:07 -0400 Subject: [PATCH 2/3] Update index.js --- projects/shibaswap/index.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/projects/shibaswap/index.js b/projects/shibaswap/index.js index 997db6b0e14a..a90500afeac8 100644 --- a/projects/shibaswap/index.js +++ b/projects/shibaswap/index.js @@ -1,7 +1,7 @@ const { getUniTVL } = require('../helper/unknownTokens'); +const { uniTvlExport } = require('../helper/exports'); const FACTORY_ETHEREUM = '0x115934131916c8b277dd010ee02de363c09d037c'; -const FACTORY_SHIBARIUM = '0xEF83bbB63E8A7442E3a4a5d28d9bBf32D7c813c8'; module.exports = { misrepresentedTokens: true, @@ -19,10 +19,5 @@ module.exports = { ], }) }, - shibarium: { - tvl: getUniTVL({ - factory: FACTORY_SHIBARIUM, - useDefaultCoreAssets: true, - }) - } + shibarium: uniTvlExport('shibarium', '0xEF83bbB63E8A7442E3a4a5d28d9bBf32D7c813c8', { hasStablePools: true }) }; From 77c697bf382bac37523d665d2e4fbbd2fdfece4e Mon Sep 17 00:00:00 2001 From: Testingtester2 <151787101+Testingtester2@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:06:01 -0400 Subject: [PATCH 3/3] Update index.js --- projects/shibaswap/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/shibaswap/index.js b/projects/shibaswap/index.js index a90500afeac8..7e696f359f41 100644 --- a/projects/shibaswap/index.js +++ b/projects/shibaswap/index.js @@ -19,5 +19,7 @@ module.exports = { ], }) }, - shibarium: uniTvlExport('shibarium', '0xEF83bbB63E8A7442E3a4a5d28d9bBf32D7c813c8', { hasStablePools: true }) + shibarium: { + tvl: uniTvlExport('shibarium', '0xEF83bbB63E8A7442E3a4a5d28d9bBf32D7c813c8', { hasStablePools: true }) + } };