@sign-global/tokentable-core 1.9.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 +6 -0
- package/dist/index.d.mts +38 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/constants/chain-config.ts +14 -8
package/CHANGELOG.md
CHANGED
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: {
|
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: {
|
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,20 +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.
|
|
447
|
-
tonTestNet,
|
|
448
|
-
tonMainNet,
|
|
449
|
-
signBrBTestnet,
|
|
450
|
-
import_chains.sonic,
|
|
451
|
-
import_chains.xLayer
|
|
456
|
+
import_chains.megaethTestnet
|
|
452
457
|
];
|
|
453
458
|
|
|
454
459
|
// src/constants/index.ts
|