forked from IndexCoop/index-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tokenlists.ts
87 lines (84 loc) · 1.73 KB
/
tokenlists.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import {
BedIndex,
Bitcoin2xFlexibleLeverageIndex,
CoinDeskEthTrendIndex,
DAI,
DefiPulseIndex,
DiversifiedStakedETHIndex,
ETH,
Ethereum2xFlexibleLeverageIndex,
GitcoinStakedETHIndex,
GUSD,
HighYieldETHIndex,
ic21,
icETHIndex,
IndexCoopBitcoin2xIndex,
IndexCoopEthereum2xIndex,
IndexToken,
MetaverseIndex,
RETH,
SETH2,
STETH,
USDC,
USDT,
WBTC,
WETH,
WSTETH,
} from '@/constants/tokens'
// Add new currencies here as well to fetch all balances
export const currencies = [
ETH,
WETH,
USDC,
USDT,
DAI,
GUSD,
WBTC,
RETH,
SETH2,
STETH,
WSTETH,
]
export const indicesTokenListArbitrum = [
DefiPulseIndex,
MetaverseIndex,
HighYieldETHIndex,
]
const isDevEnv =
process.env.NEXT_PUBLIC_VERCEL_ENV === 'development' ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'index-app-staging'
// Keeping a separate list for dev/staging and production to be able to include
// indices that have not been released yet.
export const indicesTokenList = isDevEnv
? [
IndexCoopEthereum2xIndex,
IndexCoopBitcoin2xIndex,
CoinDeskEthTrendIndex,
ic21,
DiversifiedStakedETHIndex,
icETHIndex,
GitcoinStakedETHIndex,
HighYieldETHIndex,
DefiPulseIndex,
MetaverseIndex,
Ethereum2xFlexibleLeverageIndex,
Bitcoin2xFlexibleLeverageIndex,
BedIndex,
IndexToken,
]
: [
IndexCoopEthereum2xIndex,
IndexCoopBitcoin2xIndex,
CoinDeskEthTrendIndex,
ic21,
DiversifiedStakedETHIndex,
icETHIndex,
GitcoinStakedETHIndex,
HighYieldETHIndex,
DefiPulseIndex,
MetaverseIndex,
Ethereum2xFlexibleLeverageIndex,
Bitcoin2xFlexibleLeverageIndex,
BedIndex,
IndexToken,
]