@rhinestone/shared-configs 1.4.140 → 1.4.142
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/dist/configs/chains.json +72 -13
- package/dist/scripts/generate.js +2 -1
- package/dist/src/chains.d.ts +2 -1
- package/dist/src/chains.d.ts.map +1 -1
- package/dist/src/chains.js +72 -13
- package/dist/src/index.d.ts +4 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -1
- package/dist/src/types.d.ts +8 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +6 -1
- package/package.json +1 -1
package/dist/configs/chains.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"RELAY",
|
|
13
13
|
"OFT",
|
|
14
14
|
"NEAR",
|
|
15
|
-
"RHINO"
|
|
15
|
+
"RHINO",
|
|
16
|
+
"CCTP"
|
|
16
17
|
],
|
|
17
18
|
"swapQuoterConfig": {},
|
|
18
19
|
"swapQuoters": [
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"approvalSlot": null,
|
|
27
28
|
"balanceSlot": null,
|
|
28
29
|
"decimals": 18,
|
|
30
|
+
"pegGroup": "ETH",
|
|
29
31
|
"symbol": "ETH"
|
|
30
32
|
},
|
|
31
33
|
{
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
"approvalSlot": 10,
|
|
34
36
|
"balanceSlot": 9,
|
|
35
37
|
"decimals": 6,
|
|
38
|
+
"pegGroup": "USD",
|
|
36
39
|
"symbol": "USDC"
|
|
37
40
|
},
|
|
38
41
|
{
|
|
@@ -40,6 +43,7 @@
|
|
|
40
43
|
"approvalSlot": 4,
|
|
41
44
|
"balanceSlot": 3,
|
|
42
45
|
"decimals": 18,
|
|
46
|
+
"pegGroup": "ETH",
|
|
43
47
|
"priceSymbol": "ETH",
|
|
44
48
|
"symbol": "WETH"
|
|
45
49
|
},
|
|
@@ -48,6 +52,7 @@
|
|
|
48
52
|
"approvalSlot": 5,
|
|
49
53
|
"balanceSlot": 2,
|
|
50
54
|
"decimals": 6,
|
|
55
|
+
"pegGroup": "USD",
|
|
51
56
|
"priceSymbol": "USDT",
|
|
52
57
|
"symbol": "USDT0"
|
|
53
58
|
}
|
|
@@ -71,7 +76,8 @@
|
|
|
71
76
|
"RELAY",
|
|
72
77
|
"OFT",
|
|
73
78
|
"NEAR",
|
|
74
|
-
"RHINO"
|
|
79
|
+
"RHINO",
|
|
80
|
+
"CCTP"
|
|
75
81
|
],
|
|
76
82
|
"swapQuoterConfig": {},
|
|
77
83
|
"swapQuoters": [
|
|
@@ -85,6 +91,7 @@
|
|
|
85
91
|
"approvalSlot": null,
|
|
86
92
|
"balanceSlot": null,
|
|
87
93
|
"decimals": 18,
|
|
94
|
+
"pegGroup": "ETH",
|
|
88
95
|
"symbol": "ETH"
|
|
89
96
|
},
|
|
90
97
|
{
|
|
@@ -92,6 +99,7 @@
|
|
|
92
99
|
"approvalSlot": 10,
|
|
93
100
|
"balanceSlot": 9,
|
|
94
101
|
"decimals": 6,
|
|
102
|
+
"pegGroup": "USD",
|
|
95
103
|
"symbol": "USDC"
|
|
96
104
|
},
|
|
97
105
|
{
|
|
@@ -99,6 +107,7 @@
|
|
|
99
107
|
"approvalSlot": 4,
|
|
100
108
|
"balanceSlot": 3,
|
|
101
109
|
"decimals": 18,
|
|
110
|
+
"pegGroup": "ETH",
|
|
102
111
|
"priceSymbol": "ETH",
|
|
103
112
|
"symbol": "WETH"
|
|
104
113
|
},
|
|
@@ -107,6 +116,7 @@
|
|
|
107
116
|
"approvalSlot": 52,
|
|
108
117
|
"balanceSlot": 51,
|
|
109
118
|
"decimals": 6,
|
|
119
|
+
"pegGroup": "USD",
|
|
110
120
|
"priceSymbol": "USDT",
|
|
111
121
|
"symbol": "USDT0"
|
|
112
122
|
}
|
|
@@ -128,7 +138,8 @@
|
|
|
128
138
|
"ACROSS",
|
|
129
139
|
"ECO",
|
|
130
140
|
"RELAY",
|
|
131
|
-
"RHINO"
|
|
141
|
+
"RHINO",
|
|
142
|
+
"CCTP"
|
|
132
143
|
],
|
|
133
144
|
"swapQuoters": [
|
|
134
145
|
"1inch",
|
|
@@ -141,6 +152,7 @@
|
|
|
141
152
|
"approvalSlot": 2,
|
|
142
153
|
"balanceSlot": 1,
|
|
143
154
|
"decimals": 18,
|
|
155
|
+
"pegGroup": "USD",
|
|
144
156
|
"symbol": "USDC"
|
|
145
157
|
},
|
|
146
158
|
{
|
|
@@ -148,6 +160,7 @@
|
|
|
148
160
|
"approvalSlot": 2,
|
|
149
161
|
"balanceSlot": 1,
|
|
150
162
|
"decimals": 18,
|
|
163
|
+
"pegGroup": "ETH",
|
|
151
164
|
"priceSymbol": "ETH",
|
|
152
165
|
"symbol": "WETH"
|
|
153
166
|
},
|
|
@@ -156,6 +169,7 @@
|
|
|
156
169
|
"approvalSlot": 2,
|
|
157
170
|
"balanceSlot": 1,
|
|
158
171
|
"decimals": 18,
|
|
172
|
+
"pegGroup": "USD",
|
|
159
173
|
"symbol": "USDT"
|
|
160
174
|
}
|
|
161
175
|
],
|
|
@@ -187,6 +201,7 @@
|
|
|
187
201
|
"approvalSlot": 10,
|
|
188
202
|
"balanceSlot": 9,
|
|
189
203
|
"decimals": 6,
|
|
204
|
+
"pegGroup": "USD",
|
|
190
205
|
"symbol": "USDC"
|
|
191
206
|
}
|
|
192
207
|
],
|
|
@@ -209,7 +224,8 @@
|
|
|
209
224
|
"RELAY",
|
|
210
225
|
"OFT",
|
|
211
226
|
"NEAR",
|
|
212
|
-
"RHINO"
|
|
227
|
+
"RHINO",
|
|
228
|
+
"CCTP"
|
|
213
229
|
],
|
|
214
230
|
"swapQuoterConfig": {},
|
|
215
231
|
"swapQuoters": [
|
|
@@ -223,6 +239,7 @@
|
|
|
223
239
|
"approvalSlot": 10,
|
|
224
240
|
"balanceSlot": 9,
|
|
225
241
|
"decimals": 6,
|
|
242
|
+
"pegGroup": "USD",
|
|
226
243
|
"symbol": "USDC"
|
|
227
244
|
},
|
|
228
245
|
{
|
|
@@ -230,6 +247,7 @@
|
|
|
230
247
|
"approvalSlot": 1,
|
|
231
248
|
"balanceSlot": 0,
|
|
232
249
|
"decimals": 18,
|
|
250
|
+
"pegGroup": "ETH",
|
|
233
251
|
"priceSymbol": "ETH",
|
|
234
252
|
"symbol": "WETH"
|
|
235
253
|
},
|
|
@@ -238,6 +256,7 @@
|
|
|
238
256
|
"approvalSlot": 1,
|
|
239
257
|
"balanceSlot": 0,
|
|
240
258
|
"decimals": 6,
|
|
259
|
+
"pegGroup": "USD",
|
|
241
260
|
"priceSymbol": "USDT",
|
|
242
261
|
"symbol": "USDT0"
|
|
243
262
|
}
|
|
@@ -257,7 +276,8 @@
|
|
|
257
276
|
},
|
|
258
277
|
"settlementLayers": [
|
|
259
278
|
"ACROSS",
|
|
260
|
-
"RELAY"
|
|
279
|
+
"RELAY",
|
|
280
|
+
"CCTP"
|
|
261
281
|
],
|
|
262
282
|
"swapQuoters": [
|
|
263
283
|
"0x",
|
|
@@ -284,6 +304,7 @@
|
|
|
284
304
|
"approvalSlot": 10,
|
|
285
305
|
"balanceSlot": 9,
|
|
286
306
|
"decimals": 6,
|
|
307
|
+
"pegGroup": "USD",
|
|
287
308
|
"symbol": "USDC"
|
|
288
309
|
},
|
|
289
310
|
{
|
|
@@ -291,6 +312,7 @@
|
|
|
291
312
|
"approvalSlot": 52,
|
|
292
313
|
"balanceSlot": 51,
|
|
293
314
|
"decimals": 6,
|
|
315
|
+
"pegGroup": "USD",
|
|
294
316
|
"symbol": "USDT0"
|
|
295
317
|
}
|
|
296
318
|
],
|
|
@@ -310,7 +332,8 @@
|
|
|
310
332
|
"settlementLayers": [
|
|
311
333
|
"ECO",
|
|
312
334
|
"RELAY",
|
|
313
|
-
"RHINO"
|
|
335
|
+
"RHINO",
|
|
336
|
+
"CCTP"
|
|
314
337
|
],
|
|
315
338
|
"swapQuoterConfig": {},
|
|
316
339
|
"swapQuoters": [
|
|
@@ -324,6 +347,7 @@
|
|
|
324
347
|
"approvalSlot": 10,
|
|
325
348
|
"balanceSlot": 9,
|
|
326
349
|
"decimals": 6,
|
|
350
|
+
"pegGroup": "USD",
|
|
327
351
|
"symbol": "USDC"
|
|
328
352
|
}
|
|
329
353
|
],
|
|
@@ -343,7 +367,8 @@
|
|
|
343
367
|
"settlementLayers": [
|
|
344
368
|
"ACROSS",
|
|
345
369
|
"ECO",
|
|
346
|
-
"RELAY"
|
|
370
|
+
"RELAY",
|
|
371
|
+
"CCTP"
|
|
347
372
|
],
|
|
348
373
|
"swapQuoters": [],
|
|
349
374
|
"tokens": [
|
|
@@ -352,6 +377,7 @@
|
|
|
352
377
|
"approvalSlot": 10,
|
|
353
378
|
"balanceSlot": 9,
|
|
354
379
|
"decimals": 6,
|
|
380
|
+
"pegGroup": "USD",
|
|
355
381
|
"symbol": "USDC"
|
|
356
382
|
},
|
|
357
383
|
{
|
|
@@ -359,6 +385,7 @@
|
|
|
359
385
|
"approvalSlot": 52,
|
|
360
386
|
"balanceSlot": 51,
|
|
361
387
|
"decimals": 6,
|
|
388
|
+
"pegGroup": "USD",
|
|
362
389
|
"priceSymbol": "USDT",
|
|
363
390
|
"symbol": "USDT0"
|
|
364
391
|
}
|
|
@@ -387,6 +414,7 @@
|
|
|
387
414
|
"approvalSlot": null,
|
|
388
415
|
"balanceSlot": null,
|
|
389
416
|
"decimals": 18,
|
|
417
|
+
"pegGroup": "ETH",
|
|
390
418
|
"symbol": "ETH"
|
|
391
419
|
},
|
|
392
420
|
{
|
|
@@ -394,6 +422,7 @@
|
|
|
394
422
|
"approvalSlot": 10,
|
|
395
423
|
"balanceSlot": 9,
|
|
396
424
|
"decimals": 6,
|
|
425
|
+
"pegGroup": "USD",
|
|
397
426
|
"symbol": "USDC"
|
|
398
427
|
},
|
|
399
428
|
{
|
|
@@ -401,6 +430,7 @@
|
|
|
401
430
|
"approvalSlot": 1,
|
|
402
431
|
"balanceSlot": 0,
|
|
403
432
|
"decimals": 18,
|
|
433
|
+
"pegGroup": "ETH",
|
|
404
434
|
"priceSymbol": "ETH",
|
|
405
435
|
"symbol": "WETH"
|
|
406
436
|
}
|
|
@@ -423,7 +453,8 @@
|
|
|
423
453
|
"ECO",
|
|
424
454
|
"RELAY",
|
|
425
455
|
"NEAR",
|
|
426
|
-
"RHINO"
|
|
456
|
+
"RHINO",
|
|
457
|
+
"CCTP"
|
|
427
458
|
],
|
|
428
459
|
"swapQuoterConfig": {},
|
|
429
460
|
"swapQuoters": [
|
|
@@ -437,6 +468,7 @@
|
|
|
437
468
|
"approvalSlot": null,
|
|
438
469
|
"balanceSlot": null,
|
|
439
470
|
"decimals": 18,
|
|
471
|
+
"pegGroup": "ETH",
|
|
440
472
|
"symbol": "ETH"
|
|
441
473
|
},
|
|
442
474
|
{
|
|
@@ -444,6 +476,7 @@
|
|
|
444
476
|
"approvalSlot": 10,
|
|
445
477
|
"balanceSlot": 9,
|
|
446
478
|
"decimals": 6,
|
|
479
|
+
"pegGroup": "USD",
|
|
447
480
|
"symbol": "USDC"
|
|
448
481
|
},
|
|
449
482
|
{
|
|
@@ -451,6 +484,7 @@
|
|
|
451
484
|
"approvalSlot": 4,
|
|
452
485
|
"balanceSlot": 3,
|
|
453
486
|
"decimals": 18,
|
|
487
|
+
"pegGroup": "ETH",
|
|
454
488
|
"priceSymbol": "ETH",
|
|
455
489
|
"symbol": "WETH"
|
|
456
490
|
}
|
|
@@ -485,6 +519,7 @@
|
|
|
485
519
|
"approvalSlot": 52,
|
|
486
520
|
"balanceSlot": 51,
|
|
487
521
|
"decimals": 6,
|
|
522
|
+
"pegGroup": "USD",
|
|
488
523
|
"priceSymbol": "USDT",
|
|
489
524
|
"symbol": "USDT0"
|
|
490
525
|
}
|
|
@@ -512,6 +547,7 @@
|
|
|
512
547
|
"approvalSlot": 2,
|
|
513
548
|
"balanceSlot": 1,
|
|
514
549
|
"decimals": 6,
|
|
550
|
+
"pegGroup": "USD",
|
|
515
551
|
"priceSymbol": "USDT",
|
|
516
552
|
"symbol": "USDT0"
|
|
517
553
|
},
|
|
@@ -520,6 +556,7 @@
|
|
|
520
556
|
"approvalSlot": 1,
|
|
521
557
|
"balanceSlot": 0,
|
|
522
558
|
"decimals": 6,
|
|
559
|
+
"pegGroup": "USD",
|
|
523
560
|
"symbol": "USDC"
|
|
524
561
|
}
|
|
525
562
|
],
|
|
@@ -542,7 +579,8 @@
|
|
|
542
579
|
"RELAY",
|
|
543
580
|
"OFT",
|
|
544
581
|
"NEAR",
|
|
545
|
-
"RHINO"
|
|
582
|
+
"RHINO",
|
|
583
|
+
"CCTP"
|
|
546
584
|
],
|
|
547
585
|
"swapQuoterConfig": {},
|
|
548
586
|
"swapQuoters": [
|
|
@@ -556,6 +594,7 @@
|
|
|
556
594
|
"approvalSlot": null,
|
|
557
595
|
"balanceSlot": null,
|
|
558
596
|
"decimals": 18,
|
|
597
|
+
"pegGroup": "ETH",
|
|
559
598
|
"symbol": "ETH"
|
|
560
599
|
},
|
|
561
600
|
{
|
|
@@ -563,6 +602,7 @@
|
|
|
563
602
|
"approvalSlot": 10,
|
|
564
603
|
"balanceSlot": 9,
|
|
565
604
|
"decimals": 6,
|
|
605
|
+
"pegGroup": "USD",
|
|
566
606
|
"symbol": "USDC"
|
|
567
607
|
},
|
|
568
608
|
{
|
|
@@ -570,6 +610,7 @@
|
|
|
570
610
|
"approvalSlot": 52,
|
|
571
611
|
"balanceSlot": 51,
|
|
572
612
|
"decimals": 18,
|
|
613
|
+
"pegGroup": "ETH",
|
|
573
614
|
"priceSymbol": "ETH",
|
|
574
615
|
"symbol": "WETH"
|
|
575
616
|
},
|
|
@@ -578,6 +619,7 @@
|
|
|
578
619
|
"approvalSlot": 52,
|
|
579
620
|
"balanceSlot": 51,
|
|
580
621
|
"decimals": 6,
|
|
622
|
+
"pegGroup": "USD",
|
|
581
623
|
"priceSymbol": "USDT",
|
|
582
624
|
"symbol": "USDT0"
|
|
583
625
|
}
|
|
@@ -597,7 +639,8 @@
|
|
|
597
639
|
},
|
|
598
640
|
"settlementLayers": [
|
|
599
641
|
"ACROSS",
|
|
600
|
-
"ECO"
|
|
642
|
+
"ECO",
|
|
643
|
+
"CCTP"
|
|
601
644
|
],
|
|
602
645
|
"swapQuoters": [],
|
|
603
646
|
"tokens": [
|
|
@@ -606,6 +649,7 @@
|
|
|
606
649
|
"approvalSlot": null,
|
|
607
650
|
"balanceSlot": null,
|
|
608
651
|
"decimals": 18,
|
|
652
|
+
"pegGroup": "ETH",
|
|
609
653
|
"symbol": "ETH"
|
|
610
654
|
},
|
|
611
655
|
{
|
|
@@ -613,6 +657,7 @@
|
|
|
613
657
|
"approvalSlot": 10,
|
|
614
658
|
"balanceSlot": 9,
|
|
615
659
|
"decimals": 6,
|
|
660
|
+
"pegGroup": "USD",
|
|
616
661
|
"symbol": "USDC"
|
|
617
662
|
},
|
|
618
663
|
{
|
|
@@ -620,6 +665,7 @@
|
|
|
620
665
|
"approvalSlot": 4,
|
|
621
666
|
"balanceSlot": 3,
|
|
622
667
|
"decimals": 18,
|
|
668
|
+
"pegGroup": "ETH",
|
|
623
669
|
"priceSymbol": "ETH",
|
|
624
670
|
"symbol": "WETH"
|
|
625
671
|
},
|
|
@@ -628,6 +674,7 @@
|
|
|
628
674
|
"approvalSlot": 1,
|
|
629
675
|
"balanceSlot": 0,
|
|
630
676
|
"decimals": 6,
|
|
677
|
+
"pegGroup": "USD",
|
|
631
678
|
"priceSymbol": "USDC",
|
|
632
679
|
"symbol": "MockUSD"
|
|
633
680
|
}
|
|
@@ -647,7 +694,8 @@
|
|
|
647
694
|
},
|
|
648
695
|
"settlementLayers": [
|
|
649
696
|
"ACROSS",
|
|
650
|
-
"ECO"
|
|
697
|
+
"ECO",
|
|
698
|
+
"CCTP"
|
|
651
699
|
],
|
|
652
700
|
"swapQuoters": [],
|
|
653
701
|
"tokens": [
|
|
@@ -656,6 +704,7 @@
|
|
|
656
704
|
"approvalSlot": null,
|
|
657
705
|
"balanceSlot": null,
|
|
658
706
|
"decimals": 18,
|
|
707
|
+
"pegGroup": "ETH",
|
|
659
708
|
"symbol": "ETH"
|
|
660
709
|
},
|
|
661
710
|
{
|
|
@@ -663,6 +712,7 @@
|
|
|
663
712
|
"approvalSlot": 10,
|
|
664
713
|
"balanceSlot": 9,
|
|
665
714
|
"decimals": 6,
|
|
715
|
+
"pegGroup": "USD",
|
|
666
716
|
"symbol": "USDC"
|
|
667
717
|
},
|
|
668
718
|
{
|
|
@@ -670,6 +720,7 @@
|
|
|
670
720
|
"approvalSlot": 52,
|
|
671
721
|
"balanceSlot": 51,
|
|
672
722
|
"decimals": 18,
|
|
723
|
+
"pegGroup": "ETH",
|
|
673
724
|
"priceSymbol": "ETH",
|
|
674
725
|
"symbol": "WETH"
|
|
675
726
|
}
|
|
@@ -689,7 +740,8 @@
|
|
|
689
740
|
},
|
|
690
741
|
"settlementLayers": [
|
|
691
742
|
"ACROSS",
|
|
692
|
-
"ECO"
|
|
743
|
+
"ECO",
|
|
744
|
+
"CCTP"
|
|
693
745
|
],
|
|
694
746
|
"swapQuoters": [],
|
|
695
747
|
"tokens": [
|
|
@@ -698,6 +750,7 @@
|
|
|
698
750
|
"approvalSlot": null,
|
|
699
751
|
"balanceSlot": null,
|
|
700
752
|
"decimals": 18,
|
|
753
|
+
"pegGroup": "ETH",
|
|
701
754
|
"symbol": "ETH"
|
|
702
755
|
},
|
|
703
756
|
{
|
|
@@ -705,6 +758,7 @@
|
|
|
705
758
|
"approvalSlot": 10,
|
|
706
759
|
"balanceSlot": 9,
|
|
707
760
|
"decimals": 6,
|
|
761
|
+
"pegGroup": "USD",
|
|
708
762
|
"symbol": "USDC"
|
|
709
763
|
},
|
|
710
764
|
{
|
|
@@ -712,6 +766,7 @@
|
|
|
712
766
|
"approvalSlot": 4,
|
|
713
767
|
"balanceSlot": 3,
|
|
714
768
|
"decimals": 18,
|
|
769
|
+
"pegGroup": "ETH",
|
|
715
770
|
"priceSymbol": "ETH",
|
|
716
771
|
"symbol": "WETH"
|
|
717
772
|
}
|
|
@@ -731,7 +786,8 @@
|
|
|
731
786
|
},
|
|
732
787
|
"settlementLayers": [
|
|
733
788
|
"ACROSS",
|
|
734
|
-
"ECO"
|
|
789
|
+
"ECO",
|
|
790
|
+
"CCTP"
|
|
735
791
|
],
|
|
736
792
|
"swapQuoters": [],
|
|
737
793
|
"tokens": [
|
|
@@ -740,6 +796,7 @@
|
|
|
740
796
|
"approvalSlot": null,
|
|
741
797
|
"balanceSlot": null,
|
|
742
798
|
"decimals": 18,
|
|
799
|
+
"pegGroup": "ETH",
|
|
743
800
|
"symbol": "ETH"
|
|
744
801
|
},
|
|
745
802
|
{
|
|
@@ -747,6 +804,7 @@
|
|
|
747
804
|
"approvalSlot": 10,
|
|
748
805
|
"balanceSlot": 9,
|
|
749
806
|
"decimals": 6,
|
|
807
|
+
"pegGroup": "USD",
|
|
750
808
|
"symbol": "USDC"
|
|
751
809
|
},
|
|
752
810
|
{
|
|
@@ -754,6 +812,7 @@
|
|
|
754
812
|
"approvalSlot": 4,
|
|
755
813
|
"balanceSlot": 3,
|
|
756
814
|
"decimals": 18,
|
|
815
|
+
"pegGroup": "ETH",
|
|
757
816
|
"priceSymbol": "ETH",
|
|
758
817
|
"symbol": "WETH"
|
|
759
818
|
}
|
package/dist/scripts/generate.js
CHANGED
|
@@ -80,13 +80,14 @@ function renderChains(chainRegistry, mainnets, testnets) {
|
|
|
80
80
|
return [
|
|
81
81
|
"// Auto-generated by scripts/generate.ts. Do not edit manually.",
|
|
82
82
|
'import type { Address } from "viem";',
|
|
83
|
-
'import type { ProviderName, SettlementLayer, SupportedChain, SwapQuoter, SwapQuoterConfig } from "./types";',
|
|
83
|
+
'import type { PegGroup, ProviderName, SettlementLayer, SupportedChain, SwapQuoter, SwapQuoterConfig } from "./types";',
|
|
84
84
|
"",
|
|
85
85
|
"interface Token {",
|
|
86
86
|
" address: Address;",
|
|
87
87
|
" symbol?: string;",
|
|
88
88
|
" decimals?: number;",
|
|
89
89
|
" priceSymbol?: string;",
|
|
90
|
+
" pegGroup?: PegGroup;",
|
|
90
91
|
" balanceSlot: number | null;",
|
|
91
92
|
" approvalSlot: number | null;",
|
|
92
93
|
"}",
|
package/dist/src/chains.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { Address } from "viem";
|
|
2
|
-
import type { ProviderName, SettlementLayer, SupportedChain, SwapQuoter, SwapQuoterConfig } from "./types";
|
|
2
|
+
import type { PegGroup, ProviderName, SettlementLayer, SupportedChain, SwapQuoter, SwapQuoterConfig } from "./types";
|
|
3
3
|
interface Token {
|
|
4
4
|
address: Address;
|
|
5
5
|
symbol?: string;
|
|
6
6
|
decimals?: number;
|
|
7
7
|
priceSymbol?: string;
|
|
8
|
+
pegGroup?: PegGroup;
|
|
8
9
|
balanceSlot: number | null;
|
|
9
10
|
approvalSlot: number | null;
|
|
10
11
|
}
|
package/dist/src/chains.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAErH,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,WAAW,CAAC;IACzB,kBAAkB,EAAE,WAAW,CAAC;IAChC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC,CAAC;CAClE;AAED,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,cAAc,EAAE,KAAK,CA63BzC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC"}
|
package/dist/src/chains.js
CHANGED
|
@@ -15,7 +15,8 @@ const chains = {
|
|
|
15
15
|
"RELAY",
|
|
16
16
|
"OFT",
|
|
17
17
|
"NEAR",
|
|
18
|
-
"RHINO"
|
|
18
|
+
"RHINO",
|
|
19
|
+
"CCTP"
|
|
19
20
|
],
|
|
20
21
|
"swapQuoterConfig": {},
|
|
21
22
|
"swapQuoters": [
|
|
@@ -29,6 +30,7 @@ const chains = {
|
|
|
29
30
|
"approvalSlot": null,
|
|
30
31
|
"balanceSlot": null,
|
|
31
32
|
"decimals": 18,
|
|
33
|
+
"pegGroup": "ETH",
|
|
32
34
|
"symbol": "ETH"
|
|
33
35
|
},
|
|
34
36
|
{
|
|
@@ -36,6 +38,7 @@ const chains = {
|
|
|
36
38
|
"approvalSlot": 10,
|
|
37
39
|
"balanceSlot": 9,
|
|
38
40
|
"decimals": 6,
|
|
41
|
+
"pegGroup": "USD",
|
|
39
42
|
"symbol": "USDC"
|
|
40
43
|
},
|
|
41
44
|
{
|
|
@@ -43,6 +46,7 @@ const chains = {
|
|
|
43
46
|
"approvalSlot": 4,
|
|
44
47
|
"balanceSlot": 3,
|
|
45
48
|
"decimals": 18,
|
|
49
|
+
"pegGroup": "ETH",
|
|
46
50
|
"priceSymbol": "ETH",
|
|
47
51
|
"symbol": "WETH"
|
|
48
52
|
},
|
|
@@ -51,6 +55,7 @@ const chains = {
|
|
|
51
55
|
"approvalSlot": 5,
|
|
52
56
|
"balanceSlot": 2,
|
|
53
57
|
"decimals": 6,
|
|
58
|
+
"pegGroup": "USD",
|
|
54
59
|
"priceSymbol": "USDT",
|
|
55
60
|
"symbol": "USDT0"
|
|
56
61
|
}
|
|
@@ -78,7 +83,8 @@ const chains = {
|
|
|
78
83
|
"RELAY",
|
|
79
84
|
"OFT",
|
|
80
85
|
"NEAR",
|
|
81
|
-
"RHINO"
|
|
86
|
+
"RHINO",
|
|
87
|
+
"CCTP"
|
|
82
88
|
],
|
|
83
89
|
"swapQuoterConfig": {},
|
|
84
90
|
"swapQuoters": [
|
|
@@ -92,6 +98,7 @@ const chains = {
|
|
|
92
98
|
"approvalSlot": null,
|
|
93
99
|
"balanceSlot": null,
|
|
94
100
|
"decimals": 18,
|
|
101
|
+
"pegGroup": "ETH",
|
|
95
102
|
"symbol": "ETH"
|
|
96
103
|
},
|
|
97
104
|
{
|
|
@@ -99,6 +106,7 @@ const chains = {
|
|
|
99
106
|
"approvalSlot": 10,
|
|
100
107
|
"balanceSlot": 9,
|
|
101
108
|
"decimals": 6,
|
|
109
|
+
"pegGroup": "USD",
|
|
102
110
|
"symbol": "USDC"
|
|
103
111
|
},
|
|
104
112
|
{
|
|
@@ -106,6 +114,7 @@ const chains = {
|
|
|
106
114
|
"approvalSlot": 4,
|
|
107
115
|
"balanceSlot": 3,
|
|
108
116
|
"decimals": 18,
|
|
117
|
+
"pegGroup": "ETH",
|
|
109
118
|
"priceSymbol": "ETH",
|
|
110
119
|
"symbol": "WETH"
|
|
111
120
|
},
|
|
@@ -114,6 +123,7 @@ const chains = {
|
|
|
114
123
|
"approvalSlot": 52,
|
|
115
124
|
"balanceSlot": 51,
|
|
116
125
|
"decimals": 6,
|
|
126
|
+
"pegGroup": "USD",
|
|
117
127
|
"priceSymbol": "USDT",
|
|
118
128
|
"symbol": "USDT0"
|
|
119
129
|
}
|
|
@@ -139,7 +149,8 @@ const chains = {
|
|
|
139
149
|
"ACROSS",
|
|
140
150
|
"ECO",
|
|
141
151
|
"RELAY",
|
|
142
|
-
"RHINO"
|
|
152
|
+
"RHINO",
|
|
153
|
+
"CCTP"
|
|
143
154
|
],
|
|
144
155
|
"swapQuoters": [
|
|
145
156
|
"1inch",
|
|
@@ -152,6 +163,7 @@ const chains = {
|
|
|
152
163
|
"approvalSlot": 2,
|
|
153
164
|
"balanceSlot": 1,
|
|
154
165
|
"decimals": 18,
|
|
166
|
+
"pegGroup": "USD",
|
|
155
167
|
"symbol": "USDC"
|
|
156
168
|
},
|
|
157
169
|
{
|
|
@@ -159,6 +171,7 @@ const chains = {
|
|
|
159
171
|
"approvalSlot": 2,
|
|
160
172
|
"balanceSlot": 1,
|
|
161
173
|
"decimals": 18,
|
|
174
|
+
"pegGroup": "ETH",
|
|
162
175
|
"priceSymbol": "ETH",
|
|
163
176
|
"symbol": "WETH"
|
|
164
177
|
},
|
|
@@ -167,6 +180,7 @@ const chains = {
|
|
|
167
180
|
"approvalSlot": 2,
|
|
168
181
|
"balanceSlot": 1,
|
|
169
182
|
"decimals": 18,
|
|
183
|
+
"pegGroup": "USD",
|
|
170
184
|
"symbol": "USDT"
|
|
171
185
|
}
|
|
172
186
|
],
|
|
@@ -202,6 +216,7 @@ const chains = {
|
|
|
202
216
|
"approvalSlot": 10,
|
|
203
217
|
"balanceSlot": 9,
|
|
204
218
|
"decimals": 6,
|
|
219
|
+
"pegGroup": "USD",
|
|
205
220
|
"symbol": "USDC"
|
|
206
221
|
}
|
|
207
222
|
],
|
|
@@ -229,7 +244,8 @@ const chains = {
|
|
|
229
244
|
"RELAY",
|
|
230
245
|
"OFT",
|
|
231
246
|
"NEAR",
|
|
232
|
-
"RHINO"
|
|
247
|
+
"RHINO",
|
|
248
|
+
"CCTP"
|
|
233
249
|
],
|
|
234
250
|
"swapQuoterConfig": {},
|
|
235
251
|
"swapQuoters": [
|
|
@@ -243,6 +259,7 @@ const chains = {
|
|
|
243
259
|
"approvalSlot": 10,
|
|
244
260
|
"balanceSlot": 9,
|
|
245
261
|
"decimals": 6,
|
|
262
|
+
"pegGroup": "USD",
|
|
246
263
|
"symbol": "USDC"
|
|
247
264
|
},
|
|
248
265
|
{
|
|
@@ -250,6 +267,7 @@ const chains = {
|
|
|
250
267
|
"approvalSlot": 1,
|
|
251
268
|
"balanceSlot": 0,
|
|
252
269
|
"decimals": 18,
|
|
270
|
+
"pegGroup": "ETH",
|
|
253
271
|
"priceSymbol": "ETH",
|
|
254
272
|
"symbol": "WETH"
|
|
255
273
|
},
|
|
@@ -258,6 +276,7 @@ const chains = {
|
|
|
258
276
|
"approvalSlot": 1,
|
|
259
277
|
"balanceSlot": 0,
|
|
260
278
|
"decimals": 6,
|
|
279
|
+
"pegGroup": "USD",
|
|
261
280
|
"priceSymbol": "USDT",
|
|
262
281
|
"symbol": "USDT0"
|
|
263
282
|
}
|
|
@@ -281,7 +300,8 @@ const chains = {
|
|
|
281
300
|
},
|
|
282
301
|
"settlementLayers": [
|
|
283
302
|
"ACROSS",
|
|
284
|
-
"RELAY"
|
|
303
|
+
"RELAY",
|
|
304
|
+
"CCTP"
|
|
285
305
|
],
|
|
286
306
|
"swapQuoters": [
|
|
287
307
|
"0x",
|
|
@@ -308,6 +328,7 @@ const chains = {
|
|
|
308
328
|
"approvalSlot": 10,
|
|
309
329
|
"balanceSlot": 9,
|
|
310
330
|
"decimals": 6,
|
|
331
|
+
"pegGroup": "USD",
|
|
311
332
|
"symbol": "USDC"
|
|
312
333
|
},
|
|
313
334
|
{
|
|
@@ -315,6 +336,7 @@ const chains = {
|
|
|
315
336
|
"approvalSlot": 52,
|
|
316
337
|
"balanceSlot": 51,
|
|
317
338
|
"decimals": 6,
|
|
339
|
+
"pegGroup": "USD",
|
|
318
340
|
"symbol": "USDT0"
|
|
319
341
|
}
|
|
320
342
|
],
|
|
@@ -338,7 +360,8 @@ const chains = {
|
|
|
338
360
|
"settlementLayers": [
|
|
339
361
|
"ECO",
|
|
340
362
|
"RELAY",
|
|
341
|
-
"RHINO"
|
|
363
|
+
"RHINO",
|
|
364
|
+
"CCTP"
|
|
342
365
|
],
|
|
343
366
|
"swapQuoterConfig": {},
|
|
344
367
|
"swapQuoters": [
|
|
@@ -352,6 +375,7 @@ const chains = {
|
|
|
352
375
|
"approvalSlot": 10,
|
|
353
376
|
"balanceSlot": 9,
|
|
354
377
|
"decimals": 6,
|
|
378
|
+
"pegGroup": "USD",
|
|
355
379
|
"symbol": "USDC"
|
|
356
380
|
}
|
|
357
381
|
],
|
|
@@ -375,7 +399,8 @@ const chains = {
|
|
|
375
399
|
"settlementLayers": [
|
|
376
400
|
"ACROSS",
|
|
377
401
|
"ECO",
|
|
378
|
-
"RELAY"
|
|
402
|
+
"RELAY",
|
|
403
|
+
"CCTP"
|
|
379
404
|
],
|
|
380
405
|
"swapQuoters": [],
|
|
381
406
|
"tokens": [
|
|
@@ -384,6 +409,7 @@ const chains = {
|
|
|
384
409
|
"approvalSlot": 10,
|
|
385
410
|
"balanceSlot": 9,
|
|
386
411
|
"decimals": 6,
|
|
412
|
+
"pegGroup": "USD",
|
|
387
413
|
"symbol": "USDC"
|
|
388
414
|
},
|
|
389
415
|
{
|
|
@@ -391,6 +417,7 @@ const chains = {
|
|
|
391
417
|
"approvalSlot": 52,
|
|
392
418
|
"balanceSlot": 51,
|
|
393
419
|
"decimals": 6,
|
|
420
|
+
"pegGroup": "USD",
|
|
394
421
|
"priceSymbol": "USDT",
|
|
395
422
|
"symbol": "USDT0"
|
|
396
423
|
}
|
|
@@ -422,6 +449,7 @@ const chains = {
|
|
|
422
449
|
"approvalSlot": null,
|
|
423
450
|
"balanceSlot": null,
|
|
424
451
|
"decimals": 18,
|
|
452
|
+
"pegGroup": "ETH",
|
|
425
453
|
"symbol": "ETH"
|
|
426
454
|
},
|
|
427
455
|
{
|
|
@@ -429,6 +457,7 @@ const chains = {
|
|
|
429
457
|
"approvalSlot": 10,
|
|
430
458
|
"balanceSlot": 9,
|
|
431
459
|
"decimals": 6,
|
|
460
|
+
"pegGroup": "USD",
|
|
432
461
|
"symbol": "USDC"
|
|
433
462
|
},
|
|
434
463
|
{
|
|
@@ -436,6 +465,7 @@ const chains = {
|
|
|
436
465
|
"approvalSlot": 1,
|
|
437
466
|
"balanceSlot": 0,
|
|
438
467
|
"decimals": 18,
|
|
468
|
+
"pegGroup": "ETH",
|
|
439
469
|
"priceSymbol": "ETH",
|
|
440
470
|
"symbol": "WETH"
|
|
441
471
|
}
|
|
@@ -462,7 +492,8 @@ const chains = {
|
|
|
462
492
|
"ECO",
|
|
463
493
|
"RELAY",
|
|
464
494
|
"NEAR",
|
|
465
|
-
"RHINO"
|
|
495
|
+
"RHINO",
|
|
496
|
+
"CCTP"
|
|
466
497
|
],
|
|
467
498
|
"swapQuoterConfig": {},
|
|
468
499
|
"swapQuoters": [
|
|
@@ -476,6 +507,7 @@ const chains = {
|
|
|
476
507
|
"approvalSlot": null,
|
|
477
508
|
"balanceSlot": null,
|
|
478
509
|
"decimals": 18,
|
|
510
|
+
"pegGroup": "ETH",
|
|
479
511
|
"symbol": "ETH"
|
|
480
512
|
},
|
|
481
513
|
{
|
|
@@ -483,6 +515,7 @@ const chains = {
|
|
|
483
515
|
"approvalSlot": 10,
|
|
484
516
|
"balanceSlot": 9,
|
|
485
517
|
"decimals": 6,
|
|
518
|
+
"pegGroup": "USD",
|
|
486
519
|
"symbol": "USDC"
|
|
487
520
|
},
|
|
488
521
|
{
|
|
@@ -490,6 +523,7 @@ const chains = {
|
|
|
490
523
|
"approvalSlot": 4,
|
|
491
524
|
"balanceSlot": 3,
|
|
492
525
|
"decimals": 18,
|
|
526
|
+
"pegGroup": "ETH",
|
|
493
527
|
"priceSymbol": "ETH",
|
|
494
528
|
"symbol": "WETH"
|
|
495
529
|
}
|
|
@@ -528,6 +562,7 @@ const chains = {
|
|
|
528
562
|
"approvalSlot": 52,
|
|
529
563
|
"balanceSlot": 51,
|
|
530
564
|
"decimals": 6,
|
|
565
|
+
"pegGroup": "USD",
|
|
531
566
|
"priceSymbol": "USDT",
|
|
532
567
|
"symbol": "USDT0"
|
|
533
568
|
}
|
|
@@ -560,6 +595,7 @@ const chains = {
|
|
|
560
595
|
"approvalSlot": 2,
|
|
561
596
|
"balanceSlot": 1,
|
|
562
597
|
"decimals": 6,
|
|
598
|
+
"pegGroup": "USD",
|
|
563
599
|
"priceSymbol": "USDT",
|
|
564
600
|
"symbol": "USDT0"
|
|
565
601
|
},
|
|
@@ -568,6 +604,7 @@ const chains = {
|
|
|
568
604
|
"approvalSlot": 1,
|
|
569
605
|
"balanceSlot": 0,
|
|
570
606
|
"decimals": 6,
|
|
607
|
+
"pegGroup": "USD",
|
|
571
608
|
"symbol": "USDC"
|
|
572
609
|
}
|
|
573
610
|
],
|
|
@@ -593,7 +630,8 @@ const chains = {
|
|
|
593
630
|
"RELAY",
|
|
594
631
|
"OFT",
|
|
595
632
|
"NEAR",
|
|
596
|
-
"RHINO"
|
|
633
|
+
"RHINO",
|
|
634
|
+
"CCTP"
|
|
597
635
|
],
|
|
598
636
|
"swapQuoterConfig": {},
|
|
599
637
|
"swapQuoters": [
|
|
@@ -607,6 +645,7 @@ const chains = {
|
|
|
607
645
|
"approvalSlot": null,
|
|
608
646
|
"balanceSlot": null,
|
|
609
647
|
"decimals": 18,
|
|
648
|
+
"pegGroup": "ETH",
|
|
610
649
|
"symbol": "ETH"
|
|
611
650
|
},
|
|
612
651
|
{
|
|
@@ -614,6 +653,7 @@ const chains = {
|
|
|
614
653
|
"approvalSlot": 10,
|
|
615
654
|
"balanceSlot": 9,
|
|
616
655
|
"decimals": 6,
|
|
656
|
+
"pegGroup": "USD",
|
|
617
657
|
"symbol": "USDC"
|
|
618
658
|
},
|
|
619
659
|
{
|
|
@@ -621,6 +661,7 @@ const chains = {
|
|
|
621
661
|
"approvalSlot": 52,
|
|
622
662
|
"balanceSlot": 51,
|
|
623
663
|
"decimals": 18,
|
|
664
|
+
"pegGroup": "ETH",
|
|
624
665
|
"priceSymbol": "ETH",
|
|
625
666
|
"symbol": "WETH"
|
|
626
667
|
},
|
|
@@ -629,6 +670,7 @@ const chains = {
|
|
|
629
670
|
"approvalSlot": 52,
|
|
630
671
|
"balanceSlot": 51,
|
|
631
672
|
"decimals": 6,
|
|
673
|
+
"pegGroup": "USD",
|
|
632
674
|
"priceSymbol": "USDT",
|
|
633
675
|
"symbol": "USDT0"
|
|
634
676
|
}
|
|
@@ -652,7 +694,8 @@ const chains = {
|
|
|
652
694
|
},
|
|
653
695
|
"settlementLayers": [
|
|
654
696
|
"ACROSS",
|
|
655
|
-
"ECO"
|
|
697
|
+
"ECO",
|
|
698
|
+
"CCTP"
|
|
656
699
|
],
|
|
657
700
|
"swapQuoters": [],
|
|
658
701
|
"tokens": [
|
|
@@ -661,6 +704,7 @@ const chains = {
|
|
|
661
704
|
"approvalSlot": null,
|
|
662
705
|
"balanceSlot": null,
|
|
663
706
|
"decimals": 18,
|
|
707
|
+
"pegGroup": "ETH",
|
|
664
708
|
"symbol": "ETH"
|
|
665
709
|
},
|
|
666
710
|
{
|
|
@@ -668,6 +712,7 @@ const chains = {
|
|
|
668
712
|
"approvalSlot": 10,
|
|
669
713
|
"balanceSlot": 9,
|
|
670
714
|
"decimals": 6,
|
|
715
|
+
"pegGroup": "USD",
|
|
671
716
|
"symbol": "USDC"
|
|
672
717
|
},
|
|
673
718
|
{
|
|
@@ -675,6 +720,7 @@ const chains = {
|
|
|
675
720
|
"approvalSlot": 4,
|
|
676
721
|
"balanceSlot": 3,
|
|
677
722
|
"decimals": 18,
|
|
723
|
+
"pegGroup": "ETH",
|
|
678
724
|
"priceSymbol": "ETH",
|
|
679
725
|
"symbol": "WETH"
|
|
680
726
|
},
|
|
@@ -683,6 +729,7 @@ const chains = {
|
|
|
683
729
|
"approvalSlot": 1,
|
|
684
730
|
"balanceSlot": 0,
|
|
685
731
|
"decimals": 6,
|
|
732
|
+
"pegGroup": "USD",
|
|
686
733
|
"priceSymbol": "USDC",
|
|
687
734
|
"symbol": "MockUSD"
|
|
688
735
|
}
|
|
@@ -706,7 +753,8 @@ const chains = {
|
|
|
706
753
|
},
|
|
707
754
|
"settlementLayers": [
|
|
708
755
|
"ACROSS",
|
|
709
|
-
"ECO"
|
|
756
|
+
"ECO",
|
|
757
|
+
"CCTP"
|
|
710
758
|
],
|
|
711
759
|
"swapQuoters": [],
|
|
712
760
|
"tokens": [
|
|
@@ -715,6 +763,7 @@ const chains = {
|
|
|
715
763
|
"approvalSlot": null,
|
|
716
764
|
"balanceSlot": null,
|
|
717
765
|
"decimals": 18,
|
|
766
|
+
"pegGroup": "ETH",
|
|
718
767
|
"symbol": "ETH"
|
|
719
768
|
},
|
|
720
769
|
{
|
|
@@ -722,6 +771,7 @@ const chains = {
|
|
|
722
771
|
"approvalSlot": 10,
|
|
723
772
|
"balanceSlot": 9,
|
|
724
773
|
"decimals": 6,
|
|
774
|
+
"pegGroup": "USD",
|
|
725
775
|
"symbol": "USDC"
|
|
726
776
|
},
|
|
727
777
|
{
|
|
@@ -729,6 +779,7 @@ const chains = {
|
|
|
729
779
|
"approvalSlot": 52,
|
|
730
780
|
"balanceSlot": 51,
|
|
731
781
|
"decimals": 18,
|
|
782
|
+
"pegGroup": "ETH",
|
|
732
783
|
"priceSymbol": "ETH",
|
|
733
784
|
"symbol": "WETH"
|
|
734
785
|
}
|
|
@@ -752,7 +803,8 @@ const chains = {
|
|
|
752
803
|
},
|
|
753
804
|
"settlementLayers": [
|
|
754
805
|
"ACROSS",
|
|
755
|
-
"ECO"
|
|
806
|
+
"ECO",
|
|
807
|
+
"CCTP"
|
|
756
808
|
],
|
|
757
809
|
"swapQuoters": [],
|
|
758
810
|
"tokens": [
|
|
@@ -761,6 +813,7 @@ const chains = {
|
|
|
761
813
|
"approvalSlot": null,
|
|
762
814
|
"balanceSlot": null,
|
|
763
815
|
"decimals": 18,
|
|
816
|
+
"pegGroup": "ETH",
|
|
764
817
|
"symbol": "ETH"
|
|
765
818
|
},
|
|
766
819
|
{
|
|
@@ -768,6 +821,7 @@ const chains = {
|
|
|
768
821
|
"approvalSlot": 10,
|
|
769
822
|
"balanceSlot": 9,
|
|
770
823
|
"decimals": 6,
|
|
824
|
+
"pegGroup": "USD",
|
|
771
825
|
"symbol": "USDC"
|
|
772
826
|
},
|
|
773
827
|
{
|
|
@@ -775,6 +829,7 @@ const chains = {
|
|
|
775
829
|
"approvalSlot": 4,
|
|
776
830
|
"balanceSlot": 3,
|
|
777
831
|
"decimals": 18,
|
|
832
|
+
"pegGroup": "ETH",
|
|
778
833
|
"priceSymbol": "ETH",
|
|
779
834
|
"symbol": "WETH"
|
|
780
835
|
}
|
|
@@ -798,7 +853,8 @@ const chains = {
|
|
|
798
853
|
},
|
|
799
854
|
"settlementLayers": [
|
|
800
855
|
"ACROSS",
|
|
801
|
-
"ECO"
|
|
856
|
+
"ECO",
|
|
857
|
+
"CCTP"
|
|
802
858
|
],
|
|
803
859
|
"swapQuoters": [],
|
|
804
860
|
"tokens": [
|
|
@@ -807,6 +863,7 @@ const chains = {
|
|
|
807
863
|
"approvalSlot": null,
|
|
808
864
|
"balanceSlot": null,
|
|
809
865
|
"decimals": 18,
|
|
866
|
+
"pegGroup": "ETH",
|
|
810
867
|
"symbol": "ETH"
|
|
811
868
|
},
|
|
812
869
|
{
|
|
@@ -814,6 +871,7 @@ const chains = {
|
|
|
814
871
|
"approvalSlot": 10,
|
|
815
872
|
"balanceSlot": 9,
|
|
816
873
|
"decimals": 6,
|
|
874
|
+
"pegGroup": "USD",
|
|
817
875
|
"symbol": "USDC"
|
|
818
876
|
},
|
|
819
877
|
{
|
|
@@ -821,6 +879,7 @@ const chains = {
|
|
|
821
879
|
"approvalSlot": 4,
|
|
822
880
|
"balanceSlot": 3,
|
|
823
881
|
"decimals": 18,
|
|
882
|
+
"pegGroup": "ETH",
|
|
824
883
|
"priceSymbol": "ETH",
|
|
825
884
|
"symbol": "WETH"
|
|
826
885
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { contractAddresses } from "./generated/contracts";
|
|
2
2
|
import { contractAddresses as contractAddressesDev } from "./generated/contracts.dev";
|
|
3
3
|
import type { ChainEntry, ChainItem, ChainList, ChainRegistry, ContractAddresses, ErpcChainOverride, ErpcConfig, ErpcFailsafe, ProviderName, ProviderRegistry, SettlementLayer, SupportedChain, SupportedMainnet, SupportedOPStackMainnet, SupportedOPStackTestnet, SupportedTestnet, SwapQuoter } from "./types";
|
|
4
|
-
import { chains, MainnetNetwork, mainnetChains, OPStackChains, TestnetNetwork, testnetChains } from "./types";
|
|
4
|
+
import { chains, MainnetNetwork, mainnetChains, OPStackChains, PEG_GROUPS, TestnetNetwork, testnetChains } from "./types";
|
|
5
|
+
import type { PegGroup } from "./types";
|
|
5
6
|
import { getLayerZeroEid, getOftAdapter, getOftConfig, getOftSupportedChains, getSupportedOftTokens, hasOftSupport, OFT_REGISTRY } from "./oft";
|
|
6
7
|
import type { OftConfig } from "./oft";
|
|
7
8
|
declare const chainRegistry: ChainRegistry;
|
|
@@ -9,7 +10,7 @@ declare const erpcConfig: ErpcConfig;
|
|
|
9
10
|
declare const providerRegistry: ProviderRegistry;
|
|
10
11
|
declare const mainnetChainList: ChainList;
|
|
11
12
|
declare const testnetChainList: ChainList;
|
|
12
|
-
export { chainRegistry, erpcConfig, providerRegistry, mainnetChainList, testnetChainList, contractAddresses, contractAddressesDev, chains, mainnetChains, testnetChains, MainnetNetwork, OPStackChains, TestnetNetwork, OFT_REGISTRY, getOftConfig, hasOftSupport, getSupportedOftTokens, getLayerZeroEid, getOftAdapter, getOftSupportedChains, };
|
|
13
|
-
export type { ChainList, ChainItem, ChainEntry, ChainRegistry, ErpcConfig, ErpcFailsafe, ErpcChainOverride, ProviderRegistry, ProviderName, SwapQuoter, ContractAddresses, SupportedMainnet, SupportedTestnet, SupportedChain, SupportedOPStackMainnet, SupportedOPStackTestnet, SettlementLayer, OftConfig, };
|
|
13
|
+
export { chainRegistry, erpcConfig, providerRegistry, mainnetChainList, testnetChainList, contractAddresses, contractAddressesDev, chains, mainnetChains, testnetChains, MainnetNetwork, OPStackChains, TestnetNetwork, OFT_REGISTRY, getOftConfig, hasOftSupport, getSupportedOftTokens, getLayerZeroEid, getOftAdapter, getOftSupportedChains, PEG_GROUPS, };
|
|
14
|
+
export type { ChainList, ChainItem, ChainEntry, ChainRegistry, ErpcConfig, ErpcFailsafe, ErpcChainOverride, ProviderRegistry, ProviderName, SwapQuoter, ContractAddresses, SupportedMainnet, SupportedTestnet, SupportedChain, SupportedOPStackMainnet, SupportedOPStackTestnet, SettlementLayer, OftConfig, PegGroup, };
|
|
14
15
|
export * from "./abis";
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,gBAAgB,EAChB,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,MAAM,EACN,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,aAAa,EACd,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,eAAe,EACf,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,YAAY,EACb,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aAAkD,CAAC;AACxE,QAAA,MAAM,UAAU,EAAE,UAAyC,CAAC;AAC5D,QAAA,MAAM,gBAAgB,EAAE,gBACkB,CAAC;AAC3C,QAAA,MAAM,gBAAgB,EAAE,SAA6C,CAAC;AACtE,QAAA,MAAM,gBAAgB,EAAE,SAA6C,CAAC;AAEtE,OAAO,EAEL,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EAEpB,MAAM,EACN,aAAa,EACb,aAAa,EAEb,cAAc,EACd,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,uBAAuB,EACv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+17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.getOftSupportedChains = exports.getOftAdapter = exports.getLayerZeroEid = exports.getSupportedOftTokens = exports.hasOftSupport = exports.getOftConfig = exports.OFT_REGISTRY = exports.TestnetNetwork = exports.OPStackChains = exports.MainnetNetwork = exports.testnetChains = exports.mainnetChains = exports.chains = exports.contractAddressesDev = exports.contractAddresses = exports.testnetChainList = exports.mainnetChainList = exports.providerRegistry = exports.erpcConfig = exports.chainRegistry = void 0;
|
|
20
|
+
exports.PEG_GROUPS = exports.getOftSupportedChains = exports.getOftAdapter = exports.getLayerZeroEid = exports.getSupportedOftTokens = exports.hasOftSupport = exports.getOftConfig = exports.OFT_REGISTRY = exports.TestnetNetwork = exports.OPStackChains = exports.MainnetNetwork = exports.testnetChains = exports.mainnetChains = exports.chains = exports.contractAddressesDev = exports.contractAddresses = exports.testnetChainList = exports.mainnetChainList = exports.providerRegistry = exports.erpcConfig = exports.chainRegistry = void 0;
|
|
21
21
|
const chains_json_1 = __importDefault(require("../configs/chains.json"));
|
|
22
22
|
const erpc_json_1 = __importDefault(require("../configs/erpc.json"));
|
|
23
23
|
const mainnets_json_1 = __importDefault(require("../configs/mainnets.json"));
|
|
@@ -32,6 +32,7 @@ Object.defineProperty(exports, "chains", { enumerable: true, get: function () {
|
|
|
32
32
|
Object.defineProperty(exports, "MainnetNetwork", { enumerable: true, get: function () { return types_1.MainnetNetwork; } });
|
|
33
33
|
Object.defineProperty(exports, "mainnetChains", { enumerable: true, get: function () { return types_1.mainnetChains; } });
|
|
34
34
|
Object.defineProperty(exports, "OPStackChains", { enumerable: true, get: function () { return types_1.OPStackChains; } });
|
|
35
|
+
Object.defineProperty(exports, "PEG_GROUPS", { enumerable: true, get: function () { return types_1.PEG_GROUPS; } });
|
|
35
36
|
Object.defineProperty(exports, "TestnetNetwork", { enumerable: true, get: function () { return types_1.TestnetNetwork; } });
|
|
36
37
|
Object.defineProperty(exports, "testnetChains", { enumerable: true, get: function () { return types_1.testnetChains; } });
|
|
37
38
|
const oft_1 = require("./oft");
|
package/dist/src/types.d.ts
CHANGED
|
@@ -7,13 +7,18 @@ type SupportedMainnet = EnumNumberValues<typeof MainnetNetwork>;
|
|
|
7
7
|
type SupportedOPStackMainnet = Extract<EnumNumberValues<typeof OPStackChains>, SupportedMainnet>;
|
|
8
8
|
type SupportedOPStackTestnet = Extract<EnumNumberValues<typeof OPStackChains>, SupportedTestnet>;
|
|
9
9
|
type SupportedChain = SupportedMainnet | SupportedTestnet;
|
|
10
|
-
type SettlementLayer = 'ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO';
|
|
10
|
+
type SettlementLayer = 'ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP';
|
|
11
11
|
type SwapQuoter = '1inch' | '0x' | 'velora' | 'kyberswap';
|
|
12
|
+
type PegGroup = 'USD' | 'ETH';
|
|
13
|
+
declare const PEG_GROUPS: Record<PegGroup, {
|
|
14
|
+
tolerance: number;
|
|
15
|
+
}>;
|
|
12
16
|
interface TokenEntry {
|
|
13
17
|
symbol: string;
|
|
14
18
|
address: Address;
|
|
15
19
|
decimals: number;
|
|
16
20
|
priceSymbol?: string;
|
|
21
|
+
pegGroup?: PegGroup;
|
|
17
22
|
balanceSlot: number | null;
|
|
18
23
|
approvalSlot: number | null;
|
|
19
24
|
}
|
|
@@ -77,6 +82,6 @@ interface ErpcConfig {
|
|
|
77
82
|
rateLimitBudgets: Record<string, string>;
|
|
78
83
|
providerIdPrefix: Record<string, string>;
|
|
79
84
|
}
|
|
80
|
-
export { OPStackChains, MainnetNetwork, TestnetNetwork, mainnetChains, testnetChains, chains };
|
|
81
|
-
export type { ChainItem, ChainEntry, ChainRegistry, ChainList, ContractAddresses, ProviderRegistry, ProviderName, SettlementLayer, SupportedTestnet, SupportedMainnet, SupportedOPStackMainnet, SupportedOPStackTestnet, SupportedChain, SwapQuoter, SwapQuoterConfig, ErpcFailsafe, ErpcChainOverride, ErpcConfig, };
|
|
85
|
+
export { OPStackChains, MainnetNetwork, TestnetNetwork, mainnetChains, testnetChains, chains, PEG_GROUPS };
|
|
86
|
+
export type { ChainItem, ChainEntry, ChainRegistry, ChainList, ContractAddresses, ProviderRegistry, ProviderName, SettlementLayer, SupportedTestnet, SupportedMainnet, SupportedOPStackMainnet, SupportedOPStackTestnet, SupportedChain, SwapQuoter, SwapQuoterConfig, PegGroup, ErpcFailsafe, ErpcChainOverride, ErpcConfig, };
|
|
82
87
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACL,MAAM,EACN,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,aAAa,EACd,MAAM,sBAAsB,CAAC;AAE9B,KAAK,gBAAgB,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AACvD,KAAK,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,cAAc,CAAC,CAAC;AAChE,KAAK,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,cAAc,CAAC,CAAC;AAChE,KAAK,uBAAuB,GAAG,OAAO,CAAC,gBAAgB,CAAC,OAAO,aAAa,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACjG,KAAK,uBAAuB,GAAG,OAAO,CAAC,gBAAgB,CAAC,OAAO,aAAa,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACjG,KAAK,cAAc,GAAG,gBAAgB,GAAG,gBAAgB,C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R,YAAY,EACZ,iBAAiB,EACjB,UAAU,GACX,CAAC"}
|
package/dist/src/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.chains = exports.testnetChains = exports.mainnetChains = exports.TestnetNetwork = exports.MainnetNetwork = exports.OPStackChains = void 0;
|
|
3
|
+
exports.PEG_GROUPS = exports.chains = exports.testnetChains = exports.mainnetChains = exports.TestnetNetwork = exports.MainnetNetwork = exports.OPStackChains = void 0;
|
|
4
4
|
const networks_1 = require("./generated/networks");
|
|
5
5
|
Object.defineProperty(exports, "chains", { enumerable: true, get: function () { return networks_1.chains; } });
|
|
6
6
|
Object.defineProperty(exports, "MainnetNetwork", { enumerable: true, get: function () { return networks_1.MainnetNetwork; } });
|
|
@@ -8,3 +8,8 @@ Object.defineProperty(exports, "mainnetChains", { enumerable: true, get: functio
|
|
|
8
8
|
Object.defineProperty(exports, "OPStackChains", { enumerable: true, get: function () { return networks_1.OPStackChains; } });
|
|
9
9
|
Object.defineProperty(exports, "TestnetNetwork", { enumerable: true, get: function () { return networks_1.TestnetNetwork; } });
|
|
10
10
|
Object.defineProperty(exports, "testnetChains", { enumerable: true, get: function () { return networks_1.testnetChains; } });
|
|
11
|
+
const PEG_GROUPS = {
|
|
12
|
+
USD: { tolerance: 25 },
|
|
13
|
+
ETH: { tolerance: 25 },
|
|
14
|
+
};
|
|
15
|
+
exports.PEG_GROUPS = PEG_GROUPS;
|