@sign-global/tokentable-core 1.8.0 → 1.10.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sign-global/tokentable-core
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: add MegaETH testnet support
8
+
9
+ ## 1.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - feat: add support for sonic and xLayer chains
14
+
3
15
  ## 1.8.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -340,6 +340,10 @@ declare const ChainConfig: {
340
340
  contractAddress: string;
341
341
  rpcUrl: string;
342
342
  };
343
+ 6342: {
344
+ contractAddress: string;
345
+ rpcUrl: "https://carrot.megaeth.com/rpc";
346
+ };
343
347
  80085: {
344
348
  contractAddress: string;
345
349
  rpcUrl: string;
@@ -1358,6 +1362,40 @@ declare const SupportedChains: ({
1358
1362
  fees?: viem.ChainFees<undefined> | undefined;
1359
1363
  formatters?: undefined;
1360
1364
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1365
+ } | {
1366
+ blockExplorers: {
1367
+ readonly default: {
1368
+ readonly name: "MegaETH Testnet Explorer";
1369
+ readonly url: "https://www.megaexplorer.xyz/";
1370
+ };
1371
+ };
1372
+ blockTime: 1000;
1373
+ contracts: {
1374
+ readonly multicall3: {
1375
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1376
+ };
1377
+ };
1378
+ ensTlds?: readonly string[] | undefined;
1379
+ id: 6342;
1380
+ name: "MegaETH Testnet";
1381
+ nativeCurrency: {
1382
+ readonly name: "MegaETH Testnet Ether";
1383
+ readonly symbol: "ETH";
1384
+ readonly decimals: 18;
1385
+ };
1386
+ experimental_preconfirmationTime?: number | undefined | undefined;
1387
+ rpcUrls: {
1388
+ readonly default: {
1389
+ readonly http: readonly ["https://carrot.megaeth.com/rpc"];
1390
+ readonly webSocket: readonly ["wss://carrot.megaeth.com/ws"];
1391
+ };
1392
+ };
1393
+ sourceId?: number | undefined | undefined;
1394
+ testnet: true;
1395
+ custom?: Record<string, unknown> | undefined;
1396
+ fees?: viem.ChainFees<undefined> | undefined;
1397
+ formatters?: undefined;
1398
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1361
1399
  } | {
1362
1400
  blockExplorers: {
1363
1401
  readonly default: {
@@ -1462,6 +1500,75 @@ declare const SupportedChains: ({
1462
1500
  fees?: viem.ChainFees<undefined> | undefined;
1463
1501
  formatters?: undefined;
1464
1502
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1503
+ } | {
1504
+ blockExplorers: {
1505
+ readonly default: {
1506
+ readonly name: "Sonic Explorer";
1507
+ readonly url: "https://sonicscan.org";
1508
+ };
1509
+ };
1510
+ blockTime: 630;
1511
+ contracts: {
1512
+ readonly multicall3: {
1513
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1514
+ readonly blockCreated: 60;
1515
+ };
1516
+ };
1517
+ ensTlds?: readonly string[] | undefined;
1518
+ id: 146;
1519
+ name: "Sonic";
1520
+ nativeCurrency: {
1521
+ readonly decimals: 18;
1522
+ readonly name: "Sonic";
1523
+ readonly symbol: "S";
1524
+ };
1525
+ experimental_preconfirmationTime?: number | undefined | undefined;
1526
+ rpcUrls: {
1527
+ readonly default: {
1528
+ readonly http: readonly ["https://rpc.soniclabs.com"];
1529
+ };
1530
+ };
1531
+ sourceId?: number | undefined | undefined;
1532
+ testnet: false;
1533
+ custom?: Record<string, unknown> | undefined;
1534
+ fees?: viem.ChainFees<undefined> | undefined;
1535
+ formatters?: undefined;
1536
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1537
+ } | {
1538
+ blockExplorers: {
1539
+ readonly default: {
1540
+ readonly name: "OKLink";
1541
+ readonly url: "https://www.oklink.com/xlayer";
1542
+ readonly apiUrl: "https://www.oklink.com/api/v5/explorer/xlayer/api";
1543
+ };
1544
+ };
1545
+ blockTime?: number | undefined | undefined;
1546
+ contracts: {
1547
+ readonly multicall3: {
1548
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1549
+ readonly blockCreated: 47416;
1550
+ };
1551
+ };
1552
+ ensTlds?: readonly string[] | undefined;
1553
+ id: 196;
1554
+ name: "X Layer Mainnet";
1555
+ nativeCurrency: {
1556
+ readonly decimals: 18;
1557
+ readonly name: "OKB";
1558
+ readonly symbol: "OKB";
1559
+ };
1560
+ experimental_preconfirmationTime?: number | undefined | undefined;
1561
+ rpcUrls: {
1562
+ readonly default: {
1563
+ readonly http: readonly ["https://rpc.xlayer.tech"];
1564
+ };
1565
+ };
1566
+ sourceId?: number | undefined | undefined;
1567
+ testnet?: boolean | undefined | undefined;
1568
+ custom?: Record<string, unknown> | undefined;
1569
+ fees?: viem.ChainFees<undefined> | undefined;
1570
+ formatters?: undefined;
1571
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1465
1572
  })[];
1466
1573
 
1467
1574
  declare const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
package/dist/index.d.ts CHANGED
@@ -340,6 +340,10 @@ declare const ChainConfig: {
340
340
  contractAddress: string;
341
341
  rpcUrl: string;
342
342
  };
343
+ 6342: {
344
+ contractAddress: string;
345
+ rpcUrl: "https://carrot.megaeth.com/rpc";
346
+ };
343
347
  80085: {
344
348
  contractAddress: string;
345
349
  rpcUrl: string;
@@ -1358,6 +1362,40 @@ declare const SupportedChains: ({
1358
1362
  fees?: viem.ChainFees<undefined> | undefined;
1359
1363
  formatters?: undefined;
1360
1364
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1365
+ } | {
1366
+ blockExplorers: {
1367
+ readonly default: {
1368
+ readonly name: "MegaETH Testnet Explorer";
1369
+ readonly url: "https://www.megaexplorer.xyz/";
1370
+ };
1371
+ };
1372
+ blockTime: 1000;
1373
+ contracts: {
1374
+ readonly multicall3: {
1375
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1376
+ };
1377
+ };
1378
+ ensTlds?: readonly string[] | undefined;
1379
+ id: 6342;
1380
+ name: "MegaETH Testnet";
1381
+ nativeCurrency: {
1382
+ readonly name: "MegaETH Testnet Ether";
1383
+ readonly symbol: "ETH";
1384
+ readonly decimals: 18;
1385
+ };
1386
+ experimental_preconfirmationTime?: number | undefined | undefined;
1387
+ rpcUrls: {
1388
+ readonly default: {
1389
+ readonly http: readonly ["https://carrot.megaeth.com/rpc"];
1390
+ readonly webSocket: readonly ["wss://carrot.megaeth.com/ws"];
1391
+ };
1392
+ };
1393
+ sourceId?: number | undefined | undefined;
1394
+ testnet: true;
1395
+ custom?: Record<string, unknown> | undefined;
1396
+ fees?: viem.ChainFees<undefined> | undefined;
1397
+ formatters?: undefined;
1398
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1361
1399
  } | {
1362
1400
  blockExplorers: {
1363
1401
  readonly default: {
@@ -1462,6 +1500,75 @@ declare const SupportedChains: ({
1462
1500
  fees?: viem.ChainFees<undefined> | undefined;
1463
1501
  formatters?: undefined;
1464
1502
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1503
+ } | {
1504
+ blockExplorers: {
1505
+ readonly default: {
1506
+ readonly name: "Sonic Explorer";
1507
+ readonly url: "https://sonicscan.org";
1508
+ };
1509
+ };
1510
+ blockTime: 630;
1511
+ contracts: {
1512
+ readonly multicall3: {
1513
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1514
+ readonly blockCreated: 60;
1515
+ };
1516
+ };
1517
+ ensTlds?: readonly string[] | undefined;
1518
+ id: 146;
1519
+ name: "Sonic";
1520
+ nativeCurrency: {
1521
+ readonly decimals: 18;
1522
+ readonly name: "Sonic";
1523
+ readonly symbol: "S";
1524
+ };
1525
+ experimental_preconfirmationTime?: number | undefined | undefined;
1526
+ rpcUrls: {
1527
+ readonly default: {
1528
+ readonly http: readonly ["https://rpc.soniclabs.com"];
1529
+ };
1530
+ };
1531
+ sourceId?: number | undefined | undefined;
1532
+ testnet: false;
1533
+ custom?: Record<string, unknown> | undefined;
1534
+ fees?: viem.ChainFees<undefined> | undefined;
1535
+ formatters?: undefined;
1536
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1537
+ } | {
1538
+ blockExplorers: {
1539
+ readonly default: {
1540
+ readonly name: "OKLink";
1541
+ readonly url: "https://www.oklink.com/xlayer";
1542
+ readonly apiUrl: "https://www.oklink.com/api/v5/explorer/xlayer/api";
1543
+ };
1544
+ };
1545
+ blockTime?: number | undefined | undefined;
1546
+ contracts: {
1547
+ readonly multicall3: {
1548
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1549
+ readonly blockCreated: 47416;
1550
+ };
1551
+ };
1552
+ ensTlds?: readonly string[] | undefined;
1553
+ id: 196;
1554
+ name: "X Layer Mainnet";
1555
+ nativeCurrency: {
1556
+ readonly decimals: 18;
1557
+ readonly name: "OKB";
1558
+ readonly symbol: "OKB";
1559
+ };
1560
+ experimental_preconfirmationTime?: number | undefined | undefined;
1561
+ rpcUrls: {
1562
+ readonly default: {
1563
+ readonly http: readonly ["https://rpc.xlayer.tech"];
1564
+ };
1565
+ };
1566
+ sourceId?: number | undefined | undefined;
1567
+ testnet?: boolean | undefined | undefined;
1568
+ custom?: Record<string, unknown> | undefined;
1569
+ fees?: viem.ChainFees<undefined> | undefined;
1570
+ formatters?: undefined;
1571
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1465
1572
  })[];
1466
1573
 
1467
1574
  declare const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
package/dist/index.js CHANGED
@@ -362,6 +362,10 @@ var ChainConfig = {
362
362
  contractAddress: "0xeD09c23677D02f4f486E55f0f081cfc114EEa53b",
363
363
  rpcUrl: "https://arb-mainnet.g.alchemy.com/v2/udrqNPSB6i5n5L6QSM31Ng72h_hFOrVT"
364
364
  },
365
+ [import_chains.megaethTestnet.id]: {
366
+ contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
367
+ rpcUrl: import_chains.megaethTestnet.rpcUrls.default.http[0]
368
+ },
365
369
  [import_chains.berachainTestnet.id]: {
366
370
  contractAddress: "",
367
371
  rpcUrl: "",
@@ -435,18 +439,21 @@ var SupportedChains = [
435
439
  import_chains.bsc,
436
440
  import_chains.base,
437
441
  import_chains.cyber,
442
+ import_chains.zetachain,
443
+ import_chains.arbitrum,
444
+ tonTestNet,
445
+ tonMainNet,
446
+ signBrBTestnet,
447
+ import_chains.sonic,
448
+ import_chains.xLayer,
438
449
  import_chains.sepolia,
439
450
  import_chains.baseSepolia,
440
- import_chains.zetachain,
441
451
  import_chains.zetachainAthensTestnet,
442
452
  import_chains.berachainTestnet,
443
453
  import_chains.polygonMumbai,
444
454
  import_chains.polygonAmoy,
445
455
  mevmDevNet,
446
- import_chains.arbitrum,
447
- tonTestNet,
448
- tonMainNet,
449
- signBrBTestnet
456
+ import_chains.megaethTestnet
450
457
  ];
451
458
 
452
459
  // src/constants/index.ts