File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 331331 " proton" ,
332332 " provenance" ,
333333 " pryzm" ,
334+ " ptb" ,
334335 " pulse" ,
335336 " q" ,
336337 " qom" ,
Original file line number Diff line number Diff line change 1+ const { sumTokensExport } = require ( '../helper/sumTokens' )
2+
3+ const ETHEREUM_STAKING_CONTRACT = '0x0e9bD42dE657fF590d214CcC8d4f94B77D2BD908' ;
4+ const ETH = '0x0000000000000000000000000000000000000000' ;
5+ const PTB = '0x30a25CC9c9EADe4D4d9e9349BE6e68c3411367D3' ;
6+ const USDC = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ;
7+
8+ const cfg = {
9+ ethereum : {
10+ owners : [ ETHEREUM_STAKING_CONTRACT ] ,
11+ tokens : [ ETH , PTB , USDC ] ,
12+ } ,
13+ }
14+
15+ module . exports = {
16+ methodology :
17+ 'TVL = Portal staking contract balances. No AMM liquidity included because Portal uses atomic swaps.' ,
18+
19+ ...Object . fromEntries (
20+ Object . entries ( cfg ) . map ( ( [ chain , { owners, tokens } ] ) => [
21+ chain ,
22+ {
23+ tvl : sumTokensExport ( { owners, tokens } ) ,
24+ } ,
25+ ] )
26+ )
27+
28+ }
You can’t perform that action at this time.
0 commit comments