Skip to content

Commit a6d9045

Browse files
samswealthsamswealthg1nt0ki
authored
add commonwealth tvl (DefiLlama#12219)
Co-authored-by: samswealth <[email protected]> Co-authored-by: g1nt0ki <[email protected]>
1 parent 18bdd69 commit a6d9045

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

projects/commonwealth/index.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
const { staking } = require('../helper/staking');
2+
3+
const TREASURY = [
4+
'0xdE70B8BC5215BdF03f839BB8cD0F639D4E3E2881',
5+
'0xA205fD6A798A9Ba8b107A00b8A6a5Af742d6aCb5',
6+
'0x990eCdf73704f9114Ee28710D171132b5Cfdc6f0',
7+
'0xa653879692D4D0e6b6E0847ceDd58eAD2F1CC136'
8+
]
9+
10+
11+
const CONTRACTS = [
12+
'0xf4aa59f5192856f41ae19caab4929ccd3a265e70', // staked
13+
'0x7519461fbd96abb539c770d57f38c2e91f8262aa',
14+
'0xd7e31990883250e53314b15ee555345f04d011e8',
15+
'0x87412c03979cc19c60071f5f98313a7cbe9f6d65', // rewards
16+
17+
];
18+
19+
const WLTH = '0x99b2B1A2aDB02B38222ADcD057783D7e5D1FCC7D';
20+
21+
module.exports = {
22+
base: {
23+
tvl: () => ({}),
24+
staking: staking(CONTRACTS, WLTH)
25+
}
26+
};

projects/treasury/commonwealth.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
const { treasuryExports } = require("../helper/treasury");
2+
3+
const owners = [
4+
'0xdE70B8BC5215BdF03f839BB8cD0F639D4E3E2881',
5+
'0xA205fD6A798A9Ba8b107A00b8A6a5Af742d6aCb5',
6+
'0x990eCdf73704f9114Ee28710D171132b5Cfdc6f0',
7+
'0xa653879692D4D0e6b6E0847ceDd58eAD2F1CC136'
8+
]
9+
10+
const WLTH = '0x99b2B1A2aDB02B38222ADcD057783D7e5D1FCC7D';
11+
module.exports = treasuryExports({
12+
base: { owners, ownTokens: [WLTH], },
13+
})

0 commit comments

Comments
 (0)