Skip to content

Commit 1d56eaf

Browse files
Add Windfall Project Adapter (DefiLlama#12888)
Co-authored-by: g1nt0ki <[email protected]>
1 parent a04af3b commit 1d56eaf

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

projects/windfall/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const { sumTokensExport } = require("../helper/unwrapLPs")
2+
const ADDRESSES = require('../helper/coreAssets.json')
3+
4+
module.exports = {
5+
methodology: 'Counts the number of tokens in the Windfall contract.',
6+
};
7+
8+
const config = {
9+
canto: { tokens: ['0xEe602429Ef7eCe0a13e4FfE8dBC16e101049504C'], owners: ['0x2d9dDE57Ec40baF970Dbc8f7933861013B661c93'] },
10+
blast: { tokens: [ADDRESSES.blast.USDB, ADDRESSES.blast.WETH], owners: ['0x0a4C236254C4C0bD5DD710f1fa12D7791d491358', '0x6d89540c22868ff9e3676423162a9e909BBB2558',] },
11+
}
12+
13+
Object.keys(config).forEach(chain => {
14+
module.exports[chain] = {
15+
tvl: sumTokensExport(config[chain])
16+
}
17+
})

0 commit comments

Comments
 (0)