@latticexyz/common 2.2.15-entrykit-4c25d1ec5af1bd68a4c1f367c9fe4b6fbea82cb2 → 2.2.15-entrykit-3b489ecd8b6521b8bf17d29764011abc42a035c0
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/dist/chains.d.ts +18 -2
- package/dist/chains.js +1 -1
- package/dist/chains.js.map +1 -1
- package/package.json +2 -2
package/dist/chains.d.ts
CHANGED
|
@@ -58,6 +58,12 @@ declare const mudFoundry: {
|
|
|
58
58
|
declare const redstone: {
|
|
59
59
|
readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/redstone.png"];
|
|
60
60
|
readonly indexerUrl: "https://indexer.mud.redstonechain.com";
|
|
61
|
+
readonly fees: {
|
|
62
|
+
readonly estimateFeesPerGas: () => Promise<{
|
|
63
|
+
maxFeePerGas: bigint;
|
|
64
|
+
maxPriorityFeePerGas: bigint;
|
|
65
|
+
}>;
|
|
66
|
+
};
|
|
61
67
|
readonly blockExplorers: {
|
|
62
68
|
readonly default: {
|
|
63
69
|
readonly name: "Blockscout";
|
|
@@ -121,7 +127,6 @@ declare const redstone: {
|
|
|
121
127
|
readonly sourceId: 1;
|
|
122
128
|
readonly testnet?: boolean | undefined;
|
|
123
129
|
readonly custom?: Record<string, unknown> | undefined;
|
|
124
|
-
readonly fees?: viem.ChainFees<undefined> | undefined;
|
|
125
130
|
readonly formatters: {
|
|
126
131
|
readonly block: {
|
|
127
132
|
exclude: [] | undefined;
|
|
@@ -361,6 +366,12 @@ declare const redstone: {
|
|
|
361
366
|
declare const garnet: {
|
|
362
367
|
readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/garnet.png"];
|
|
363
368
|
readonly indexerUrl: "https://indexer.mud.garnetchain.com";
|
|
369
|
+
readonly fees: {
|
|
370
|
+
readonly estimateFeesPerGas: () => Promise<{
|
|
371
|
+
maxFeePerGas: bigint;
|
|
372
|
+
maxPriorityFeePerGas: bigint;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
364
375
|
readonly blockExplorers: {
|
|
365
376
|
readonly default: {
|
|
366
377
|
readonly name: "Blockscout";
|
|
@@ -424,7 +435,6 @@ declare const garnet: {
|
|
|
424
435
|
readonly sourceId: 17000;
|
|
425
436
|
readonly testnet: true;
|
|
426
437
|
readonly custom?: Record<string, unknown> | undefined;
|
|
427
|
-
readonly fees?: viem.ChainFees<undefined> | undefined;
|
|
428
438
|
readonly formatters: {
|
|
429
439
|
readonly block: {
|
|
430
440
|
exclude: [] | undefined;
|
|
@@ -725,6 +735,12 @@ declare const rhodolite: {
|
|
|
725
735
|
};
|
|
726
736
|
readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/rhodolite.png"];
|
|
727
737
|
readonly indexerUrl: "https://indexer.mud.rhodolitechain.com";
|
|
738
|
+
readonly fees: {
|
|
739
|
+
readonly estimateFeesPerGas: () => Promise<{
|
|
740
|
+
maxFeePerGas: bigint;
|
|
741
|
+
maxPriorityFeePerGas: bigint;
|
|
742
|
+
}>;
|
|
743
|
+
};
|
|
728
744
|
readonly formatters: {
|
|
729
745
|
readonly block: {
|
|
730
746
|
exclude: [] | undefined;
|
package/dist/chains.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{foundry as
|
|
1
|
+
import{foundry as t}from"viem/chains";var o={...t,fees:{defaultPriorityFee:0n}};import{redstone as s}from"viem/chains";var n={...s,iconUrls:["https://redstone.xyz/chain-icons/redstone.png"],indexerUrl:"https://indexer.mud.redstonechain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};import{garnet as a}from"viem/chains";var i={...a,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};import{chainConfig as r}from"viem/op-stack";var c=17001,e={http:["https://rpc.rhodolitechain.com"],webSocket:["wss://rpc.rhodolitechain.com"]},d={...r,name:"Rhodolite Devnet",testnet:!0,id:17420,sourceId:c,nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:e,bundler:e,quarryPassIssuer:e,wiresaw:e},contracts:{...r.contracts,quarryPaymaster:{address:"0x61f22c3827d90c390e0e2aaf220971524ac0a68d",blockCreated:11262}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.rhodolitechain.com"},worldsExplorer:{name:"MUD Worlds Explorer",url:"https://explorer.mud.dev/rhodolite/worlds"}},iconUrls:["https://redstone.xyz/chain-icons/rhodolite.png"],indexerUrl:"https://indexer.mud.rhodolitechain.com",fees:{estimateFeesPerGas:async()=>({maxFeePerGas:100000n,maxPriorityFeePerGas:0n})}};export{i as garnet,o as mudFoundry,n as redstone,d as rhodolite};
|
|
2
2
|
//# sourceMappingURL=chains.js.map
|
package/dist/chains.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chains/mudFoundry.ts","../src/chains/redstone.ts","../src/chains/garnet.ts","../src/chains/rhodolite.ts"],"sourcesContent":["import { foundry } from \"viem/chains\";\nimport { MUDChain } from \"./types\";\n\nexport const mudFoundry = {\n ...foundry,\n fees: {\n defaultPriorityFee: 0n,\n },\n} as const satisfies MUDChain;\n","import { redstone as redstoneConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const redstone = {\n ...redstoneConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/redstone.png\"],\n indexerUrl: \"https://indexer.mud.redstonechain.com\",\n} as const satisfies MUDChain;\n","import { garnet as garnetConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const garnet = {\n ...garnetConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/garnet.png\"],\n indexerUrl: \"https://indexer.mud.garnetchain.com\",\n} as const satisfies MUDChain;\n","import { chainConfig } from \"viem/op-stack\";\nimport { MUDChain } from \"./types\";\nimport { Chain } from \"viem\";\n\nconst sourceId = 17001;\n\nconst defaultRpcUrls = {\n http: [\"https://rpc.rhodolitechain.com\"],\n webSocket: [\"wss://rpc.rhodolitechain.com\"],\n} as const satisfies Chain[\"rpcUrls\"][\"default\"];\n\nexport const rhodolite = {\n ...chainConfig,\n name: \"Rhodolite Devnet\",\n testnet: true,\n id: 17420,\n sourceId,\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: defaultRpcUrls,\n bundler: defaultRpcUrls,\n quarryPassIssuer: defaultRpcUrls,\n wiresaw: defaultRpcUrls,\n },\n contracts: {\n ...chainConfig.contracts,\n quarryPaymaster: {\n address: \"0x61f22c3827d90c390e0e2aaf220971524ac0a68d\",\n blockCreated: 11262,\n },\n },\n blockExplorers: {\n default: {\n name: \"Blockscout\",\n url: \"https://explorer.rhodolitechain.com\",\n },\n worldsExplorer: {\n name: \"MUD Worlds Explorer\",\n url: \"https://explorer.mud.dev/rhodolite/worlds\",\n },\n },\n iconUrls: [\"https://redstone.xyz/chain-icons/rhodolite.png\"],\n indexerUrl: \"https://indexer.mud.rhodolitechain.com\",\n} as const satisfies MUDChain;\n"],"mappings":"AAAA,OAAS,WAAAA,MAAe,cAGjB,IAAMC,EAAa,CACxB,GAAGD,EACH,KAAM,CACJ,mBAAoB,EACtB,CACF,ECRA,OAAS,YAAYE,MAAsB,cAGpC,IAAMC,EAAW,CACtB,GAAGD,EACH,SAAU,CAAC,+CAA+C,EAC1D,WAAY,
|
|
1
|
+
{"version":3,"sources":["../src/chains/mudFoundry.ts","../src/chains/redstone.ts","../src/chains/garnet.ts","../src/chains/rhodolite.ts"],"sourcesContent":["import { foundry } from \"viem/chains\";\nimport { MUDChain } from \"./types\";\n\nexport const mudFoundry = {\n ...foundry,\n fees: {\n defaultPriorityFee: 0n,\n },\n} as const satisfies MUDChain;\n","import { redstone as redstoneConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const redstone = {\n ...redstoneConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/redstone.png\"],\n indexerUrl: \"https://indexer.mud.redstonechain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n","import { garnet as garnetConfig } from \"viem/chains\";\nimport type { MUDChain } from \"./types\";\n\nexport const garnet = {\n ...garnetConfig,\n iconUrls: [\"https://redstone.xyz/chain-icons/garnet.png\"],\n indexerUrl: \"https://indexer.mud.garnetchain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n","import { chainConfig } from \"viem/op-stack\";\nimport { MUDChain } from \"./types\";\nimport { Chain } from \"viem\";\n\nconst sourceId = 17001;\n\nconst defaultRpcUrls = {\n http: [\"https://rpc.rhodolitechain.com\"],\n webSocket: [\"wss://rpc.rhodolitechain.com\"],\n} as const satisfies Chain[\"rpcUrls\"][\"default\"];\n\nexport const rhodolite = {\n ...chainConfig,\n name: \"Rhodolite Devnet\",\n testnet: true,\n id: 17420,\n sourceId,\n nativeCurrency: { name: \"Ether\", symbol: \"ETH\", decimals: 18 },\n rpcUrls: {\n default: defaultRpcUrls,\n bundler: defaultRpcUrls,\n quarryPassIssuer: defaultRpcUrls,\n wiresaw: defaultRpcUrls,\n },\n contracts: {\n ...chainConfig.contracts,\n quarryPaymaster: {\n address: \"0x61f22c3827d90c390e0e2aaf220971524ac0a68d\",\n blockCreated: 11262,\n },\n },\n blockExplorers: {\n default: {\n name: \"Blockscout\",\n url: \"https://explorer.rhodolitechain.com\",\n },\n worldsExplorer: {\n name: \"MUD Worlds Explorer\",\n url: \"https://explorer.mud.dev/rhodolite/worlds\",\n },\n },\n iconUrls: [\"https://redstone.xyz/chain-icons/rhodolite.png\"],\n indexerUrl: \"https://indexer.mud.rhodolitechain.com\",\n fees: {\n estimateFeesPerGas: async () => ({\n maxFeePerGas: 100_000n,\n maxPriorityFeePerGas: 0n,\n }),\n },\n} as const satisfies MUDChain;\n"],"mappings":"AAAA,OAAS,WAAAA,MAAe,cAGjB,IAAMC,EAAa,CACxB,GAAGD,EACH,KAAM,CACJ,mBAAoB,EACtB,CACF,ECRA,OAAS,YAAYE,MAAsB,cAGpC,IAAMC,EAAW,CACtB,GAAGD,EACH,SAAU,CAAC,+CAA+C,EAC1D,WAAY,wCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF,ECbA,OAAS,UAAUE,MAAoB,cAGhC,IAAMC,EAAS,CACpB,GAAGD,EACH,SAAU,CAAC,6CAA6C,EACxD,WAAY,sCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF,ECbA,OAAS,eAAAE,MAAmB,gBAI5B,IAAMC,EAAW,MAEXC,EAAiB,CACrB,KAAM,CAAC,gCAAgC,EACvC,UAAW,CAAC,8BAA8B,CAC5C,EAEaC,EAAY,CACvB,GAAGH,EACH,KAAM,mBACN,QAAS,GACT,GAAI,MACJ,SAAAC,EACA,eAAgB,CAAE,KAAM,QAAS,OAAQ,MAAO,SAAU,EAAG,EAC7D,QAAS,CACP,QAASC,EACT,QAASA,EACT,iBAAkBA,EAClB,QAASA,CACX,EACA,UAAW,CACT,GAAGF,EAAY,UACf,gBAAiB,CACf,QAAS,6CACT,aAAc,KAChB,CACF,EACA,eAAgB,CACd,QAAS,CACP,KAAM,aACN,IAAK,qCACP,EACA,eAAgB,CACd,KAAM,sBACN,IAAK,2CACP,CACF,EACA,SAAU,CAAC,gDAAgD,EAC3D,WAAY,yCACZ,KAAM,CACJ,mBAAoB,UAAa,CAC/B,aAAc,QACd,qBAAsB,EACxB,EACF,CACF","names":["foundry","mudFoundry","redstoneConfig","redstone","garnetConfig","garnet","chainConfig","sourceId","defaultRpcUrls","rhodolite"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latticexyz/common",
|
|
3
|
-
"version": "2.2.15-entrykit-
|
|
3
|
+
"version": "2.2.15-entrykit-3b489ecd8b6521b8bf17d29764011abc42a035c0",
|
|
4
4
|
"description": "Common low level logic shared between packages",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"prettier": "3.2.5",
|
|
68
68
|
"prettier-plugin-solidity": "1.3.1",
|
|
69
69
|
"webauthn-p256": "^0.0.10",
|
|
70
|
-
"@latticexyz/schema-type": "2.2.15-entrykit-
|
|
70
|
+
"@latticexyz/schema-type": "2.2.15-entrykit-3b489ecd8b6521b8bf17d29764011abc42a035c0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@types/debug": "^4.1.7",
|