From 28c5c810929218c41289fc8cd8339f564ce48eb5 Mon Sep 17 00:00:00 2001 From: larkloss Date: Mon, 6 May 2024 22:47:41 +0800 Subject: [PATCH] Add more info of SHUI (#10094) * Added more info for SHUI * Revert "Added more info for SHUI" This reverts commit 6966ad38132566bf467a300a9a9280bf36b60d8a. * Added more info for SHUI * Added and more info for SHUI (fixed previous pr) * Fixed pool2 function, now the contract should be right --- projects/shui/index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/projects/shui/index.js b/projects/shui/index.js index 5dcf760928c9..dfade6235e9e 100644 --- a/projects/shui/index.js +++ b/projects/shui/index.js @@ -1,7 +1,11 @@ const ADDRESSES = require('../helper/coreAssets.json') const SCFX_TokenAddress = "0x1858a8d367e69cd9E23d0Da4169885a47F05f1bE"; +const { sumTokensExport, } = require("../helper/unknownTokens"); +const SHUI2CFX = "0x4f57462a355902d6263aC4E8F6CE7Bf215B577F2"; const WCFX = ADDRESSES.conflux.WCFX; +const CFX_SHUI_LP_TokenAddress = "0x561c1412D926b3D75BaB15ABA1d7c10E31Ffb721"; +const CFX_SCFX_LP_TokenAddress = "0x41e9e50952d8a2e489d0b866b78835bc2ad2a0fa"; module.exports = { conflux: { @@ -17,6 +21,7 @@ module.exports = { return { ["conflux:" + WCFX]: totalDeposited * ratioDepositedBySupply / 1e9 }; - } + }, + pool2: sumTokensExport({ owner: SHUI2CFX, coreAssets: [WCFX], tokens: [CFX_SHUI_LP_TokenAddress, CFX_SCFX_LP_TokenAddress] }), } -}; \ No newline at end of file +};