@latticexyz/common 2.2.15-main-07b6be82ace9654ce043e616e28b347f3121f415 → 2.2.15-main-88b9daf1e01bd8675e31c455155759a3ef2af4f8
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 +28 -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
|
@@ -676,10 +676,24 @@ declare const rhodolite: {
|
|
|
676
676
|
readonly http: readonly ["https://rpc.rhodolitechain.com"];
|
|
677
677
|
readonly webSocket: readonly ["wss://rpc.rhodolitechain.com"];
|
|
678
678
|
};
|
|
679
|
+
readonly bundler: {
|
|
680
|
+
readonly http: readonly ["https://rpc.rhodolitechain.com"];
|
|
681
|
+
readonly webSocket: readonly ["wss://rpc.rhodolitechain.com"];
|
|
682
|
+
};
|
|
683
|
+
readonly quarryPassIssuer: {
|
|
684
|
+
readonly http: readonly ["https://rpc.rhodolitechain.com"];
|
|
685
|
+
readonly webSocket: readonly ["wss://rpc.rhodolitechain.com"];
|
|
686
|
+
};
|
|
687
|
+
readonly wiresaw: {
|
|
688
|
+
readonly http: readonly ["https://rpc.rhodolitechain.com"];
|
|
689
|
+
readonly webSocket: readonly ["wss://rpc.rhodolitechain.com"];
|
|
690
|
+
};
|
|
679
691
|
};
|
|
680
|
-
readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/rhodolite.png"];
|
|
681
|
-
readonly indexerUrl: "https://indexer.mud.rhodolitechain.com";
|
|
682
692
|
readonly contracts: {
|
|
693
|
+
readonly quarryPaymaster: {
|
|
694
|
+
readonly address: "0x61f22c3827d90c390e0e2aaf220971524ac0a68d";
|
|
695
|
+
readonly blockCreated: 11262;
|
|
696
|
+
};
|
|
683
697
|
readonly gasPriceOracle: {
|
|
684
698
|
readonly address: "0x420000000000000000000000000000000000000F";
|
|
685
699
|
};
|
|
@@ -699,6 +713,18 @@ declare const rhodolite: {
|
|
|
699
713
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
700
714
|
};
|
|
701
715
|
};
|
|
716
|
+
readonly blockExplorers: {
|
|
717
|
+
readonly default: {
|
|
718
|
+
readonly name: "Blockscout";
|
|
719
|
+
readonly url: "https://explorer.rhodolitechain.com";
|
|
720
|
+
};
|
|
721
|
+
readonly worldsExplorer: {
|
|
722
|
+
readonly name: "MUD Worlds Explorer";
|
|
723
|
+
readonly url: "https://explorer.mud.dev/rhodolite/worlds";
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/rhodolite.png"];
|
|
727
|
+
readonly indexerUrl: "https://indexer.mud.rhodolitechain.com";
|
|
702
728
|
readonly formatters: {
|
|
703
729
|
readonly block: {
|
|
704
730
|
exclude: [] | undefined;
|
package/dist/chains.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{foundry as
|
|
1
|
+
import{foundry as o}from"viem/chains";var t={...o,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"};import{garnet as i}from"viem/chains";var a={...i,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com"};import{chainConfig as e}from"viem/op-stack";var c=17001,r={http:["https://rpc.rhodolitechain.com"],webSocket:["wss://rpc.rhodolitechain.com"]},d={...e,name:"Rhodolite Devnet",testnet:!0,id:17420,sourceId:c,nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:r,bundler:r,quarryPassIssuer:r,wiresaw:r},contracts:{...e.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"};export{a as garnet,t 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\";\n\nconst sourceId = 17001;\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: {\n
|
|
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,uCACd,ECPA,OAAS,UAAUE,MAAoB,cAGhC,IAAMC,EAAS,CACpB,GAAGD,EACH,SAAU,CAAC,6CAA6C,EACxD,WAAY,qCACd,ECPA,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,wCACd","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-main-
|
|
3
|
+
"version": "2.2.15-main-88b9daf1e01bd8675e31c455155759a3ef2af4f8",
|
|
4
4
|
"description": "Common low level logic shared between packages",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"prettier": "3.2.5",
|
|
67
67
|
"prettier-plugin-solidity": "1.3.1",
|
|
68
68
|
"viem": "2.21.19",
|
|
69
|
-
"@latticexyz/schema-type": "2.2.15-main-
|
|
69
|
+
"@latticexyz/schema-type": "2.2.15-main-88b9daf1e01bd8675e31c455155759a3ef2af4f8"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/debug": "^4.1.7",
|