@latticexyz/common 2.2.21-041031d271b62a7f41f7c6dc0098c1c0ae222bd5 → 2.2.21-1d354b89f3aeb28e9dc085bdde27647a7ba6d8ae

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
@@ -34,6 +34,7 @@ declare const mudFoundry: {
34
34
  ensRegistry?: viem.ChainContract | undefined;
35
35
  ensUniversalResolver?: viem.ChainContract | undefined;
36
36
  multicall3?: viem.ChainContract | undefined;
37
+ universalSignatureVerifier?: viem.ChainContract | undefined;
37
38
  } | undefined;
38
39
  readonly id: 31337;
39
40
  readonly name: "Foundry";
@@ -969,4 +970,305 @@ declare const rhodolite: {
969
970
  };
970
971
  };
971
972
 
972
- export { type MUDChain, garnet, mudFoundry, redstone, rhodolite };
973
+ declare const pyrope: {
974
+ readonly name: "Pyrope Testnet";
975
+ readonly testnet: true;
976
+ readonly id: 695569;
977
+ readonly sourceId: 11155111;
978
+ readonly nativeCurrency: {
979
+ readonly name: "Ether";
980
+ readonly symbol: "ETH";
981
+ readonly decimals: 18;
982
+ };
983
+ readonly rpcUrls: {
984
+ readonly default: {
985
+ readonly http: readonly ["https://rpc.pyropechain.com"];
986
+ readonly webSocket: readonly ["wss://rpc.pyropechain.com"];
987
+ };
988
+ readonly bundler: {
989
+ readonly http: readonly ["https://rpc.pyropechain.com"];
990
+ readonly webSocket: readonly ["wss://rpc.pyropechain.com"];
991
+ };
992
+ readonly quarryPassIssuer: {
993
+ readonly http: readonly ["https://rpc.pyropechain.com"];
994
+ readonly webSocket: readonly ["wss://rpc.pyropechain.com"];
995
+ };
996
+ readonly wiresaw: {
997
+ readonly http: readonly ["https://rpc.pyropechain.com"];
998
+ readonly webSocket: readonly ["wss://rpc.pyropechain.com"];
999
+ };
1000
+ };
1001
+ readonly contracts: {
1002
+ readonly l1StandardBridge: {
1003
+ readonly 11155111: {
1004
+ readonly address: "0xC24932c31D9621aE9e792576152B7ef010cFC2F8";
1005
+ };
1006
+ };
1007
+ readonly gasPriceOracle: {
1008
+ readonly address: "0x420000000000000000000000000000000000000F";
1009
+ };
1010
+ readonly l1Block: {
1011
+ readonly address: "0x4200000000000000000000000000000000000015";
1012
+ };
1013
+ readonly l2CrossDomainMessenger: {
1014
+ readonly address: "0x4200000000000000000000000000000000000007";
1015
+ };
1016
+ readonly l2Erc721Bridge: {
1017
+ readonly address: "0x4200000000000000000000000000000000000014";
1018
+ };
1019
+ readonly l2StandardBridge: {
1020
+ readonly address: "0x4200000000000000000000000000000000000010";
1021
+ };
1022
+ readonly l2ToL1MessagePasser: {
1023
+ readonly address: "0x4200000000000000000000000000000000000016";
1024
+ };
1025
+ };
1026
+ readonly blockExplorers: {
1027
+ readonly default: {
1028
+ readonly name: "Blockscout";
1029
+ readonly url: "https://explorer.pyropechain.com";
1030
+ };
1031
+ readonly worldsExplorer: {
1032
+ readonly name: "MUD Worlds Explorer";
1033
+ readonly url: "https://explorer.mud.dev/pyrope/worlds";
1034
+ };
1035
+ };
1036
+ readonly iconUrls: readonly ["https://lattice.xyz/brand/color/pyrope.svg"];
1037
+ readonly indexerUrl: "https://indexer.mud.pyropechain.com";
1038
+ readonly formatters: {
1039
+ readonly block: {
1040
+ exclude: [] | undefined;
1041
+ format: (args: viem_op_stack.OpStackRpcBlock<viem.BlockTag, boolean>) => {
1042
+ baseFeePerGas: bigint | null;
1043
+ blobGasUsed: bigint;
1044
+ difficulty: bigint;
1045
+ excessBlobGas: bigint;
1046
+ extraData: `0x${string}`;
1047
+ gasLimit: bigint;
1048
+ gasUsed: bigint;
1049
+ hash: `0x${string}` | null;
1050
+ logsBloom: `0x${string}` | null;
1051
+ miner: `0x${string}`;
1052
+ mixHash: `0x${string}`;
1053
+ nonce: `0x${string}` | null;
1054
+ number: bigint | null;
1055
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
1056
+ parentHash: `0x${string}`;
1057
+ receiptsRoot: `0x${string}`;
1058
+ sealFields: `0x${string}`[];
1059
+ sha3Uncles: `0x${string}`;
1060
+ size: bigint;
1061
+ stateRoot: `0x${string}`;
1062
+ timestamp: bigint;
1063
+ totalDifficulty: bigint | null;
1064
+ transactions: `0x${string}`[] | viem_op_stack.OpStackTransaction<boolean>[];
1065
+ transactionsRoot: `0x${string}`;
1066
+ uncles: `0x${string}`[];
1067
+ withdrawals?: viem.Withdrawal[] | undefined;
1068
+ withdrawalsRoot?: `0x${string}` | undefined;
1069
+ };
1070
+ type: "block";
1071
+ };
1072
+ readonly transaction: {
1073
+ exclude: [] | undefined;
1074
+ format: (args: viem_op_stack.OpStackRpcTransaction<boolean>) => {
1075
+ blockHash: `0x${string}` | null;
1076
+ blockNumber: bigint | null;
1077
+ from: `0x${string}`;
1078
+ gas: bigint;
1079
+ hash: `0x${string}`;
1080
+ input: `0x${string}`;
1081
+ nonce: number;
1082
+ r: `0x${string}`;
1083
+ s: `0x${string}`;
1084
+ to: `0x${string}` | null;
1085
+ transactionIndex: number | null;
1086
+ typeHex: `0x${string}` | null;
1087
+ v: bigint;
1088
+ value: bigint;
1089
+ yParity: number;
1090
+ gasPrice?: undefined;
1091
+ maxFeePerBlobGas?: undefined;
1092
+ maxFeePerGas: bigint;
1093
+ maxPriorityFeePerGas: bigint;
1094
+ isSystemTx?: boolean | undefined;
1095
+ mint?: bigint | undefined;
1096
+ sourceHash: `0x${string}`;
1097
+ type: "deposit";
1098
+ } | {
1099
+ r: `0x${string}`;
1100
+ s: `0x${string}`;
1101
+ v: bigint;
1102
+ to: `0x${string}` | null;
1103
+ from: `0x${string}`;
1104
+ gas: bigint;
1105
+ nonce: number;
1106
+ value: bigint;
1107
+ blockHash: `0x${string}` | null;
1108
+ blockNumber: bigint | null;
1109
+ hash: `0x${string}`;
1110
+ input: `0x${string}`;
1111
+ transactionIndex: number | null;
1112
+ typeHex: `0x${string}` | null;
1113
+ accessList?: undefined;
1114
+ authorizationList?: undefined;
1115
+ blobVersionedHashes?: undefined;
1116
+ chainId?: number | undefined;
1117
+ yParity?: undefined;
1118
+ type: "legacy";
1119
+ gasPrice: bigint;
1120
+ maxFeePerBlobGas?: undefined;
1121
+ maxFeePerGas?: undefined;
1122
+ maxPriorityFeePerGas?: undefined;
1123
+ isSystemTx?: undefined;
1124
+ mint?: undefined;
1125
+ sourceHash?: undefined;
1126
+ } | {
1127
+ blockHash: `0x${string}` | null;
1128
+ blockNumber: bigint | null;
1129
+ from: `0x${string}`;
1130
+ gas: bigint;
1131
+ hash: `0x${string}`;
1132
+ input: `0x${string}`;
1133
+ nonce: number;
1134
+ r: `0x${string}`;
1135
+ s: `0x${string}`;
1136
+ to: `0x${string}` | null;
1137
+ transactionIndex: number | null;
1138
+ typeHex: `0x${string}` | null;
1139
+ v: bigint;
1140
+ value: bigint;
1141
+ yParity: number;
1142
+ accessList: viem.AccessList;
1143
+ authorizationList?: undefined;
1144
+ blobVersionedHashes?: undefined;
1145
+ chainId: number;
1146
+ type: "eip2930";
1147
+ gasPrice: bigint;
1148
+ maxFeePerBlobGas?: undefined;
1149
+ maxFeePerGas?: undefined;
1150
+ maxPriorityFeePerGas?: undefined;
1151
+ isSystemTx?: undefined;
1152
+ mint?: undefined;
1153
+ sourceHash?: undefined;
1154
+ } | {
1155
+ blockHash: `0x${string}` | null;
1156
+ blockNumber: bigint | null;
1157
+ from: `0x${string}`;
1158
+ gas: bigint;
1159
+ hash: `0x${string}`;
1160
+ input: `0x${string}`;
1161
+ nonce: number;
1162
+ r: `0x${string}`;
1163
+ s: `0x${string}`;
1164
+ to: `0x${string}` | null;
1165
+ transactionIndex: number | null;
1166
+ typeHex: `0x${string}` | null;
1167
+ v: bigint;
1168
+ value: bigint;
1169
+ yParity: number;
1170
+ accessList: viem.AccessList;
1171
+ authorizationList?: undefined;
1172
+ blobVersionedHashes?: undefined;
1173
+ chainId: number;
1174
+ type: "eip1559";
1175
+ gasPrice?: undefined;
1176
+ maxFeePerBlobGas?: undefined;
1177
+ maxFeePerGas: bigint;
1178
+ maxPriorityFeePerGas: bigint;
1179
+ isSystemTx?: undefined;
1180
+ mint?: undefined;
1181
+ sourceHash?: undefined;
1182
+ } | {
1183
+ blockHash: `0x${string}` | null;
1184
+ blockNumber: bigint | null;
1185
+ from: `0x${string}`;
1186
+ gas: bigint;
1187
+ hash: `0x${string}`;
1188
+ input: `0x${string}`;
1189
+ nonce: number;
1190
+ r: `0x${string}`;
1191
+ s: `0x${string}`;
1192
+ to: `0x${string}` | null;
1193
+ transactionIndex: number | null;
1194
+ typeHex: `0x${string}` | null;
1195
+ v: bigint;
1196
+ value: bigint;
1197
+ yParity: number;
1198
+ accessList: viem.AccessList;
1199
+ authorizationList?: undefined;
1200
+ blobVersionedHashes: readonly `0x${string}`[];
1201
+ chainId: number;
1202
+ type: "eip4844";
1203
+ gasPrice?: undefined;
1204
+ maxFeePerBlobGas: bigint;
1205
+ maxFeePerGas: bigint;
1206
+ maxPriorityFeePerGas: bigint;
1207
+ isSystemTx?: undefined;
1208
+ mint?: undefined;
1209
+ sourceHash?: undefined;
1210
+ } | {
1211
+ blockHash: `0x${string}` | null;
1212
+ blockNumber: bigint | null;
1213
+ from: `0x${string}`;
1214
+ gas: bigint;
1215
+ hash: `0x${string}`;
1216
+ input: `0x${string}`;
1217
+ nonce: number;
1218
+ r: `0x${string}`;
1219
+ s: `0x${string}`;
1220
+ to: `0x${string}` | null;
1221
+ transactionIndex: number | null;
1222
+ typeHex: `0x${string}` | null;
1223
+ v: bigint;
1224
+ value: bigint;
1225
+ yParity: number;
1226
+ accessList: viem.AccessList;
1227
+ authorizationList: viem_experimental.SignedAuthorizationList<number>;
1228
+ blobVersionedHashes?: undefined;
1229
+ chainId: number;
1230
+ type: "eip7702";
1231
+ gasPrice?: undefined;
1232
+ maxFeePerBlobGas?: undefined;
1233
+ maxFeePerGas: bigint;
1234
+ maxPriorityFeePerGas: bigint;
1235
+ isSystemTx?: undefined;
1236
+ mint?: undefined;
1237
+ sourceHash?: undefined;
1238
+ };
1239
+ type: "transaction";
1240
+ };
1241
+ readonly transactionReceipt: {
1242
+ exclude: [] | undefined;
1243
+ format: (args: viem_op_stack.OpStackRpcTransactionReceipt) => {
1244
+ blobGasPrice?: bigint | undefined;
1245
+ blobGasUsed?: bigint | undefined;
1246
+ blockHash: `0x${string}`;
1247
+ blockNumber: bigint;
1248
+ contractAddress: `0x${string}` | null | undefined;
1249
+ cumulativeGasUsed: bigint;
1250
+ effectiveGasPrice: bigint;
1251
+ from: `0x${string}`;
1252
+ gasUsed: bigint;
1253
+ logs: viem.Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
1254
+ logsBloom: `0x${string}`;
1255
+ root?: `0x${string}` | undefined;
1256
+ status: "success" | "reverted";
1257
+ to: `0x${string}` | null;
1258
+ transactionHash: `0x${string}`;
1259
+ transactionIndex: number;
1260
+ type: viem.TransactionType;
1261
+ l1GasPrice: bigint | null;
1262
+ l1GasUsed: bigint | null;
1263
+ l1Fee: bigint | null;
1264
+ l1FeeScalar: number | null;
1265
+ };
1266
+ type: "transactionReceipt";
1267
+ };
1268
+ };
1269
+ readonly serializers: {
1270
+ readonly transaction: typeof viem_op_stack.serializeTransaction;
1271
+ };
1272
+ };
1273
+
1274
+ export { type MUDChain, garnet, mudFoundry, pyrope, redstone, rhodolite };
package/dist/chains.js CHANGED
@@ -71,9 +71,52 @@ var rhodolite = {
71
71
  iconUrls: ["https://redstone.xyz/chain-icons/rhodolite.png"],
72
72
  indexerUrl: "https://indexer.mud.rhodolitechain.com"
73
73
  };
