@rhinestone/shared-configs 1.17.0 → 1.19.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.
@@ -60,7 +60,8 @@ const chains = {
60
60
  "pegGroup": "ETH",
61
61
  "settlementLayers": [
62
62
  "ACROSS",
63
- "ECO"
63
+ "ECO",
64
+ "NEAR"
64
65
  ],
65
66
  "symbol": "ETH"
66
67
  },
@@ -72,7 +73,8 @@ const chains = {
72
73
  "pegGroup": "USD",
73
74
  "settlementLayers": [
74
75
  "ACROSS",
75
- "ECO"
76
+ "ECO",
77
+ "NEAR"
76
78
  ],
77
79
  "symbol": "USDC"
78
80
  },
@@ -85,7 +87,8 @@ const chains = {
85
87
  "priceSymbol": "ETH",
86
88
  "settlementLayers": [
87
89
  "ACROSS",
88
- "ECO"
90
+ "ECO",
91
+ "NEAR"
89
92
  ],
90
93
  "symbol": "WETH"
91
94
  },
@@ -99,6 +102,7 @@ const chains = {
99
102
  "settlementLayers": [
100
103
  "ACROSS",
101
104
  "ECO",
105
+ "NEAR",
102
106
  "OFT"
103
107
  ],
104
108
  "symbol": "USDT"
@@ -169,10 +173,12 @@ const chains = {
169
173
  "approvalSlot": null,
170
174
  "balanceSlot": null,
171
175
  "decimals": 18,
176
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:10_11111111111111111111",
172
177
  "pegGroup": "ETH",
173
178
  "settlementLayers": [
174
179
  "ACROSS",
175
- "ECO"
180
+ "ECO",
181
+ "NEAR"
176
182
  ],
177
183
  "symbol": "ETH"
178
184
  },
@@ -181,10 +187,12 @@ const chains = {
181
187
  "approvalSlot": 10,
182
188
  "balanceSlot": 9,
183
189
  "decimals": 6,
190
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:10_A2ewyUyDp6qsue1jqZsGypkCxRJ",
184
191
  "pegGroup": "USD",
185
192
  "settlementLayers": [
186
193
  "ACROSS",
187
- "ECO"
194
+ "ECO",
195
+ "NEAR"
188
196
  ],
189
197
  "symbol": "USDC"
190
198
  },
@@ -193,11 +201,13 @@ const chains = {
193
201
  "approvalSlot": 4,
194
202
  "balanceSlot": 3,
195
203
  "decimals": 18,
204
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:10_vLAiSt9KfUGKpw5cD3vsSyNYBn5",
196
205
  "pegGroup": "ETH",
197
206
  "priceSymbol": "ETH",
198
207
  "settlementLayers": [
199
208
  "ACROSS",
200
- "ECO"
209
+ "ECO",
210
+ "NEAR"
201
211
  ],
202
212
  "symbol": "WETH"
203
213
  },
@@ -220,10 +230,12 @@ const chains = {
220
230
  "approvalSlot": 1,
221
231
  "balanceSlot": 0,
222
232
  "decimals": 6,
233
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:10_359RPSJVdTxwTJT9TyGssr2rFoWo",
223
234
  "pegGroup": "USD",
224
235
  "priceSymbol": "USDT",
225
236
  "settlementLayers": [
226
- "ACROSS"
237
+ "ACROSS",
238
+ "NEAR"
227
239
  ],
228
240
  "symbol": "USDT"
229
241
  }
@@ -288,10 +300,12 @@ const chains = {
288
300
  "approvalSlot": 2,
289
301
  "balanceSlot": 1,
290
302
  "decimals": 18,
303
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:56_2w93GqMcEmQFDru84j3HZZWt557r",
291
304
  "pegGroup": "USD",
292
305
  "settlementLayers": [
293
306
  "ACROSS",
294
- "ECO"
307
+ "ECO",
308
+ "NEAR"
295
309
  ],
296
310
  "symbol": "USDC"
297
311
  },
@@ -313,10 +327,12 @@ const chains = {
313
327
  "approvalSlot": 2,
314
328
  "balanceSlot": 1,
315
329
  "decimals": 18,
330
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:56_2CMMyVTGZkeyNZTSvS5sarzfir6g",
316
331
  "pegGroup": "USD",
317
332
  "settlementLayers": [
318
333
  "ACROSS",
319
- "ECO"
334
+ "ECO",
335
+ "NEAR"
320
336
  ],
321
337
  "symbol": "USDT"
322
338
  }
@@ -374,6 +390,9 @@ const chains = {
374
390
  "balanceSlot": 9,
375
391
  "decimals": 6,
376
392
  "pegGroup": "USD",
393
+ "settlementLayers": [
394
+ "NEAR"
395
+ ],
377
396
  "symbol": "USDC"
378
397
  }
379
398
  ],
