Skip to content

Commit 3f7903e

Browse files
authored
add genesis dao (DefiLlama#11352)
1 parent fb62555 commit 3f7903e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

projects/genesis-dao/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const genAddress = '0x99999999999997fceB5549c58aB66dF52385ca4d';
2+
const sGenAddress = '0x8888888888888e9b808caA0a8BB7e2268fd17351';
3+
4+
async function stakedGen(api) {
5+
const sGenSupply = await api.call({
6+
abi: 'erc20:totalSupply',
7+
target: sGenAddress
8+
});
9+
10+
api.add(genAddress, sGenSupply)
11+
}
12+
13+
module.exports = {
14+
ethereum: {
15+
tvl: () => ({}),
16+
staking: stakedGen
17+
}
18+
};

0 commit comments

Comments
 (0)