From 60de9a1f22975020cfc8873729ac4578481e223c Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Thu, 25 Jul 2024 19:38:31 +0300 Subject: [PATCH] track dinero staking --- projects/dinero/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/dinero/index.js b/projects/dinero/index.js index e5f80edc313a..31c114114ff0 100644 --- a/projects/dinero/index.js +++ b/projects/dinero/index.js @@ -1,13 +1,15 @@ const { nullAddress } = require("../helper/unwrapLPs"); +const { sumERC4626VaultsExport } = require("../helper/erc4626"); module.exports = { ethereum: { tvl: async (api) => { - const totalSupply = await api.call({ target: '0x04C154b66CB340F3Ae24111CC767e0184Ed00Cc6', abi: 'uint256:totalSupply'}); - + const totalSupply = await api.call({ target: '0x04C154b66CB340F3Ae24111CC767e0184Ed00Cc6', abi: 'uint256:totalSupply' }); + return { [nullAddress]: totalSupply }; - } + }, + staking: sumERC4626VaultsExport({ vaults: ['0x55769490c825CCb09b2A6Ae955203FaBF04857fd'], isOG4626: true, }) } };