74
+
75
+ // src/chains/pyrope.ts
76
+ import { chainConfig as chainConfig2 } from "viem/op-stack";
77
+ var sourceId2 = 11155111;
78
+ var defaultRpcUrls2 = {
79
+ http: ["https://rpc.pyropechain.com"],
80
+ webSocket: ["wss://rpc.pyropechain.com"]
81
+ };
82
+ var pyrope = {
83
+ ...chainConfig2,
84
+ name: "Pyrope Testnet",
85
+ testnet: true,
86
+ id: 695569,
87
+ sourceId: sourceId2,
88
+ nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
89
+ rpcUrls: {
90
+ default: defaultRpcUrls2,
91
+ bundler: defaultRpcUrls2,
92
+ quarryPassIssuer: defaultRpcUrls2,
93
+ wiresaw: defaultRpcUrls2
94
+ },
95
+ contracts: {
96
+ ...chainConfig2.contracts,
97
+ l1StandardBridge: {
98
+ [sourceId2]: {
99
+ address: "0xC24932c31D9621aE9e792576152B7ef010cFC2F8"
100
+ }
101
+ }
102
+ },
103
+ blockExplorers: {
104
+ default: {
105
+ name: "Blockscout",
106
+ url: "https://explorer.pyropechain.com"
107
+ },
108
+ worldsExplorer: {
109
+ name: "MUD Worlds Explorer",
110
+ url: "https://explorer.mud.dev/pyrope/worlds"
111
+ }
112
+ },
113
+ iconUrls: ["https://lattice.xyz/brand/color/pyrope.svg"],
114
+ indexerUrl: "https://indexer.mud.pyropechain.com"
115
+ };
74
116
  export {
75
117
  garnet,
76
118
  mudFoundry,
119
+ pyrope,
77
120
  redstone,
78
121
  rhodolite
79
122
  };
