@rhinestone/shared-configs 1.4.141 → 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.
@@ -27,6 +27,7 @@
27
27
  "approvalSlot": null,
28
28
  "balanceSlot": null,
29
29
  "decimals": 18,
30
+ "pegGroup": "ETH",
30
31
  "symbol": "ETH"
31
32
  },
32
33
  {
@@ -34,6 +35,7 @@
34
35
  "approvalSlot": 10,
35
36
  "balanceSlot": 9,
36
37
  "decimals": 6,
38
+ "pegGroup": "USD",
37
39
  "symbol": "USDC"
38
40
  },
39
41
  {
@@ -41,6 +43,7 @@
41
43
  "approvalSlot": 4,
42
44
  "balanceSlot": 3,
43
45
  "decimals": 18,
46
+ "pegGroup": "ETH",
44
47
  "priceSymbol": "ETH",
45
48
  "symbol": "WETH"
46
49
  },
@@ -49,6 +52,7 @@
49
52
  "approvalSlot": 5,
50
53
  "balanceSlot": 2,
51
54
  "decimals": 6,
55
+ "pegGroup": "USD",
52
56
  "priceSymbol": "USDT",
53
57
  "symbol": "USDT0"
54
58
  }
@@ -87,6 +91,7 @@
87
91
  "approvalSlot": null,
88
92
  "balanceSlot": null,
89
93
  "decimals": 18,
94
+ "pegGroup": "ETH",
90
95
  "symbol": "ETH"
91
96
  },
92
97
  {
@@ -94,6 +99,7 @@
94
99
  "approvalSlot": 10,
95
100
  "balanceSlot": 9,
96
101
  "decimals": 6,
102
+ "pegGroup": "USD",
97
103
  "symbol": "USDC"
98
104
  },
99
105
  {
@@ -101,6 +107,7 @@
101
107
  "approvalSlot": 4,
102
108
  "balanceSlot": 3,
103
109
  "decimals": 18,
110
+ "pegGroup": "ETH",
104
111
  "priceSymbol": "ETH",
105
112
  "symbol": "WETH"
106
113
  },
@@ -109,6 +116,7 @@
109
116
  "approvalSlot": 52,
110
117
  "balanceSlot": 51,
111
118
  "decimals": 6,
119
+ "pegGroup": "USD",
112
120
  "priceSymbol": "USDT",
113
121
  "symbol": "USDT0"
114
122
  }
@@ -144,6 +152,7 @@
144
152
  "approvalSlot": 2,
145
153
  "balanceSlot": 1,
146
154
  "decimals": 18,
155
+ "pegGroup": "USD",
147
156
  "symbol": "USDC"
148
157
  },
149
158
  {
@@ -151,6 +160,7 @@
151
160
  "approvalSlot": 2,
152
161
  "balanceSlot": 1,
153
162
  "decimals": 18,
163
+ "pegGroup": "ETH",
154
164
  "priceSymbol": "ETH",
155
165
  "symbol": "WETH"
156
166
  },
@@ -159,6 +169,7 @@
159
169
  "approvalSlot": 2,
160
170
  "balanceSlot": 1,
161
171
  "decimals": 18,
172
+ "pegGroup": "USD",
162
173
  "symbol": "USDT"
163
174
  }
164
175
  ],
@@ -190,6 +201,7 @@
190
201
  "approvalSlot": 10,
191
202
  "balanceSlot": 9,
192
203
  "decimals": 6,
204
+ "pegGroup": "USD",
193
205
  "symbol": "USDC"
194
206
  }
195
207
  ],
@@ -227,6 +239,7 @@
227
239
  "approvalSlot": 10,
228
240
  "balanceSlot": 9,
229
241
  "decimals": 6,
242
+ "pegGroup": "USD",
230
243
  "symbol": "USDC"
231
244
  },
232
245
  {
@@ -234,6 +247,7 @@
234
247
  "approvalSlot": 1,
235
248
  "balanceSlot": 0,
236
249
  "decimals": 18,
250
+ "pegGroup": "ETH",
237
251
  "priceSymbol": "ETH",
238
252
  "symbol": "WETH"
239
253
  },
