@lifi/data-types 4.10.4 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +28 -69
- package/{dist/cjs → src/_cjs}/chains/index.js +4 -16
- package/src/_cjs/chains/index.js.map +1 -0
- package/src/_cjs/chains/supportedChains.evm.int.spec.js +33 -0
- package/src/_cjs/chains/supportedChains.evm.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.evm.js +132 -302
- package/src/_cjs/chains/supportedChains.evm.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.js +1 -3
- package/src/_cjs/chains/supportedChains.js.map +1 -0
- package/src/_cjs/chains/supportedChains.svm.int.spec.js +45 -0
- package/src/_cjs/chains/supportedChains.svm.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.svm.js +5 -1
- package/src/_cjs/chains/supportedChains.svm.js.map +1 -0
- package/src/_cjs/chains/supportedChains.unit.spec.js +87 -0
- package/src/_cjs/chains/supportedChains.unit.spec.js.map +1 -0
- package/src/_cjs/chains/supportedChains.utxo.int.spec.js +43 -0
- package/src/_cjs/chains/supportedChains.utxo.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/supportedChains.utxo.js +5 -7
- package/src/_cjs/chains/supportedChains.utxo.js.map +1 -0
- package/{dist/cjs → src/_cjs}/chains/utils.js +1 -0
- package/src/_cjs/chains/utils.js.map +1 -0
- package/src/_cjs/coins/coins.int.spec.js +21 -0
- package/src/_cjs/coins/coins.int.spec.js.map +1 -0
- package/{dist/cjs → src/_cjs}/coins/coins.js +7 -81
- package/src/_cjs/coins/coins.js.map +1 -0
- package/src/_cjs/coins/index.js +5 -0
- package/src/_cjs/coins/index.js.map +1 -0
- package/src/_cjs/index.js +7 -0
- package/src/_cjs/index.js.map +1 -0
- package/{dist/cjs → src/_cjs}/multicall.js +1 -26
- package/src/_cjs/multicall.js.map +1 -0
- package/src/_cjs/package.json +1 -0
- package/{dist → src/_esm}/chains/index.js +1 -0
- package/src/_esm/chains/index.js.map +1 -0
- package/src/_esm/chains/supportedChains.evm.int.spec.js +31 -0
- package/src/_esm/chains/supportedChains.evm.int.spec.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.evm.js +139 -266
- package/src/_esm/chains/supportedChains.evm.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.js +1 -0
- package/src/_esm/chains/supportedChains.js.map +1 -0
- package/src/_esm/chains/supportedChains.svm.int.spec.js +43 -0
- package/src/_esm/chains/supportedChains.svm.int.spec.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.svm.js +6 -2
- package/src/_esm/chains/supportedChains.svm.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.unit.spec.js +7 -3
- package/src/_esm/chains/supportedChains.unit.spec.js.map +1 -0
- package/src/_esm/chains/supportedChains.utxo.int.spec.js +41 -0
- package/src/_esm/chains/supportedChains.utxo.int.spec.js.map +1 -0
- package/{dist → src/_esm}/chains/supportedChains.utxo.js +6 -8
- package/src/_esm/chains/supportedChains.utxo.js.map +1 -0
- package/{dist → src/_esm}/chains/utils.js +1 -0
- package/src/_esm/chains/utils.js.map +1 -0
- package/src/_esm/coins/coins.int.spec.js +21 -0
- package/src/_esm/coins/coins.int.spec.js.map +1 -0
- package/{dist → src/_esm}/coins/coins.js +8 -10
- package/src/_esm/coins/coins.js.map +1 -0
- package/src/_esm/coins/index.js +2 -0
- package/src/_esm/coins/index.js.map +1 -0
- package/{dist → src/_esm}/index.js +1 -0
- package/src/_esm/index.js.map +1 -0
- package/{dist → src/_esm}/multicall.js +17 -16
- package/src/_esm/multicall.js.map +1 -0
- package/src/_esm/package.json +1 -0
- package/{dist → src/_types}/chains/index.d.ts +1 -0
- package/src/_types/chains/index.d.ts.map +1 -0
- package/{dist/cjs → src/_types}/chains/supportedChains.d.ts +2 -1
- package/src/_types/chains/supportedChains.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.evm.d.ts +9 -0
- package/src/_types/chains/supportedChains.evm.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.evm.int.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.evm.int.spec.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.svm.d.ts +3 -0
- package/src/_types/chains/supportedChains.svm.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.svm.int.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.svm.int.spec.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.unit.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.unit.spec.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.utxo.d.ts +3 -0
- package/src/_types/chains/supportedChains.utxo.d.ts.map +1 -0
- package/src/_types/chains/supportedChains.utxo.int.spec.d.ts +2 -0
- package/src/_types/chains/supportedChains.utxo.int.spec.d.ts.map +1 -0
- package/{dist → src/_types}/chains/utils.d.ts +1 -0
- package/src/_types/chains/utils.d.ts.map +1 -0
- package/{dist → src/_types}/coins/coins.d.ts +3 -1
- package/src/_types/coins/coins.d.ts.map +1 -0
- package/src/_types/coins/coins.int.spec.d.ts +2 -0
- package/src/_types/coins/coins.int.spec.d.ts.map +1 -0
- package/src/_types/coins/index.d.ts +2 -0
- package/src/_types/coins/index.d.ts.map +1 -0
- package/{dist → src/_types}/index.d.ts +1 -0
- package/src/_types/index.d.ts.map +1 -0
- package/{dist/cjs → src/_types}/multicall.d.ts +1 -0
- package/src/_types/multicall.d.ts.map +1 -0
- package/src/chains/index.ts +5 -0
- package/src/chains/supportedChains.evm.int.spec.ts +47 -0
- package/src/chains/supportedChains.evm.ts +902 -0
- package/src/chains/supportedChains.svm.int.spec.ts +60 -0
- package/src/chains/supportedChains.svm.ts +34 -0
- package/src/chains/supportedChains.ts +29 -0
- package/src/chains/supportedChains.unit.spec.ts +114 -0
- package/src/chains/supportedChains.utxo.int.spec.ts +56 -0
- package/src/chains/supportedChains.utxo.ts +93 -0
- package/src/chains/utils.ts +3 -0
- package/src/coins/coins.int.spec.ts +35 -0
- package/src/coins/coins.ts +1930 -0
- package/src/coins/index.ts +1 -0
- package/src/index.ts +3 -0
- package/src/multicall.ts +66 -0
- package/dist/chains/supportedChains.d.ts +0 -4
- package/dist/chains/supportedChains.evm.d.ts +0 -2
- package/dist/chains/supportedChains.svm.d.ts +0 -2
- package/dist/chains/supportedChains.unit.spec.d.ts +0 -1
- package/dist/chains/supportedChains.utxo.d.ts +0 -2
- package/dist/cjs/chains/index.d.ts +0 -5
- package/dist/cjs/chains/supportedChains.evm.d.ts +0 -2
- package/dist/cjs/chains/supportedChains.svm.d.ts +0 -2
- package/dist/cjs/chains/supportedChains.unit.spec.d.ts +0 -1
- package/dist/cjs/chains/supportedChains.unit.spec.js +0 -87
- package/dist/cjs/chains/supportedChains.utxo.d.ts +0 -2
- package/dist/cjs/chains/utils.d.ts +0 -1
- package/dist/cjs/coins/coins.d.ts +0 -26
- package/dist/cjs/coins/coins.int.spec.d.ts +0 -1
- package/dist/cjs/coins/coins.int.spec.js +0 -31
- package/dist/cjs/coins/index.d.ts +0 -1
- package/dist/cjs/coins/index.js +0 -17
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +0 -19
- package/dist/coins/coins.int.spec.d.ts +0 -1
- package/dist/coins/coins.int.spec.js +0 -29
- package/dist/coins/index.d.ts +0 -1
- package/dist/coins/index.js +0 -1
- package/dist/multicall.d.ts +0 -3
|
@@ -0,0 +1,1930 @@
|
|
|
1
|
+
import type { Coin, StaticToken } from '@lifi/types'
|
|
2
|
+
import { ChainId, CoinKey } from '@lifi/types'
|
|
3
|
+
|
|
4
|
+
type BasicToken = {
|
|
5
|
+
address: string
|
|
6
|
+
decimals: number
|
|
7
|
+
name?: string
|
|
8
|
+
symbol?: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type BasicCoin = {
|
|
12
|
+
key: CoinKey
|
|
13
|
+
name: string
|
|
14
|
+
logoURI: string
|
|
15
|
+
verified: boolean
|
|
16
|
+
chains: {
|
|
17
|
+
[key: number]: BasicToken
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const basicCoins: BasicCoin[] = [
|
|
22
|
+
// NATIVE COINS
|
|
23
|
+
// > ETH
|
|
24
|
+
{
|
|
25
|
+
key: CoinKey.ETH,
|
|
26
|
+
name: CoinKey.ETH,
|
|
27
|
+
logoURI:
|
|
28
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
|
|
29
|
+
verified: true,
|
|
30
|
+
chains: {
|
|
31
|
+
[ChainId.ETH]: {
|
|
32
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
33
|
+
decimals: 18,
|
|
34
|
+
},
|
|
35
|
+
[ChainId.BSC]: {
|
|
36
|
+
address: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
|
|
37
|
+
decimals: 18,
|
|
38
|
+
},
|
|
39
|
+
[ChainId.SOL]: {
|
|
40
|
+
address: '7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs',
|
|
41
|
+
decimals: 8,
|
|
42
|
+
name: 'Ether (Wormhole)',
|
|
43
|
+
},
|
|
44
|
+
[ChainId.POL]: {
|
|
45
|
+
address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
46
|
+
decimals: 18,
|
|
47
|
+
},
|
|
48
|
+
[ChainId.DAI]: {
|
|
49
|
+
address: '0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1',
|
|
50
|
+
decimals: 18,
|
|
51
|
+
symbol: 'WETH',
|
|
52
|
+
name: 'Wrapped Ether',
|
|
53
|
+
},
|
|
54
|
+
[ChainId.OPT]: {
|
|
55
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
56
|
+
decimals: 18,
|
|
57
|
+
},
|
|
58
|
+
[ChainId.ARB]: {
|
|
59
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
60
|
+
decimals: 18,
|
|
61
|
+
},
|
|
62
|
+
[ChainId.ERA]: {
|
|
63
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
64
|
+
decimals: 18,
|
|
65
|
+
},
|
|
66
|
+
[ChainId.PZE]: {
|
|
67
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
68
|
+
decimals: 18,
|
|
69
|
+
},
|
|
70
|
+
[ChainId.BAS]: {
|
|
71
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
72
|
+
decimals: 18,
|
|
73
|
+
},
|
|
74
|
+
[ChainId.LNA]: {
|
|
75
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
76
|
+
decimals: 18,
|
|
77
|
+
},
|
|
78
|
+
[ChainId.FTM]: {
|
|
79
|
+
address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
|
|
80
|
+
decimals: 18,
|
|
81
|
+
},
|
|
82
|
+
[ChainId.AVA]: {
|
|
83
|
+
address: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
|
|
84
|
+
decimals: 18,
|
|
85
|
+
symbol: 'WETH.e',
|
|
86
|
+
name: 'Wrapped Ether',
|
|
87
|
+
},
|
|
88
|
+
// [ChainId.ARB]: { // WETH
|
|
89
|
+
// address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
|
|
90
|
+
// decimals: 18,
|
|
91
|
+
[ChainId.ONE]: {
|
|
92
|
+
address: '0x6983d1e6def3690c4d616b13597a09e6193ea013',
|
|
93
|
+
decimals: 18,
|
|
94
|
+
},
|
|
95
|
+
[ChainId.HEC]: {
|
|
96
|
+
address: '0x64ff637fb478863b7468bc97d30a5bf3a428a1fd',
|
|
97
|
+
decimals: 18,
|
|
98
|
+
name: 'Heco-Peg ETH Token',
|
|
99
|
+
},
|
|
100
|
+
[ChainId.BOB]: {
|
|
101
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
102
|
+
decimals: 18,
|
|
103
|
+
},
|
|
104
|
+
[ChainId.MOO]: {
|
|
105
|
+
address: '0xfa9343c3897324496a05fc75abed6bac29f8a40f',
|
|
106
|
+
decimals: 18,
|
|
107
|
+
},
|
|
108
|
+
[ChainId.AUR]: {
|
|
109
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
110
|
+
decimals: 18,
|
|
111
|
+
symbol: 'AETH',
|
|
112
|
+
name: 'AETH',
|
|
113
|
+
},
|
|
114
|
+
// https://evmexplorer.velas.com/token/0x85219708c49aa701871Ad330A94EA0f41dFf24Ca
|
|
115
|
+
[ChainId.VEL]: {
|
|
116
|
+
address: '0x85219708c49aa701871ad330a94ea0f41dff24ca',
|
|
117
|
+
decimals: 18,
|
|
118
|
+
},
|
|
119
|
+
[ChainId.SCL]: {
|
|
120
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
121
|
+
decimals: 18,
|
|
122
|
+
},
|
|
123
|
+
[ChainId.MOD]: {
|
|
124
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
125
|
+
decimals: 18,
|
|
126
|
+
},
|
|
127
|
+
[ChainId.BLS]: {
|
|
128
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
129
|
+
decimals: 18,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
// > MATIC
|
|
134
|
+
{
|
|
135
|
+
key: CoinKey.MATIC,
|
|
136
|
+
name: CoinKey.MATIC,
|
|
137
|
+
logoURI:
|
|
138
|
+
'https://static.debank.com/image/matic_token/logo_url/matic/6f5a6b6f0732a7a235131bd7804d357c.png',
|
|
139
|
+
verified: true,
|
|
140
|
+
chains: {
|
|
141
|
+
[ChainId.ETH]: {
|
|
142
|
+
address: '0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0',
|
|
143
|
+
decimals: 18,
|
|
144
|
+
name: 'Matic Token',
|
|
145
|
+
},
|
|
146
|
+
[ChainId.SOL]: {
|
|
147
|
+
address: 'Gz7VkD4MacbEB6yC5XD3HcumEiYx2EtDYYrfikGsvopG',
|
|
148
|
+
decimals: 8,
|
|
149
|
+
name: 'Wrapped Matic (Wormhole)',
|
|
150
|
+
},
|
|
151
|
+
[ChainId.BSC]: {
|
|
152
|
+
address: '0xcc42724c6683b7e57334c4e856f4c9965ed682bd',
|
|
153
|
+
decimals: 18,
|
|
154
|
+
name: 'Matic Token',
|
|
155
|
+
},
|
|
156
|
+
[ChainId.POL]: {
|
|
157
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
158
|
+
decimals: 18,
|
|
159
|
+
},
|
|
160
|
+
[ChainId.DAI]: {
|
|
161
|
+
address: '0x7122d7661c4564b7c6cd4878b06766489a6028a2',
|
|
162
|
+
decimals: 18,
|
|
163
|
+
name: 'Matic Token',
|
|
164
|
+
},
|
|
165
|
+
// https://evmexplorer.velas.com/token/0x6ab0B8C1a35F9F4Ce107cCBd05049CB1Dbd99Ec5/
|
|
166
|
+
[ChainId.VEL]: {
|
|
167
|
+
address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5',
|
|
168
|
+
decimals: 18,
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
// > BNB
|
|
173
|
+
{
|
|
174
|
+
key: CoinKey.BNB,
|
|
175
|
+
name: CoinKey.BNB,
|
|
176
|
+
logoURI:
|
|
177
|
+
'https://assets.coingecko.com/coins/images/825/small/binance-coin-logo.png?1547034615',
|
|
178
|
+
verified: true,
|
|
179
|
+
chains: {
|
|
180
|
+
[ChainId.ETH]: {
|
|
181
|
+
address: '0xb8c77482e45f1f44de1745f52c74426c631bdd52',
|
|
182
|
+
decimals: 18,
|
|
183
|
+
},
|
|
184
|
+
[ChainId.SOL]: {
|
|
185
|
+
address: '9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa',
|
|
186
|
+
decimals: 8,
|
|
187
|
+
name: 'Binance Coin (Wormhole)',
|
|
188
|
+
},
|
|
189
|
+
[ChainId.BSC]: {
|
|
190
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
191
|
+
decimals: 18,
|
|
192
|
+
},
|
|
193
|
+
[ChainId.POL]: {
|
|
194
|
+
address: '0xa649325aa7c5093d12d6f98eb4378deae68ce23f',
|
|
195
|
+
decimals: 18,
|
|
196
|
+
},
|
|
197
|
+
[ChainId.DAI]: {
|
|
198
|
+
address: '0xca8d20f3e0144a72c6b5d576e9bd3fd8557e2b04',
|
|
199
|
+
decimals: 18,
|
|
200
|
+
symbol: 'WBNB',
|
|
201
|
+
name: 'Wrapped BNB',
|
|
202
|
+
},
|
|
203
|
+
[ChainId.ONE]: {
|
|
204
|
+
address: '0xb1f6e61e1e113625593a22fa6aa94f8052bc39e0',
|
|
205
|
+
decimals: 18,
|
|
206
|
+
symbol: 'bscBNB',
|
|
207
|
+
},
|
|
208
|
+
[ChainId.MOO]: {
|
|
209
|
+
address: '0xc9baa8cfdde8e328787e29b4b078abf2dadc2055',
|
|
210
|
+
decimals: 18,
|
|
211
|
+
},
|
|
212
|
+
// https://evmexplorer.velas.com/token/0x2B8e9cD44C9e09D936149549a8d207c918ecB5C4
|
|
213
|
+
[ChainId.VEL]: {
|
|
214
|
+
address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4',
|
|
215
|
+
decimals: 18,
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
// > DAI
|
|
220
|
+
{
|
|
221
|
+
key: CoinKey.DAI,
|
|
222
|
+
name: 'DAI Stablecoin',
|
|
223
|
+
logoURI:
|
|
224
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png',
|
|
225
|
+
verified: true,
|
|
226
|
+
chains: {
|
|
227
|
+
[ChainId.ETH]: {
|
|
228
|
+
address: '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
229
|
+
decimals: 18,
|
|
230
|
+
},
|
|
231
|
+
[ChainId.SOL]: {
|
|
232
|
+
address: 'EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o',
|
|
233
|
+
decimals: 8,
|
|
234
|
+
name: 'DAI Stablecoin (Wormhole)',
|
|
235
|
+
},
|
|
236
|
+
[ChainId.BSC]: {
|
|
237
|
+
address: '0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3',
|
|
238
|
+
decimals: 18,
|
|
239
|
+
},
|
|
240
|
+
[ChainId.POL]: {
|
|
241
|
+
address: '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
|
|
242
|
+
decimals: 18,
|
|
243
|
+
name: '(PoS) DAI Stablecoin',
|
|
244
|
+
},
|
|
245
|
+
[ChainId.DAI]: {
|
|
246
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
247
|
+
decimals: 18,
|
|
248
|
+
symbol: 'xDAI',
|
|
249
|
+
name: 'xDAI Native Token',
|
|
250
|
+
},
|
|
251
|
+
[ChainId.OPT]: {
|
|
252
|
+
address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
|
|
253
|
+
decimals: 18,
|
|
254
|
+
},
|
|
255
|
+
[ChainId.ERA]: {
|
|
256
|
+
address: '0x4bef76b6b7f2823c6c1f4fcfeacd85c24548ad7e',
|
|
257
|
+
decimals: 18,
|
|
258
|
+
},
|
|
259
|
+
[ChainId.FTM]: {
|
|
260
|
+
address: '0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e',
|
|
261
|
+
decimals: 18,
|
|
262
|
+
},
|
|
263
|
+
[ChainId.ONE]: {
|
|
264
|
+
address: '0xef977d2f931c1978db5f6747666fa1eacb0d0339',
|
|
265
|
+
decimals: 18,
|
|
266
|
+
symbol: '1DAI',
|
|
267
|
+
},
|
|
268
|
+
[ChainId.AVA]: {
|
|
269
|
+
address: '0xd586e7f844cea2f87f50152665bcbc2c279d8d70',
|
|
270
|
+
decimals: 18,
|
|
271
|
+
symbol: 'DAI.e',
|
|
272
|
+
},
|
|
273
|
+
[ChainId.ARB]: {
|
|
274
|
+
address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
|
|
275
|
+
decimals: 18,
|
|
276
|
+
},
|
|
277
|
+
[ChainId.CRO]: {
|
|
278
|
+
address: '0xf2001b145b43032aaf5ee2884e456ccd805f677d',
|
|
279
|
+
decimals: 18,
|
|
280
|
+
},
|
|
281
|
+
[ChainId.FUS]: {
|
|
282
|
+
address: '0x94ba7a27c7a95863d1bdc7645ac2951e0cca06ba',
|
|
283
|
+
decimals: 18,
|
|
284
|
+
name: 'DAI Stablecoin',
|
|
285
|
+
},
|
|
286
|
+
[ChainId.CEL]: {
|
|
287
|
+
address: '0x90ca507a5d4458a4c6c6249d186b6dcb02a5bccd',
|
|
288
|
+
decimals: 18,
|
|
289
|
+
},
|
|
290
|
+
[ChainId.MOO]: {
|
|
291
|
+
address: '0x765277eebeca2e31912c9946eae1021199b39c61',
|
|
292
|
+
decimals: 18,
|
|
293
|
+
},
|
|
294
|
+
[ChainId.BOB]: {
|
|
295
|
+
address: '0xf74195bb8a5cf652411867c5c2c5b8c2a402be35',
|
|
296
|
+
decimals: 18,
|
|
297
|
+
},
|
|
298
|
+
[ChainId.EVM]: {
|
|
299
|
+
address: '0x461d52769884ca6235B685EF2040F47d30C94EB5',
|
|
300
|
+
decimals: 18,
|
|
301
|
+
},
|
|
302
|
+
// https://evmexplorer.velas.com/token/0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D
|
|
303
|
+
[ChainId.VEL]: {
|
|
304
|
+
address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
|
|
305
|
+
decimals: 18,
|
|
306
|
+
},
|
|
307
|
+
[ChainId.BAS]: {
|
|
308
|
+
address: '0x50c5725949a6f0c72e6c4a641f24049a917db0cb',
|
|
309
|
+
decimals: 18,
|
|
310
|
+
},
|
|
311
|
+
[ChainId.MAM]: {
|
|
312
|
+
address: '0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0',
|
|
313
|
+
decimals: 18,
|
|
314
|
+
name: 'Metis DAI',
|
|
315
|
+
symbol: 'm.DAI',
|
|
316
|
+
},
|
|
317
|
+
[ChainId.SCL]: {
|
|
318
|
+
address: '0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97',
|
|
319
|
+
decimals: 18,
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
// > FTM
|
|
324
|
+
{
|
|
325
|
+
key: CoinKey.FTM,
|
|
326
|
+
name: CoinKey.FTM,
|
|
327
|
+
logoURI:
|
|
328
|
+
'https://static.debank.com/image/ftm_token/logo_url/ftm/33fdb9c5067e94f3a1b9e78f6fa86984.png',
|
|
329
|
+
verified: true,
|
|
330
|
+
chains: {
|
|
331
|
+
[ChainId.FTM]: {
|
|
332
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
333
|
+
decimals: 18,
|
|
334
|
+
},
|
|
335
|
+
[ChainId.SOL]: {
|
|
336
|
+
address: '8gC27rQF4NEDYfyf5aS8ZmQJUum5gufowKGYRRba4ENN',
|
|
337
|
+
decimals: 8,
|
|
338
|
+
name: 'Fantom Token (Wormhole)',
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
// > AVAX
|
|
343
|
+
{
|
|
344
|
+
key: CoinKey.AVAX,
|
|
345
|
+
name: CoinKey.AVAX,
|
|
346
|
+
logoURI:
|
|
347
|
+
'https://static.debank.com/image/avax_token/logo_url/avax/0b9c84359c84d6bdd5bfda9c2d4c4a82.png',
|
|
348
|
+
verified: true,
|
|
349
|
+
chains: {
|
|
350
|
+
[ChainId.AVA]: {
|
|
351
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
352
|
+
decimals: 18,
|
|
353
|
+
},
|
|
354
|
+
[ChainId.SOL]: {
|
|
355
|
+
address: 'KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE',
|
|
356
|
+
decimals: 8,
|
|
357
|
+
name: 'Avalanche (Wormhole)',
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
// > HT
|
|
362
|
+
{
|
|
363
|
+
key: CoinKey.HT,
|
|
364
|
+
name: CoinKey.HT,
|
|
365
|
+
logoURI:
|
|
366
|
+
'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
|
|
367
|
+
verified: true,
|
|
368
|
+
chains: {
|
|
369
|
+
[ChainId.HEC]: {
|
|
370
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
371
|
+
decimals: 18,
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
// > ONE
|
|
376
|
+
{
|
|
377
|
+
key: CoinKey.ONE,
|
|
378
|
+
name: CoinKey.ONE,
|
|
379
|
+
logoURI:
|
|
380
|
+
'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
|
|
381
|
+
verified: true,
|
|
382
|
+
chains: {
|
|
383
|
+
[ChainId.ONE]: {
|
|
384
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
385
|
+
decimals: 18,
|
|
386
|
+
},
|
|
387
|
+
[ChainId.BSC]: {
|
|
388
|
+
address: '0x03ff0ff224f904be3118461335064bb48df47938',
|
|
389
|
+
decimals: 18,
|
|
390
|
+
name: 'Harmony ONE',
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
// > FSN
|
|
395
|
+
{
|
|
396
|
+
key: CoinKey.FSN,
|
|
397
|
+
name: CoinKey.FSN,
|
|
398
|
+
logoURI: 'https://www.bscscan.com/token/images/anyFSN_32.png',
|
|
399
|
+
verified: true,
|
|
400
|
+
chains: {
|
|
401
|
+
[ChainId.FSN]: {
|
|
402
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
403
|
+
decimals: 18,
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
// > MOVR
|
|
408
|
+
{
|
|
409
|
+
key: CoinKey.MOVR,
|
|
410
|
+
name: CoinKey.MOVR,
|
|
411
|
+
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
412
|
+
verified: true,
|
|
413
|
+
chains: {
|
|
414
|
+
[ChainId.MOR]: {
|
|
415
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
416
|
+
decimals: 18,
|
|
417
|
+
},
|
|
418
|
+
[ChainId.MOO]: {
|
|
419
|
+
address: '0x1d4c2a246311bb9f827f4c768e277ff5787b7d7e',
|
|
420
|
+
decimals: 18,
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
// > MNT
|
|
425
|
+
{
|
|
426
|
+
key: CoinKey.MNT,
|
|
427
|
+
name: CoinKey.MNT,
|
|
428
|
+
logoURI:
|
|
429
|
+
'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
|
|
430
|
+
verified: true,
|
|
431
|
+
chains: {
|
|
432
|
+
[ChainId.MNT]: {
|
|
433
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
434
|
+
decimals: 18,
|
|
435
|
+
},
|
|
436
|
+
[ChainId.ETH]: {
|
|
437
|
+
address: '0x3c3a81e81dc49A522A592e7622A7E711c06bf354',
|
|
438
|
+
decimals: 18,
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
},
|
|
442
|
+
|
|
443
|
+
// > RSK
|
|
444
|
+
{
|
|
445
|
+
key: CoinKey.RBTC,
|
|
446
|
+
name: 'Rootstock Smart Bitcoin',
|
|
447
|
+
logoURI:
|
|
448
|
+
'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
449
|
+
verified: true,
|
|
450
|
+
chains: {
|
|
451
|
+
[ChainId.RSK]: {
|
|
452
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
453
|
+
decimals: 18,
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
|
|
458
|
+
// OTHER STABLECOINS
|
|
459
|
+
// USDT
|
|
460
|
+
{
|
|
461
|
+
key: CoinKey.USDT,
|
|
462
|
+
name: CoinKey.USDT,
|
|
463
|
+
logoURI:
|
|
464
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
|
|
465
|
+
verified: true,
|
|
466
|
+
chains: {
|
|
467
|
+
[ChainId.ETH]: {
|
|
468
|
+
address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
|
|
469
|
+
decimals: 6,
|
|
470
|
+
},
|
|
471
|
+
[ChainId.SOL]: {
|
|
472
|
+
address: 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB',
|
|
473
|
+
decimals: 6,
|
|
474
|
+
name: 'USDT',
|
|
475
|
+
},
|
|
476
|
+
[ChainId.BSC]: {
|
|
477
|
+
address: '0x55d398326f99059ff775485246999027b3197955',
|
|
478
|
+
decimals: 18,
|
|
479
|
+
},
|
|
480
|
+
[ChainId.POL]: {
|
|
481
|
+
address: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f',
|
|
482
|
+
decimals: 6,
|
|
483
|
+
},
|
|
484
|
+
[ChainId.DAI]: {
|
|
485
|
+
address: '0x4ecaba5870353805a9f068101a40e0f32ed605c6',
|
|
486
|
+
decimals: 6,
|
|
487
|
+
},
|
|
488
|
+
[ChainId.OPT]: {
|
|
489
|
+
address: '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58',
|
|
490
|
+
decimals: 6,
|
|
491
|
+
},
|
|
492
|
+
[ChainId.FTM]: {
|
|
493
|
+
address: '0x049d68029688eabf473097a2fc38ef61633a3c7a',
|
|
494
|
+
decimals: 6,
|
|
495
|
+
},
|
|
496
|
+
[ChainId.ARB]: {
|
|
497
|
+
address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
|
|
498
|
+
decimals: 6,
|
|
499
|
+
},
|
|
500
|
+
[ChainId.ONE]: {
|
|
501
|
+
address: '0x3c2b8be99c50593081eaa2a724f0b8285f5aba8f',
|
|
502
|
+
decimals: 6,
|
|
503
|
+
},
|
|
504
|
+
[ChainId.AVA]: {
|
|
505
|
+
address: '0xc7198437980c041c805a1edcba50c1ce5db95118',
|
|
506
|
+
decimals: 6,
|
|
507
|
+
symbol: 'USDT.e',
|
|
508
|
+
name: 'Tether USD',
|
|
509
|
+
},
|
|
510
|
+
[ChainId.MOR]: {
|
|
511
|
+
address: '0xb44a9b6905af7c801311e8f4e76932ee959c663c',
|
|
512
|
+
decimals: 6,
|
|
513
|
+
},
|
|
514
|
+
[ChainId.CRO]: {
|
|
515
|
+
address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
|
|
516
|
+
decimals: 6,
|
|
517
|
+
},
|
|
518
|
+
[ChainId.HEC]: {
|
|
519
|
+
address: '0xa71edc38d189767582c38a3145b5873052c3e47a',
|
|
520
|
+
decimals: 18,
|
|
521
|
+
},
|
|
522
|
+
[ChainId.FUS]: {
|
|
523
|
+
address: '0xfadbbf8ce7d5b7041be672561bba99f79c532e10',
|
|
524
|
+
decimals: 6,
|
|
525
|
+
},
|
|
526
|
+
[ChainId.CEL]: {
|
|
527
|
+
address: '0x88eec49252c8cbc039dcdb394c0c2ba2f1637ea0',
|
|
528
|
+
decimals: 6,
|
|
529
|
+
},
|
|
530
|
+
[ChainId.MOO]: {
|
|
531
|
+
address: '0xefaeee334f0fd1712f9a8cc375f427d9cdd40d73',
|
|
532
|
+
decimals: 6,
|
|
533
|
+
},
|
|
534
|
+
[ChainId.BOB]: {
|
|
535
|
+
address: '0x5de1677344d3cb0d7d465c10b72a8f60699c062d',
|
|
536
|
+
decimals: 6,
|
|
537
|
+
},
|
|
538
|
+
[ChainId.EVM]: {
|
|
539
|
+
address: '0x7FF4a56B32ee13D7D4D405887E0eA37d61Ed919e',
|
|
540
|
+
decimals: 6,
|
|
541
|
+
},
|
|
542
|
+
[ChainId.AUR]: {
|
|
543
|
+
address: '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
|
|
544
|
+
decimals: 6,
|
|
545
|
+
},
|
|
546
|
+
// https://evmexplorer.velas.com/token/0x01445C31581c354b7338AC35693AB2001B50b9aE
|
|
547
|
+
[ChainId.VEL]: {
|
|
548
|
+
address: '0x01445c31581c354b7338ac35693ab2001b50b9ae',
|
|
549
|
+
decimals: 6,
|
|
550
|
+
name: 'Multichain USDT',
|
|
551
|
+
},
|
|
552
|
+
[ChainId.LNA]: {
|
|
553
|
+
address: '0xa219439258ca9da29e9cc4ce5596924745e12b93',
|
|
554
|
+
decimals: 6,
|
|
555
|
+
name: 'USDT',
|
|
556
|
+
},
|
|
557
|
+
[ChainId.PZE]: {
|
|
558
|
+
address: '0x1E4a5963aBFD975d8c9021ce480b42188849D41d',
|
|
559
|
+
decimals: 6,
|
|
560
|
+
name: 'USDT',
|
|
561
|
+
},
|
|
562
|
+
[ChainId.ERA]: {
|
|
563
|
+
address: '0x493257fD37EDB34451f62EDf8D2a0C418852bA4C',
|
|
564
|
+
decimals: 6,
|
|
565
|
+
name: 'USDT',
|
|
566
|
+
},
|
|
567
|
+
[ChainId.MAM]: {
|
|
568
|
+
address: '0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC',
|
|
569
|
+
decimals: 6,
|
|
570
|
+
name: 'Metis USDT',
|
|
571
|
+
symbol: 'm.USDT',
|
|
572
|
+
},
|
|
573
|
+
[ChainId.SCL]: {
|
|
574
|
+
address: '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df',
|
|
575
|
+
decimals: 6,
|
|
576
|
+
},
|
|
577
|
+
[ChainId.MOD]: {
|
|
578
|
+
address: '0xf0F161fDA2712DB8b566946122a5af183995e2eD',
|
|
579
|
+
decimals: 6,
|
|
580
|
+
},
|
|
581
|
+
[ChainId.MNT]: {
|
|
582
|
+
address: '0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE',
|
|
583
|
+
decimals: 6,
|
|
584
|
+
},
|
|
585
|
+
[ChainId.RSK]: {
|
|
586
|
+
address: '0xef213441a85df4d7acbdae0cf78004e1e486bb96',
|
|
587
|
+
decimals: 18,
|
|
588
|
+
name: 'rUSDT',
|
|
589
|
+
symbol: 'rUSDT',
|
|
590
|
+
},
|
|
591
|
+
[ChainId.SEI]: {
|
|
592
|
+
address: '0xB75D0B03c06A926e488e2659DF1A861F860bD3d1',
|
|
593
|
+
decimals: 6,
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
},
|
|
597
|
+
|
|
598
|
+
// USDC
|
|
599
|
+
{
|
|
600
|
+
key: CoinKey.USDC,
|
|
601
|
+
name: 'USD Coin',
|
|
602
|
+
logoURI:
|
|
603
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
604
|
+
verified: true,
|
|
605
|
+
chains: {
|
|
606
|
+
[ChainId.ETH]: {
|
|
607
|
+
address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
|
608
|
+
decimals: 6,
|
|
609
|
+
},
|
|
610
|
+
[ChainId.SOL]: {
|
|
611
|
+
address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
|
612
|
+
decimals: 6,
|
|
613
|
+
name: 'USD Coin',
|
|
614
|
+
},
|
|
615
|
+
[ChainId.BSC]: {
|
|
616
|
+
address: '0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d',
|
|
617
|
+
decimals: 18,
|
|
618
|
+
},
|
|
619
|
+
[ChainId.POL]: {
|
|
620
|
+
address: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
|
|
621
|
+
decimals: 6,
|
|
622
|
+
},
|
|
623
|
+
[ChainId.DAI]: {
|
|
624
|
+
address: '0xddafbb505ad214d7b80b1f830fccc89b60fb7a83',
|
|
625
|
+
decimals: 6,
|
|
626
|
+
},
|
|
627
|
+
[ChainId.OPT]: {
|
|
628
|
+
address: '0x0b2c639c533813f4aa9d7837caf62653d097ff85',
|
|
629
|
+
decimals: 6,
|
|
630
|
+
},
|
|
631
|
+
[ChainId.BAS]: {
|
|
632
|
+
address: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
|
|
633
|
+
decimals: 6,
|
|
634
|
+
},
|
|
635
|
+
[ChainId.ERA]: {
|
|
636
|
+
address: '0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4',
|
|
637
|
+
decimals: 6,
|
|
638
|
+
},
|
|
639
|
+
[ChainId.PZE]: {
|
|
640
|
+
address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
|
|
641
|
+
decimals: 6,
|
|
642
|
+
},
|
|
643
|
+
[ChainId.FTM]: {
|
|
644
|
+
address: '0x28a92dde19d9989f39a49905d7c9c2fac7799bdf',
|
|
645
|
+
decimals: 6,
|
|
646
|
+
name: 'LayerZero USDC Token',
|
|
647
|
+
},
|
|
648
|
+
[ChainId.ARB]: {
|
|
649
|
+
address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
|
|
650
|
+
decimals: 6,
|
|
651
|
+
},
|
|
652
|
+
[ChainId.ONE]: {
|
|
653
|
+
address: '0x985458e523db3d53125813ed68c274899e9dfab4',
|
|
654
|
+
decimals: 6,
|
|
655
|
+
},
|
|
656
|
+
[ChainId.AVA]: {
|
|
657
|
+
address: '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e',
|
|
658
|
+
decimals: 6,
|
|
659
|
+
},
|
|
660
|
+
[ChainId.MOR]: {
|
|
661
|
+
address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
|
|
662
|
+
decimals: 6,
|
|
663
|
+
},
|
|
664
|
+
[ChainId.HEC]: {
|
|
665
|
+
address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
|
|
666
|
+
decimals: 6,
|
|
667
|
+
},
|
|
668
|
+
[ChainId.CRO]: {
|
|
669
|
+
address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
|
|
670
|
+
decimals: 6,
|
|
671
|
+
},
|
|
672
|
+
[ChainId.FUS]: {
|
|
673
|
+
address: '0x620fd5fa44be6af63715ef4e65ddfa0387ad13f5',
|
|
674
|
+
decimals: 6,
|
|
675
|
+
},
|
|
676
|
+
[ChainId.CEL]: {
|
|
677
|
+
address: '0xef4229c8c3250c675f21bcefa42f58efbff6002a',
|
|
678
|
+
decimals: 6,
|
|
679
|
+
},
|
|
680
|
+
[ChainId.MOO]: {
|
|
681
|
+
address: '0x818ec0a7fe18ff94269904fced6ae3dae6d6dc0b',
|
|
682
|
+
decimals: 6,
|
|
683
|
+
},
|
|
684
|
+
[ChainId.BOB]: {
|
|
685
|
+
address: '0x66a2a913e447d6b4bf33efbec43aaef87890fbbc',
|
|
686
|
+
decimals: 6,
|
|
687
|
+
},
|
|
688
|
+
[ChainId.EVM]: {
|
|
689
|
+
address: '0x51e44FfaD5C2B122C8b635671FCC8139dc636E82',
|
|
690
|
+
decimals: 6,
|
|
691
|
+
},
|
|
692
|
+
[ChainId.AUR]: {
|
|
693
|
+
address: '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
|
|
694
|
+
decimals: 6,
|
|
695
|
+
},
|
|
696
|
+
// https://evmexplorer.velas.com/token/0xe2C120f188eBd5389F71Cf4d9C16d05b62A58993
|
|
697
|
+
[ChainId.VEL]: {
|
|
698
|
+
address: '0xe2c120f188ebd5389f71cf4d9c16d05b62a58993',
|
|
699
|
+
decimals: 6,
|
|
700
|
+
name: 'Multichain USDC',
|
|
701
|
+
},
|
|
702
|
+
[ChainId.LNA]: {
|
|
703
|
+
address: '0x176211869ca2b568f2a7d4ee941e073a821ee1ff',
|
|
704
|
+
decimals: 6,
|
|
705
|
+
name: 'USDC.e',
|
|
706
|
+
},
|
|
707
|
+
[ChainId.MAM]: {
|
|
708
|
+
address: '0xEA32A96608495e54156Ae48931A7c20f0dcc1a21',
|
|
709
|
+
decimals: 6,
|
|
710
|
+
name: 'Metis USDC',
|
|
711
|
+
symbol: 'm.USDC',
|
|
712
|
+
},
|
|
713
|
+
[ChainId.SCL]: {
|
|
714
|
+
address: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4',
|
|
715
|
+
decimals: 6,
|
|
716
|
+
},
|
|
717
|
+
[ChainId.MOD]: {
|
|
718
|
+
address: '0xd988097fb8612cc24eeC14542bC03424c656005f',
|
|
719
|
+
decimals: 6,
|
|
720
|
+
},
|
|
721
|
+
[ChainId.MNT]: {
|
|
722
|
+
address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
|
|
723
|
+
decimals: 6,
|
|
724
|
+
},
|
|
725
|
+
[ChainId.SEI]: {
|
|
726
|
+
address: '0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1',
|
|
727
|
+
decimals: 6,
|
|
728
|
+
},
|
|
729
|
+
},
|
|
730
|
+
},
|
|
731
|
+
// USDC.e
|
|
732
|
+
// Represents the USD Coin (USDC) bridged from Ethereum (as opposed to the 'native' USDC issued by Circle)
|
|
733
|
+
{
|
|
734
|
+
key: CoinKey.USDCe,
|
|
735
|
+
name: CoinKey.USDCe,
|
|
736
|
+
logoURI:
|
|
737
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
738
|
+
verified: true,
|
|
739
|
+
chains: {
|
|
740
|
+
[ChainId.POL]: {
|
|
741
|
+
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
|
742
|
+
decimals: 6,
|
|
743
|
+
name: 'Bridged USD Coin',
|
|
744
|
+
symbol: 'USDC.e',
|
|
745
|
+
},
|
|
746
|
+
[ChainId.ARB]: {
|
|
747
|
+
address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
|
|
748
|
+
decimals: 6,
|
|
749
|
+
name: 'Bridged USD Coin',
|
|
750
|
+
symbol: 'USDC.e',
|
|
751
|
+
},
|
|
752
|
+
[ChainId.AVA]: {
|
|
753
|
+
address: '0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664',
|
|
754
|
+
decimals: 6,
|
|
755
|
+
name: 'Bridged USD Coin',
|
|
756
|
+
symbol: 'USDC.e',
|
|
757
|
+
},
|
|
758
|
+
[ChainId.OPT]: {
|
|
759
|
+
address: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
|
|
760
|
+
decimals: 6,
|
|
761
|
+
name: 'Bridged USD Coin',
|
|
762
|
+
symbol: 'USDC.e',
|
|
763
|
+
},
|
|
764
|
+
[ChainId.BAS]: {
|
|
765
|
+
address: '0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca',
|
|
766
|
+
decimals: 6,
|
|
767
|
+
name: 'USD Base Coin',
|
|
768
|
+
symbol: 'USDbC',
|
|
769
|
+
},
|
|
770
|
+
[ChainId.DAI]: {
|
|
771
|
+
address: '0x2a22f9c3b484c3629090feed35f17ff8f88f76f0',
|
|
772
|
+
decimals: 6,
|
|
773
|
+
name: 'Bridged USDC Coin',
|
|
774
|
+
symbol: 'USDC.e',
|
|
775
|
+
},
|
|
776
|
+
},
|
|
777
|
+
},
|
|
778
|
+
// BUSD
|
|
779
|
+
{
|
|
780
|
+
key: CoinKey.BUSD,
|
|
781
|
+
name: CoinKey.BUSD,
|
|
782
|
+
logoURI:
|
|
783
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/binance/assets/BUSD-BD1/logo.png',
|
|
784
|
+
verified: true,
|
|
785
|
+
chains: {
|
|
786
|
+
[ChainId.ETH]: {
|
|
787
|
+
address: '0x4Fabb145d64652a948d72533023f6E7A623C7C53',
|
|
788
|
+
decimals: 18,
|
|
789
|
+
},
|
|
790
|
+
[ChainId.BSC]: {
|
|
791
|
+
address: '0xe9e7cea3dedca5984780bafc599bd69add087d56',
|
|
792
|
+
decimals: 18,
|
|
793
|
+
},
|
|
794
|
+
[ChainId.OPT]: {
|
|
795
|
+
address: '0x9C9e5fD8bbc25984B178FdCE6117Defa39d2db39',
|
|
796
|
+
decimals: 18,
|
|
797
|
+
},
|
|
798
|
+
[ChainId.POL]: {
|
|
799
|
+
address: '0x9C9e5fD8bbc25984B178FdCE6117Defa39d2db39',
|
|
800
|
+
decimals: 18,
|
|
801
|
+
},
|
|
802
|
+
[ChainId.AVA]: {
|
|
803
|
+
address: '0x9C9e5fD8bbc25984B178FdCE6117Defa39d2db39',
|
|
804
|
+
decimals: 18,
|
|
805
|
+
},
|
|
806
|
+
[ChainId.SOL]: {
|
|
807
|
+
address: '33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX',
|
|
808
|
+
decimals: 8,
|
|
809
|
+
name: 'Binance USD (Wormhole from Ethereum)',
|
|
810
|
+
symbol: 'BUSD',
|
|
811
|
+
},
|
|
812
|
+
[ChainId.FUS]: {
|
|
813
|
+
address: '0x6a5F6A8121592BeCd6747a38d67451B310F7f156',
|
|
814
|
+
decimals: 18,
|
|
815
|
+
},
|
|
816
|
+
[ChainId.VEL]: {
|
|
817
|
+
address: '0xc111c29a988ae0c0087d97b33c6e6766808a3bd3',
|
|
818
|
+
decimals: 18,
|
|
819
|
+
},
|
|
820
|
+
[ChainId.ONE]: {
|
|
821
|
+
address: '0xe176ebe47d621b984a73036b9da5d834411ef734',
|
|
822
|
+
decimals: 18,
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
},
|
|
826
|
+
|
|
827
|
+
// USDB
|
|
828
|
+
{
|
|
829
|
+
key: CoinKey.USDB,
|
|
830
|
+
name: CoinKey.USDB,
|
|
831
|
+
logoURI:
|
|
832
|
+
'https://static.debank.com/image/blast_token/logo_url/0x4300000000000000000000000000000000000003/43c9fafca023ddd62f7900f357b26714.png',
|
|
833
|
+
verified: true,
|
|
834
|
+
chains: {
|
|
835
|
+
[ChainId.BLS]: {
|
|
836
|
+
address: '0x4300000000000000000000000000000000000003',
|
|
837
|
+
decimals: 18,
|
|
838
|
+
},
|
|
839
|
+
},
|
|
840
|
+
},
|
|
841
|
+
|
|
842
|
+
// Frax
|
|
843
|
+
{
|
|
844
|
+
key: CoinKey.FRAX,
|
|
845
|
+
name: CoinKey.FRAX,
|
|
846
|
+
logoURI:
|
|
847
|
+
'https://static.debank.com/image/movr_token/logo_url/0x965f84d915a9efa2dd81b653e3ae736555d945f4/1f2c42cba1add081f314ee899ab67816.png',
|
|
848
|
+
verified: true,
|
|
849
|
+
chains: {
|
|
850
|
+
[ChainId.FRA]: {
|
|
851
|
+
address: '0xfc00000000000000000000000000000000000001',
|
|
852
|
+
decimals: 18,
|
|
853
|
+
},
|
|
854
|
+
[ChainId.ETH]: {
|
|
855
|
+
address: '0x853d955aCEf822Db058eb8505911ED77F175b99e',
|
|
856
|
+
decimals: 18,
|
|
857
|
+
},
|
|
858
|
+
[ChainId.ARB]: {
|
|
859
|
+
address: '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F',
|
|
860
|
+
decimals: 18,
|
|
861
|
+
},
|
|
862
|
+
[ChainId.OPT]: {
|
|
863
|
+
address: '0x2E3D870790dC77A83DD1d18184Acc7439A53f475',
|
|
864
|
+
decimals: 18,
|
|
865
|
+
},
|
|
866
|
+
[ChainId.BSC]: {
|
|
867
|
+
address: '0x90C97F71E18723b0Cf0dfa30ee176Ab653E89F40',
|
|
868
|
+
decimals: 18,
|
|
869
|
+
},
|
|
870
|
+
[ChainId.FTM]: {
|
|
871
|
+
address: '0xdc301622e621166BD8E82f2cA0A26c13Ad0BE355',
|
|
872
|
+
decimals: 18,
|
|
873
|
+
},
|
|
874
|
+
[ChainId.AVA]: {
|
|
875
|
+
address: '0xdc42728b0ea910349ed3c6e1c9dc06b5fb591f98',
|
|
876
|
+
decimals: 18,
|
|
877
|
+
},
|
|
878
|
+
[ChainId.MOR]: {
|
|
879
|
+
address: '0x1A93B23281CC1CDE4C4741353F3064709A16197d',
|
|
880
|
+
decimals: 18,
|
|
881
|
+
},
|
|
882
|
+
[ChainId.POL]: {
|
|
883
|
+
address: '0x45c32fA6DF82ead1e2EF74d17b76547EDdFaFF89',
|
|
884
|
+
decimals: 18,
|
|
885
|
+
},
|
|
886
|
+
[ChainId.PZE]: {
|
|
887
|
+
address: '0xFf8544feD5379D9ffa8D47a74cE6b91e632AC44D',
|
|
888
|
+
decimals: 18,
|
|
889
|
+
},
|
|
890
|
+
[ChainId.MOO]: {
|
|
891
|
+
address: '0x322E86852e492a7Ee17f28a78c663da38FB33bfb',
|
|
892
|
+
decimals: 18,
|
|
893
|
+
},
|
|
894
|
+
},
|
|
895
|
+
},
|
|
896
|
+
|
|
897
|
+
// > WBTC
|
|
898
|
+
{
|
|
899
|
+
key: CoinKey.WBTC,
|
|
900
|
+
name: CoinKey.WBTC,
|
|
901
|
+
logoURI:
|
|
902
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png',
|
|
903
|
+
verified: true,
|
|
904
|
+
chains: {
|
|
905
|
+
[ChainId.ETH]: {
|
|
906
|
+
address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599',
|
|
907
|
+
decimals: 8,
|
|
908
|
+
},
|
|
909
|
+
[ChainId.SOL]: {
|
|
910
|
+
address: 'qfnqNqs3nCAHjnyCgLRDbBtq4p2MtHZxw8YjSyYhPoL',
|
|
911
|
+
decimals: 8,
|
|
912
|
+
name: 'Wrapped BTC (Wormhole)',
|
|
913
|
+
},
|
|
914
|
+
[ChainId.POL]: {
|
|
915
|
+
address: '0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6',
|
|
916
|
+
decimals: 8,
|
|
917
|
+
},
|
|
918
|
+
[ChainId.DAI]: {
|
|
919
|
+
address: '0x8e5bbbb09ed1ebde8674cda39a0c169401db4252',
|
|
920
|
+
decimals: 8,
|
|
921
|
+
},
|
|
922
|
+
[ChainId.FTM]: {
|
|
923
|
+
address: '0x321162cd933e2be498cd2267a90534a804051b11',
|
|
924
|
+
decimals: 8,
|
|
925
|
+
},
|
|
926
|
+
[ChainId.OPT]: {
|
|
927
|
+
address: '0x68f180fcce6836688e9084f035309e29bf0a2095',
|
|
928
|
+
decimals: 8,
|
|
929
|
+
},
|
|
930
|
+
[ChainId.AVA]: {
|
|
931
|
+
address: '0x50b7545627a5162f82a992c33b87adc75187b218',
|
|
932
|
+
decimals: 8,
|
|
933
|
+
},
|
|
934
|
+
[ChainId.ARB]: {
|
|
935
|
+
address: '0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f',
|
|
936
|
+
decimals: 8,
|
|
937
|
+
},
|
|
938
|
+
[ChainId.ONE]: {
|
|
939
|
+
address: '0x3095c7557bcb296ccc6e363de01b760ba031f2d9',
|
|
940
|
+
decimals: 8,
|
|
941
|
+
},
|
|
942
|
+
[ChainId.MOR]: {
|
|
943
|
+
address: '0xe6a991ffa8cfe62b0bf6bf72959a3d4f11b2e0f5',
|
|
944
|
+
decimals: 8,
|
|
945
|
+
},
|
|
946
|
+
[ChainId.CRO]: {
|
|
947
|
+
address: '0x062e66477faf219f25d27dced647bf57c3107d52',
|
|
948
|
+
decimals: 8,
|
|
949
|
+
},
|
|
950
|
+
[ChainId.FUS]: {
|
|
951
|
+
address: '0x33284f95ccb7b948d9d352e1439561cf83d8d00d',
|
|
952
|
+
decimals: 8,
|
|
953
|
+
},
|
|
954
|
+
[ChainId.CEL]: {
|
|
955
|
+
address: '0xbaab46e28388d2779e6e31fd00cf0e5ad95e327b',
|
|
956
|
+
decimals: 8,
|
|
957
|
+
},
|
|
958
|
+
[ChainId.MOO]: {
|
|
959
|
+
address: '0x922d641a426dcffaef11680e5358f34d97d112e1',
|
|
960
|
+
decimals: 8,
|
|
961
|
+
},
|
|
962
|
+
[ChainId.BOB]: {
|
|
963
|
+
address: '0xdc0486f8bf31df57a952bcd3c1d3e166e3d9ec8b',
|
|
964
|
+
decimals: 8,
|
|
965
|
+
},
|
|
966
|
+
[ChainId.EVM]: {
|
|
967
|
+
address: '0xF80699Dc594e00aE7bA200c7533a07C1604A106D',
|
|
968
|
+
decimals: 8,
|
|
969
|
+
},
|
|
970
|
+
[ChainId.AUR]: {
|
|
971
|
+
address: '0xF4eB217Ba2454613b15dBdea6e5f22276410e89e',
|
|
972
|
+
decimals: 8,
|
|
973
|
+
},
|
|
974
|
+
[ChainId.SCL]: {
|
|
975
|
+
address: '0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1',
|
|
976
|
+
decimals: 8,
|
|
977
|
+
},
|
|
978
|
+
[ChainId.MNT]: {
|
|
979
|
+
address: '0xCAbAE6f6Ea1ecaB08Ad02fE02ce9A44F09aebfA2',
|
|
980
|
+
decimals: 8,
|
|
981
|
+
},
|
|
982
|
+
},
|
|
983
|
+
},
|
|
984
|
+
|
|
985
|
+
// > WETH
|
|
986
|
+
{
|
|
987
|
+
key: CoinKey.WETH,
|
|
988
|
+
name: CoinKey.WETH,
|
|
989
|
+
logoURI:
|
|
990
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
|
|
991
|
+
verified: true,
|
|
992
|
+
chains: {
|
|
993
|
+
[ChainId.ETH]: {
|
|
994
|
+
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
995
|
+
decimals: 18,
|
|
996
|
+
},
|
|
997
|
+
[ChainId.SOL]: {
|
|
998
|
+
address: 'AaAEw2VCw1XzgvKB8Rj2DyK2ZVau9fbt2bE8hZFWsMyE',
|
|
999
|
+
decimals: 9,
|
|
1000
|
+
name: 'Wrapped ETH (Allbridge from Ethereum)',
|
|
1001
|
+
},
|
|
1002
|
+
[ChainId.BSC]: {
|
|
1003
|
+
address: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
|
|
1004
|
+
decimals: 18,
|
|
1005
|
+
},
|
|
1006
|
+
[ChainId.DAI]: {
|
|
1007
|
+
address: '0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1',
|
|
1008
|
+
decimals: 18,
|
|
1009
|
+
symbol: 'WETH',
|
|
1010
|
+
name: 'Wrapped Ether',
|
|
1011
|
+
},
|
|
1012
|
+
[ChainId.POL]: {
|
|
1013
|
+
address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
|
|
1014
|
+
decimals: 18,
|
|
1015
|
+
symbol: 'WETH',
|
|
1016
|
+
name: 'Wrapped Ether',
|
|
1017
|
+
},
|
|
1018
|
+
[ChainId.FTM]: {
|
|
1019
|
+
address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
|
|
1020
|
+
decimals: 18,
|
|
1021
|
+
},
|
|
1022
|
+
[ChainId.LNA]: {
|
|
1023
|
+
address: '0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f',
|
|
1024
|
+
decimals: 18,
|
|
1025
|
+
},
|
|
1026
|
+
[ChainId.AVA]: {
|
|
1027
|
+
address: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
|
|
1028
|
+
decimals: 18,
|
|
1029
|
+
symbol: 'WETH.e',
|
|
1030
|
+
name: 'Wrapped Ether',
|
|
1031
|
+
},
|
|
1032
|
+
[ChainId.ARB]: {
|
|
1033
|
+
address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
|
|
1034
|
+
decimals: 18,
|
|
1035
|
+
},
|
|
1036
|
+
[ChainId.OPT]: {
|
|
1037
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1038
|
+
decimals: 18,
|
|
1039
|
+
},
|
|
1040
|
+
[ChainId.BAS]: {
|
|
1041
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1042
|
+
decimals: 18,
|
|
1043
|
+
},
|
|
1044
|
+
[ChainId.MOR]: {
|
|
1045
|
+
address: '0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c',
|
|
1046
|
+
decimals: 18,
|
|
1047
|
+
},
|
|
1048
|
+
[ChainId.HEC]: {
|
|
1049
|
+
address: '0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c',
|
|
1050
|
+
decimals: 18,
|
|
1051
|
+
},
|
|
1052
|
+
[ChainId.CRO]: {
|
|
1053
|
+
address: '0xe44fd7fcb2b1581822d0c862b68222998a0c299a',
|
|
1054
|
+
decimals: 18,
|
|
1055
|
+
},
|
|
1056
|
+
[ChainId.FUS]: {
|
|
1057
|
+
address: '0xa722c13135930332eb3d749b2f0906559d2c5b99',
|
|
1058
|
+
decimals: 18,
|
|
1059
|
+
},
|
|
1060
|
+
[ChainId.CEL]: {
|
|
1061
|
+
address: '0x122013fd7df1c6f636a5bb8f03108e876548b455',
|
|
1062
|
+
decimals: 18,
|
|
1063
|
+
},
|
|
1064
|
+
[ChainId.MOO]: {
|
|
1065
|
+
address: '0xfA9343C3897324496A05fC75abeD6bAC29f8A40f',
|
|
1066
|
+
decimals: 18,
|
|
1067
|
+
},
|
|
1068
|
+
[ChainId.BOB]: {
|
|
1069
|
+
address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
|
|
1070
|
+
decimals: 18,
|
|
1071
|
+
},
|
|
1072
|
+
[ChainId.EVM]: {
|
|
1073
|
+
address: '0x5842C5532b61aCF3227679a8b1BD0242a41752f2',
|
|
1074
|
+
decimals: 18,
|
|
1075
|
+
},
|
|
1076
|
+
[ChainId.AUR]: {
|
|
1077
|
+
address: '0xC9BdeEd33CD01541e1eeD10f90519d2C06Fe3feB',
|
|
1078
|
+
decimals: 18,
|
|
1079
|
+
},
|
|
1080
|
+
[ChainId.MAM]: {
|
|
1081
|
+
address: '0x420000000000000000000000000000000000000A',
|
|
1082
|
+
decimals: 18,
|
|
1083
|
+
},
|
|
1084
|
+
[ChainId.SCL]: {
|
|
1085
|
+
address: '0x5300000000000000000000000000000000000004',
|
|
1086
|
+
decimals: 18,
|
|
1087
|
+
},
|
|
1088
|
+
[ChainId.MOD]: {
|
|
1089
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1090
|
+
decimals: 18,
|
|
1091
|
+
},
|
|
1092
|
+
[ChainId.MNT]: {
|
|
1093
|
+
address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
|
|
1094
|
+
decimals: 18,
|
|
1095
|
+
},
|
|
1096
|
+
[ChainId.BLS]: {
|
|
1097
|
+
address: '0x4300000000000000000000000000000000000004',
|
|
1098
|
+
decimals: 18,
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
1101
|
+
},
|
|
1102
|
+
|
|
1103
|
+
// > SUSHI
|
|
1104
|
+
{
|
|
1105
|
+
key: CoinKey.SUSHI,
|
|
1106
|
+
name: CoinKey.SUSHI,
|
|
1107
|
+
logoURI:
|
|
1108
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B3595068778DD592e39A122f4f5a5cF09C90fE2/logo.png',
|
|
1109
|
+
verified: true,
|
|
1110
|
+
chains: {
|
|
1111
|
+
[ChainId.ETH]: {
|
|
1112
|
+
address: '0x6b3595068778dd592e39a122f4f5a5cf09c90fe2',
|
|
1113
|
+
decimals: 18,
|
|
1114
|
+
},
|
|
1115
|
+
[ChainId.SOL]: {
|
|
1116
|
+
address: 'ChVzxWRmrTeSgwd3Ui3UumcN8KX7VK3WaD4KGeSKpypj',
|
|
1117
|
+
decimals: 8,
|
|
1118
|
+
name: 'Sushi',
|
|
1119
|
+
},
|
|
1120
|
+
[ChainId.POL]: {
|
|
1121
|
+
address: '0x0b3f868e0be5597d5db7feb59e1cadbb0fdda50a',
|
|
1122
|
+
decimals: 18,
|
|
1123
|
+
},
|
|
1124
|
+
[ChainId.BSC]: {
|
|
1125
|
+
address: '0x947950bcc74888a40ffa2593c5798f11fc9124c4',
|
|
1126
|
+
decimals: 18,
|
|
1127
|
+
},
|
|
1128
|
+
[ChainId.DAI]: {
|
|
1129
|
+
address: '0x2995d1317dcd4f0ab89f4ae60f3f020a4f17c7ce',
|
|
1130
|
+
decimals: 18,
|
|
1131
|
+
},
|
|
1132
|
+
[ChainId.FTM]: {
|
|
1133
|
+
address: '0xae75a438b2e0cb8bb01ec1e1e376de11d44477cc',
|
|
1134
|
+
decimals: 18,
|
|
1135
|
+
},
|
|
1136
|
+
[ChainId.AVA]: {
|
|
1137
|
+
// guessed from debank api
|
|
1138
|
+
address: '0x37b608519f91f70f2eeb0e5ed9af4061722e4f76',
|
|
1139
|
+
decimals: 18,
|
|
1140
|
+
},
|
|
1141
|
+
[ChainId.ARB]: {
|
|
1142
|
+
address: '0xd4d42f0b6def4ce0383636770ef773390d85c61a',
|
|
1143
|
+
decimals: 18,
|
|
1144
|
+
},
|
|
1145
|
+
[ChainId.ONE]: {
|
|
1146
|
+
address: '0xbec775cb42abfa4288de81f387a9b1a3c4bc552a',
|
|
1147
|
+
decimals: 18,
|
|
1148
|
+
},
|
|
1149
|
+
[ChainId.MOR]: {
|
|
1150
|
+
address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
|
|
1151
|
+
decimals: 18,
|
|
1152
|
+
},
|
|
1153
|
+
[ChainId.HEC]: {
|
|
1154
|
+
address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
|
|
1155
|
+
decimals: 18,
|
|
1156
|
+
},
|
|
1157
|
+
[ChainId.FUS]: {
|
|
1158
|
+
address: '0x90708b20ccc1eb95a4fa7c8b18fd2c22a0ff9e78',
|
|
1159
|
+
decimals: 18,
|
|
1160
|
+
},
|
|
1161
|
+
[ChainId.CEL]: {
|
|
1162
|
+
address: '0x29dfce9c22003a4999930382fd00f9fd6133acd1',
|
|
1163
|
+
decimals: 18,
|
|
1164
|
+
},
|
|
1165
|
+
},
|
|
1166
|
+
},
|
|
1167
|
+
|
|
1168
|
+
// used by cBridge v1:
|
|
1169
|
+
// > DODO
|
|
1170
|
+
{
|
|
1171
|
+
key: CoinKey.DODO,
|
|
1172
|
+
name: CoinKey.DODO,
|
|
1173
|
+
logoURI:
|
|
1174
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x43Dfc4159D86F3A37A5A4B3D4580b888ad7d4DDd/logo.png',
|
|
1175
|
+
verified: true,
|
|
1176
|
+
chains: {
|
|
1177
|
+
[ChainId.ETH]: {
|
|
1178
|
+
address: '0x43dfc4159d86f3a37a5a4b3d4580b888ad7d4ddd',
|
|
1179
|
+
decimals: 18,
|
|
1180
|
+
},
|
|
1181
|
+
[ChainId.BSC]: {
|
|
1182
|
+
address: '0x67ee3cb086f8a16f34bee3ca72fad36f7db929e2',
|
|
1183
|
+
decimals: 18,
|
|
1184
|
+
},
|
|
1185
|
+
[ChainId.ARB]: {
|
|
1186
|
+
address: '0x69eb4fa4a2fbd498c257c57ea8b7655a2559a581',
|
|
1187
|
+
decimals: 18,
|
|
1188
|
+
},
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
// > MCB
|
|
1192
|
+
{
|
|
1193
|
+
key: CoinKey.MCB,
|
|
1194
|
+
name: CoinKey.MCB,
|
|
1195
|
+
logoURI:
|
|
1196
|
+
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x4e352cF164E64ADCBad318C3a1e222E9EBa4Ce42/logo.png',
|
|
1197
|
+
verified: true,
|
|
1198
|
+
chains: {
|
|
1199
|
+
[ChainId.ETH]: {
|
|
1200
|
+
address: '0x4e352cf164e64adcbad318c3a1e222e9eba4ce42',
|
|
1201
|
+
decimals: 18,
|
|
1202
|
+
},
|
|
1203
|
+
[ChainId.ARB]: {
|
|
1204
|
+
address: '0x4e352cf164e64adcbad318c3a1e222e9eba4ce42',
|
|
1205
|
+
decimals: 18,
|
|
1206
|
+
},
|
|
1207
|
+
},
|
|
1208
|
+
},
|
|
1209
|
+
// > CELR
|
|
1210
|
+
{
|
|
1211
|
+
key: CoinKey.CELR,
|
|
1212
|
+
name: CoinKey.CELR,
|
|
1213
|
+
logoURI:
|
|
1214
|
+
'https://static.debank.com/image/bsc_token/logo_url/0x1f9f6a696c6fd109cd3956f45dc709d2b3902163/1eb9c8f251098ea22a2cb30a877da86a.png',
|
|
1215
|
+
verified: true,
|
|
1216
|
+
chains: {
|
|
1217
|
+
[ChainId.ETH]: {
|
|
1218
|
+
address: '0x4f9254c83eb525f9fcf346490bbb3ed28a81c667',
|
|
1219
|
+
decimals: 18,
|
|
1220
|
+
},
|
|
1221
|
+
[ChainId.BSC]: {
|
|
1222
|
+
address: '0x1f9f6a696c6fd109cd3956f45dc709d2b3902163',
|
|
1223
|
+
decimals: 18,
|
|
1224
|
+
},
|
|
1225
|
+
[ChainId.ARB]: {
|
|
1226
|
+
address: '0x3a8b787f78d775aecfeea15706d4221b40f345ab',
|
|
1227
|
+
decimals: 18,
|
|
1228
|
+
},
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1231
|
+
// > IF
|
|
1232
|
+
{
|
|
1233
|
+
key: CoinKey.IF,
|
|
1234
|
+
name: CoinKey.IF,
|
|
1235
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/10932.png',
|
|
1236
|
+
verified: true,
|
|
1237
|
+
chains: {
|
|
1238
|
+
[ChainId.ETH]: {
|
|
1239
|
+
address: '0xb0e1fc65c1a741b4662b813eb787d369b8614af1',
|
|
1240
|
+
decimals: 18,
|
|
1241
|
+
},
|
|
1242
|
+
[ChainId.BSC]: {
|
|
1243
|
+
address: '0xb0e1fc65c1a741b4662b813eb787d369b8614af1',
|
|
1244
|
+
decimals: 18,
|
|
1245
|
+
},
|
|
1246
|
+
},
|
|
1247
|
+
},
|
|
1248
|
+
// > CRO
|
|
1249
|
+
{
|
|
1250
|
+
key: CoinKey.CRO,
|
|
1251
|
+
name: CoinKey.CRO,
|
|
1252
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/3635.png',
|
|
1253
|
+
verified: true,
|
|
1254
|
+
chains: {
|
|
1255
|
+
[ChainId.CRO]: {
|
|
1256
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1257
|
+
decimals: 18,
|
|
1258
|
+
},
|
|
1259
|
+
},
|
|
1260
|
+
},
|
|
1261
|
+
// > FUS
|
|
1262
|
+
{
|
|
1263
|
+
key: CoinKey.FUSE,
|
|
1264
|
+
name: CoinKey.FUSE,
|
|
1265
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5634.png',
|
|
1266
|
+
verified: true,
|
|
1267
|
+
chains: {
|
|
1268
|
+
[ChainId.FUS]: {
|
|
1269
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1270
|
+
decimals: 18,
|
|
1271
|
+
},
|
|
1272
|
+
},
|
|
1273
|
+
},
|
|
1274
|
+
// > CEL
|
|
1275
|
+
{
|
|
1276
|
+
key: CoinKey.CELO,
|
|
1277
|
+
name: CoinKey.CELO,
|
|
1278
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
|
|
1279
|
+
verified: true,
|
|
1280
|
+
chains: {
|
|
1281
|
+
[ChainId.CEL]: {
|
|
1282
|
+
// The CELO token is not a native token (0x000...).
|
|
1283
|
+
// Instead, it is this ERC20 token: https://explorer.celo.org/token/0x471EcE3750Da237f93B8E339c536989b8978a438
|
|
1284
|
+
address: '0x471ece3750da237f93b8e339c536989b8978a438',
|
|
1285
|
+
decimals: 18,
|
|
1286
|
+
},
|
|
1287
|
+
[ChainId.SOL]: {
|
|
1288
|
+
address: 'GNCjk3FmPPgZTkbQRSxr6nCvLtYMbXKMnRxg8BgJs62e',
|
|
1289
|
+
decimals: 9,
|
|
1290
|
+
name: 'CELO (Allbridge from Celo)',
|
|
1291
|
+
},
|
|
1292
|
+
},
|
|
1293
|
+
},
|
|
1294
|
+
// > GLMR
|
|
1295
|
+
{
|
|
1296
|
+
key: CoinKey.GLMR,
|
|
1297
|
+
name: CoinKey.GLMR,
|
|
1298
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/6836.png',
|
|
1299
|
+
verified: true,
|
|
1300
|
+
chains: {
|
|
1301
|
+
[ChainId.MOO]: {
|
|
1302
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1303
|
+
decimals: 18,
|
|
1304
|
+
},
|
|
1305
|
+
},
|
|
1306
|
+
},
|
|
1307
|
+
// > METIS
|
|
1308
|
+
{
|
|
1309
|
+
key: CoinKey.METIS,
|
|
1310
|
+
name: CoinKey.METIS,
|
|
1311
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
|
|
1312
|
+
verified: true,
|
|
1313
|
+
chains: {
|
|
1314
|
+
[ChainId.MAM]: {
|
|
1315
|
+
address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
|
|
1316
|
+
decimals: 18,
|
|
1317
|
+
},
|
|
1318
|
+
},
|
|
1319
|
+
},
|
|
1320
|
+
// > EVM
|
|
1321
|
+
{
|
|
1322
|
+
key: CoinKey.EVM,
|
|
1323
|
+
name: 'EVMOS',
|
|
1324
|
+
logoURI:
|
|
1325
|
+
'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
|
|
1326
|
+
verified: true,
|
|
1327
|
+
chains: {
|
|
1328
|
+
[ChainId.EVM]: {
|
|
1329
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1330
|
+
decimals: 18,
|
|
1331
|
+
symbol: 'EVMOS',
|
|
1332
|
+
name: 'EVMOS',
|
|
1333
|
+
},
|
|
1334
|
+
},
|
|
1335
|
+
},
|
|
1336
|
+
// > VEL
|
|
1337
|
+
{
|
|
1338
|
+
key: CoinKey.VLX,
|
|
1339
|
+
name: 'Velas',
|
|
1340
|
+
logoURI:
|
|
1341
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
|
|
1342
|
+
verified: true,
|
|
1343
|
+
chains: {
|
|
1344
|
+
[ChainId.VEL]: {
|
|
1345
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1346
|
+
decimals: 18,
|
|
1347
|
+
},
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1350
|
+
// frxETH
|
|
1351
|
+
{
|
|
1352
|
+
key: CoinKey.frxETH,
|
|
1353
|
+
name: CoinKey.frxETH,
|
|
1354
|
+
logoURI:
|
|
1355
|
+
'https://assets.coingecko.com/coins/images/28284/standard/frxETH_icon.png',
|
|
1356
|
+
verified: true,
|
|
1357
|
+
chains: {
|
|
1358
|
+
[ChainId.ETH]: {
|
|
1359
|
+
address: '0x5E8422345238F34275888049021821E8E08CAa1f',
|
|
1360
|
+
decimals: 18,
|
|
1361
|
+
},
|
|
1362
|
+
[ChainId.FRA]: {
|
|
1363
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1364
|
+
decimals: 18,
|
|
1365
|
+
},
|
|
1366
|
+
[ChainId.POL]: {
|
|
1367
|
+
address: '0x01e91A094f5559f211e4ad4bED01468aBb64Bde3',
|
|
1368
|
+
decimals: 18,
|
|
1369
|
+
},
|
|
1370
|
+
[ChainId.ARB]: {
|
|
1371
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1372
|
+
decimals: 18,
|
|
1373
|
+
},
|
|
1374
|
+
[ChainId.AVA]: {
|
|
1375
|
+
address: '0x939b1a17C0d0Aa3fEA634Ad9157c88245A53C713',
|
|
1376
|
+
decimals: 18,
|
|
1377
|
+
},
|
|
1378
|
+
[ChainId.LNA]: {
|
|
1379
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1380
|
+
decimals: 18,
|
|
1381
|
+
},
|
|
1382
|
+
[ChainId.SCL]: {
|
|
1383
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1384
|
+
decimals: 18,
|
|
1385
|
+
},
|
|
1386
|
+
[ChainId.OPT]: {
|
|
1387
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1388
|
+
decimals: 18,
|
|
1389
|
+
},
|
|
1390
|
+
[ChainId.FTM]: {
|
|
1391
|
+
address: '0x39Db1A30122031751e803Fabf329C44efBBfBf4B',
|
|
1392
|
+
decimals: 18,
|
|
1393
|
+
},
|
|
1394
|
+
[ChainId.MOO]: {
|
|
1395
|
+
address: '0x29C795559e4Db87054Ba70fafC454214c20aDbD4',
|
|
1396
|
+
decimals: 18,
|
|
1397
|
+
},
|
|
1398
|
+
[ChainId.BAS]: {
|
|
1399
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1400
|
+
decimals: 18,
|
|
1401
|
+
},
|
|
1402
|
+
[ChainId.BSC]: {
|
|
1403
|
+
address: '0x39Db1A30122031751e803Fabf329C44efBBfBf4B',
|
|
1404
|
+
decimals: 18,
|
|
1405
|
+
},
|
|
1406
|
+
},
|
|
1407
|
+
},
|
|
1408
|
+
|
|
1409
|
+
// SEI
|
|
1410
|
+
{
|
|
1411
|
+
key: CoinKey.SEI,
|
|
1412
|
+
name: CoinKey.SEI,
|
|
1413
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1414
|
+
verified: true,
|
|
1415
|
+
chains: {
|
|
1416
|
+
[ChainId.SEI]: {
|
|
1417
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1418
|
+
decimals: 18,
|
|
1419
|
+
},
|
|
1420
|
+
},
|
|
1421
|
+
},
|
|
1422
|
+
// > Solana
|
|
1423
|
+
{
|
|
1424
|
+
key: CoinKey.SOL,
|
|
1425
|
+
name: CoinKey.SOL,
|
|
1426
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5426.png',
|
|
1427
|
+
verified: true,
|
|
1428
|
+
chains: {
|
|
1429
|
+
[ChainId.SOL]: {
|
|
1430
|
+
address: '11111111111111111111111111111111',
|
|
1431
|
+
decimals: 9,
|
|
1432
|
+
name: 'SOL',
|
|
1433
|
+
},
|
|
1434
|
+
[ChainId.ETH]: {
|
|
1435
|
+
address: '0xD31a59c85aE9D8edEFeC411D448f90841571b89c',
|
|
1436
|
+
decimals: 9,
|
|
1437
|
+
name: 'Wrapped SOL (Wormhole)',
|
|
1438
|
+
},
|
|
1439
|
+
[ChainId.POL]: {
|
|
1440
|
+
address: '0xd93f7E271cB87c23AaA73edC008A79646d1F9912',
|
|
1441
|
+
decimals: 9,
|
|
1442
|
+
name: 'Wrapped SOL (Wormhole)',
|
|
1443
|
+
},
|
|
1444
|
+
[ChainId.FTM]: {
|
|
1445
|
+
address: '0xd99021C2A33e4Cf243010539c9e9b7c52E0236c1',
|
|
1446
|
+
decimals: 9,
|
|
1447
|
+
name: 'Token Wrapped SOL (Wormhole)',
|
|
1448
|
+
},
|
|
1449
|
+
[ChainId.AVA]: {
|
|
1450
|
+
address: '0xFE6B19286885a4F7F55AdAD09C3Cd1f906D2478F',
|
|
1451
|
+
decimals: 9,
|
|
1452
|
+
symbol: 'WSOL',
|
|
1453
|
+
name: 'Wrapped SOL (Wormhole)',
|
|
1454
|
+
},
|
|
1455
|
+
[ChainId.AUR]: {
|
|
1456
|
+
address: '0x3370C8961A1697F22B49c99669C1d98fE63d031D',
|
|
1457
|
+
decimals: 9,
|
|
1458
|
+
symbol: 'WSOL',
|
|
1459
|
+
name: 'Token Wrapped SOL (Wormhole)',
|
|
1460
|
+
},
|
|
1461
|
+
[ChainId.CEL]: {
|
|
1462
|
+
address: '0x4581E64115d46CcdeE65Be2336bEc86c9BA54C01',
|
|
1463
|
+
decimals: 9,
|
|
1464
|
+
symbol: 'WSOL',
|
|
1465
|
+
name: 'Token Wrapped SOL (Wormhole)',
|
|
1466
|
+
},
|
|
1467
|
+
},
|
|
1468
|
+
},
|
|
1469
|
+
// > Bitcoin
|
|
1470
|
+
{
|
|
1471
|
+
key: CoinKey.BTC,
|
|
1472
|
+
name: CoinKey.BTC,
|
|
1473
|
+
logoURI: 'https://assets.coingecko.com/coins/images/1/standard/bitcoin.png',
|
|
1474
|
+
verified: true,
|
|
1475
|
+
chains: {
|
|
1476
|
+
[ChainId.BTC]: {
|
|
1477
|
+
address: 'bitcoin',
|
|
1478
|
+
decimals: 8,
|
|
1479
|
+
name: 'Bitcoin',
|
|
1480
|
+
},
|
|
1481
|
+
},
|
|
1482
|
+
},
|
|
1483
|
+
// > Bitcoin Cash
|
|
1484
|
+
{
|
|
1485
|
+
key: CoinKey.BCH,
|
|
1486
|
+
name: CoinKey.BCH,
|
|
1487
|
+
logoURI:
|
|
1488
|
+
'https://assets.coingecko.com/coins/images/780/standard/bitcoin-cash-circle.png',
|
|
1489
|
+
verified: true,
|
|
1490
|
+
chains: {
|
|
1491
|
+
[ChainId.BCH]: {
|
|
1492
|
+
address: 'bitcoin-cash',
|
|
1493
|
+
decimals: 8,
|
|
1494
|
+
name: 'Bitcoin Cash',
|
|
1495
|
+
},
|
|
1496
|
+
},
|
|
1497
|
+
},
|
|
1498
|
+
// > Bitcoin
|
|
1499
|
+
{
|
|
1500
|
+
key: CoinKey.LTC,
|
|
1501
|
+
name: CoinKey.LTC,
|
|
1502
|
+
logoURI:
|
|
1503
|
+
'https://assets.coingecko.com/coins/images/2/standard/litecoin.png',
|
|
1504
|
+
verified: true,
|
|
1505
|
+
chains: {
|
|
1506
|
+
[ChainId.LTC]: {
|
|
1507
|
+
address: 'litecoin',
|
|
1508
|
+
decimals: 8,
|
|
1509
|
+
name: 'Litecoin',
|
|
1510
|
+
},
|
|
1511
|
+
},
|
|
1512
|
+
},
|
|
1513
|
+
// > Doge
|
|
1514
|
+
{
|
|
1515
|
+
key: CoinKey.DOGE,
|
|
1516
|
+
name: CoinKey.DOGE,
|
|
1517
|
+
logoURI:
|
|
1518
|
+
'https://assets.coingecko.com/coins/images/5/standard/dogecoin.png',
|
|
1519
|
+
verified: true,
|
|
1520
|
+
chains: {
|
|
1521
|
+
[ChainId.DGE]: {
|
|
1522
|
+
address: 'dogecoin',
|
|
1523
|
+
decimals: 8,
|
|
1524
|
+
name: 'Dogecoin',
|
|
1525
|
+
},
|
|
1526
|
+
},
|
|
1527
|
+
},
|
|
1528
|
+
]
|
|
1529
|
+
|
|
1530
|
+
export const defaultCoins: Array<Coin> = basicCoins.map((coin) => {
|
|
1531
|
+
const defaultCoin: Coin = {
|
|
1532
|
+
key: coin.key,
|
|
1533
|
+
name: coin.name,
|
|
1534
|
+
logoURI: coin.logoURI,
|
|
1535
|
+
verified: coin.verified,
|
|
1536
|
+
chains: {},
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
for (const [chainId, token] of Object.entries(coin.chains)) {
|
|
1540
|
+
defaultCoin.chains[chainId] = {
|
|
1541
|
+
address: token.address,
|
|
1542
|
+
decimals: token.decimals,
|
|
1543
|
+
symbol: token.symbol ?? coin.key,
|
|
1544
|
+
chainId: parseInt(chainId), // Object.entries, Object.keys etc. only return keys as strings. Therefore, we have to parse them here
|
|
1545
|
+
coinKey: coin.key,
|
|
1546
|
+
name: token.name ?? coin.name ?? coin.key,
|
|
1547
|
+
logoURI: coin.logoURI,
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
return defaultCoin
|
|
1552
|
+
})
|
|
1553
|
+
|
|
1554
|
+
// Wrapped version of gas on chain
|
|
1555
|
+
export const wrappedTokens: { [ChainId: string]: StaticToken } = {
|
|
1556
|
+
[ChainId.ETH]: {
|
|
1557
|
+
// https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
|
|
1558
|
+
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
1559
|
+
symbol: 'WETH',
|
|
1560
|
+
decimals: 18,
|
|
1561
|
+
chainId: ChainId.ETH,
|
|
1562
|
+
coinKey: CoinKey.WETH,
|
|
1563
|
+
name: 'WETH',
|
|
1564
|
+
logoURI:
|
|
1565
|
+
'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png',
|
|
1566
|
+
},
|
|
1567
|
+
[ChainId.SOL]: {
|
|
1568
|
+
address: 'So11111111111111111111111111111111111111112',
|
|
1569
|
+
symbol: 'wSOL',
|
|
1570
|
+
decimals: 9,
|
|
1571
|
+
chainId: ChainId.SOL,
|
|
1572
|
+
coinKey: CoinKey.WSOL,
|
|
1573
|
+
name: 'wSOL',
|
|
1574
|
+
logoURI:
|
|
1575
|
+
'https://assets.coingecko.com/coins/images/4128/standard/solana.png',
|
|
1576
|
+
},
|
|
1577
|
+
[ChainId.BSC]: {
|
|
1578
|
+
// https://bscscan.com/token/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
|
|
1579
|
+
address: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
|
|
1580
|
+
symbol: 'WBNB',
|
|
1581
|
+
decimals: 18,
|
|
1582
|
+
chainId: ChainId.BSC,
|
|
1583
|
+
coinKey: 'WBNB' as CoinKey,
|
|
1584
|
+
name: 'WBNB',
|
|
1585
|
+
logoURI:
|
|
1586
|
+
'https://static.debank.com/image/coin/logo_url/bnb/9784283a36f23a58982fc964574ea530.png',
|
|
1587
|
+
},
|
|
1588
|
+
[ChainId.POL]: {
|
|
1589
|
+
// https://polygonscan.com/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
|
|
1590
|
+
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1591
|
+
symbol: 'WMATIC',
|
|
1592
|
+
decimals: 18,
|
|
1593
|
+
chainId: ChainId.POL,
|
|
1594
|
+
coinKey: 'WMATIC' as CoinKey,
|
|
1595
|
+
name: 'WMATIC',
|
|
1596
|
+
logoURI:
|
|
1597
|
+
'https://static.debank.com/image/matic_token/logo_url/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/f6e604ba0324726a3d687c618aa4f163.png',
|
|
1598
|
+
},
|
|
1599
|
+
[ChainId.DAI]: {
|
|
1600
|
+
// https://blockscout.com/xdai/mainnet/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
|
|
1601
|
+
address: '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d',
|
|
1602
|
+
symbol: 'WXDAI',
|
|
1603
|
+
decimals: 18,
|
|
1604
|
+
chainId: ChainId.DAI,
|
|
1605
|
+
coinKey: 'WXDAI' as CoinKey,
|
|
1606
|
+
name: 'WXDAI',
|
|
1607
|
+
logoURI:
|
|
1608
|
+
'https://static.debank.com/image/xdai_token/logo_url/0xe91d153e0b41518a2ce8dd3d7944fa863463a97d/3fedab836c5425fc3fc2eb542c34c81a.png',
|
|
1609
|
+
},
|
|
1610
|
+
[ChainId.OPT]: {
|
|
1611
|
+
// https://optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
|
|
1612
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1613
|
+
symbol: 'WETH',
|
|
1614
|
+
decimals: 18,
|
|
1615
|
+
chainId: ChainId.OPT,
|
|
1616
|
+
coinKey: CoinKey.WETH,
|
|
1617
|
+
name: 'Wrapped ETH',
|
|
1618
|
+
logoURI:
|
|
1619
|
+
'https://static.debank.com/image/op_token/logo_url/0x4200000000000000000000000000000000000006/61844453e63cf81301f845d7864236f6.png',
|
|
1620
|
+
},
|
|
1621
|
+
[ChainId.ERA]: {
|
|
1622
|
+
// https://explorer.zksync.io/address/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91
|
|
1623
|
+
address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
|
|
1624
|
+
symbol: 'WETH',
|
|
1625
|
+
decimals: 18,
|
|
1626
|
+
chainId: ChainId.ERA,
|
|
1627
|
+
coinKey: CoinKey.WETH,
|
|
1628
|
+
name: 'Wrapped Ether',
|
|
1629
|
+
logoURI:
|
|
1630
|
+
'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1631
|
+
},
|
|
1632
|
+
[ChainId.PZE]: {
|
|
1633
|
+
// https://zkevm.polygonscan.com/token/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9
|
|
1634
|
+
address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
|
|
1635
|
+
symbol: 'WETH',
|
|
1636
|
+
decimals: 18,
|
|
1637
|
+
chainId: ChainId.PZE,
|
|
1638
|
+
coinKey: CoinKey.WETH,
|
|
1639
|
+
name: 'Wrapped Ether',
|
|
1640
|
+
logoURI:
|
|
1641
|
+
'https://static.debank.com/image/pze_token/logo_url/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9/61844453e63cf81301f845d7864236f6.png',
|
|
1642
|
+
},
|
|
1643
|
+
[ChainId.BAS]: {
|
|
1644
|
+
// https://basescan.org/address/0x4200000000000000000000000000000000000006
|
|
1645
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1646
|
+
symbol: 'WETH',
|
|
1647
|
+
decimals: 18,
|
|
1648
|
+
chainId: ChainId.BAS,
|
|
1649
|
+
coinKey: CoinKey.WETH,
|
|
1650
|
+
name: 'Wrapped Ether',
|
|
1651
|
+
logoURI:
|
|
1652
|
+
'https://static.debank.com/image/coin/logo_url/eth/d61441782d4a08a7479d54aea211679e.png',
|
|
1653
|
+
},
|
|
1654
|
+
[ChainId.LNA]: {
|
|
1655
|
+
// https://lineascan.build/address/0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f
|
|
1656
|
+
address: '0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f',
|
|
1657
|
+
symbol: 'WETH',
|
|
1658
|
+
decimals: 18,
|
|
1659
|
+
chainId: ChainId.LNA,
|
|
1660
|
+
coinKey: CoinKey.WETH,
|
|
1661
|
+
name: 'Wrapped Ether',
|
|
1662
|
+
logoURI:
|
|
1663
|
+
'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1664
|
+
},
|
|
1665
|
+
[ChainId.FTM]: {
|
|
1666
|
+
// https://ftmscan.com/address/0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83
|
|
1667
|
+
address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
|
|
1668
|
+
symbol: 'wFTM',
|
|
1669
|
+
decimals: 18,
|
|
1670
|
+
chainId: ChainId.FTM,
|
|
1671
|
+
coinKey: 'wFTM' as CoinKey,
|
|
1672
|
+
name: 'wFTM',
|
|
1673
|
+
logoURI:
|
|
1674
|
+
'https://static.debank.com/image/ftm_token/logo_url/0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83/2b7d91858f9c62aafc8d7778b9c22f57.png',
|
|
1675
|
+
},
|
|
1676
|
+
[ChainId.ONE]: {
|
|
1677
|
+
address: '0xcf664087a5bb0237a0bad6742852ec6c8d69a27a',
|
|
1678
|
+
symbol: 'WONE',
|
|
1679
|
+
decimals: 18,
|
|
1680
|
+
chainId: ChainId.ONE,
|
|
1681
|
+
coinKey: 'WONE' as CoinKey,
|
|
1682
|
+
name: 'WRAPPED ONE',
|
|
1683
|
+
logoURI:
|
|
1684
|
+
'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
|
|
1685
|
+
},
|
|
1686
|
+
[ChainId.AVA]: {
|
|
1687
|
+
address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
|
|
1688
|
+
symbol: 'WAVAX',
|
|
1689
|
+
decimals: 18,
|
|
1690
|
+
chainId: ChainId.AVA,
|
|
1691
|
+
coinKey: 'WAVAX' as CoinKey,
|
|
1692
|
+
name: 'Wrapped AVAX',
|
|
1693
|
+
logoURI:
|
|
1694
|
+
'https://static.debank.com/image/avax_token/logo_url/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7/753d82f0137617110f8dec56309b4065.png',
|
|
1695
|
+
},
|
|
1696
|
+
[ChainId.ARB]: {
|
|
1697
|
+
address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
|
|
1698
|
+
symbol: 'WETH',
|
|
1699
|
+
decimals: 18,
|
|
1700
|
+
chainId: ChainId.ARB,
|
|
1701
|
+
coinKey: CoinKey.WETH,
|
|
1702
|
+
name: 'WETH',
|
|
1703
|
+
logoURI:
|
|
1704
|
+
'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1705
|
+
},
|
|
1706
|
+
[ChainId.MOR]: {
|
|
1707
|
+
address: '0x98878b06940ae243284ca214f92bb71a2b032b8a',
|
|
1708
|
+
symbol: 'WMOVR',
|
|
1709
|
+
decimals: 18,
|
|
1710
|
+
chainId: ChainId.MOR,
|
|
1711
|
+
coinKey: 'WMOVR' as CoinKey,
|
|
1712
|
+
name: 'WMOVR',
|
|
1713
|
+
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
1714
|
+
},
|
|
1715
|
+
[ChainId.HEC]: {
|
|
1716
|
+
address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
|
|
1717
|
+
symbol: 'wHT',
|
|
1718
|
+
decimals: 18,
|
|
1719
|
+
chainId: ChainId.HEC,
|
|
1720
|
+
coinKey: 'wHT' as CoinKey,
|
|
1721
|
+
name: 'wHT',
|
|
1722
|
+
logoURI:
|
|
1723
|
+
'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
|
|
1724
|
+
},
|
|
1725
|
+
[ChainId.CRO]: {
|
|
1726
|
+
address: '0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23',
|
|
1727
|
+
symbol: 'WCRO',
|
|
1728
|
+
decimals: 18,
|
|
1729
|
+
chainId: ChainId.CRO,
|
|
1730
|
+
coinKey: 'WCRO' as CoinKey,
|
|
1731
|
+
name: 'WCRO',
|
|
1732
|
+
logoURI:
|
|
1733
|
+
'https://raw.githubusercontent.com/cronaswap/default-token-list/main/assets/tokens/cronos/0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23/logo.png',
|
|
1734
|
+
},
|
|
1735
|
+
[ChainId.FUS]: {
|
|
1736
|
+
address: '0x0be9e53fd7edac9f859882afdda116645287c629',
|
|
1737
|
+
symbol: 'WFUSE',
|
|
1738
|
+
decimals: 18,
|
|
1739
|
+
chainId: ChainId.FUS,
|
|
1740
|
+
coinKey: 'WFUSE' as CoinKey,
|
|
1741
|
+
name: 'Wrapped Fuse',
|
|
1742
|
+
logoURI:
|
|
1743
|
+
'https://static.debank.com/image/fuse_token/logo_url/0x0be9e53fd7edac9f859882afdda116645287c629/26d6e40e90bb2bf775820b1afef6ffb6.png',
|
|
1744
|
+
},
|
|
1745
|
+
[ChainId.MOO]: {
|
|
1746
|
+
address: '0xacc15dc74880c9944775448304b263d191c6077f',
|
|
1747
|
+
symbol: 'WGLMR',
|
|
1748
|
+
decimals: 18,
|
|
1749
|
+
chainId: ChainId.MOO,
|
|
1750
|
+
coinKey: 'WGLMR' as CoinKey,
|
|
1751
|
+
name: 'Wrapped GLMR',
|
|
1752
|
+
logoURI:
|
|
1753
|
+
'https://static.debank.com/image/mobm_token/logo_url/0xacc15dc74880c9944775448304b263d191c6077f/a8442077d76b258297181c3e6eb8c9cc.png',
|
|
1754
|
+
},
|
|
1755
|
+
[ChainId.MAM]: {
|
|
1756
|
+
address: '0x75cb093E4D61d2A2e65D8e0BBb01DE8d89b53481',
|
|
1757
|
+
symbol: 'WMETIS',
|
|
1758
|
+
decimals: 18,
|
|
1759
|
+
chainId: ChainId.MAM,
|
|
1760
|
+
coinKey: 'WMETIS' as CoinKey,
|
|
1761
|
+
name: 'Wrapped Metis',
|
|
1762
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
|
|
1763
|
+
},
|
|
1764
|
+
[ChainId.BOB]: {
|
|
1765
|
+
address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
|
|
1766
|
+
symbol: 'WETH',
|
|
1767
|
+
decimals: 18,
|
|
1768
|
+
chainId: ChainId.BOB,
|
|
1769
|
+
coinKey: CoinKey.WETH,
|
|
1770
|
+
name: 'Wrapped ETH',
|
|
1771
|
+
logoURI:
|
|
1772
|
+
'https://static.debank.com/image/boba_token/logo_url/0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000/b1947b38a90e559eb950453965714be4.png',
|
|
1773
|
+
},
|
|
1774
|
+
[ChainId.CEL]: {
|
|
1775
|
+
address: '0x471ece3750da237f93b8e339c536989b8978a438',
|
|
1776
|
+
symbol: 'CELO',
|
|
1777
|
+
decimals: 18,
|
|
1778
|
+
chainId: ChainId.CEL,
|
|
1779
|
+
coinKey: CoinKey.CELO,
|
|
1780
|
+
name: 'Celo native asset',
|
|
1781
|
+
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
|
|
1782
|
+
},
|
|
1783
|
+
[ChainId.EVM]: {
|
|
1784
|
+
address: '0xd4949664cd82660aae99bedc034a0dea8a0bd517',
|
|
1785
|
+
symbol: 'WEVMOS',
|
|
1786
|
+
decimals: 18,
|
|
1787
|
+
chainId: ChainId.EVM,
|
|
1788
|
+
coinKey: 'WEVMOS' as CoinKey,
|
|
1789
|
+
name: 'Wrapped Evmos',
|
|
1790
|
+
logoURI:
|
|
1791
|
+
'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
|
|
1792
|
+
},
|
|
1793
|
+
[ChainId.AUR]: {
|
|
1794
|
+
address: '0xc9bdeed33cd01541e1eed10f90519d2c06fe3feb',
|
|
1795
|
+
symbol: 'WETH',
|
|
1796
|
+
decimals: 18,
|
|
1797
|
+
chainId: ChainId.AUR,
|
|
1798
|
+
coinKey: 'WETH' as CoinKey,
|
|
1799
|
+
name: 'WETH',
|
|
1800
|
+
logoURI:
|
|
1801
|
+
'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
|
|
1802
|
+
},
|
|
1803
|
+
[ChainId.VEL]: {
|
|
1804
|
+
address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126',
|
|
1805
|
+
symbol: 'WVLX',
|
|
1806
|
+
decimals: 18,
|
|
1807
|
+
chainId: ChainId.VEL,
|
|
1808
|
+
coinKey: 'WVLX' as CoinKey,
|
|
1809
|
+
name: 'Wrapped VLX',
|
|
1810
|
+
logoURI:
|
|
1811
|
+
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
|
|
1812
|
+
},
|
|
1813
|
+
[ChainId.SCL]: {
|
|
1814
|
+
// https://scrollscan.com/token/0x5300000000000000000000000000000000000004
|
|
1815
|
+
address: '0x5300000000000000000000000000000000000004',
|
|
1816
|
+
symbol: 'WETH',
|
|
1817
|
+
decimals: 18,
|
|
1818
|
+
chainId: ChainId.SCL,
|
|
1819
|
+
coinKey: CoinKey.WETH,
|
|
1820
|
+
name: 'WETH',
|
|
1821
|
+
logoURI:
|
|
1822
|
+
'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1823
|
+
},
|
|
1824
|
+
[ChainId.MOD]: {
|
|
1825
|
+
// https://explorer.mode.network/token/0x4200000000000000000000000000000000000006
|
|
1826
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1827
|
+
symbol: 'WETH',
|
|
1828
|
+
decimals: 18,
|
|
1829
|
+
chainId: ChainId.MOD,
|
|
1830
|
+
coinKey: CoinKey.WETH,
|
|
1831
|
+
name: 'WETH',
|
|
1832
|
+
logoURI:
|
|
1833
|
+
'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1834
|
+
},
|
|
1835
|
+
[ChainId.MNT]: {
|
|
1836
|
+
// https://explorer.mantle.xyz/token/0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8
|
|
1837
|
+
address: '0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8',
|
|
1838
|
+
symbol: 'WMNT',
|
|
1839
|
+
decimals: 18,
|
|
1840
|
+
chainId: ChainId.MNT,
|
|
1841
|
+
coinKey: CoinKey.WMNT,
|
|
1842
|
+
name: 'WMNT',
|
|
1843
|
+
logoURI:
|
|
1844
|
+
'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
|
|
1845
|
+
},
|
|
1846
|
+
[ChainId.BLS]: {
|
|
1847
|
+
// https://blastscan.io/token/0x4300000000000000000000000000000000000004
|
|
1848
|
+
address: '0x4300000000000000000000000000000000000004',
|
|
1849
|
+
symbol: 'WETH',
|
|
1850
|
+
decimals: 18,
|
|
1851
|
+
chainId: ChainId.BLS,
|
|
1852
|
+
coinKey: CoinKey.WETH,
|
|
1853
|
+
name: 'WETH',
|
|
1854
|
+
logoURI:
|
|
1855
|
+
'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1856
|
+
},
|
|
1857
|
+
[ChainId.RSK]: {
|
|
1858
|
+
address: '0x542fda317318ebf1d3deaf76e0b632741a7e677d',
|
|
1859
|
+
symbol: 'WRBTC',
|
|
1860
|
+
decimals: 18,
|
|
1861
|
+
chainId: ChainId.RSK,
|
|
1862
|
+
coinKey: CoinKey.WBTC,
|
|
1863
|
+
name: 'Wrapped RBTC',
|
|
1864
|
+
logoURI:
|
|
1865
|
+
'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
1866
|
+
},
|
|
1867
|
+
[ChainId.SEI]: {
|
|
1868
|
+
// https://seitrace.com/token/0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7
|
|
1869
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1870
|
+
symbol: 'WSEI',
|
|
1871
|
+
decimals: 18,
|
|
1872
|
+
chainId: ChainId.SEI,
|
|
1873
|
+
coinKey: CoinKey.WSEI,
|
|
1874
|
+
name: 'Wrapped SEI',
|
|
1875
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1876
|
+
},
|
|
1877
|
+
[ChainId.FRA]: {
|
|
1878
|
+
// https://fraxscan.com/token/0xfc00000000000000000000000000000000000006
|
|
1879
|
+
address: '0xfc00000000000000000000000000000000000006',
|
|
1880
|
+
symbol: 'wfrxETH',
|
|
1881
|
+
decimals: 18,
|
|
1882
|
+
chainId: ChainId.FRA,
|
|
1883
|
+
coinKey: CoinKey.wfrxETH,
|
|
1884
|
+
name: 'Wrapped Frax ETH',
|
|
1885
|
+
logoURI:
|
|
1886
|
+
'https://static.debank.com/image/frax_token/logo_url/0xfc00000000000000000000000000000000000006/4313f25f6c5196e8fce2c80fa34c73d0.png',
|
|
1887
|
+
},
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
export const findDefaultCoin = (coinKey: CoinKey): Coin => {
|
|
1891
|
+
const coin = defaultCoins.find((coin) => coin.key === coinKey)
|
|
1892
|
+
if (!coin) {
|
|
1893
|
+
throw new Error('Invalid Coin')
|
|
1894
|
+
}
|
|
1895
|
+
return coin
|
|
1896
|
+
}
|
|
1897
|
+
export const findDefaultToken = (
|
|
1898
|
+
coinKey: CoinKey,
|
|
1899
|
+
chainId: ChainId
|
|
1900
|
+
): StaticToken => {
|
|
1901
|
+
const coin = findDefaultCoin(coinKey)
|
|
1902
|
+
const token = coin.chains[chainId]
|
|
1903
|
+
if (!token) {
|
|
1904
|
+
throw new Error(`Invalid chain ${chainId} to coin ${coinKey}`)
|
|
1905
|
+
}
|
|
1906
|
+
return token
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
export const findWrappedGasOnChain = (chainId: ChainId): StaticToken => {
|
|
1910
|
+
const token = wrappedTokens[chainId]
|
|
1911
|
+
if (!token) {
|
|
1912
|
+
throw new Error(`Wrapped Gas Token not defined for chain ${chainId}.`)
|
|
1913
|
+
}
|
|
1914
|
+
return token
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
export const findTokenByChainIdAndAddress = (
|
|
1918
|
+
chainId: number,
|
|
1919
|
+
tokenAddress: string
|
|
1920
|
+
): StaticToken | null => {
|
|
1921
|
+
return (
|
|
1922
|
+
defaultCoins
|
|
1923
|
+
.flatMap(({ chains }) => Object.values(chains))
|
|
1924
|
+
.find(
|
|
1925
|
+
(token) =>
|
|
1926
|
+
token.chainId === chainId &&
|
|
1927
|
+
tokenAddress.toLowerCase() === token.address.toLowerCase()
|
|
1928
|
+
) ?? null
|
|
1929
|
+
)
|
|
1930
|
+
}
|