Add FOOM.Cash (#16792)

This commit is contained in:
foom-cash
2025-10-23 15:32:21 +01:00
committed by GitHub
parent 05c2b05627
commit 503956db39
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
const tokens = {
ethereum: {
FOOM: '0xd0D56273290D339aaF1417D9bfa1bb8cFe8A0933'
},
base: {
FOOM: '0x02300ac24838570012027e0a90d3feccef3c51d2'
},
};
module.exports = {
ethereum: [
{
tokens: [tokens.ethereum.FOOM],
holders: [
"0x239AF915abcD0a5DCB8566e863088423831951f8",
],
},
],
base: [
{
tokens: [tokens.base.FOOM],
holders: [
"0xdb203504ba1fea79164AF3CeFFBA88C59Ee8aAfD",
],
},
],
};

View File

@@ -0,0 +1,16 @@
const { sumTokensExport } = require('../helper/unwrapLPs.js')
const config = require('./config.js')
Object.keys(config).forEach(chain => {
const tokensAndOwners = config[chain]
.map(({ tokens, holders }) =>
holders.flatMap(o => tokens.map(t => [t, o]))
)
.flat()
module.exports[chain] = {
tvl: () => ({}),
staking: sumTokensExport({ tokensAndOwners }),
}
})