From add145a1c3ec6c6eb8297f6e4a406a29837b57e4 Mon Sep 17 00:00:00 2001 From: Andrei Simion Date: Fri, 23 Aug 2024 17:18:55 +0700 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=8C=B6=20added=20Tanukix=20DEX=20on=20?= =?UTF-8?q?the=20Taiko=20chain=20(#11396)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🌶 added Tanukix DEX on the Taiko chain * code refactor --------- Co-authored-by: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> --- projects/helper/tokenMapping.js | 3 +++ projects/tanukix/index.js | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 projects/tanukix/index.js diff --git a/projects/helper/tokenMapping.js b/projects/helper/tokenMapping.js index db830e49bbb..46ff851fd19 100644 --- a/projects/helper/tokenMapping.js +++ b/projects/helper/tokenMapping.js @@ -62,6 +62,9 @@ const fixBalancesTokens = { q: { [ADDRESSES.q.WQ]: { coingeckoId: "q-protocol", decimals: 18 }, }, + taiko: { + '0x7d02A3E0180451B17e5D7f29eF78d06F8117106C': { coingeckoId: "dai", decimals: 18 }, + }, } ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) }) diff --git a/projects/tanukix/index.js b/projects/tanukix/index.js new file mode 100644 index 00000000000..a257ba1488a --- /dev/null +++ b/projects/tanukix/index.js @@ -0,0 +1,8 @@ +const { onChainTvl } = require('../helper/balancer') + +module.exports = { + methodology: "Sum of all the tokens locked in TanukiX vault", + taiko: { + tvl: onChainTvl('0x3251e99cEf4b9bA03a6434B767aa5Ad11ca6cc31', 204741) + }, +} \ No newline at end of file