From 9d26cf6a0f23c14731ba6fdacdcd1ea1fdc51076 Mon Sep 17 00:00:00 2001 From: 0xngmi <0xngmi@protonmail.com> Date: Mon, 6 May 2024 20:04:35 +0100 Subject: [PATCH] ft clubs --- projects/friendtech/index.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/projects/friendtech/index.js b/projects/friendtech/index.js index 7fb68a730900..0b9e3f6880dd 100644 --- a/projects/friendtech/index.js +++ b/projects/friendtech/index.js @@ -1,13 +1,20 @@ const { sumTokens2, nullAddress } = require('../helper/unwrapLPs') const contract = "0xcf205808ed36593aa40a44f10c7f7c2f67d4a4d4" +const clubs = "0x201e95f275f39a5890c976dc8a3e1b4af114e635" -async function tvl(time, ethBlock, _b, {api}) { - return sumTokens2({ tokens: [nullAddress], owner: contract, api }) +async function tvl(api) { + return sumTokens2({ tokens: [ + nullAddress, + "0x0bD4887f7D41B35CD75DFF9FfeE2856106f86670" + ], owners: [ + contract, + clubs + ], api }) } module.exports = { - methodology: `We count the ETH on ${contract}`, + methodology: `We count the ETH on ${contract} and FRIEND on ${clubs}`, base: { tvl }