@@ -242,6 +256,7 @@
242
256
  "approvalSlot": 1,
243
257
  "balanceSlot": 0,
244
258
  "decimals": 6,
259
+ "pegGroup": "USD",
245
260
  "priceSymbol": "USDT",
246
261
  "symbol": "USDT0"
247
262
  }
@@ -289,6 +304,7 @@
289
304
  "approvalSlot": 10,
290
305
  "balanceSlot": 9,
291
306
  "decimals": 6,
307
+ "pegGroup": "USD",
292
308
  "symbol": "USDC"
293
309
  },
294
310
  {
@@ -296,6 +312,7 @@
296
312
  "approvalSlot": 52,
297
313
  "balanceSlot": 51,
298
314
  "decimals": 6,
315
+ "pegGroup": "USD",
299
316
  "symbol": "USDT0"
300
317
  }
301
318
  ],
@@ -330,6 +347,7 @@
330
347
  "approvalSlot": 10,
331
348
  "balanceSlot": 9,
332
349
  "decimals": 6,
350
+ "pegGroup": "USD",
333
351
  "symbol": "USDC"
334
352
  }
335
353
  ],
@@ -359,6 +377,7 @@
359
377
  "approvalSlot": 10,
360
378
  "balanceSlot": 9,
361
379
  "decimals": 6,
380
+ "pegGroup": "USD",
362
381
  "symbol": "USDC"
363
382
  },
364
383
  {
@@ -366,6 +385,7 @@
366
385
  "approvalSlot": 52,
367
386
  "balanceSlot": 51,
368
387
  "decimals": 6,
388
+ "pegGroup": "USD",
369
389
  "priceSymbol": "USDT",
370
390
  "symbol": "USDT0"
371
391
  }
@@ -394,6 +414,7 @@
394
414
  "approvalSlot": null,
395
415
  "balanceSlot": null,
396
416
  "decimals": 18,
417
+ "pegGroup": "ETH",
397
418
  "symbol": "ETH"
398
419
  },
399
420
  {
@@ -401,6 +422,7 @@
401
422
  "approvalSlot": 10,
402
423
  "balanceSlot": 9,
403
424
  "decimals": 6,
425
+ "pegGroup": "USD",
404
426
  "symbol": "USDC"
405
427
  },
406
428
  {
@@ -408,6 +430,7 @@
408
430
  "approvalSlot": 1,
409
431
  "balanceSlot": 0,
410
432
  "decimals": 18,
433
+ "pegGroup": "ETH",
411
434
  "priceSymbol": "ETH",
412
435
  "symbol": "WETH"
413
436
  }
@@ -445,6 +468,7 @@
445
468
  "approvalSlot": null,
446
469
  "balanceSlot": null,
447
470
  "decimals": 18,
471
+ "pegGroup": "ETH",
448
472
  "symbol": "ETH"
449
473
  },
450
474
  {
@@ -452,6 +476,7 @@
452
476
  "approvalSlot": 10,
453
477
  "balanceSlot": 9,
454
478
  "decimals": 6,
479
+ "pegGroup": "USD",
455
480
  "symbol": "USDC"
456
481
  },
457
482
  {
@@ -459,6 +484,7 @@
459
484
  "approvalSlot": 4,
460
485
  "balanceSlot": 3,
461
486
  "decimals": 18,
487
+ "pegGroup": "ETH",
462
488
  "priceSymbol": "ETH",
463
489
  "symbol": "WETH"
464
490
  }
@@ -493,6 +519,7 @@
493
519
  "approvalSlot": 52,
494
520
  "balanceSlot": 51,
495
521
  "decimals": 6,
522
+ "pegGroup": "USD",
496
523
  "priceSymbol": "USDT",
497
524
  "symbol": "USDT0"
498
525
  }
@@ -520,6 +547,7 @@
520
547
  "approvalSlot": 2,
521
548
  "balanceSlot": 1,
522
549
  "decimals": 6,
550
+ "pegGroup": "USD",
523
551
  "priceSymbol": "USDT",
