@latticexyz/common 2.2.12-entrykit-9d16d7a4d5dde17d31463970d3359bc9faa08d70 → 2.2.12-entrykit-edbfe6b0bdbfa5bc9388d00bd1237079b77b9b98

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[];
@@ -82,13 +83,13 @@ declare const latticeTestnet: {
82
83
  readonly faucetUrl: "https://faucet.testnet-mud-services.linfra.xyz";
83
84
  };
84
85
 
85
- declare const garnet: {
86
- readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/garnet.png"];
87
- readonly indexerUrl: "https://indexer.mud.garnetchain.com";
86
+ declare const redstone: {
87
+ readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/redstone.png"];
88
+ readonly indexerUrl: "https://indexer.mud.redstonechain.com";
88
89
  readonly blockExplorers: {
89
90
  readonly default: {
90
91
  readonly name: "Blockscout";
91
- readonly url: "https://explorer.garnetchain.com";
92
+ readonly url: "https://explorer.redstone.xyz";
92
93
  };
93
94
  };
94
95
  readonly contracts: {
@@ -96,21 +97,21 @@ declare const garnet: {
96
97
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
97
98
  };
98
99
  readonly portal: {
99
- readonly 17000: {
100
- readonly address: "0x57ee40586fbE286AfC75E67cb69511A6D9aF5909";
101
- readonly blockCreated: 1274684;
100
+ readonly 1: {
101
+ readonly address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae";
102
+ readonly blockCreated: 19578329;
102
103
  };
103
104
  };
104
105
  readonly l2OutputOracle: {
105
- readonly 17000: {
106
- readonly address: "0xCb8E7AC561b8EF04F2a15865e9fbc0766FEF569B";
107
- readonly blockCreated: 1274684;
106
+ readonly 1: {
107
+ readonly address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69";
108
+ readonly blockCreated: 19578337;
108
109
  };
109
110
  };
110
111
  readonly l1StandardBridge: {
111
- readonly 17000: {
112
- readonly address: "0x09bcDd311FE398F80a78BE37E489f5D440DB95DE";
113
- readonly blockCreated: 1274684;
112
+ readonly 1: {
113
+ readonly address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69";
114
+ readonly blockCreated: 19578331;
114
115
  };
115
116
  };
116
117
  readonly gasPriceOracle: {
@@ -132,21 +133,21 @@ declare const garnet: {
132
133
  readonly address: "0x4200000000000000000000000000000000000016";
133
134
  };
134
135
  };
135
- readonly id: 17069;
136
- readonly name: "Garnet Testnet";
136
+ readonly id: 690;
137
+ readonly name: "Redstone";
137
138
  readonly nativeCurrency: {
139
+ readonly decimals: 18;
138
140
  readonly name: "Ether";
139
141
  readonly symbol: "ETH";
140
- readonly decimals: 18;
141
142
  };
142
143
  readonly rpcUrls: {
143
144
  readonly default: {
144
- readonly http: readonly ["https://rpc.garnetchain.com"];
145
- readonly webSocket: readonly ["wss://rpc.garnetchain.com"];
145
+ readonly http: readonly ["https://rpc.redstonechain.com"];
146
+ readonly webSocket: readonly ["wss://rpc.redstonechain.com"];
146
147
  };
147
148
  };
148
- readonly sourceId: 17000;
149
- readonly testnet: true;
149
+ readonly sourceId: 1;
150
+ readonly testnet?: boolean | undefined;
150
151
  readonly custom?: Record<string, unknown> | undefined;
151
152
  readonly fees?: viem.ChainFees<undefined> | undefined;
152
153
  readonly formatters: {
@@ -385,13 +386,13 @@ declare const garnet: {
385
386
  };
386
387
  };
387
388
 
388
- declare const redstone: {
389
- readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/redstone.png"];
390
- readonly indexerUrl: "https://indexer.mud.redstonechain.com";
389
+ declare const garnet: {
390
+ readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/garnet.png"];
391
+ readonly indexerUrl: "https://indexer.mud.garnetchain.com";
391
392
  readonly blockExplorers: {
392
393
  readonly default: {
393
394
  readonly name: "Blockscout";
394
- readonly url: "https://explorer.redstone.xyz";
395
+ readonly url: "https://explorer.garnetchain.com";
395
396
  };
396
397
  };
397
398
  readonly contracts: {
@@ -399,21 +400,21 @@ declare const redstone: {
399
400
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
400
401
  };
401
402
  readonly portal: {
402
- readonly 1: {
403
- readonly address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae";
404
- readonly blockCreated: 19578329;
403
+ readonly 17000: {
404
+ readonly address: "0x57ee40586fbE286AfC75E67cb69511A6D9aF5909";
405
+ readonly blockCreated: 1274684;
405
406
  };
406
407
  };
407
408
  readonly l2OutputOracle: {
408
- readonly 1: {
409
- readonly address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69";
410
- readonly blockCreated: 19578337;
409
+ readonly 17000: {
410
+ readonly address: "0xCb8E7AC561b8EF04F2a15865e9fbc0766FEF569B";
411
+ readonly blockCreated: 1274684;
411
412
  };
412
413
  };
413
414
  readonly l1StandardBridge: {
414
- readonly 1: {
415
- readonly address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69";
416
- readonly blockCreated: 19578331;
415
+ readonly 17000: {
416
+ readonly address: "0x09bcDd311FE398F80a78BE37E489f5D440DB95DE";
417
+ readonly blockCreated: 1274684;
417
418
  };
418
419
  };
419
420
  readonly gasPriceOracle: {
@@ -435,21 +436,21 @@ declare const redstone: {
435
436
  readonly address: "0x4200000000000000000000000000000000000016";
436
437
  };
437
438
  };
438
- readonly id: 690;
439
- readonly name: "Redstone";
439
+ readonly id: 17069;
440
+ readonly name: "Garnet Testnet";
440
441
  readonly nativeCurrency: {
441
- readonly decimals: 18;
442
442
  readonly name: "Ether";
443
443
  readonly symbol: "ETH";
444
+ readonly decimals: 18;
444
445
  };
445
446
  readonly rpcUrls: {
446
447
  readonly default: {
447
- readonly http: readonly ["https://rpc.redstonechain.com"];
448
- readonly webSocket: readonly ["wss://rpc.redstonechain.com"];
448
+ readonly http: readonly ["https://rpc.garnetchain.com"];
449
+ readonly webSocket: readonly ["wss://rpc.garnetchain.com"];
449
450
  };
450
451
  };
451
- readonly sourceId: 1;
452
- readonly testnet?: boolean | undefined;
452
+ readonly sourceId: 17000;
453
+ readonly testnet: true;
453
454
  readonly custom?: Record<string, unknown> | undefined;
454
455
  readonly fees?: viem.ChainFees<undefined> | undefined;
455
456
  readonly formatters: {
@@ -688,4 +689,276 @@ declare const redstone: {
688
689
  };
689
690
  };
690
691
 
691
- export { MUDChain, garnet, latticeTestnet, mudFoundry, redstone };
692
+ declare const rhodolite: {
693
+ readonly name: "Rhodolite Devnet";
694
+ readonly testnet: true;
695
+ readonly id: 17420;
696
+ readonly sourceId: 17001;
697
+ readonly nativeCurrency: {
698
+ readonly name: "Ether";
699
+ readonly symbol: "ETH";
700
+ readonly decimals: 18;
701
+ };
702
+ readonly rpcUrls: {
703
+ readonly default: {
704
+ readonly http: readonly ["https://rpc.rhodolitechain.com"];
705
+ };
706
+ };
707
+ readonly iconUrls: readonly ["https://redstone.xyz/chain-icons/rhodolite.png"];
708
+ readonly contracts: {
709
+ readonly gasPriceOracle: {
710
+ readonly address: "0x420000000000000000000000000000000000000F";
711
+ };
712
+ readonly l1Block: {
713
+ readonly address: "0x4200000000000000000000000000000000000015";
714
+ };
715
+ readonly l2CrossDomainMessenger: {
716
+ readonly address: "0x4200000000000000000000000000000000000007";
717
+ };
718
+ readonly l2Erc721Bridge: {
719
+ readonly address: "0x4200000000000000000000000000000000000014";
720
+ };
721
+ readonly l2StandardBridge: {
722
+ readonly address: "0x4200000000000000000000000000000000000010";
723
+ };
724
+ readonly l2ToL1MessagePasser: {
725
+ readonly address: "0x4200000000000000000000000000000000000016";
726
+ };
727
+ };
728
+ readonly formatters: {
729
+ readonly block: {
730
+ exclude: [] | undefined;
731
+ format: (args: viem_op_stack.OpStackRpcBlock<viem.BlockTag, boolean>) => {
732
+ baseFeePerGas: bigint | null;
733
+ blobGasUsed: bigint;
734
+ difficulty: bigint;
735
+ excessBlobGas: bigint;
736
+ extraData: `0x${string}`;
737
+ gasLimit: bigint;
738
+ gasUsed: bigint;
739
+ hash: `0x${string}` | null;
740
+ logsBloom: `0x${string}` | null;
741
+ miner: `0x${string}`;
742
+ mixHash: `0x${string}`;
743
+ nonce: `0x${string}` | null;
744
+ number: bigint | null;
745
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
746
+ parentHash: `0x${string}`;
747
+ receiptsRoot: `0x${string}`;
748
+ sealFields: `0x${string}`[];
749
+ sha3Uncles: `0x${string}`;
750
+ size: bigint;
751
+ stateRoot: `0x${string}`;
752
+ timestamp: bigint;
753
+ totalDifficulty: bigint | null;
754
+ transactions: `0x${string}`[] | viem_op_stack.OpStackTransaction<boolean>[];
755
+ transactionsRoot: `0x${string}`;
756
+ uncles: `0x${string}`[];
757
+ withdrawals?: viem.Withdrawal[] | undefined;
758
+ withdrawalsRoot?: `0x${string}` | undefined;
759
+ };
760
+ type: "block";
761
+ };
762
+ readonly transaction: {
763
+ exclude: [] | undefined;
764
+ format: (args: viem_op_stack.OpStackRpcTransaction<boolean>) => {
765
+ blockHash: `0x${string}` | null;
766
+ blockNumber: bigint | null;
767
+ from: `0x${string}`;
768
+ gas: bigint;
769
+ hash: `0x${string}`;
770
+ input: `0x${string}`;
771
+ nonce: number;
772
+ r: `0x${string}`;
773
+ s: `0x${string}`;
774
+ to: `0x${string}` | null;
775
+ transactionIndex: number | null;
776
+ typeHex: `0x${string}` | null;
777
+ v: bigint;
778
+ value: bigint;
779
+ yParity: number;
780
+ gasPrice?: undefined;
781
+ maxFeePerBlobGas?: undefined;
782
+ maxFeePerGas: bigint;
783
+ maxPriorityFeePerGas: bigint;
784
+ isSystemTx?: boolean | undefined;
785
+ mint?: bigint | undefined;
786
+ sourceHash: `0x${string}`;
787
+ type: "deposit";
788
+ } | {
789
+ r: `0x${string}`;
790
+ s: `0x${string}`;
791
+ v: bigint;
792
+ to: `0x${string}` | null;
793
+ from: `0x${string}`;
794
+ gas: bigint;
795
+ nonce: number;
796
+ value: bigint;
797
+ blockHash: `0x${string}` | null;
798
+ blockNumber: bigint | null;
799
+ hash: `0x${string}`;
800
+ input: `0x${string}`;
801
+ transactionIndex: number | null;
802
+ typeHex: `0x${string}` | null;
803
+ accessList?: undefined;
804
+ authorizationList?: undefined;
805
+ blobVersionedHashes?: undefined;
806
+ chainId?: number | undefined;
807
+ yParity?: undefined;
808
+ type: "legacy";
809
+ gasPrice: bigint;
810
+ maxFeePerBlobGas?: undefined;
811
+ maxFeePerGas?: undefined;
812
+ maxPriorityFeePerGas?: undefined;
813
+ isSystemTx?: undefined;
814
+ mint?: undefined;
815
+ sourceHash?: undefined;
816
+ } | {
817
+ blockHash: `0x${string}` | null;
818
+ blockNumber: bigint | null;
819
+ from: `0x${string}`;
820
+ gas: bigint;
821
+ hash: `0x${string}`;
822
+ input: `0x${string}`;
823
+ nonce: number;
824
+ r: `0x${string}`;
825
+ s: `0x${string}`;
826
+ to: `0x${string}` | null;
827
+ transactionIndex: number | null;
828
+ typeHex: `0x${string}` | null;
829
+ v: bigint;
830
+ value: bigint;
831
+ yParity: number;
832
+ accessList: viem.AccessList;
833
+ authorizationList?: undefined;
834
+ blobVersionedHashes?: undefined;
835
+ chainId: number;
836
+ type: "eip2930";
837
+ gasPrice: bigint;
838
+ maxFeePerBlobGas?: undefined;
839
+ maxFeePerGas?: undefined;
840
+ maxPriorityFeePerGas?: undefined;
841
+ isSystemTx?: undefined;
842
+ mint?: undefined;
843
+ sourceHash?: undefined;
844
+ } | {
845
+ blockHash: `0x${string}` | null;
846
+ blockNumber: bigint | null;
847
+ from: `0x${string}`;
848
+ gas: bigint;
849
+ hash: `0x${string}`;
850
+ input: `0x${string}`;
851
+ nonce: number;
852
+ r: `0x${string}`;
853
+ s: `0x${string}`;
854
+ to: `0x${string}` | null;
855
+ transactionIndex: number | null;
856
+ typeHex: `0x${string}` | null;
857
+ v: bigint;
858
+ value: bigint;
859
+ yParity: number;
860
+ accessList: viem.AccessList;
861
+ authorizationList?: undefined;
862
+ blobVersionedHashes?: undefined;
863
+ chainId: number;
864
+ type: "eip1559";
865
+ gasPrice?: undefined;
866
+ maxFeePerBlobGas?: undefined;
867
+ maxFeePerGas: bigint;
868
+ maxPriorityFeePerGas: bigint;
869
+ isSystemTx?: undefined;
870
+ mint?: undefined;
871
+ sourceHash?: undefined;
872
+ } | {
873
+ blockHash: `0x${string}` | null;
874
+ blockNumber: bigint | null;
875
+ from: `0x${string}`;
876
+ gas: bigint;
877
+ hash: `0x${string}`;
878
+ input: `0x${string}`;
879
+ nonce: number;
880
+ r: `0x${string}`;
881
+ s: `0x${string}`;
882
+ to: `0x${string}` | null;
883
+ transactionIndex: number | null;
884
+ typeHex: `0x${string}` | null;
885
+ v: bigint;
886
+ value: bigint;
887
+ yParity: number;
888
+ accessList: viem.AccessList;
889
+ authorizationList?: undefined;
890
+ blobVersionedHashes: readonly `0x${string}`[];
891
+ chainId: number;
892
+ type: "eip4844";
893
+ gasPrice?: undefined;
894
+ maxFeePerBlobGas: bigint;
895
+ maxFeePerGas: bigint;
896
+ maxPriorityFeePerGas: bigint;
897
+ isSystemTx?: undefined;
898
+ mint?: undefined;
899
+ sourceHash?: undefined;
900
+ } | {
901
+ blockHash: `0x${string}` | null;
902
+ blockNumber: bigint | null;
903
+ from: `0x${string}`;
904
+ gas: bigint;
905
+ hash: `0x${string}`;
906
+ input: `0x${string}`;
907
+ nonce: number;
908
+ r: `0x${string}`;
909
+ s: `0x${string}`;
910
+ to: `0x${string}` | null;
911
+ transactionIndex: number | null;
912
+ typeHex: `0x${string}` | null;
913
+ v: bigint;
914
+ value: bigint;
915
+ yParity: number;
916
+ accessList: viem.AccessList;
917
+ authorizationList: viem_experimental.SignedAuthorizationList<number>;
918
+ blobVersionedHashes?: undefined;
919
+ chainId: number;
920
+ type: "eip7702";
921
+ gasPrice?: undefined;
922
+ maxFeePerBlobGas?: undefined;
923
+ maxFeePerGas: bigint;
924
+ maxPriorityFeePerGas: bigint;
925
+ isSystemTx?: undefined;
926
+ mint?: undefined;
927
+ sourceHash?: undefined;
928
+ };
929
+ type: "transaction";
930
+ };
931
+ readonly transactionReceipt: {
932
+ exclude: [] | undefined;
933
+ format: (args: viem_op_stack.OpStackRpcTransactionReceipt) => {
934
+ blobGasPrice?: bigint | undefined;
935
+ blobGasUsed?: bigint | undefined;
936
+ blockHash: `0x${string}`;
937
+ blockNumber: bigint;
938
+ contractAddress: `0x${string}` | null | undefined;
939
+ cumulativeGasUsed: bigint;
940
+ effectiveGasPrice: bigint;
941
+ from: `0x${string}`;
942
+ gasUsed: bigint;
943
+ logs: viem.Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
944
+ logsBloom: `0x${string}`;
945
+ root?: `0x${string}` | undefined;
946
+ status: "success" | "reverted";
947
+ to: `0x${string}` | null;
948
+ transactionHash: `0x${string}`;
949
+ transactionIndex: number;
950
+ type: viem.TransactionType;
951
+ l1GasPrice: bigint | null;
952
+ l1GasUsed: bigint | null;
953
+ l1Fee: bigint | null;
954
+ l1FeeScalar: number | null;
955
+ };
956
+ type: "transactionReceipt";
957
+ };
958
+ };
959
+ readonly serializers: {
960
+ readonly transaction: typeof viem_op_stack.serializeTransaction;
961
+ };
962
+ };
963
+
964
+ export { MUDChain, garnet, latticeTestnet, 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}};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{redstone as o}from"viem/chains";var n={...o,iconUrls:["https://redstone.xyz/chain-icons/redstone.png"],indexerUrl:"https://indexer.mud.redstonechain.com"};import{garnet as s}from"viem/chains";var i={...s,iconUrls:["https://redstone.xyz/chain-icons/garnet.png"],indexerUrl:"https://indexer.mud.garnetchain.com"};import{chainConfig as a}from"viem/op-stack";var c=17001,p={...a,name:"Rhodolite Devnet",testnet:!0,id:17420,sourceId:c,nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.rhodolitechain.com"]}},iconUrls:["https://redstone.xyz/chain-icons/rhodolite.png"]};export{i as garnet,r as latticeTestnet,e as mudFoundry,n 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/latticeTestnet.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 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 { 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,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,YAAYC,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,CAE7D","names":["foundry","mudFoundry","latticeTestnet","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-entrykit-9d16d7a4d5dde17d31463970d3359bc9faa08d70",
3
+ "version": "2.2.12-entrykit-edbfe6b0bdbfa5bc9388d00bd1237079b77b9b98",
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-entrykit-9d16d7a4d5dde17d31463970d3359bc9faa08d70"
69
+ "@latticexyz/schema-type": "2.2.12-entrykit-edbfe6b0bdbfa5bc9388d00bd1237079b77b9b98"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/debug": "^4.1.7",