@sign-global/tokentable-core 1.13.0 → 1.14.1
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 +12 -0
- package/dist/index.d.mts +155 -1
- package/dist/index.d.ts +155 -1
- package/dist/index.js +46 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/constants/chain-config.ts +20 -2
- package/src/constants/network.ts +29 -0
package/dist/index.mjs
CHANGED
|
@@ -16,7 +16,9 @@ import {
|
|
|
16
16
|
xLayer,
|
|
17
17
|
megaethTestnet,
|
|
18
18
|
monadTestnet,
|
|
19
|
-
monad
|
|
19
|
+
monad,
|
|
20
|
+
memecore,
|
|
21
|
+
cronos
|
|
20
22
|
} from "viem/chains";
|
|
21
23
|
|
|
22
24
|
// src/constants/network.ts
|
|
@@ -266,6 +268,34 @@ var hyperEVM = defineChain({
|
|
|
266
268
|
}
|
|
267
269
|
}
|
|
268
270
|
});
|
|
271
|
+
var megaeth = /* @__PURE__ */ defineChain({
|
|
272
|
+
id: 4326,
|
|
273
|
+
blockTime: 1e3,
|
|
274
|
+
name: "MegaETH",
|
|
275
|
+
nativeCurrency: {
|
|
276
|
+
name: "Ether",
|
|
277
|
+
symbol: "ETH",
|
|
278
|
+
decimals: 18
|
|
279
|
+
},
|
|
280
|
+
rpcUrls: {
|
|
281
|
+
default: {
|
|
282
|
+
http: ["https://mainnet.megaeth.com/rpc"],
|
|
283
|
+
webSocket: ["wss://mainnet.megaeth.com/ws"]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
blockExplorers: {
|
|
287
|
+
default: {
|
|
288
|
+
name: "Blockscout",
|
|
289
|
+
url: "https://megaeth.blockscout.com",
|
|
290
|
+
apiUrl: "https://megaeth.blockscout.com/api"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
contracts: {
|
|
294
|
+
multicall3: {
|
|
295
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
});
|
|
269
299
|
|
|
270
300
|
// src/constants/chain-config.ts
|
|
271
301
|
import { CHAIN as CHAIN2 } from "@tonconnect/sdk";
|
|
@@ -277,6 +307,9 @@ var SupportedChains = [
|
|
|
277
307
|
zetachain,
|
|
278
308
|
arbitrum,
|
|
279
309
|
monad,
|
|
310
|
+
cronos,
|
|
311
|
+
memecore,
|
|
312
|
+
megaeth,
|
|
280
313
|
tonTestNet,
|
|
281
314
|
tonMainNet,
|
|
282
315
|
signBrBTestnet,
|
|
@@ -307,9 +340,21 @@ var ChainConfig = {
|
|
|
307
340
|
rpcUrl: "https://base-mainnet.g.alchemy.com/v2/udrqNPSB6i5n5L6QSM31Ng72h_hFOrVT"
|
|
308
341
|
},
|
|
309
342
|
[monad.id]: {
|
|
310
|
-
contractAddress: "",
|
|
343
|
+
contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
|
|
311
344
|
rpcUrl: monad.rpcUrls.default.http[0]
|
|
312
345
|
},
|
|
346
|
+
[cronos.id]: {
|
|
347
|
+
contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
|
|
348
|
+
rpcUrl: cronos.rpcUrls.default.http[0]
|
|
349
|
+
},
|
|
350
|
+
[memecore.id]: {
|
|
351
|
+
contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
|
|
352
|
+
rpcUrl: memecore.rpcUrls.default.http[0]
|
|
353
|
+
},
|
|
354
|
+
[megaeth.id]: {
|
|
355
|
+
contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
|
|
356
|
+
rpcUrl: megaeth.rpcUrls.default.http[0]
|
|
357
|
+
},
|
|
313
358
|
[cyber.id]: {
|
|
314
359
|
contractAddress: "0x7915dA247674E430b2a4Dcf01e4471f709428Bc0",
|
|
315
360
|
rpcUrl: cyber.rpcUrls.default.http[0]
|
|
@@ -13052,6 +13097,7 @@ export {
|
|
|
13052
13097
|
isBeforeByUnix,
|
|
13053
13098
|
isGreaterThan,
|
|
13054
13099
|
isMobile,
|
|
13100
|
+
megaeth,
|
|
13055
13101
|
mevmDevNet,
|
|
13056
13102
|
retry,
|
|
13057
13103
|
safeParseJSON,
|