524
552
  "symbol": "USDT0"
525
553
  },
@@ -528,6 +556,7 @@
528
556
  "approvalSlot": 1,
529
557
  "balanceSlot": 0,
530
558
  "decimals": 6,
559
+ "pegGroup": "USD",
531
560
  "symbol": "USDC"
532
561
  }
533
562
  ],
@@ -565,6 +594,7 @@
565
594
  "approvalSlot": null,
566
595
  "balanceSlot": null,
567
596
  "decimals": 18,
597
+ "pegGroup": "ETH",
568
598
  "symbol": "ETH"
569
599
  },
570
600
  {
@@ -572,6 +602,7 @@
572
602
  "approvalSlot": 10,
573
603
  "balanceSlot": 9,
574
604
  "decimals": 6,
605
+ "pegGroup": "USD",
575
606
  "symbol": "USDC"
576
607
  },
577
608
  {
@@ -579,6 +610,7 @@
579
610
  "approvalSlot": 52,
580
611
  "balanceSlot": 51,
581
612
  "decimals": 18,
613
+ "pegGroup": "ETH",
582
614
  "priceSymbol": "ETH",
583
615
  "symbol": "WETH"
584
616
  },
@@ -587,6 +619,7 @@
587
619
  "approvalSlot": 52,
588
620
  "balanceSlot": 51,
589
621
  "decimals": 6,
622
+ "pegGroup": "USD",
590
623
  "priceSymbol": "USDT",
591
624
  "symbol": "USDT0"
592
625
  }
@@ -616,6 +649,7 @@
616
649
  "approvalSlot": null,
617
650
  "balanceSlot": null,
618
651
  "decimals": 18,
652
+ "pegGroup": "ETH",
619
653
  "symbol": "ETH"
620
654
  },
621
655
  {
@@ -623,6 +657,7 @@
623
657
  "approvalSlot": 10,
624
658
  "balanceSlot": 9,
625
659
  "decimals": 6,
660
+ "pegGroup": "USD",
626
661
  "symbol": "USDC"
627
662
  },
628
663
  {
@@ -630,6 +665,7 @@
630
665
  "approvalSlot": 4,
631
666
  "balanceSlot": 3,
632
667
  "decimals": 18,
668
+ "pegGroup": "ETH",
633
669
  "priceSymbol": "ETH",
634
670
  "symbol": "WETH"
635
671
  },
@@ -638,6 +674,7 @@
638
674
  "approvalSlot": 1,
639
675
  "balanceSlot": 0,
640
676
  "decimals": 6,
677
+ "pegGroup": "USD",
641
678
  "priceSymbol": "USDC",
642
679
  "symbol": "MockUSD"
643
680
  }
@@ -667,6 +704,7 @@
667
704
  "approvalSlot": null,
668
705
  "balanceSlot": null,
669
706
  "decimals": 18,
707
+ "pegGroup": "ETH",
670
708
  "symbol": "ETH"
671
709
  },
672
710
  {
@@ -674,6 +712,7 @@
674
712
  "approvalSlot": 10,
675
713
  "balanceSlot": 9,
676
714
  "decimals": 6,
715
+ "pegGroup": "USD",
677
716
  "symbol": "USDC"
678
717
  },
679
718
  {
@@ -681,6 +720,7 @@
681
720
  "approvalSlot": 52,
682
721
  "balanceSlot": 51,
683
722
  "decimals": 18,
723
+ "pegGroup": "ETH",
684
724
  "priceSymbol": "ETH",
685
725
  "symbol": "WETH"
686
726
  }
@@ -710,6 +750,7 @@
710
750
  "approvalSlot": null,
711
751
  "balanceSlot": null,
712
752
  "decimals": 18,
753
+ "pegGroup": "ETH",
713
754
  "symbol": "ETH"
714
755
  },
715
756
  {
@@ -717,6 +758,7 @@
717
758
  "approvalSlot": 10,
718
759
  "balanceSlot": 9,
719
760
  "decimals": 6,
761
+ "pegGroup": "USD",
720
762
  "symbol": "USDC"
721
763
  },
