@latticexyz/common 2.2.12-main-4b4640913d014fb3a0a5a417b84c91b247e08ffc → 2.2.12-main-20f44fbf733ff876d64a544c68a3cb1a4dc307a9

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 CHANGED
@@ -2,6 +2,7 @@ import * as viem_chains from 'viem/chains';
2
2
  import { Chain } from 'viem/chains';
3
3
  import * as viem from 'viem';
4
4
  import * as viem_experimental from 'viem/experimental';
5
+ import * as viem_op_stack from 'viem/op-stack';
5
6
 
6
7
  type MUDChain = Chain & {
7
8
  iconUrls?: readonly string[];
@@ -54,10 +55,58 @@ declare const mudFoundry: {
54
55
  readonly serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable<bigint, number>> | undefined;
55
56
  };
56
57
 
57
- /** @deprecated This chain is deprecated and will be going offline soon. Please switch to Garnet! */
58
- declare const latticeTestnet: {
59
- readonly name: "Lattice Testnet";
60
- readonly id: 4242;
58
+ declare const redstone: {
59
+ readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/redstone.png"];
60
+ readonly indexerUrl: "https://indexer.mud.redstonechain.com";
61
+ readonly blockExplorers: {
62
+ readonly default: {
63
+ readonly name: "Blockscout";
64
+ readonly url: "https://explorer.redstone.xyz";
65
+ };
66
+ };
67
+ readonly contracts: {
68
+ readonly multicall3: {
69
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
70
+ };
71
+ readonly portal: {
72
+ readonly 1: {
73
+ readonly address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae";
74
+ readonly blockCreated: 19578329;
75
+ };
76
+ };
77
+ readonly l2OutputOracle: {
78
+ readonly 1: {
79
+ readonly address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69";
80
+ readonly blockCreated: 19578337;
81
+ };
82
+ };
83
+ readonly l1StandardBridge: {
84
+ readonly 1: {
85
+ readonly address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69";
86
+ readonly blockCreated: 19578331;
87
+ };
88
+ };
89
+ readonly gasPriceOracle: {
90
+ readonly address: "0x420000000000000000000000000000000000000F";
91
+ };
92
+ readonly l1Block: {
93
+ readonly address: "0x4200000000000000000000000000000000000015";
94
+ };
95
+ readonly l2CrossDomainMessenger: {
96
+ readonly address: "0x4200000000000000000000000000000000000007";
97
+ };
98
+ readonly l2Erc721Bridge: {
99
+ readonly address: "0x4200000000000000000000000000000000000014";
100
+ };
101
+ readonly l2StandardBridge: {
102
+ readonly address: "0x4200000000000000000000000000000000000010";
103
+ };
104
+ readonly l2ToL1MessagePasser: {
105
+ readonly address: "0x4200000000000000000000000000000000000016";
106
+ };
107
+ };
108
+ readonly id: 690;
109
+ readonly name: "Redstone";
61
110
  readonly nativeCurrency: {
62
111
  readonly decimals: 18;
63
112
  readonly name: "Ether";
@@ -65,21 +114,248 @@ declare const latticeTestnet: {
65
114
  };
66
115
  readonly rpcUrls: {
67
116
  readonly default: {
68
- readonly http: readonly ["https://follower.testnet-chain.linfra.xyz"];
69
- readonly webSocket: readonly ["wss://follower.testnet-chain.linfra.xyz"];
70
- };
71
- readonly public: {
72
- readonly http: readonly ["https://follower.testnet-chain.linfra.xyz"];
73
- readonly webSocket: readonly ["wss://follower.testnet-chain.linfra.xyz"];
117
+ readonly http: readonly ["https://rpc.redstonechain.com"];
118
+ readonly webSocket: readonly ["wss://rpc.redstonechain.com"];
74
119
  };
75
120
  };
76
- readonly blockExplorers: {
77
- readonly default: {
78
- readonly name: "Otterscan";
79
- readonly url: "https://explorer.testnet-chain.linfra.xyz";
121
+ readonly sourceId: 1;
122
+ readonly testnet?: boolean | undefined;
123
+ readonly custom?: Record<string, unknown> | undefined;
124
+ readonly fees?: viem.ChainFees<undefined> | undefined;
125
+ readonly formatters: {
126
+ readonly block: {
127
+ exclude: [] | undefined;
128
+ format: (args: viem_chains.OpStackRpcBlock<viem.BlockTag, boolean>) => {
129
+ baseFeePerGas: bigint | null;
130
+ blobGasUsed: bigint;
131
+ difficulty: bigint;
132
+ excessBlobGas: bigint;
133
+ extraData: `0x${string}`;
134
+ gasLimit: bigint;
135
+ gasUsed: bigint;
136
+ hash: `0x${string}` | null;
137
+ logsBloom: `0x${string}` | null;
138
+ miner: `0x${string}`;
139
+ mixHash: `0x${string}`;
140
+ nonce: `0x${string}` | null;
141
+ number: bigint | null;
142
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
143
+ parentHash: `0x${string}`;
144
+ receiptsRoot: `0x${string}`;
145
+ sealFields: `0x${string}`[];
146
+ sha3Uncles: `0x${string}`;
147
+ size: bigint;
148
+ stateRoot: `0x${string}`;
149
+ timestamp: bigint;
150
+ totalDifficulty: bigint | null;
151
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
152
+ transactionsRoot: `0x${string}`;
153
+ uncles: `0x${string}`[];
154
+ withdrawals?: viem.Withdrawal[] | undefined;
155
+ withdrawalsRoot?: `0x${string}` | undefined;
156
+ };
157
+ type: "block";
158
+ };
159
+ readonly transaction: {
160
+ exclude: [] | undefined;
161
+ format: (args: viem_chains.OpStackRpcTransaction<boolean>) => {
162
+ blockHash: `0x${string}` | null;
163
+ blockNumber: bigint | null;
164
+ from: `0x${string}`;
165
+ gas: bigint;
166
+ hash: `0x${string}`;
167
+ input: `0x${string}`;
168
+ nonce: number;
169
+ r: `0x${string}`;
170
+ s: `0x${string}`;
171
+ to: `0x${string}` | null;
172
+ transactionIndex: number | null;
173
+ typeHex: `0x${string}` | null;
174
+ v: bigint;
175
+ value: bigint;
176
+ yParity: number;
177
+ gasPrice?: undefined;
178
+ maxFeePerBlobGas?: undefined;
179
+ maxFeePerGas: bigint;
180
+ maxPriorityFeePerGas: bigint;
181
+ isSystemTx?: boolean | undefined;
182
+ mint?: bigint | undefined;
183
+ sourceHash: `0x${string}`;
184
+ type: "deposit";
185
+ } | {
186
+ r: `0x${string}`;
187
+ s: `0x${string}`;
188
+ v: bigint;
189
+ to: `0x${string}` | null;
190
+ from: `0x${string}`;
191
+ gas: bigint;
192
+ nonce: number;
193
+ value: bigint;
194
+ blockHash: `0x${string}` | null;
195
+ blockNumber: bigint | null;
196
+ hash: `0x${string}`;
197
+ input: `0x${string}`;
198
+ transactionIndex: number | null;
199
+ typeHex: `0x${string}` | null;
200
+ accessList?: undefined;
201
+ authorizationList?: undefined;
202
+ blobVersionedHashes?: undefined;
203
+ chainId?: number | undefined;
204
+ yParity?: undefined;
205
+ type: "legacy";
206
+ gasPrice: bigint;
207
+ maxFeePerBlobGas?: undefined;
208
+ maxFeePerGas?: undefined;
209
+ maxPriorityFeePerGas?: undefined;
210
+ isSystemTx?: undefined;
211
+ mint?: undefined;
212
+ sourceHash?: undefined;
213
+ } | {
214
+ blockHash: `0x${string}` | null;
215
+ blockNumber: bigint | null;
216
+ from: `0x${string}`;
217
+ gas: bigint;
218
+ hash: `0x${string}`;
219
+ input: `0x${string}`;
220
+ nonce: number;
221
+ r: `0x${string}`;
222
+ s: `0x${string}`;
223
+ to: `0x${string}` | null;
224
+ transactionIndex: number | null;
225
+ typeHex: `0x${string}` | null;
226
+ v: bigint;
227
+ value: bigint;
228
+ yParity: number;
229
+ accessList: viem.AccessList;
230
+ authorizationList?: undefined;
231
+ blobVersionedHashes?: undefined;
232
+ chainId: number;
233
+ type: "eip2930";
234
+ gasPrice: bigint;
235
+ maxFeePerBlobGas?: undefined;
236
+ maxFeePerGas?: undefined;
237
+ maxPriorityFeePerGas?: undefined;
238
+ isSystemTx?: undefined;
239
+ mint?: undefined;
240
+ sourceHash?: undefined;
241
+ } | {
242
+ blockHash: `0x${string}` | null;
243
+ blockNumber: bigint | null;
244
+ from: `0x${string}`;
245
+ gas: bigint;
246
+ hash: `0x${string}`;
247
+ input: `0x${string}`;
248
+ nonce: number;
249
+ r: `0x${string}`;
250
+ s: `0x${string}`;
251
+ to: `0x${string}` | null;
252
+ transactionIndex: number | null;
253
+ typeHex: `0x${string}` | null;
254
+ v: bigint;
255
+ value: bigint;
256
+ yParity: number;
257
+ accessList: viem.AccessList;
258
+ authorizationList?: undefined;
259
+ blobVersionedHashes?: undefined;
260
+ chainId: number;
261
+ type: "eip1559";
262
+ gasPrice?: undefined;
263
+ maxFeePerBlobGas?: undefined;
264
+ maxFeePerGas: bigint;
265
+ maxPriorityFeePerGas: bigint;
266
+ isSystemTx?: undefined;
267
+ mint?: undefined;
268
+ sourceHash?: undefined;
269
+ } | {
270
+ blockHash: `0x${string}` | null;
271
+ blockNumber: bigint | null;
272
+ from: `0x${string}`;
273
+ gas: bigint;
274
+ hash: `0x${string}`;
275
+ input: `0x${string}`;
276
+ nonce: number;
277
+ r: `0x${string}`;
278
+ s: `0x${string}`;
279
+ to: `0x${string}` | null;
280
+ transactionIndex: number | null;
281
+ typeHex: `0x${string}` | null;
282
+ v: bigint;
283
+ value: bigint;
284
+ yParity: number;
285
+ accessList: viem.AccessList;
286
+ authorizationList?: undefined;
287
+ blobVersionedHashes: readonly `0x${string}`[];
288
+ chainId: number;
289
+ type: "eip4844";
290
+ gasPrice?: undefined;
291
+ maxFeePerBlobGas: bigint;
292
+ maxFeePerGas: bigint;
293
+ maxPriorityFeePerGas: bigint;
294
+ isSystemTx?: undefined;
295
+ mint?: undefined;
296
+ sourceHash?: undefined;
297
+ } | {
298
+ blockHash: `0x${string}` | null;
299
+ blockNumber: bigint | null;
300
+ from: `0x${string}`;
301
+ gas: bigint;
302
+ hash: `0x${string}`;
303
+ input: `0x${string}`;
304
+ nonce: number;
305
+ r: `0x${string}`;
306
+ s: `0x${string}`;
307
+ to: `0x${string}` | null;
308
+ transactionIndex: number | null;
309
+ typeHex: `0x${string}` | null;
310
+ v: bigint;
311
+ value: bigint;
312
+ yParity: number;
313
+ accessList: viem.AccessList;
314
+ authorizationList: viem_experimental.SignedAuthorizationList<number>;
315
+ blobVersionedHashes?: undefined;
316
+ chainId: number;
317
+ type: "eip7702";
318
+ gasPrice?: undefined;
319
+ maxFeePerBlobGas?: undefined;
320
+ maxFeePerGas: bigint;
321
+ maxPriorityFeePerGas: bigint;
322
+ isSystemTx?: undefined;
323
+ mint?: undefined;
324
+ sourceHash?: undefined;
325
+ };
326
+ type: "transaction";
327
+ };
328
+ readonly transactionReceipt: {
329
+ exclude: [] | undefined;
330
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
331
+ blobGasPrice?: bigint | undefined;
332
+ blobGasUsed?: bigint | undefined;
333
+ blockHash: `0x${string}`;
334
+ blockNumber: bigint;
335
+ contractAddress: `0x${string}` | null | undefined;
336
+ cumulativeGasUsed: bigint;
337
+ effectiveGasPrice: bigint;
338
+ from: `0x${string}`;
339
+ gasUsed: bigint;
340
+ logs: viem.Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
341
+ logsBloom: `0x${string}`;
342
+ root?: `0x${string}` | undefined;
343
+ status: "success" | "reverted";
344
+ to: `0x${string}` | null;
345
+ transactionHash: `0x${string}`;
346
+ transactionIndex: number;
347
+ type: viem.TransactionType;
348
+ l1GasPrice: bigint | null;
349
+ l1GasUsed: bigint | null;
350
+ l1Fee: bigint | null;
351
+ l1FeeScalar: number | null;
352
+ };
353
+ type: "transactionReceipt";
80
354
  };
81
355
  };
82
- readonly faucetUrl: "https://faucet.testnet-mud-services.linfra.xyz";
356
+ readonly serializers: {
357
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
358
+ };
83
359
  };
84
360
 
85
361
  declare const garnet: {
@@ -385,37 +661,24 @@ declare const garnet: {
385
661
  };
386
662
  };
387
663
 
388
- declare const redstone: {
389
- readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/redstone.png"];
390
- readonly indexerUrl: "https://indexer.mud.redstonechain.com";
391
- readonly blockExplorers: {
664
+ declare const rhodolite: {
665
+ readonly name: "Rhodolite Devnet";
666
+ readonly testnet: true;
667
+ readonly id: 17420;
668
+ readonly sourceId: 17001;
669
+ readonly nativeCurrency: {
670
+ readonly name: "Ether";
671
+ readonly symbol: "ETH";
672
+ readonly decimals: 18;
673
+ };
674
+ readonly rpcUrls: {
392
675
  readonly default: {
393
- readonly name: "Blockscout";
394
- readonly url: "https://explorer.redstone.xyz";
676
+ readonly http: readonly ["https://rpc.rhodolitechain.com"];
395
677
  };
396
678
  };
679
+ readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/rhodolite.png"];
680
+ readonly indexerUrl: "https://indexer.mud.rhodolitechain.com";
397
681
  readonly contracts: {
398
- readonly multicall3: {
399
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
400
- };
401
- readonly portal: {
402
- readonly 1: {
403
- readonly address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae";
404
- readonly blockCreated: 19578329;
405
- };
406
- };
407
- readonly l2OutputOracle: {
408
- readonly 1: {
409
- readonly address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69";
410
- readonly blockCreated: 19578337;
411
- };
412
- };
413
- readonly l1StandardBridge: {
414
- readonly 1: {
415
- readonly address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69";
416
- readonly blockCreated: 19578331;
417
- };
418
- };
419
682
  readonly gasPriceOracle: {
420
683
  readonly address: "0x420000000000000000000000000000000000000F";
421
684
  };
@@ -435,27 +698,10 @@ declare const redstone: {
435
698
  readonly address: "0x4200000000000000000000000000000000000016";
436
699
  };
437
700
  };
438
- readonly id: 690;
439
- readonly name: "Redstone";
440
- readonly nativeCurrency: {
441
- readonly decimals: 18;
442
- readonly name: "Ether";
443
- readonly symbol: "ETH";
444
- };
445
- readonly rpcUrls: {
446
- readonly default: {
447
- readonly http: readonly ["https://rpc.redstonechain.com"];
448
- readonly webSocket: readonly ["wss://rpc.redstonechain.com"];
449
- };
450
- };
451
- readonly sourceId: 1;
452
- readonly testnet?: boolean | undefined;
453
- readonly custom?: Record<string, unknown> | undefined;
454
- readonly fees?: viem.ChainFees<undefined> | undefined;
455
701
  readonly formatters: {
456
702
  readonly block: {
457
703
  exclude: [] | undefined;
458
- format: (args: viem_chains.OpStackRpcBlock<viem.BlockTag, boolean>) => {
704
+ format: (args: viem_op_stack.OpStackRpcBlock<viem.BlockTag, boolean>) => {
459
705
  baseFeePerGas: bigint | null;
460
706
  blobGasUsed: bigint;
461
707
  difficulty: bigint;
@@ -478,7 +724,7 @@ declare const redstone: {
478
724
  stateRoot: `0x${string}`;
479
725
  timestamp: bigint;
480
726
  totalDifficulty: bigint | null;
481
- transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
727
+ transactions: `0x${string}`[] | viem_op_stack.OpStackTransaction<boolean>[];
482
728
  transactionsRoot: `0x${string}`;
483
729
  uncles: `0x${string}`[];
484
730
  withdrawals?: viem.Withdrawal[] | undefined;
@@ -488,7 +734,7 @@ declare const redstone: {
488
734
  };
489
735
  readonly transaction: {
490
736
  exclude: [] | undefined;
491
- format: (args: viem_chains.OpStackRpcTransaction<boolean>) => {
737
+ format: (args: viem_op_stack.OpStackRpcTransaction<boolean>) => {
492
738
  blockHash: `0x${string}` | null;
493
739
  blockNumber: bigint | null;
494
740
  from: `0x${string}`;
@@ -657,7 +903,7 @@ declare const redstone: {
657
903
  };
658
904
  readonly transactionReceipt: {
659
905
  exclude: [] | undefined;
660
- format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
906
+ format: (args: viem_op_stack.OpStackRpcTransactionReceipt) => {
661
907
  blobGasPrice?: bigint | undefined;
662
908
  blobGasUsed?: bigint | undefined;
663
909
  blockHash: `0x${string}`;
@@ -684,8 +930,8 @@ declare const redstone: {
684
930
  };
685
931
  };
686
932
  readonly serializers: {
687
- readonly transaction: typeof viem_chains.serializeTransactionOpStack;
933
+ readonly transaction: typeof viem_op_stack.serializeTransaction;
688
934
  };
689
935
  };
690
936
 
691
- export { MUDChain, garnet, latticeTestnet, mudFoundry, redstone };
937
+ export { MUDChain, garnet, mudFoundry, redstone, rhodolite };
package/dist/chains.js CHANGED
@@ -1,2 +1,2 @@
1
- import{foundry as t}from"viem/chains";var e={...t,fees:{defaultPriorityFee:0n}};var r={name:"Lattice Testnet",id:4242,nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://follower.testnet-chain.linfra.xyz"],webSocket:["wss://follower.testnet-chain.linfra.xyz"]},public:{http:["https://follower.testnet-chain.linfra.xyz"],webSocket:["wss://follower.testnet-chain.linfra.xyz"]}},blockExplorers:{default:{name:"Otterscan",url:"https://explorer.testnet-chain.linfra.xyz"}},faucetUrl:"https://faucet.testnet-mud-services.linfra.xyz"};import{garnet as n}from"viem/chains";var s={...n,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com"};import{redstone as o}from"viem/chains";var i={...o,iconUrls:["https://redstone.xyz/chain-icons/redstone.png"],indexerUrl:"https://indexer.mud.redstonechain.com"};export{s as garnet,r as latticeTestnet,e as mudFoundry,i as redstone};
1
+ import{foundry as t}from"viem/chains";var e={...t,fees:{defaultPriorityFee:0n}};import{redstone as o}from"viem/chains";var r={...o,iconUrls:["https://redstone.xyz/chain-icons/redstone.png"],indexerUrl:"https://indexer.mud.redstonechain.com"};import{garnet as n}from"viem/chains";var i={...n,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com"};import{chainConfig as s}from"viem/op-stack";var a=17001,p={...s,name:"Rhodolite Devnet",testnet:!0,id:17420,sourceId:a,nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.rhodolitechain.com"]}},iconUrls:["https://redstone.xyz/chain-icons/rhodolite.png"],indexerUrl:"https://indexer.mud.rhodolitechain.com"};export{i as garnet,e as mudFoundry,r as redstone,p as rhodolite};
2
2
  //# sourceMappingURL=chains.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/chains/mudFoundry.ts","../src/chains/latticeTestnet.ts","../src/chains/garnet.ts","../src/chains/redstone.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 type { MUDChain } from \"./types\";\n\n/** @deprecated This chain is deprecated and will be going offline soon. Please switch to Garnet! */\nexport const latticeTestnet = {\n name: \"Lattice Testnet\",\n id: 4242,\n nativeCurrency: { decimals: 18, name: \"Ether\", symbol: \"ETH\" },\n rpcUrls: {\n default: {\n http: [\"https://follower.testnet-chain.linfra.xyz\"],\n webSocket: [\"wss://follower.testnet-chain.linfra.xyz\"],\n },\n public: {\n http: [\"https://follower.testnet-chain.linfra.xyz\"],\n webSocket: [\"wss://follower.testnet-chain.linfra.xyz\"],\n },\n },\n blockExplorers: {\n default: {\n name: \"Otterscan\",\n url: \"https://explorer.testnet-chain.linfra.xyz\",\n },\n },\n faucetUrl: \"https://faucet.testnet-mud-services.linfra.xyz\",\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 { 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"],"mappings":"AAAA,OAAS,WAAAA,MAAe,cAGjB,IAAMC,EAAa,CACxB,GAAGD,EACH,KAAM,CACJ,mBAAoB,EACtB,CACF,ECLO,IAAME,EAAiB,CAC5B,KAAM,kBACN,GAAI,KACJ,eAAgB,CAAE,SAAU,GAAI,KAAM,QAAS,OAAQ,KAAM,EAC7D,QAAS,CACP,QAAS,CACP,KAAM,CAAC,2CAA2C,EAClD,UAAW,CAAC,yCAAyC,CACvD,EACA,OAAQ,CACN,KAAM,CAAC,2CAA2C,EAClD,UAAW,CAAC,yCAAyC,CACvD,CACF,EACA,eAAgB,CACd,QAAS,CACP,KAAM,YACN,IAAK,2CACP,CACF,EACA,UAAW,gDACb,ECxBA,OAAS,UAAUC,MAAoB,cAGhC,IAAMC,EAAS,CACpB,GAAGD,EACH,SAAU,CAAC,6CAA6C,EACxD,WAAY,qCACd,ECPA,OAAS,YAAYE,MAAsB,cAGpC,IAAMC,EAAW,CACtB,GAAGD,EACH,SAAU,CAAC,+CAA+C,EAC1D,WAAY,uCACd","names":["foundry","mudFoundry","latticeTestnet","garnetConfig","garnet","redstoneConfig","redstone"]}
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 http: [\"https://rpc.rhodolitechain.com\"],\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,gBAG5B,IAAMC,EAAW,MAEJC,EAAY,CACvB,GAAGF,EACH,KAAM,mBACN,QAAS,GACT,GAAI,MACJ,SAAAC,EACA,eAAgB,CAAE,KAAM,QAAS,OAAQ,MAAO,SAAU,EAAG,EAC7D,QAAS,CACP,QAAS,CACP,KAAM,CAAC,gCAAgC,CACzC,CACF,EACA,SAAU,CAAC,gDAAgD,EAC3D,WAAY,wCACd","names":["foundry","mudFoundry","redstoneConfig","redstone","garnetConfig","garnet","chainConfig","sourceId","rhodolite"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/common",
3
- "version": "2.2.12-main-4b4640913d014fb3a0a5a417b84c91b247e08ffc",
3
+ "version": "2.2.12-main-20f44fbf733ff876d64a544c68a3cb1a4dc307a9",
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.12-main-4b4640913d014fb3a0a5a417b84c91b247e08ffc"
69
+ "@latticexyz/schema-type": "2.2.12-main-20f44fbf733ff876d64a544c68a3cb1a4dc307a9"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/debug": "^4.1.7",