@@ -2,40 +2,57 @@ const { sumTokensExport } = require('../helper/unwrapLPs')
2
2
3
3
const config = {
4
4
avax : {
5
- chaingeAddress : "0xB4623b02A0D9bCf0282600C08E4383c04A0E0AfC" ,
5
+ owners : [
6
+ "0xB4623b02A0D9bCf0282600C08E4383c04A0E0AfC" ,
7
+ "0x29Ff7d778890F40ccE8E74de67D082c0e2DCc1Bc"
8
+ ] ,
6
9
tokens : [
7
10
"0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"
8
11
]
9
12
} ,
10
13
polygon : {
11
- chaingeAddress : "0x1e579a1AE5DA042C925902F3Efec1035C9329283" ,
14
+ owners : [
15
+ "0x1e579a1AE5DA042C925902F3Efec1035C9329283" ,
16
+ "0x29Ff7d778890F40ccE8E74de67D082c0e2DCc1Bc" ,
17
+ "0xA4F335B528a24eBDeA10e5CcE14E9750929BBE34"
18
+ ] ,
12
19
tokens : [
13
20
"0xc2132D05D31c914a87C6611C10748AEb04B58e8F"
14
21
]
15
22
} ,
16
23
base : {
17
- chaingeAddress : "0xEcc253aeAeC63bcB2b8eC6A739A0972A817219A3" ,
24
+ owners : [
25
+ "0xEcc253aeAeC63bcB2b8eC6A739A0972A817219A3" ,
26
+ "0x29Ff7d778890F40ccE8E74de67D082c0e2DCc1Bc"
27
+ ] ,
18
28
tokens : [
19
29
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
20
30
]
21
31
} ,
22
32
bsc : {
23
- chaingeAddress : "0x916A6314e9d8E51BEB18b355ad52b4506262620f" ,
33
+ owners : [
34
+ "0x916A6314e9d8E51BEB18b355ad52b4506262620f" ,
35
+ "0x29Ff7d778890F40ccE8E74de67D082c0e2DCc1Bc"
36
+ ] ,
24
37
tokens : [
25
38
"0x55d398326f99059fF775485246999027B3197955"
26
39
]
27
40
} ,
28
41
celo : {
29
- chaingeAddress : "0x65583D94d848E398dE3ef8382e5827000eb99961" ,
42
+ owners : [
43
+ "0x65583D94d848E398dE3ef8382e5827000eb99961" ,
44
+ "0x29Ff7d778890F40ccE8E74de67D082c0e2DCc1Bc"
45
+ ] ,
30
46
tokens : [
31
47
"0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e"
32
48
]
33
49
}
34
50
}
35
51
36
- Object . keys ( config ) . forEach ( chain => {
37
- const { chaingeAddress, tokens } = config [ chain ]
52
+ Object . keys ( config ) . forEach ( async ( chain ) => {
53
+ const { owners, tokens } = config [ chain ]
54
+
38
55
module . exports [ chain ] = {
39
- tvl : sumTokensExport ( { owner : chaingeAddress , tokens } )
56
+ tvl : sumTokensExport ( { owners : owners , tokens } )
40
57
}
41
- } )
58
+ } ) ;
0 commit comments