722
764
  {
@@ -724,6 +766,7 @@
724
766
  "approvalSlot": 4,
725
767
  "balanceSlot": 3,
726
768
  "decimals": 18,
769
+ "pegGroup": "ETH",
727
770
  "priceSymbol": "ETH",
728
771
  "symbol": "WETH"
729
772
  }
@@ -753,6 +796,7 @@
753
796
  "approvalSlot": null,
754
797
  "balanceSlot": null,
755
798
  "decimals": 18,
799
+ "pegGroup": "ETH",
756
800
  "symbol": "ETH"
757
801
  },
758
802
  {
@@ -760,6 +804,7 @@
760
804
  "approvalSlot": 10,
761
805
  "balanceSlot": 9,
762
806
  "decimals": 6,
807
+ "pegGroup": "USD",
763
808
  "symbol": "USDC"
764
809
  },
765
810
  {
@@ -767,6 +812,7 @@
767
812
  "approvalSlot": 4,
768
813
  "balanceSlot": 3,
769
814
  "decimals": 18,
815
+ "pegGroup": "ETH",
770
816
  "priceSymbol": "ETH",
771
817
  "symbol": "WETH"
772
818
  }
@@ -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
  "}",
@@ -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
  }
@@ -1 +1 @@
1
- {"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CA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AC;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"}
@@ -30,6 +30,7 @@ const chains = {
30
30
  "approvalSlot": null,
31
31
  "balanceSlot": null,
32
32
  "decimals": 18,
33
+ "pegGroup": "ETH",
33
34
  "symbol": "ETH"
34
35
  },