@@ -412,10 +431,6 @@ const chains = {
412
431
  "oft": {
413
432
  "adapter": "0xc07bE8994D035631c36fb4a89C918CeFB2f03EC3",
414
433
  "layerZeroEid": 30320
415
- },
416
- "rhino": {
417
- "bridgeContract": "0xb0d7040b93fe5b099d3ce02ea86c4a1b695732d0",
418
- "chainName": "UNICHAIN"
419
434
  }
420
435
  },
421
436
  "settlementLayers": [
@@ -423,7 +438,6 @@ const chains = {
423
438
  "ECO",
424
439
  "RELAY",
425
440
  "OFT",
426
- "RHINO",
427
441
  "CCTP"
428
442
  ],
429
443
  "stack": "op-stack",
@@ -554,10 +568,12 @@ const chains = {
554
568
  "approvalSlot": 10,
555
569
  "balanceSlot": 9,
556
570
  "decimals": 6,
571
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:137_qiStmoQJDQPTebaPjgx5VBxZv6L",
557
572
  "pegGroup": "USD",
558
573
  "settlementLayers": [
559
574
  "ACROSS",
560
- "ECO"
575
+ "ECO",
576
+ "NEAR"
561
577
  ],
562
578
  "symbol": "USDC"
563
579
  },
@@ -566,10 +582,12 @@ const chains = {
566
582
  "approvalSlot": 1,
567
583
  "balanceSlot": 0,
568
584
  "decimals": 18,
585
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:137_2jwTGwKRX3AEe7tyzDrxtDjEFgSt",
569
586
  "pegGroup": "ETH",
570
587
  "priceSymbol": "ETH",
571
588
  "settlementLayers": [
572
- "ACROSS"
589
+ "ACROSS",
590
+ "NEAR"
573
591
  ],
574
592
  "symbol": "WETH"
575
593
  },
@@ -578,12 +596,14 @@ const chains = {
578
596
  "approvalSlot": 1,
579
597
  "balanceSlot": 0,
580
598
  "decimals": 6,
599
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:137_3hpYoaLtt8MP1Z2GH1U473DMRKgr",
581
600
  "pegGroup": "USD",
582
601
  "priceSymbol": "USDT",
583
602
  "rhinoSymbol": "USDT",
584
603
  "settlementLayers": [
585
604
  "ACROSS",
586
605
  "ECO",
606
+ "NEAR",
587
607
  "OFT"
588
608
  ],
589
609
  "symbol": "USDT0"
@@ -705,16 +725,11 @@ const chains = {
705
725
  "settlementConfig": {
706
726
  "cctp": {
707
727
  "domain": 13
708
- },
709
- "rhino": {
710
- "bridgeContract": "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1",
711
- "chainName": "SONIC"
712
728
  }
713
729
  },
714
730
  "settlementLayers": [
715
731
  "ECO",
716
732
  "RELAY",
717
- "RHINO",
718
733
  "CCTP"
719
734
  ],
720
735
  "stack": "vanilla",
@@ -1066,7 +1081,8 @@ const chains = {
1066
1081
  "pegGroup": "ETH",
1067
1082
  "settlementLayers": [
1068
1083
  "ACROSS",
1069
- "ECO"
1084
+ "ECO",
1085
+ "NEAR"
1070
1086
  ],
1071
1087
  "symbol": "ETH"
1072
1088
  },
@@ -1078,7 +1094,8 @@ const chains = {
1078
1094
  "pegGroup": "USD",
1079
1095
  "settlementLayers": [
1080
1096
  "ACROSS",
1081
- "ECO"
1097
+ "ECO",
1098
+ "NEAR"
1082
1099
  ],
1083
1100
  "symbol": "USDC"
1084
1101
  },
@@ -1091,7 +1108,8 @@ const chains = {
1091
1108
  "priceSymbol": "ETH",
1092
1109
  "settlementLayers": [
1093
1110
  "ACROSS",
1094
- "ECO"
1111
+ "ECO",
1112
+ "NEAR"
1095
1113
  ],
1096
1114
  "symbol": "WETH"
1097
1115
  }
@@ -1291,7 +1309,8 @@ const chains = {
1291
1309
  "pegGroup": "ETH",
1292
1310
  "settlementLayers": [
1293
1311
  "ACROSS",
1294
- "ECO"
1312
+ "ECO",
1313
+ "NEAR"
1295
1314
  ],
1296
1315
  "symbol": "ETH"
1297
1316
  },
@@ -1303,7 +1322,8 @@ const chains = {
1303
1322
  "pegGroup": "USD",
1304
1323
  "settlementLayers": [
1305
1324
  "ACROSS",
1306
- "ECO"
1325
+ "ECO",
1326
+ "NEAR"
1307
1327
  ],
1308
1328
  "symbol": "USDC"
1309
1329
  },
@@ -1316,7 +1336,8 @@ const chains = {
1316
1336
  "priceSymbol": "ETH",
1317
1337
  "settlementLayers": [
1318
1338
  "ACROSS",
1319
- "ECO"
1339
+ "ECO",
1340
+ "NEAR"
1320
1341
  ],
1321
1342
  "symbol": "WETH"
1322
1343
  },
@@ -1331,6 +1352,7 @@ const chains = {
1331
1352
  "settlementLayers": [
1332
1353
  "ACROSS",
1333
1354
  "ECO",
1355
+ "NEAR",
1334
1356
  "OFT"
1335
1357
  ],
1336
1358
  "symbol": "USDT0"
@@ -1394,6 +1416,10 @@ const chains = {
1394
1416
  "approvalSlot": null,
1395
1417
  "balanceSlot": null,
1396
1418
  "decimals": 18,
1419
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:43114_11111111111111111111",
1420
+ "settlementLayers": [
1421
+ "NEAR"
1422
+ ],
1397
1423
  "symbol": "AVAX"
1398
1424
  },
1399
1425
  {
@@ -1409,9 +1435,11 @@ const chains = {
1409
1435
  "approvalSlot": 10,
1410
1436
  "balanceSlot": 9,
1411
1437
  "decimals": 6,
1438
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:43114_3atVJH3r5c4GqiSYmg9fECvjc47o",
1412
1439
  "pegGroup": "USD",
1413
1440
  "settlementLayers": [
1414
- "ACROSS"
1441
+ "ACROSS",
1442
+ "NEAR"
1415
1443
  ],
1416
1444
  "symbol": "USDC"
1417
1445
  },
@@ -1420,10 +1448,12 @@ const chains = {
1420
1448
  "approvalSlot": 52,
1421
1449
  "balanceSlot": 51,
1422
1450
  "decimals": 6,
1451
+ "nearAssetId": "nep245:v2_1.omni.hot.tg:43114_372BeH7ENZieCaabwkbWkBiTTgXp",
1423
1452
  "pegGroup": "USD",
1424
1453
  "priceSymbol": "USDT",
1425
1454
  "settlementLayers": [
1426
- "ACROSS"
1455
+ "ACROSS",
1456
+ "NEAR"
1427
1457
  ],
1428
1458
  "symbol": "USDT"
1429
1459
  },
@@ -1711,7 +1741,7 @@ const chains = {
1711
1741
  "network": "mainnet",
1712
1742
  "roles": {
1713
1743
  "destination": true,
1714
- "origin": false
1744
+ "origin": true
1715
1745
  },
1716
1746
  "settlementLayers": [],
1717
1747
  "stack": "vanilla",
@@ -1984,6 +2014,9 @@ const chains = {
1984
2014
  "balanceSlot": null,
1985
2015
  "decimals": 6,
1986
2016
  "nearAssetId": "nep141:tron.omft.near",
2017
+ "settlementLayers": [
2018
+ "NEAR"
2019
+ ],
1987
2020
  "symbol": "TRX"
1988
2021
  },
1989
2022
  {
@@ -1994,6 +2027,7 @@ const chains = {
1994
2027
  "nearAssetId": "nep141:tron-d28a265909efecdcee7c5028585214ea0b96f015.omft.near",
1995
2028
  "pegGroup": "USD",
1996
2029
  "settlementLayers": [
2030
+ "NEAR",
1997
2031
  "OFT"
1998
2032
  ],
1999
2033
  "symbol": "USDT"
@@ -2053,6 +2087,9 @@ const chains = {
2053
2087
  "balanceSlot": null,
2054
2088
  "decimals": 9,
2055
2089
  "nearAssetId": "nep141:sol.omft.near",
2090
+ "settlementLayers": [
2091
+ "NEAR"
2092
+ ],
2056
2093
  "symbol": "SOL"
2057
2094
  },
2058
2095
  {
@@ -2062,6 +2099,9 @@ const chains = {
2062
2099
  "decimals": 9,
2063
2100
  "nearAssetId": "nep141:sol.omft.near",
2064
2101
  "priceSymbol": "SOL",
2102
+ "settlementLayers": [
2103
+ "NEAR"
2104
+ ],
2065
2105
  "symbol": "WSOL"
2066
2106
  },
2067
2107
  {
@@ -2071,6 +2111,9 @@ const chains = {
2071
2111
  "decimals": 6,
2072
2112
  "nearAssetId": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
2073
2113
  "pegGroup": "USD",
2114
+ "settlementLayers": [
2115
+ "NEAR"
2116
+ ],
2074
2117
  "symbol": "USDC"
2075
2118
  },
2076
2119
  {
@@ -2082,6 +2125,7 @@ const chains = {
2082
2125
  "pegGroup": "USD",
2083
2126
  "priceSymbol": "USDT",
2084
2127
  "settlementLayers": [
2128
+ "NEAR",
2085
2129
  "OFT"
2086
2130
  ],
2087
2131
  "symbol": "USDT"
@@ -1,2 +1,2 @@
1
- declare const PACKAGE_VERSION = "1.17.0";
1
+ declare const PACKAGE_VERSION = "1.19.0";
2
2
  export { PACKAGE_VERSION };
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PACKAGE_VERSION = void 0;
4
4
  // Auto-generated by scripts/generate.ts. Do not edit manually.
5
- const PACKAGE_VERSION = "1.17.0";
5
+ const PACKAGE_VERSION = "1.19.0";
6
6
  exports.PACKAGE_VERSION = PACKAGE_VERSION;
@@ -20,9 +20,10 @@ export declare const HYPERCORE_PERP_CHAIN_ID = MainnetNetwork.HYPERCORE_PERP;
20
20
  /**
21
21
  * The Core L1 itself (`hypercore:mainnet`) — HyperCore as a deposit SOURCE.
22
22
  *
23
- * Deposits arrive here with no venue in them, which is what `deposits.chain` and
24
- * the QuickNode webhook already mean, so this stays a live registry entry with
25
- * `roles: { origin: true, destination: false }`.
23
+ * BEING RETIRED (RHI-5606). `HYPERCORE_SPOT_CHAIN_ID` now carries both
24
+ * directions and is the spelling to write; this one stays a live registry entry
25
+ * only while stored `deposits.chain` rows and account rules still name it, so
26
+ * that resolving one still yields an origin. Read it, never write it.
26
27
  *
27
28
  * It is deliberately NOT aliased to either venue for delivery: it defaulted to
28
29
  * perp, so pointing it at spot would silently move funds and pointing it at perp
@@ -50,9 +50,10 @@ exports.HYPERCORE_PERP_CHAIN_ID = networks_1.MainnetNetwork.HYPERCORE_PERP;
50
50
  /**
51
51
  * The Core L1 itself (`hypercore:mainnet`) — HyperCore as a deposit SOURCE.
52
52
  *
53
- * Deposits arrive here with no venue in them, which is what `deposits.chain` and
54
- * the QuickNode webhook already mean, so this stays a live registry entry with
55
- * `roles: { origin: true, destination: false }`.
53
+ * BEING RETIRED (RHI-5606). `HYPERCORE_SPOT_CHAIN_ID` now carries both
54
+ * directions and is the spelling to write; this one stays a live registry entry
55
+ * only while stored `deposits.chain` rows and account rules still name it, so
56
+ * that resolving one still yields an origin. Read it, never write it.
56
57
  *
57
58
  * It is deliberately NOT aliased to either venue for delivery: it defaulted to
58
59
  * perp, so pointing it at spot would silently move funds and pointing it at perp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/shared-configs",
3
- "version": "1.17.0",
3
+ "version": "1.19.0",
4
4
  "description": "Reusable configuration files for Rhinestone services",
5
5
  "author": {
6
6
  "name": "Rhinestone",
@@ -27,6 +27,7 @@
27
27
  "generate:abis": "bun run scripts/generate-abis.ts",
28
28
  "generate:abis:extract": "bun run scripts/generate-abis.ts --extract",
29
29
  "sync:abis": "bun run scripts/sync-abis.ts",
30
+ "check:vendor-drift": "bun run scripts/vendor-drift/main.ts",
30
31
  "compile": "tsc",
31
32
  "test": "bun test",
32
33
  "build": "bun run clean && bun run generate && bun run sync:abis --generate && bun run compile",