From ffc0ad7321e62dc683fb82b62bf879194267d3bd Mon Sep 17 00:00:00 2001 From: wayne Date: Tue, 16 Dec 2025 16:21:37 +0000 Subject: [PATCH] chateau --- projects/chateau/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 projects/chateau/index.js diff --git a/projects/chateau/index.js b/projects/chateau/index.js new file mode 100644 index 0000000000..0a13a70f01 --- /dev/null +++ b/projects/chateau/index.js @@ -0,0 +1,13 @@ +module.exports = { + methodology: + "chUSD TVL is tracked via totalSupply().", + plasma: { + tvl: async (api) => { + const rawSupply = await api.call({ + target: '0x22222215d4Edc5510d23D0886133E7eCE7f5fdC1', + abi: "erc20:totalSupply" + }); + api.addCGToken("usd-coin", rawSupply / 1e18); + }, + }, +}; \ No newline at end of file