From 60027d20f7937fa23522bdce245d366f1fd86546 Mon Sep 17 00:00:00 2001 From: Kleber Date: Fri, 7 Nov 2025 10:19:47 -0300 Subject: [PATCH] Add TVL data. --- projects/tokeniza/index.js | 50 ++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/projects/tokeniza/index.js b/projects/tokeniza/index.js index 6e1a51dfc65..4c74a70698b 100644 --- a/projects/tokeniza/index.js +++ b/projects/tokeniza/index.js @@ -1,29 +1,33 @@ const ADDRESSES = require('../helper/coreAssets.json') const { nullAddress, treasuryExports } = require("../helper/treasury"); +const { get } = require('../helper/http') const treasury = "0xbaECbdde43C6c6a167c37d5b789023592B27fF93"; -module.exports = treasuryExports({ +async function moonbeamTvl(api) { + const data = await get('https://plataforma.tokeniza.com.br/api/v1/assets/getTVL?network=MOONBEAN') + const tvl = parseFloat(data.tvl) + api.add(ADDRESSES.moonbeam.USDC, tvl * 1e6) +} + +module.exports = { + methodology: 'The Tokeniza TVL represents the total USD value of all tokenized NFTs and assets purchased through the Tokeniza platform, combined with the balance held in Tokeniza’s internal wallets. This methodology reflects the on-chain value of regulated Real World Assets (RWA) issued and managed by Tokeniza.', moonbeam: { - tokens: [ - nullAddress, - ADDRESSES.moonbeam.USDT, - ADDRESSES.moonbeam.USDC, - ADDRESSES.moonbeam.WGLMR - ], - owners: [treasury] - }, - ethereum: { - tokens: [ - nullAddress, - ADDRESSES.ethereum.USDT - ], - owners: [treasury] - }, - polygon: { - tokens: [ - nullAddress, - ADDRESSES.polygon.USDT - ], - owners: [treasury] + tvl: moonbeamTvl }, -}) \ No newline at end of file + ...treasuryExports({ + ethereum: { + tokens: [ + nullAddress, + ADDRESSES.ethereum.USDT + ], + owners: [treasury] + }, + polygon: { + tokens: [ + nullAddress, + ADDRESSES.polygon.USDT + ], + owners: [treasury] + }, + }) +} \ No newline at end of file