@@ -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 rpcUrls: {\n ...garnetConfig.rpcUrls,\n bundler: garnetConfig.rpcUrls.default,\n },\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 = 17000;\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 l1StandardBridge: {\n [sourceId]: {\n address: \"0x6487446e0B9FAEa90F6a9772A6448cFa780E30F9\",\n },\n },\n quarryPaymaster: {\n address: \"0x7ca1b85aca23fccf2fbac14c02b5e8a6432639b9\",\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,SAAS,eAAe;AAGjB,IAAM,aAAa;AAAA,EACxB,GAAG;AAAA,EACH,MAAM;AAAA,IACJ,oBAAoB;AAAA,EACtB;AACF;;;ACRA,SAAS,YAAY,sBAAsB;AAGpC,IAAM,WAAW;AAAA,EACtB,GAAG;AAAA,EACH,UAAU,CAAC,+CAA+C;AAAA,EAC1D,YAAY;AACd;;;ACPA,SAAS,UAAU,oBAAoB;AAGhC,IAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH,SAAS;AAAA,IACP,GAAG,aAAa;AAAA,IAChB,SAAS,aAAa,QAAQ;AAAA,EAChC;AAAA,EACA,UAAU,CAAC,6CAA6C;AAAA,EACxD,YAAY;AACd;;;ACXA,SAAS,mBAAmB;AAI5B,IAAM,WAAW;AAEjB,IAAM,iBAAiB;AAAA,EACrB,MAAM,CAAC,gCAAgC;AAAA,EACvC,WAAW,CAAC,8BAA8B;AAC5C;AAEO,IAAM,YAAY;AAAA,EACvB,GAAG;AAAA,EACH,MAAM;AAAA,EACN,SAAS;AAAA,EACT,IAAI;AAAA,EACJ;AAAA,EACA,gBAAgB,EAAE,MAAM,SAAS,QAAQ,OAAO,UAAU,GAAG;AAAA,EAC7D,SAAS;AAAA,IACP,SAAS;AAAA,IACT,SAAS;AAAA,IACT,kBAAkB;AAAA,IAClB,SAAS;AAAA,EACX;AAAA,EACA,WAAW;AAAA,IACT,GAAG,YAAY;AAAA,IACf,kBAAkB;AAAA,MAChB,CAAC,QAAQ,GAAG;AAAA,QACV,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,gBAAgB;AAAA,IACd,SAAS;AAAA,MACP,MAAM;AAAA,MACN,KAAK;AAAA,IACP;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM;AAAA,MACN,KAAK;AAAA,IACP;AAAA,EACF;AAAA,EACA,UAAU,CAAC,gDAAgD;AAAA,EAC3D,YAAY;AACd;","names":[]}
1
+ {"version":3,"sources":["../src/chains/mudFoundry.ts","../src/chains/redstone.ts","../src/chains/garnet.ts","../src/chains/rhodolite.ts","../src/chains/pyrope.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 rpcUrls: {\n ...garnetConfig.rpcUrls,\n bundler: garnetConfig.rpcUrls.default,\n },\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 = 17000;\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 l1StandardBridge: {\n [sourceId]: {\n address: \"0x6487446e0B9FAEa90F6a9772A6448cFa780E30F9\",\n },\n },\n quarryPaymaster: {\n address: \"0x7ca1b85aca23fccf2fbac14c02b5e8a6432639b9\",\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","import { chainConfig } from \"viem/op-stack\";\nimport { MUDChain } from \"./types\";\nimport { Chain } from \"viem\";\n\nconst sourceId = 11155111;\n\nconst defaultRpcUrls = {\n http: [\"https://rpc.pyropechain.com\"],\n webSocket: [\"wss://rpc.pyropechain.com\"],\n} as const satisfies Chain[\"rpcUrls\"][\"default\"];\n\nexport const pyrope = {\n ...chainConfig,\n name: \"Pyrope Testnet\",\n testnet: true,\n id: 695569,\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 l1StandardBridge: {\n [sourceId]: {\n address: \"0xC24932c31D9621aE9e792576152B7ef010cFC2F8\",\n },\n },\n },\n blockExplorers: {\n default: {\n name: \"Blockscout\",\n url: \"https://explorer.pyropechain.com\",\n },\n worldsExplorer: {\n name: \"MUD Worlds Explorer\",\n url: \"https://explorer.mud.dev/pyrope/worlds\",\n },\n },\n iconUrls: [\"https://lattice.xyz/brand/color/pyrope.svg\"],\n indexerUrl: \"https://indexer.mud.pyropechain.com\",\n} as const satisfies MUDChain;\n"],"mappings":";AAAA,SAAS,eAAe;AAGjB,IAAM,aAAa;AAAA,EACxB,GAAG;AAAA,EACH,MAAM;AAAA,IACJ,oBAAoB;AAAA,EACtB;AACF;;;ACRA,SAAS,YAAY,sBAAsB;AAGpC,IAAM,WAAW;AAAA,EACtB,GAAG;AAAA,EACH,UAAU,CAAC,+CAA+C;AAAA,EAC1D,YAAY;AACd;;;ACPA,SAAS,UAAU,oBAAoB;AAGhC,IAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH,SAAS;AAAA,IACP,GAAG,aAAa;AAAA,IAChB,SAAS,aAAa,QAAQ;AAAA,EAChC;AAAA,EACA,UAAU,CAAC,6CAA6C;AAAA,EACxD,YAAY;AACd;;;ACXA,SAAS,mBAAmB;AAI5B,IAAM,WAAW;AAEjB,IAAM,iBAAiB;AAAA,EACrB,MAAM,CAAC,gCAAgC;AAAA,EACvC,WAAW,CAAC,8BAA8B;AAC5C;AAEO,IAAM,YAAY;AAAA,EACvB,GAAG;AAAA,EACH,MAAM;AAAA,EACN,SAAS;AAAA,EACT,IAAI;AAAA,EACJ;AAAA,EACA,gBAAgB,EAAE,MAAM,SAAS,QAAQ,OAAO,UAAU,GAAG;AAAA,EAC7D,SAAS;AAAA,IACP,SAAS;AAAA,IACT,SAAS;AAAA,IACT,kBAAkB;AAAA,IAClB,SAAS;AAAA,EACX;AAAA,EACA,WAAW;AAAA,IACT,GAAG,YAAY;AAAA,IACf,kBAAkB;AAAA,MAChB,CAAC,QAAQ,GAAG;AAAA,QACV,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,gBAAgB;AAAA,IACd,SAAS;AAAA,MACP,MAAM;AAAA,MACN,KAAK;AAAA,IACP;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM;AAAA,MACN,KAAK;AAAA,IACP;AAAA,EACF;AAAA,EACA,UAAU,CAAC,gDAAgD;AAAA,EAC3D,YAAY;AACd;;;AC/CA,SAAS,eAAAA,oBAAmB;AAI5B,IAAMC,YAAW;AAEjB,IAAMC,kBAAiB;AAAA,EACrB,MAAM,CAAC,6BAA6B;AAAA,EACpC,WAAW,CAAC,2BAA2B;AACzC;AAEO,IAAM,SAAS;AAAA,EACpB,GAAGF;AAAA,EACH,MAAM;AAAA,EACN,SAAS;AAAA,EACT,IAAI;AAAA,EACJ,UAAAC;AAAA,EACA,gBAAgB,EAAE,MAAM,SAAS,QAAQ,OAAO,UAAU,GAAG;AAAA,EAC7D,SAAS;AAAA,IACP,SAASC;AAAA,IACT,SAASA;AAAA,IACT,kBAAkBA;AAAA,IAClB,SAASA;AAAA,EACX;AAAA,EACA,WAAW;AAAA,IACT,GAAGF,aAAY;AAAA,IACf,kBAAkB;AAAA,MAChB,CAACC,SAAQ,GAAG;AAAA,QACV,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AAAA,EACA,gBAAgB;AAAA,IACd,SAAS;AAAA,MACP,MAAM;AAAA,MACN,KAAK;AAAA,IACP;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM;AAAA,MACN,KAAK;AAAA,IACP;AAAA,EACF;AAAA,EACA,UAAU,CAAC,4CAA4C;AAAA,EACvD,YAAY;AACd;","names":["chainConfig","sourceId","defaultRpcUrls"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/common",
3
- "version": "2.2.21-041031d271b62a7f41f7c6dc0098c1c0ae222bd5",
3
+ "version": "2.2.21-1d354b89f3aeb28e9dc085bdde27647a7ba6d8ae",
4
4
  "description": "Common low level logic shared between packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -69,11 +69,11 @@
69
69
  "p-retry": "^5.1.2",
70
70
  "prettier": "3.2.5",
71
71
  "prettier-plugin-solidity": "1.3.1",
72
- "@latticexyz/schema-type": "2.2.21-041031d271b62a7f41f7c6dc0098c1c0ae222bd5"
72
+ "@latticexyz/schema-type": "2.2.21-1d354b89f3aeb28e9dc085bdde27647a7ba6d8ae"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/debug": "^4.1.7",
76
- "viem": "2.21.19"
76
+ "viem": "2.23.2"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@aws-sdk/client-kms": "3.x",