From 86580b770adb32dd0b6b5bd68d77ae43189e262b Mon Sep 17 00:00:00 2001 From: luoyhang003 Date: Wed, 26 Nov 2025 00:24:26 +0800 Subject: [PATCH] Add StakeStone USD --- projects/stakestone-stoneusd/index.js | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 projects/stakestone-stoneusd/index.js diff --git a/projects/stakestone-stoneusd/index.js b/projects/stakestone-stoneusd/index.js new file mode 100644 index 00000000000..0e64af77b38 --- /dev/null +++ b/projects/stakestone-stoneusd/index.js @@ -0,0 +1,30 @@ +const STONEUSD_ETH = '0x6A6E3a4396993A4eC98a6f4A654Cc0819538721e'; +const STONEUSD_MONAD = '0x095957CEB9f317ac1328f0aB3123622401766D71'; + +const ethTvl = async (api) => { + const totalSupply = await api.call({ + abi: 'erc20:totalSupply', + target: STONEUSD_ETH, + }); + + api.add(STONEUSD_ETH, totalSupply) +} + +const monadTvl = async (api) => { + const totalSupply = await api.call({ + abi: 'erc20:totalSupply', + target: STONEUSD_MONAD, + }); + + api.add(STONEUSD_MONAD, totalSupply) +} + +module.exports = { + ethereum: { + tvl: ethTvl, + }, + monad: { + tvl: monadTvl, + }, + doublecounted: false +}