@avaprotocol/protocols 0.4.0 → 0.5.0
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/CHANGELOG.md +25 -0
- package/dist/index.cjs +465 -0
- package/dist/index.js +465 -0
- package/dist/tokens/ethereum.json +444 -0
- package/dist/tokens/index.d.ts +27 -11
- package/dist/tokens/index.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -5,18 +5,108 @@
|
|
|
5
5
|
"symbol": "AAVE",
|
|
6
6
|
"decimals": 18
|
|
7
7
|
},
|
|
8
|
+
{
|
|
9
|
+
"id": "0x626e8036deb333b408be468f951bdb42433cbf18",
|
|
10
|
+
"name": "AIOZ Network",
|
|
11
|
+
"symbol": "AIOZ",
|
|
12
|
+
"decimals": 18
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "0x4d224452801aced8b2f0aebe155379bb5d594381",
|
|
16
|
+
"name": "ApeCoin",
|
|
17
|
+
"symbol": "APE",
|
|
18
|
+
"decimals": 18
|
|
19
|
+
},
|
|
8
20
|
{
|
|
9
21
|
"id": "0xb50721bcf8d664c30412cfbc6cf7a15145234ad1",
|
|
10
22
|
"name": "Arbitrum",
|
|
11
23
|
"symbol": "ARB",
|
|
12
24
|
"decimals": 18
|
|
13
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"id": "0xbe0ed4138121ecfc5c0e56b40517da27e6c5226b",
|
|
28
|
+
"name": "Aethir Token",
|
|
29
|
+
"symbol": "ATH",
|
|
30
|
+
"decimals": 18
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "0xbb0e17ef65f82ab018d8edd776e8dd940327b28b",
|
|
34
|
+
"name": "Axie Infinity Shard",
|
|
35
|
+
"symbol": "AXS",
|
|
36
|
+
"decimals": 18
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "0x19de6b897ed14a376dda0fe53a5420d2ac828a28",
|
|
40
|
+
"name": "BitgetToken",
|
|
41
|
+
"symbol": "BGB",
|
|
42
|
+
"decimals": 18
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "0xb8c77482e45f1f44de1745f52c74426c631bdd52",
|
|
46
|
+
"name": "BNB",
|
|
47
|
+
"symbol": "BNB",
|
|
48
|
+
"decimals": 18
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "0x1151cb3d861920e07a38e03eead12c32178567f6",
|
|
52
|
+
"name": "Bonk",
|
|
53
|
+
"symbol": "Bonk",
|
|
54
|
+
"decimals": 5
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "0xc669928185dbce49d2230cc9b0979be6dc797957",
|
|
58
|
+
"name": "BitTorrent",
|
|
59
|
+
"symbol": "BTT",
|
|
60
|
+
"decimals": 18
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "0x7712c34205737192402172409a8f7ccef8aa2aec",
|
|
64
|
+
"name": "BlackRock USD Institutional Digital Liquidity Fund",
|
|
65
|
+
"symbol": "BUIDL",
|
|
66
|
+
"decimals": 6
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "0x152649ea73beab28c5b49b26eb48f7ead6d4c898",
|
|
70
|
+
"name": "PancakeSwap Token",
|
|
71
|
+
"symbol": "Cake",
|
|
72
|
+
"decimals": 18
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
|
|
76
|
+
"name": "Coinbase Wrapped BTC",
|
|
77
|
+
"symbol": "cbBTC",
|
|
78
|
+
"decimals": 8
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "0xc60a9145d9e9f1152218e7da6df634b7a74ae444",
|
|
82
|
+
"name": "cgETH Hashkey Cloud",
|
|
83
|
+
"symbol": "cgETH.hashkey",
|
|
84
|
+
"decimals": 18
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "0xe7ae30c03395d66f30a26c49c91edae151747911",
|
|
88
|
+
"name": "clBTC",
|
|
89
|
+
"symbol": "clBTC",
|
|
90
|
+
"decimals": 18
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "0xe6829d9a7ee3040e1276fa75293bde931859e8fa",
|
|
94
|
+
"name": "cmETH",
|
|
95
|
+
"symbol": "cmETH",
|
|
96
|
+
"decimals": 18
|
|
97
|
+
},
|
|
14
98
|
{
|
|
15
99
|
"id": "0xc00e94cb662c3520282e6f5717214004a7f26888",
|
|
16
100
|
"name": "Compound",
|
|
17
101
|
"symbol": "COMP",
|
|
18
102
|
"decimals": 18
|
|
19
103
|
},
|
|
104
|
+
{
|
|
105
|
+
"id": "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b",
|
|
106
|
+
"name": "CRO",
|
|
107
|
+
"symbol": "CRO",
|
|
108
|
+
"decimals": 8
|
|
109
|
+
},
|
|
20
110
|
{
|
|
21
111
|
"id": "0xd533a949740bb3306d119cc777fa900ba034cd52",
|
|
22
112
|
"name": "Curve DAO Token",
|
|
@@ -29,12 +119,24 @@
|
|
|
29
119
|
"symbol": "DAI",
|
|
30
120
|
"decimals": 18
|
|
31
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"id": "0xde4ee8057785a7e8e800db58f9784845a5c2cbd6",
|
|
124
|
+
"name": "Dexe",
|
|
125
|
+
"symbol": "DEXE",
|
|
126
|
+
"decimals": 18
|
|
127
|
+
},
|
|
32
128
|
{
|
|
33
129
|
"id": "0x92d6c1e31e14520e676a687f0a93788b716beff5",
|
|
34
130
|
"name": "dYdX",
|
|
35
131
|
"symbol": "DYDX",
|
|
36
132
|
"decimals": 18
|
|
37
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"id": "0x35fa164735182de50811e8e2e824cfb9b6118ac2",
|
|
136
|
+
"name": "ether.fi ETH",
|
|
137
|
+
"symbol": "eETH",
|
|
138
|
+
"decimals": 18
|
|
139
|
+
},
|
|
38
140
|
{
|
|
39
141
|
"id": "0xec53bf9167f50cdeb3ae105f56099aaab9061f83",
|
|
40
142
|
"name": "Eigen",
|
|
@@ -53,42 +155,174 @@
|
|
|
53
155
|
"symbol": "ENS",
|
|
54
156
|
"decimals": 18
|
|
55
157
|
},
|
|
158
|
+
{
|
|
159
|
+
"id": "0xfe0c30065b384f05761f15d0cc899d4f9f9cc0eb",
|
|
160
|
+
"name": "ether.fi governance token",
|
|
161
|
+
"symbol": "ETHFI",
|
|
162
|
+
"decimals": 18
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "0xc5f0f7b66764f6ec8c8dff7ba683102295e16409",
|
|
166
|
+
"name": "First Digital USD",
|
|
167
|
+
"symbol": "FDUSD",
|
|
168
|
+
"decimals": 18
|
|
169
|
+
},
|
|
56
170
|
{
|
|
57
171
|
"id": "0xaea46a60368a7bd060eec7df8cba43b7ef41ad85",
|
|
58
172
|
"name": "Fetch.ai",
|
|
59
173
|
"symbol": "FET",
|
|
60
174
|
"decimals": 18
|
|
61
175
|
},
|
|
176
|
+
{
|
|
177
|
+
"id": "0xcf0c122c6b73ff809c693db761e7baebe62b6a2e",
|
|
178
|
+
"name": "FLOKI",
|
|
179
|
+
"symbol": "FLOKI",
|
|
180
|
+
"decimals": 9
|
|
181
|
+
},
|
|
62
182
|
{
|
|
63
183
|
"id": "0x853d955acef822db058eb8505911ed77f175b99e",
|
|
64
184
|
"name": "Frax",
|
|
65
185
|
"symbol": "FRAX",
|
|
66
186
|
"decimals": 18
|
|
67
187
|
},
|
|
188
|
+
{
|
|
189
|
+
"id": "0xaedf386b755465871ff874e3e37af5976e247064",
|
|
190
|
+
"name": "Fasttoken",
|
|
191
|
+
"symbol": "FTN",
|
|
192
|
+
"decimals": 18
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "0xd1d2eb1b1e90b638588728b4130137d262c87cae",
|
|
196
|
+
"name": "Gala",
|
|
197
|
+
"symbol": "GALA",
|
|
198
|
+
"decimals": 8
|
|
199
|
+
},
|
|
68
200
|
{
|
|
69
201
|
"id": "0xc944e90c64b2c07662a292be6244bdf05cda44a7",
|
|
70
202
|
"name": "The Graph",
|
|
71
203
|
"symbol": "GRT",
|
|
72
204
|
"decimals": 18
|
|
73
205
|
},
|
|
206
|
+
{
|
|
207
|
+
"id": "0xe66747a101bff2dba3697199dcce5b743b454759",
|
|
208
|
+
"name": "GateChainToken",
|
|
209
|
+
"symbol": "GT",
|
|
210
|
+
"decimals": 18
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "0xf57e7e7c23978c3caec3c3548e3d615c346e79ff",
|
|
214
|
+
"name": "Immutable X",
|
|
215
|
+
"symbol": "IMX",
|
|
216
|
+
"decimals": 18
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "0xe28b3b32b6c345a34ff64674606124dd5aceca30",
|
|
220
|
+
"name": "Injective Token",
|
|
221
|
+
"symbol": "INJ",
|
|
222
|
+
"decimals": 18
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "0x7420b4b9a0110cdc71fb720908340c03f9bc03ec",
|
|
226
|
+
"name": "JasmyCoin",
|
|
227
|
+
"symbol": "JASMY",
|
|
228
|
+
"decimals": 18
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "0x8236a87084f8b84306f72007f36f2618a5634494",
|
|
232
|
+
"name": "Lombard Staked Bitcoin",
|
|
233
|
+
"symbol": "LBTC",
|
|
234
|
+
"decimals": 8
|
|
235
|
+
},
|
|
74
236
|
{
|
|
75
237
|
"id": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
|
|
76
238
|
"name": "Lido DAO",
|
|
77
239
|
"symbol": "LDO",
|
|
78
240
|
"decimals": 18
|
|
79
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"id": "0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3",
|
|
244
|
+
"name": "Bitfinex LEO Token",
|
|
245
|
+
"symbol": "LEO",
|
|
246
|
+
"decimals": 18
|
|
247
|
+
},
|
|
80
248
|
{
|
|
81
249
|
"id": "0x514910771af9ca656af840dff83e8264ecf986ca",
|
|
82
250
|
"name": "Chainlink",
|
|
83
251
|
"symbol": "LINK",
|
|
84
252
|
"decimals": 18
|
|
85
253
|
},
|
|
254
|
+
{
|
|
255
|
+
"id": "0x8c1bed5b9a0928467c9b1341da1d7bd5e10b6549",
|
|
256
|
+
"name": "Liquid Staked ETH",
|
|
257
|
+
"symbol": "LsETH",
|
|
258
|
+
"decimals": 18
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "0x0f5d2fb29fb7d3cfee444a200298f468908cc942",
|
|
262
|
+
"name": "Decentraland MANA",
|
|
263
|
+
"symbol": "MANA",
|
|
264
|
+
"decimals": 18
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "0xd5f7838f5c461feff7fe49ea5ebaf7728bb0adfa",
|
|
268
|
+
"name": "mETH",
|
|
269
|
+
"symbol": "mETH",
|
|
270
|
+
"decimals": 18
|
|
271
|
+
},
|
|
86
272
|
{
|
|
87
273
|
"id": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
|
|
88
274
|
"name": "Maker",
|
|
89
275
|
"symbol": "MKR",
|
|
90
276
|
"decimals": 18
|
|
91
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"id": "0x3c3a81e81dc49a522a592e7622a7e711c06bf354",
|
|
280
|
+
"name": "Mantle",
|
|
281
|
+
"symbol": "MNT",
|
|
282
|
+
"decimals": 18
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
|
|
286
|
+
"name": "NEAR",
|
|
287
|
+
"symbol": "NEAR",
|
|
288
|
+
"decimals": 24
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"id": "0xb62132e35a6c13ee1ee0f84dc5d40bad8d815206",
|
|
292
|
+
"name": "Nexo",
|
|
293
|
+
"symbol": "NEXO",
|
|
294
|
+
"decimals": 18
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"id": "0x198d14f2ad9ce69e76ea330b374de4957c3f850a",
|
|
298
|
+
"name": "APENFT",
|
|
299
|
+
"symbol": "NFT",
|
|
300
|
+
"decimals": 6
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "0x75231f58b43240c9718dd58b4967c5114342a86c",
|
|
304
|
+
"name": "OKB",
|
|
305
|
+
"symbol": "OKB",
|
|
306
|
+
"decimals": 18
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3",
|
|
310
|
+
"name": "Ondo",
|
|
311
|
+
"symbol": "ONDO",
|
|
312
|
+
"decimals": 18
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"id": "0xf1c9acdc66974dfb6decb12aa385b9cd01190e38",
|
|
316
|
+
"name": "Staked ETH",
|
|
317
|
+
"symbol": "osETH",
|
|
318
|
+
"decimals": 18
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"id": "0x1b19c19393e2d034d8ff31ff34c81252fcbbee92",
|
|
322
|
+
"name": "Ondo Short-Term U.S. Government Bond Fund",
|
|
323
|
+
"symbol": "OUSG",
|
|
324
|
+
"decimals": 18
|
|
325
|
+
},
|
|
92
326
|
{
|
|
93
327
|
"id": "0x45804880de22913dafe09f4980848ece6ecbaf78",
|
|
94
328
|
"name": "PAX Gold",
|
|
@@ -107,12 +341,36 @@
|
|
|
107
341
|
"symbol": "PEPE",
|
|
108
342
|
"decimals": 18
|
|
109
343
|
},
|
|
344
|
+
{
|
|
345
|
+
"id": "0x455e53cbb86018ac2b8092fdcd39d8444affc3f6",
|
|
346
|
+
"name": "Polygon Ecosystem Token",
|
|
347
|
+
"symbol": "POL",
|
|
348
|
+
"decimals": 18
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"id": "0xf469fbd2abcd6b9de8e169d128226c0fc90a012e",
|
|
352
|
+
"name": "pumpBTC",
|
|
353
|
+
"symbol": "pumpBTC",
|
|
354
|
+
"decimals": 8
|
|
355
|
+
},
|
|
110
356
|
{
|
|
111
357
|
"id": "0x6c3ea9036406852006290770bedfcaba0e23a0e8",
|
|
112
358
|
"name": "PayPal USD",
|
|
113
359
|
"symbol": "PYUSD",
|
|
114
360
|
"decimals": 6
|
|
115
361
|
},
|
|
362
|
+
{
|
|
363
|
+
"id": "0x4a220e6096b25eadb88358cb44068a3248254675",
|
|
364
|
+
"name": "Quant",
|
|
365
|
+
"symbol": "QNT",
|
|
366
|
+
"decimals": 18
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"id": "0xae78736cd615f374d3085123a210448e74fc6393",
|
|
370
|
+
"name": "Rocket Pool ETH",
|
|
371
|
+
"symbol": "rETH",
|
|
372
|
+
"decimals": 18
|
|
373
|
+
},
|
|
116
374
|
{
|
|
117
375
|
"id": "0x6de037ef9ad2725eb40118bb1702ebb27e4aeb24",
|
|
118
376
|
"name": "Render Token",
|
|
@@ -125,6 +383,24 @@
|
|
|
125
383
|
"symbol": "RPL",
|
|
126
384
|
"decimals": 18
|
|
127
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"id": "0xa1290d69c65a6fe4df752f95823fae25cb99e5a7",
|
|
388
|
+
"name": "rsETH",
|
|
389
|
+
"symbol": "rsETH",
|
|
390
|
+
"decimals": 18
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"id": "0x320623b8e4ff03373931769a31fc52a4e78b5d70",
|
|
394
|
+
"name": "Reserve Rights",
|
|
395
|
+
"symbol": "RSR",
|
|
396
|
+
"decimals": 18
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"id": "0x3845badade8e6dff049820680d1f14bd3903a5d0",
|
|
400
|
+
"name": "SAND",
|
|
401
|
+
"symbol": "SAND",
|
|
402
|
+
"decimals": 18
|
|
403
|
+
},
|
|
128
404
|
{
|
|
129
405
|
"id": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce",
|
|
130
406
|
"name": "SHIBA INU",
|
|
@@ -137,46 +413,214 @@
|
|
|
137
413
|
"symbol": "SNX",
|
|
138
414
|
"decimals": 18
|
|
139
415
|
},
|
|
416
|
+
{
|
|
417
|
+
"id": "0x7a56e1c57c7475ccf742a1832b028f0456652f97",
|
|
418
|
+
"name": "Solv BTC",
|
|
419
|
+
"symbol": "SolvBTC",
|
|
420
|
+
"decimals": 18
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": "0xd9d920aa40f578ab794426f5c90f6c731d159def",
|
|
424
|
+
"name": "SolvBTC Babylon",
|
|
425
|
+
"symbol": "SolvBTC.BBN",
|
|
426
|
+
"decimals": 18
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"id": "0xe0f63a424a4439cbe457d80e4f4b51ad25b2c56c",
|
|
430
|
+
"name": "SPX6900",
|
|
431
|
+
"symbol": "SPX",
|
|
432
|
+
"decimals": 8
|
|
433
|
+
},
|
|
140
434
|
{
|
|
141
435
|
"id": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
|
|
142
436
|
"name": "stETH",
|
|
143
437
|
"symbol": "stETH",
|
|
144
438
|
"decimals": 18
|
|
145
439
|
},
|
|
440
|
+
{
|
|
441
|
+
"id": "0xca14007eff0db1f8135f4c25b34de49ab0d42766",
|
|
442
|
+
"name": "StarkNet Token",
|
|
443
|
+
"symbol": "STRK",
|
|
444
|
+
"decimals": 18
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"id": "0x9d39a5de30e57443bff2a8307a4256c8797a3497",
|
|
448
|
+
"name": "Staked USDe",
|
|
449
|
+
"symbol": "sUSDe",
|
|
450
|
+
"decimals": 18
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"id": "0xa3931d71877c0e7a3148cb7eb4463524fec27fbd",
|
|
454
|
+
"name": "Savings USDS",
|
|
455
|
+
"symbol": "sUSDS",
|
|
456
|
+
"decimals": 18
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"id": "0x643c4e15d7d62ad0abec4a9bd4b001aa3ef52d66",
|
|
460
|
+
"name": "Syrup Token",
|
|
461
|
+
"symbol": "SYRUP",
|
|
462
|
+
"decimals": 18
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"id": "0x80ac24aa929eaf5013f6436cda2a7ba190f5cc0b",
|
|
466
|
+
"name": "Syrup USDC",
|
|
467
|
+
"symbol": "syrupUSDC",
|
|
468
|
+
"decimals": 6
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
|
|
472
|
+
"name": "tBTC v2",
|
|
473
|
+
"symbol": "tBTC",
|
|
474
|
+
"decimals": 18
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"id": "0x467bccd9d29f223bce8043b84e8c8b282827790f",
|
|
478
|
+
"name": "Telcoin",
|
|
479
|
+
"symbol": "TEL",
|
|
480
|
+
"decimals": 2
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "0x667102bd3413bfeaa3dffb48fa8288819e480a88",
|
|
484
|
+
"name": "Tokenize Emblem",
|
|
485
|
+
"symbol": "TKX",
|
|
486
|
+
"decimals": 8
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"id": "0x582d872a1b094fc48f5de31d3b73f2d9be47def1",
|
|
490
|
+
"name": "Wrapped TON Coin",
|
|
491
|
+
"symbol": "TONCOIN",
|
|
492
|
+
"decimals": 9
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"id": "0x0000000000085d4780b73119b644ae5ecd22b376",
|
|
496
|
+
"name": "TrueUSD",
|
|
497
|
+
"symbol": "TUSD",
|
|
498
|
+
"decimals": 18
|
|
499
|
+
},
|
|
146
500
|
{
|
|
147
501
|
"id": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
|
|
148
502
|
"name": "Uniswap",
|
|
149
503
|
"symbol": "UNI",
|
|
150
504
|
"decimals": 18
|
|
151
505
|
},
|
|
506
|
+
{
|
|
507
|
+
"id": "0x73a15fed60bf67631dc6cd7bc5b6e8da8190acf5",
|
|
508
|
+
"name": "Usual USD",
|
|
509
|
+
"symbol": "USD0",
|
|
510
|
+
"decimals": 18
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"id": "0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d",
|
|
514
|
+
"name": "World Liberty Financial USD",
|
|
515
|
+
"symbol": "USD1",
|
|
516
|
+
"decimals": 18
|
|
517
|
+
},
|
|
152
518
|
{
|
|
153
519
|
"id": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
154
520
|
"name": "USD Coin",
|
|
155
521
|
"symbol": "USDC",
|
|
156
522
|
"decimals": 6
|
|
157
523
|
},
|
|
524
|
+
{
|
|
525
|
+
"id": "0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6",
|
|
526
|
+
"name": "Decentralized USD",
|
|
527
|
+
"symbol": "USDD",
|
|
528
|
+
"decimals": 18
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"id": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
|
|
532
|
+
"name": "USDe",
|
|
533
|
+
"symbol": "USDe",
|
|
534
|
+
"decimals": 18
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "0xdc035d45d973e3ec169d2276ddab16f1e407384f",
|
|
538
|
+
"name": "USDS Stablecoin",
|
|
539
|
+
"symbol": "USDS",
|
|
540
|
+
"decimals": 18
|
|
541
|
+
},
|
|
158
542
|
{
|
|
159
543
|
"id": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
160
544
|
"name": "Tether",
|
|
161
545
|
"symbol": "USDT",
|
|
162
546
|
"decimals": 6
|
|
163
547
|
},
|
|
548
|
+
{
|
|
549
|
+
"id": "0xf3527ef8de265eaa3716fb312c12847bfba66cef",
|
|
550
|
+
"name": "USDX",
|
|
551
|
+
"symbol": "USDX",
|
|
552
|
+
"decimals": 18
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"id": "0x96f6ef951840721adbf46ac996b59e0235cb985c",
|
|
556
|
+
"name": "Ondo U.S. Dollar Yield",
|
|
557
|
+
"symbol": "USDY",
|
|
558
|
+
"decimals": 18
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"id": "0x136471a34f6ef19fe571effc1ca711fdb8e49f2b",
|
|
562
|
+
"name": "US Yield Coin",
|
|
563
|
+
"symbol": "USYC",
|
|
564
|
+
"decimals": 6
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"id": "0x44ff8620b8ca30902395a7bd3f2407e1a091bf73",
|
|
568
|
+
"name": "Virtual Protocol",
|
|
569
|
+
"symbol": "VIRTUAL",
|
|
570
|
+
"decimals": 18
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"id": "0x925206b8a707096ed26ae47c84747fe0bb734f59",
|
|
574
|
+
"name": "WBT",
|
|
575
|
+
"symbol": "WBT",
|
|
576
|
+
"decimals": 8
|
|
577
|
+
},
|
|
164
578
|
{
|
|
165
579
|
"id": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
166
580
|
"name": "Wrapped BTC",
|
|
167
581
|
"symbol": "WBTC",
|
|
168
582
|
"decimals": 8
|
|
169
583
|
},
|
|
584
|
+
{
|
|
585
|
+
"id": "0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee",
|
|
586
|
+
"name": "EtherFi wrapped ETH",
|
|
587
|
+
"symbol": "weETH",
|
|
588
|
+
"decimals": 18
|
|
589
|
+
},
|
|
170
590
|
{
|
|
171
591
|
"id": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
172
592
|
"name": "WETH",
|
|
173
593
|
"symbol": "WETH",
|
|
174
594
|
"decimals": 18
|
|
175
595
|
},
|
|
596
|
+
{
|
|
597
|
+
"id": "0x163f8c2467924be0ae7b5347228cabf260318753",
|
|
598
|
+
"name": "Worldcoin",
|
|
599
|
+
"symbol": "WLD",
|
|
600
|
+
"decimals": 18
|
|
601
|
+
},
|
|
176
602
|
{
|
|
177
603
|
"id": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
|
|
178
604
|
"name": "Wrapped liquid staked Ether 2.0",
|
|
179
605
|
"symbol": "wstETH",
|
|
180
606
|
"decimals": 18
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"id": "0x68749665ff8d2d112fa859aa293f07a622782f38",
|
|
610
|
+
"name": "Tether Gold",
|
|
611
|
+
"symbol": "XAUt",
|
|
612
|
+
"decimals": 6
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"id": "0xa2cd3d43c775978a96bdbf12d733d5a1ed94fb18",
|
|
616
|
+
"name": "Chain",
|
|
617
|
+
"symbol": "XCN",
|
|
618
|
+
"decimals": 18
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"id": "0xc71b5f631354be6853efe9c3ab6b9590f8302e81",
|
|
622
|
+
"name": "Polyhedra Network",
|
|
623
|
+
"symbol": "ZK",
|
|
624
|
+
"decimals": 18
|
|
181
625
|
}
|
|
182
626
|
]
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -28,18 +28,34 @@ export declare const Tokens: Readonly<Record<string, TokenByChain>>;
|
|
|
28
28
|
*
|
|
29
29
|
* Resolution strategy:
|
|
30
30
|
* 1. When `chainId` is provided, prefer a match registered for that
|
|
31
|
-
* chain.
|
|
31
|
+
* chain in the top-level `Tokens` catalog.
|
|
32
32
|
* 2. If no chain-specific match (or no chainId), scan every chain
|
|
33
|
-
* for the address. Necessary when the caller's chain
|
|
34
|
-
* diverges from where the address actually lives —
|
|
35
|
-
* multi-chain dev gateways where the workflow targets
|
|
36
|
-
* but the runtime is bound to a different one. The
|
|
37
|
-
* best-effort: the same 20-byte address is
|
|
38
|
-
* EVM chain, so the scan only happens to be
|
|
39
|
-
* catalog only ships well-known canonical
|
|
40
|
-
* addresses (mainnet USDC, OP-stack WETH
|
|
41
|
-
* collide across chains in practice.
|
|
42
|
-
* the right chainId when they have it.
|
|
33
|
+
* in `Tokens` for the address. Necessary when the caller's chain
|
|
34
|
+
* context diverges from where the address actually lives —
|
|
35
|
+
* happens in multi-chain dev gateways where the workflow targets
|
|
36
|
+
* one chain but the runtime is bound to a different one. The
|
|
37
|
+
* fallback is best-effort: the same 20-byte address is
|
|
38
|
+
* reachable on every EVM chain, so the scan only happens to be
|
|
39
|
+
* correct because the catalog only ships well-known canonical
|
|
40
|
+
* tokens whose contract addresses (mainnet USDC, OP-stack WETH
|
|
41
|
+
* predeploys, etc.) don't collide across chains in practice.
|
|
42
|
+
* Callers should still pass the right chainId when they have it.
|
|
43
|
+
* 3. If still no match, walk every per-protocol `tokens` table
|
|
44
|
+
* (`Protocols.aaveV3.tokens.LINK`, `Protocols.uniswapV3.tokens.WETH`,
|
|
45
|
+
* ...) for the address. Catches token addresses that ship
|
|
46
|
+
* alongside a specific protocol — most notably the AAVE-V3
|
|
47
|
+
* Sepolia faucet LINK (`0xf8Fb37…0EBE5`), which is the address
|
|
48
|
+
* AAVE templates actually use on Sepolia even though the
|
|
49
|
+
* canonical Chainlink LINK lives elsewhere. When the symbol
|
|
50
|
+
* resolved from a per-protocol map also appears in `Tokens`,
|
|
51
|
+
* `decimals` and `name` are lifted from the same-chain catalog
|
|
52
|
+
* entry when one exists, else from any other catalog entry
|
|
53
|
+
* under that symbol; `decimals` defaults to 18 when no catalog
|
|
54
|
+
* entry exists at all (true for every per-protocol token the
|
|
55
|
+
* catalog currently ships). The catalog's URL-shaped fields
|
|
56
|
+
* (`website`, `explorer`, `logoUrl`, `links`) are intentionally
|
|
57
|
+
* NOT lifted — they're per-deployment metadata that a faucet
|
|
58
|
+
* variant would render incorrectly.
|
|
43
59
|
*
|
|
44
60
|
* Returns `undefined` when no chain in the catalog carries the
|
|
45
61
|
* address, or when the address is missing/falsy.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAQlE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAqDzE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAwC,CAAC;AAcnG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,CAAC,eAAe,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CA6DpD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avaprotocol/protocols",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Multi-chain catalog of DeFi protocol contract addresses, ABI fragments, and event topic hashes — covers AAVE V3, Uniswap V3, Chainlink, Lido, Morpho, and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"defi",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"build:tokens-sidecar": "tsx scripts/build-tokens-sidecar.ts",
|
|
54
54
|
"build": "yarn clean:dist && yarn build:declarations && yarn build:js && yarn build:tokens-sidecar",
|
|
55
55
|
"port:studio": "tsx scripts/port-from-studio.ts",
|
|
56
|
+
"port:avs": "tsx scripts/port-from-avs.ts",
|
|
56
57
|
"clean": "rm -rf node_modules dist tsconfig.tsbuildinfo",
|
|
57
58
|
"clean:dist": "rm -rf dist tsconfig.tsbuildinfo",
|
|
58
59
|
"test": "vitest",
|