File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,10 @@ const fixBalancesTokens = {
115
115
'0x48b62137EdfA95a428D35C09E44256a739F6B557' : { coingeckoId : 'wrapped-apecoin' , decimals : 18 } ,
116
116
'0xA2235d059F80e176D931Ef76b6C51953Eb3fBEf4' : { coingeckoId : 'savings-dai' , decimals : 18 } ,
117
117
'0xcF800F4948D16F23333508191B1B1591daF70438' : { coingeckoId : 'staked-ether' , decimals : 18 } ,
118
- }
118
+ } ,
119
+ zircuit : {
120
+ '0x4200000000000000000000000000000000000006' : { coingeckoId : 'ethereum' , decimals : 18 } ,
121
+ } ,
119
122
}
120
123
121
124
ibcChains . forEach ( chain => fixBalancesTokens [ chain ] = { ...ibcMappings , ...( fixBalancesTokens [ chain ] || { } ) } )
Original file line number Diff line number Diff line change @@ -150,10 +150,14 @@ const HYPE_REGISTRY = {
150
150
zircuit : [
151
151
[ "0xC27DDd78FC49875Fe6F844B72bbf31DFBB099881" , 1216191 ] , // Gmeow
152
152
[ "0x683292172E2175bd08e3927a5e72FC301b161300" , 1216165 ] , // Circuit
153
+ [ "0x17307DaC1384719d263556aAcC3e62c0053FE25D" , 4826564 ] , // Ocelex
153
154
] ,
154
155
wc : [
155
156
[ "0xC27DDd78FC49875Fe6F844B72bbf31DFBB099881" , 4799965 ] , // Uniswap
156
157
] ,
158
+ apechain : [
159
+ [ "0xC27DDd78FC49875Fe6F844B72bbf31DFBB099881" , 476343 ] , // Camelot
160
+ ] ,
157
161
} ;
158
162
159
163
Object . keys ( HYPE_REGISTRY ) . forEach ( chain => {
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ const getTotalAmounts =
5
5
"function getTotalAmounts() view returns (uint256 total0, uint256 total1)" ;
6
6
const { getUniqueAddresses } = require ( "../helper/utils" ) ;
7
7
const config = require ( "./config" ) ;
8
+ const { sumTokens2 } = require ( '../helper/unwrapLPs' )
8
9
9
10
module . exports = {
10
11
doublecounted : true ,
@@ -53,7 +54,7 @@ Object.keys(config).forEach(chain => {
53
54
api . add ( token0s [ i ] , total0 ) ;
54
55
api . add ( token1s [ i ] , total1 ) ;
55
56
} ) ;
56
- return api . getBalances ( )
57
+ return sumTokens2 ( { api } )
57
58
}
58
59
}
59
60
} )
You can’t perform that action at this time.
0 commit comments