Skip to content

Commit

Permalink
ft clubs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed May 6, 2024
1 parent 9662cdc commit 9d26cf6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions projects/friendtech/index.js
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down

0 comments on commit 9d26cf6

Please sign in to comment.