35
36
  {
@@ -37,6 +38,7 @@ const chains = {
37
38
  "approvalSlot": 10,
38
39
  "balanceSlot": 9,
39
40
  "decimals": 6,
41
+ "pegGroup": "USD",
40
42
  "symbol": "USDC"
41
43
  },
42
44
  {
@@ -44,6 +46,7 @@ const chains = {
44
46
  "approvalSlot": 4,
45
47
  "balanceSlot": 3,
46
48
  "decimals": 18,
49
+ "pegGroup": "ETH",
47
50
  "priceSymbol": "ETH",
48
51
  "symbol": "WETH"
49
52
  },
@@ -52,6 +55,7 @@ const chains = {
52
55
  "approvalSlot": 5,
53
56
  "balanceSlot": 2,
54
57
  "decimals": 6,
58
+ "pegGroup": "USD",
55
59
  "priceSymbol": "USDT",
56
60
  "symbol": "USDT0"
57
61
  }
@@ -94,6 +98,7 @@ const chains = {
94
98
  "approvalSlot": null,
95
99
  "balanceSlot": null,
96
100
  "decimals": 18,
101
+ "pegGroup": "ETH",
97
102
  "symbol": "ETH"
98
103
  },
99
104
  {
@@ -101,6 +106,7 @@ const chains = {
101
106
  "approvalSlot": 10,
102
107
  "balanceSlot": 9,
103
108
  "decimals": 6,
109
+ "pegGroup": "USD",
104
110
  "symbol": "USDC"
105
111
  },
106
112
  {
@@ -108,6 +114,7 @@ const chains = {
108
114
  "approvalSlot": 4,
109
115
  "balanceSlot": 3,
110
116
  "decimals": 18,
117
+ "pegGroup": "ETH",
111
118
  "priceSymbol": "ETH",
112
119
  "symbol": "WETH"
113
120
  },
@@ -116,6 +123,7 @@ const chains = {
116
123
  "approvalSlot": 52,
117
124
  "balanceSlot": 51,
118
125
  "decimals": 6,
126
+ "pegGroup": "USD",
119
127
  "priceSymbol": "USDT",
120
128
  "symbol": "USDT0"
121
129
  }
@@ -155,6 +163,7 @@ const chains = {
155
163
  "approvalSlot": 2,
156
164
  "balanceSlot": 1,
157
165
  "decimals": 18,
166
+ "pegGroup": "USD",
158
167
  "symbol": "USDC"
159
168
  },
160
169
  {
@@ -162,6 +171,7 @@ const chains = {
162
171
  "approvalSlot": 2,
163
172
  "balanceSlot": 1,
164
173
  "decimals": 18,
174
+ "pegGroup": "ETH",
165
175
  "priceSymbol": "ETH",
166
176
  "symbol": "WETH"
167
177
  },
@@ -170,6 +180,7 @@ const chains = {
170
180
  "approvalSlot": 2,
171
181
  "balanceSlot": 1,
172
182
  "decimals": 18,
183
+ "pegGroup": "USD",
173
184
  "symbol": "USDT"
174
185
  }
175
186
  ],
@@ -205,6 +216,7 @@ const chains = {
205
216
  "approvalSlot": 10,
206
217
  "balanceSlot": 9,
207
218
  "decimals": 6,
219
+ "pegGroup": "USD",
208
220
  "symbol": "USDC"
209
221
  }
210
222
  ],
@@ -247,6 +259,7 @@ const chains = {
247
259
  "approvalSlot": 10,
248
260
  "balanceSlot": 9,
249
261
  "decimals": 6,
262
+ "pegGroup": "USD",
250
263
  "symbol": "USDC"
251
264
  },
252
265
  {
@@ -254,6 +267,7 @@ const chains = {
254
267
  "approvalSlot": 1,
255
268
  "balanceSlot": 0,
256
269
  "decimals": 18,
270
+ "pegGroup": "ETH",
257
271
  "priceSymbol": "ETH",
258
272
  "symbol": "WETH"
259
273
  },
@@ -262,6 +276,7 @@ const chains = {
262
276
  "approvalSlot": 1,
263
277
  "balanceSlot": 0,
264
278
  "decimals": 6,
279
+ "pegGroup": "USD",
265
280
  "priceSymbol": "USDT",
266
281
  "symbol": "USDT0"
267
282
  }
@@ -313,6 +328,7 @@ const chains = {
313
328
  "approvalSlot": 10,
314
329
  "balanceSlot": 9,
315
330
  "decimals": 6,
331
+ "pegGroup": "USD",
316
332
  "symbol": "USDC"
317
333
  },
318
334
  {
@@ -320,6 +336,7 @@ const chains = {
320
336
  "approvalSlot": 52,
321
337
  "balanceSlot": 51,
322
338
  "decimals": 6,
339
+ "pegGroup": "USD",
323
340
  "symbol": "USDT0"
324
341
  }
325
342
  ],
@@ -358,6 +375,7 @@ const chains = {
358
375
  "approvalSlot": 10,
359
376
  "balanceSlot": 9,
360
377
  "decimals": 6,
378
+ "pegGroup": "USD",
361
379
  "symbol": "USDC"
362
380
  }
363
381
  ],
@@ -391,6 +409,7 @@ const chains = {
391
409
  "approvalSlot": 10,
392
410
  "balanceSlot": 9,
393
411
  "decimals": 6,
412
+ "pegGroup": "USD",
394
413
  "symbol": "USDC"
395
414
  },
396
415
  {
@@ -398,6 +417,7 @@ const chains = {
398
417
  "approvalSlot": 52,
399
418
  "balanceSlot": 51,
400
419
  "decimals": 6,
420
+ "pegGroup": "USD",
401
421
  "priceSymbol": "USDT",
402
422
  "symbol": "USDT0"
403
423
  }
@@ -429,6 +449,7 @@ const chains = {
429
449
  "approvalSlot": null,
430
450
  "balanceSlot": null,
431
451
  "decimals": 18,
452
+ "pegGroup": "ETH",
432
453
  "symbol": "ETH"
433
454
  },
434
455
  {
@@ -436,6 +457,7 @@ const chains = {
436
457
  "approvalSlot": 10,
437
458
  "balanceSlot": 9,
438
459
  "decimals": 6,
460
+ "pegGroup": "USD",
439
461
  "symbol": "USDC"
440
462
  },
441
463
  {
@@ -443,6 +465,7 @@ const chains = {
443
465
  "approvalSlot": 1,
444
466
  "balanceSlot": 0,
445
467
  "decimals": 18,
468
+ "pegGroup": "ETH",
446
469
  "priceSymbol": "ETH",
447
470
  "symbol": "WETH"
448
471
  }
@@ -484,6 +507,7 @@ const chains = {
484
507
  "approvalSlot": null,
485
508
  "balanceSlot": null,
486
509
  "decimals": 18,
510
+ "pegGroup": "ETH",
487
511
  "symbol": "ETH"
488
512
  },
489
513
  {
@@ -491,6 +515,7 @@ const chains = {
491
515
  "approvalSlot": 10,
492
516
  "balanceSlot": 9,
493
517
  "decimals": 6,
518
+ "pegGroup": "USD",
494
519
  "symbol": "USDC"
495
520
  },
496
521
  {
@@ -498,6 +523,7 @@ const chains = {
498
523
  "approvalSlot": 4,
499
524
  "balanceSlot": 3,
500
525
  "decimals": 18,
526
+ "pegGroup": "ETH",
501
527
  "priceSymbol": "ETH",
502
528
  "symbol": "WETH"
503
529
  }
@@ -536,6 +562,7 @@ const chains = {
536
562
  "approvalSlot": 52,
537
563
  "balanceSlot": 51,
538
564
  "decimals": 6,
565
+ "pegGroup": "USD",
539
566
  "priceSymbol": "USDT",
540
567
  "symbol": "USDT0"
541
568
  }
@@ -568,6 +595,7 @@ const chains = {
568
595
  "approvalSlot": 2,
569
596
  "balanceSlot": 1,
570
597
  "decimals": 6,
598
+ "pegGroup": "USD",
571
599
  "priceSymbol": "USDT",
572
600
  "symbol": "USDT0"
573
601
  },
@@ -576,6 +604,7 @@ const chains = {
576
604
  "approvalSlot": 1,
577
605
  "balanceSlot": 0,
578
606
  "decimals": 6,
607
+ "pegGroup": "USD",
579
608
  "symbol": "USDC"
580
609
  }
581
610
  ],
@@ -616,6 +645,7 @@ const chains = {
616
645
  "approvalSlot": null,
617
646
  "balanceSlot": null,
618
647
  "decimals": 18,
648
+ "pegGroup": "ETH",
619
649
  "symbol": "ETH"
620
650
  },
621
651
  {
@@ -623,6 +653,7 @@ const chains = {
623
653
  "approvalSlot": 10,
624
654
  "balanceSlot": 9,
625
655
  "decimals": 6,
656
+ "pegGroup": "USD",
626
657
  "symbol": "USDC"
627
658
  },
628
659
  {
@@ -630,6 +661,7 @@ const chains = {
630
661
  "approvalSlot": 52,
631
662
  "balanceSlot": 51,
632
663
  "decimals": 18,
664
+ "pegGroup": "ETH",
633
665
  "priceSymbol": "ETH",
634
666
  "symbol": "WETH"
635
667
  },
@@ -638,6 +670,7 @@ const chains = {
638
670
  "approvalSlot": 52,
639
671
  "balanceSlot": 51,
640
672
  "decimals": 6,
673
+ "pegGroup": "USD",
641
674
  "priceSymbol": "USDT",
642
675
  "symbol": "USDT0"
643
676
  }
@@ -671,6 +704,7 @@ const chains = {
671
704
  "approvalSlot": null,
672
705
  "balanceSlot": null,
673
706
  "decimals": 18,
707
+ "pegGroup": "ETH",
674
708
  "symbol": "ETH"
675
709
  },
676
710
  {
@@ -678,6 +712,7 @@ const chains = {
678
712
  "approvalSlot": 10,
679
713
  "balanceSlot": 9,
680
714
  "decimals": 6,
715
+ "pegGroup": "USD",
681
716
  "symbol": "USDC"
682
717
  },
683
718
  {
@@ -685,6 +720,7 @@ const chains = {
685
720
  "approvalSlot": 4,
686
721
  "balanceSlot": 3,
687
722
  "decimals": 18,
723
+ "pegGroup": "ETH",
688
724
  "priceSymbol": "ETH",
689
725
  "symbol": "WETH"
690
726
  },
@@ -693,6 +729,7 @@ const chains = {
693
729
  "approvalSlot": 1,
694
730
  "balanceSlot": 0,
695
731
  "decimals": 6,
732
+ "pegGroup": "USD",
696
733
  "priceSymbol": "USDC",
697
734
  "symbol": "MockUSD"
698
735
  }
@@ -726,6 +763,7 @@ const chains = {
726
763
  "approvalSlot": null,
727
764
  "balanceSlot": null,
728
765
  "decimals": 18,
766
+ "pegGroup": "ETH",
729
767
  "symbol": "ETH"
730
768
  },
731
769
  {
@@ -733,6 +771,7 @@ const chains = {
733
771
  "approvalSlot": 10,
734
772
  "balanceSlot": 9,
735
773
  "decimals": 6,
774
+ "pegGroup": "USD",
736
775
  "symbol": "USDC"
737
776
  },
738
777
  {
@@ -740,6 +779,7 @@ const chains = {
740
779
  "approvalSlot": 52,
741
780
  "balanceSlot": 51,
742
781
  "decimals": 18,
782
+ "pegGroup": "ETH",
743
783
  "priceSymbol": "ETH",
744
784
  "symbol": "WETH"
745
785
  }
@@ -773,6 +813,7 @@ const chains = {
773
813
  "approvalSlot": null,
774
814
  "balanceSlot": null,
775
815
  "decimals": 18,
816
+ "pegGroup": "ETH",
776
817
  "symbol": "ETH"
777
818
  },
778
819
  {
@@ -780,6 +821,7 @@ const chains = {
780
821
  "approvalSlot": 10,
781
822
  "balanceSlot": 9,
782
823
  "decimals": 6,
824
+ "pegGroup": "USD",
783
825
  "symbol": "USDC"
784
826
  },
785
827
  {
@@ -787,6 +829,7 @@ const chains = {
787
829
  "approvalSlot": 4,
788
830
  "balanceSlot": 3,
789
831
  "decimals": 18,
832
+ "pegGroup": "ETH",
790
833
  "priceSymbol": "ETH",
791
834
  "symbol": "WETH"
792
835
  }
@@ -820,6 +863,7 @@ const chains = {
820
863
  "approvalSlot": null,
821
864
  "balanceSlot": null,
822
865
  "decimals": 18,
866
+ "pegGroup": "ETH",
823
867
  "symbol": "ETH"
824
868
  },
825
869
  {
@@ -827,6 +871,7 @@ const chains = {
827
871
  "approvalSlot": 10,
828
872
  "balanceSlot": 9,
829
873
  "decimals": 6,
874
+ "pegGroup": "USD",
830
875
  "symbol": "USDC"
831
876
  },
832
877
  {
@@ -834,6 +879,7 @@ const chains = {
834
879
  "approvalSlot": 4,
835
880
  "balanceSlot": 3,
836
881
  "decimals": 18,
882
+ "pegGroup": "ETH",
837
883
  "priceSymbol": "ETH",
838
884
  "symbol": "WETH"
839
885
  }
@@ -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
@@ -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,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@@ 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");
@@ -9,11 +9,16 @@ type SupportedOPStackTestnet = Extract<EnumNumberValues<typeof OPStackChains>, S
9
9
  type SupportedChain = SupportedMainnet | SupportedTestnet;
10
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
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/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,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/C;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IACjC,GAAG,CAAC,EAAE;QAAE,sBAAsB,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C;AAED,UAAU,UAAU;IAClB,QAAQ,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACrC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAClD,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AAED,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;AAC3G,YAAY,EACV,SAAS,EACT,UAAU,EACV,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/shared-configs",
3
- "version": "1.4.141",
3
+ "version": "1.4.142",
4
4
  "description": "Reusable configuration files for Rhinestone services",
5
5
  "author": {
6
6
  "name": "Rhinestone",