@zoralabs/protocol-deployments 0.1.11 → 0.1.12

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/index.cjs CHANGED
@@ -113,7 +113,7 @@ var init_exports = __esm({
113
113
  }
114
114
  });
115
115
 
116
- // node_modules/viem/_esm/utils/abi/formatAbiItem.js
116
+ // ../../node_modules/viem/_esm/utils/abi/formatAbiItem.js
117
117
  function formatAbiItem2(abiItem, { includeName = false } = {}) {
118
118
  if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
119
119
  throw new InvalidDefinitionTypeError(abiItem.type);
@@ -131,13 +131,13 @@ function formatAbiParam(param, { includeName }) {
131
131
  return param.type + (includeName && param.name ? ` ${param.name}` : "");
132
132
  }
133
133
  var init_formatAbiItem2 = __esm({
134
- "node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
134
+ "../../node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
135
135
  "use strict";
136
136
  init_abi();
137
137
  }
138
138
  });
139
139
 
140
- // node_modules/viem/_esm/utils/data/isHex.js
140
+ // ../../node_modules/viem/_esm/utils/data/isHex.js
141
141
  function isHex(value, { strict = true } = {}) {
142
142
  if (!value)
143
143
  return false;
@@ -146,44 +146,44 @@ function isHex(value, { strict = true } = {}) {
146
146
  return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
147
147
  }
148
148
  var init_isHex = __esm({
149
- "node_modules/viem/_esm/utils/data/isHex.js"() {
149
+ "../../node_modules/viem/_esm/utils/data/isHex.js"() {
150
150
  "use strict";
151
151
  }
152
152
  });
153
153
 
154
- // node_modules/viem/_esm/utils/data/size.js
154
+ // ../../node_modules/viem/_esm/utils/data/size.js
155
155
  function size(value) {
156
156
  if (isHex(value, { strict: false }))
157
157
  return Math.ceil((value.length - 2) / 2);
158
158
  return value.length;
159
159
  }
160
160
  var init_size = __esm({
161
- "node_modules/viem/_esm/utils/data/size.js"() {
161
+ "../../node_modules/viem/_esm/utils/data/size.js"() {
162
162
  "use strict";
163
163
  init_isHex();
164
164
  }
165
165
  });
166
166
 
167
- // node_modules/viem/_esm/errors/version.js
167
+ // ../../node_modules/viem/_esm/errors/version.js
168
168
  var version;
169
169
  var init_version = __esm({
170
- "node_modules/viem/_esm/errors/version.js"() {
170
+ "../../node_modules/viem/_esm/errors/version.js"() {
171
171
  "use strict";
172
- version = "2.9.18";
172
+ version = "2.12.1";
173
173
  }
174
174
  });
175
175
 
176
- // node_modules/viem/_esm/errors/utils.js
176
+ // ../../node_modules/viem/_esm/errors/utils.js
177
177
  var getVersion;
178
178
  var init_utils = __esm({
179
- "node_modules/viem/_esm/errors/utils.js"() {
179
+ "../../node_modules/viem/_esm/errors/utils.js"() {
180
180
  "use strict";
181
181
  init_version();
182
182
  getVersion = () => `viem@${version}`;
183
183
  }
184
184
  });
185
185
 
186
- // node_modules/viem/_esm/errors/base.js
186
+ // ../../node_modules/viem/_esm/errors/base.js
187
187
  function walk(err, fn) {
188
188
  if (fn?.(err))
189
189
  return err;
@@ -193,7 +193,7 @@ function walk(err, fn) {
193
193
  }
194
194
  var BaseError;
195
195
  var init_base = __esm({
196
- "node_modules/viem/_esm/errors/base.js"() {
196
+ "../../node_modules/viem/_esm/errors/base.js"() {
197
197
  "use strict";
198
198
  init_utils();
199
199
  BaseError = class _BaseError extends Error {
@@ -261,10 +261,10 @@ var init_base = __esm({
261
261
  }
262
262
  });
263
263
 
264
- // node_modules/viem/_esm/errors/abi.js
264
+ // ../../node_modules/viem/_esm/errors/abi.js
265
265
  var AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiItemAmbiguityError, InvalidAbiEncodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
266
266
  var init_abi = __esm({
267
- "node_modules/viem/_esm/errors/abi.js"() {
267
+ "../../node_modules/viem/_esm/errors/abi.js"() {
268
268
  "use strict";
269
269
  init_formatAbiItem2();
270
270
  init_size();
@@ -371,10 +371,10 @@ var init_abi = __esm({
371
371
  }
372
372
  });
373
373
 
374
- // node_modules/viem/_esm/errors/data.js
374
+ // ../../node_modules/viem/_esm/errors/data.js
375
375
  var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
376
376
  var init_data = __esm({
377
- "node_modules/viem/_esm/errors/data.js"() {
377
+ "../../node_modules/viem/_esm/errors/data.js"() {
378
378
  "use strict";
379
379
  init_base();
380
380
  SliceOffsetOutOfBoundsError = class extends BaseError {
@@ -402,7 +402,7 @@ var init_data = __esm({
402
402
  }
403
403
  });
404
404
 
405
- // node_modules/viem/_esm/utils/data/pad.js
405
+ // ../../node_modules/viem/_esm/utils/data/pad.js
406
406
  function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
407
407
  if (typeof hexOrBytes === "string")
408
408
  return padHex(hexOrBytes, { dir, size: size2 });
@@ -437,16 +437,16 @@ function padBytes(bytes2, { dir, size: size2 = 32 } = {}) {
437
437
  return paddedBytes;
438
438
  }
439
439
  var init_pad = __esm({
440
- "node_modules/viem/_esm/utils/data/pad.js"() {
440
+ "../../node_modules/viem/_esm/utils/data/pad.js"() {
441
441
  "use strict";
442
442
  init_data();
443
443
  }
444
444
  });
445
445
 
446
- // node_modules/viem/_esm/errors/encoding.js
446
+ // ../../node_modules/viem/_esm/errors/encoding.js
447
447
  var IntegerOutOfRangeError, SizeOverflowError;
448
448
  var init_encoding = __esm({
449
- "node_modules/viem/_esm/errors/encoding.js"() {
449
+ "../../node_modules/viem/_esm/errors/encoding.js"() {
450
450
  "use strict";
451
451
  init_base();
452
452
  IntegerOutOfRangeError = class extends BaseError {
@@ -474,7 +474,7 @@ var init_encoding = __esm({
474
474
  }
475
475
  });
476
476
 
477
- // node_modules/viem/_esm/utils/encoding/fromHex.js
477
+ // ../../node_modules/viem/_esm/utils/encoding/fromHex.js
478
478
  function assertSize(hexOrBytes, { size: size2 }) {
479
479
  if (size(hexOrBytes) > size2)
480
480
  throw new SizeOverflowError({
@@ -483,14 +483,14 @@ function assertSize(hexOrBytes, { size: size2 }) {
483
483
  });
484
484
  }
485
485
  var init_fromHex = __esm({
486
- "node_modules/viem/_esm/utils/encoding/fromHex.js"() {
486
+ "../../node_modules/viem/_esm/utils/encoding/fromHex.js"() {
487
487
  "use strict";
488
488
  init_encoding();
489
489
  init_size();
490
490
  }
491
491
  });
492
492
 
493
- // node_modules/viem/_esm/utils/encoding/toHex.js
493
+ // ../../node_modules/viem/_esm/utils/encoding/toHex.js
494
494
  function toHex(value, opts = {}) {
495
495
  if (typeof value === "number" || typeof value === "bigint")
496
496
  return numberToHex(value, opts);
@@ -555,7 +555,7 @@ function stringToHex(value_, opts = {}) {
555
555
  }
556
556
  var hexes, encoder;
557
557
  var init_toHex = __esm({
558
- "node_modules/viem/_esm/utils/encoding/toHex.js"() {
558
+ "../../node_modules/viem/_esm/utils/encoding/toHex.js"() {
559
559
  "use strict";
560
560
  init_encoding();
561
561
  init_pad();
@@ -565,7 +565,7 @@ var init_toHex = __esm({
565
565
  }
566
566
  });
567
567
 
568
- // node_modules/viem/_esm/utils/encoding/toBytes.js
568
+ // ../../node_modules/viem/_esm/utils/encoding/toBytes.js
569
569
  function toBytes(value, opts = {}) {
570
570
  if (typeof value === "number" || typeof value === "bigint")
571
571
  return numberToBytes(value, opts);
@@ -628,7 +628,7 @@ function stringToBytes(value, opts = {}) {
628
628
  }
629
629
  var encoder2, charCodeMap;
630
630
  var init_toBytes = __esm({
631
- "node_modules/viem/_esm/utils/encoding/toBytes.js"() {
631
+ "../../node_modules/viem/_esm/utils/encoding/toBytes.js"() {
632
632
  "use strict";
633
633
  init_base();
634
634
  init_isHex();
@@ -942,7 +942,7 @@ var init_sha3 = __esm({
942
942
  }
943
943
  });
944
944
 
945
- // node_modules/viem/_esm/utils/hash/keccak256.js
945
+ // ../../node_modules/viem/_esm/utils/hash/keccak256.js
946
946
  function keccak256(value, to_) {
947
947
  const to = to_ || "hex";
948
948
  const bytes2 = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
@@ -951,7 +951,7 @@ function keccak256(value, to_) {
951
951
  return toHex(bytes2);
952
952
  }
953
953
  var init_keccak256 = __esm({
954
- "node_modules/viem/_esm/utils/hash/keccak256.js"() {
954
+ "../../node_modules/viem/_esm/utils/hash/keccak256.js"() {
955
955
  "use strict";
956
956
  init_sha3();
957
957
  init_isHex();
@@ -960,13 +960,13 @@ var init_keccak256 = __esm({
960
960
  }
961
961
  });
962
962
 
963
- // node_modules/viem/_esm/utils/hash/hashSignature.js
963
+ // ../../node_modules/viem/_esm/utils/hash/hashSignature.js
964
964
  function hashSignature(sig) {
965
965
  return hash(sig);
966
966
  }
967
967
  var hash;
968
968
  var init_hashSignature = __esm({
969
- "node_modules/viem/_esm/utils/hash/hashSignature.js"() {
969
+ "../../node_modules/viem/_esm/utils/hash/hashSignature.js"() {
970
970
  "use strict";
971
971
  init_toBytes();
972
972
  init_keccak256();
@@ -974,7 +974,7 @@ var init_hashSignature = __esm({
974
974
  }
975
975
  });
976
976
 
977
- // node_modules/viem/_esm/utils/hash/normalizeSignature.js
977
+ // ../../node_modules/viem/_esm/utils/hash/normalizeSignature.js
978
978
  function normalizeSignature(signature) {
979
979
  let active = true;
980
980
  let current = "";
@@ -1018,16 +1018,16 @@ function normalizeSignature(signature) {
1018
1018
  return result;
1019
1019
  }
1020
1020
  var init_normalizeSignature = __esm({
1021
- "node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
1021
+ "../../node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
1022
1022
  "use strict";
1023
1023
  init_base();
1024
1024
  }
1025
1025
  });
1026
1026
 
1027
- // node_modules/viem/_esm/utils/hash/toSignature.js
1027
+ // ../../node_modules/viem/_esm/utils/hash/toSignature.js
1028
1028
  var toSignature;
1029
1029
  var init_toSignature = __esm({
1030
- "node_modules/viem/_esm/utils/hash/toSignature.js"() {
1030
+ "../../node_modules/viem/_esm/utils/hash/toSignature.js"() {
1031
1031
  "use strict";
1032
1032
  init_exports();
1033
1033
  init_normalizeSignature();
@@ -1042,32 +1042,32 @@ var init_toSignature = __esm({
1042
1042
  }
1043
1043
  });
1044
1044
 
1045
- // node_modules/viem/_esm/utils/hash/toSignatureHash.js
1045
+ // ../../node_modules/viem/_esm/utils/hash/toSignatureHash.js
1046
1046
  function toSignatureHash(fn) {
1047
1047
  return hashSignature(toSignature(fn));
1048
1048
  }
1049
1049
  var init_toSignatureHash = __esm({
1050
- "node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
1050
+ "../../node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
1051
1051
  "use strict";
1052
1052
  init_hashSignature();
1053
1053
  init_toSignature();
1054
1054
  }
1055
1055
  });
1056
1056
 
1057
- // node_modules/viem/_esm/utils/hash/toEventSelector.js
1057
+ // ../../node_modules/viem/_esm/utils/hash/toEventSelector.js
1058
1058
  var toEventSelector;
1059
1059
  var init_toEventSelector = __esm({
1060
- "node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
1060
+ "../../node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
1061
1061
  "use strict";
1062
1062
  init_toSignatureHash();
1063
1063
  toEventSelector = toSignatureHash;
1064
1064
  }
1065
1065
  });
1066
1066
 
1067
- // node_modules/viem/_esm/errors/address.js
1067
+ // ../../node_modules/viem/_esm/errors/address.js
1068
1068
  var InvalidAddressError;
1069
1069
  var init_address = __esm({
1070
- "node_modules/viem/_esm/errors/address.js"() {
1070
+ "../../node_modules/viem/_esm/errors/address.js"() {
1071
1071
  "use strict";
1072
1072
  init_base();
1073
1073
  InvalidAddressError = class extends BaseError {
@@ -1089,10 +1089,10 @@ var init_address = __esm({
1089
1089
  }
1090
1090
  });
1091
1091
 
1092
- // node_modules/viem/_esm/utils/lru.js
1092
+ // ../../node_modules/viem/_esm/utils/lru.js
1093
1093
  var LruMap;
1094
1094
  var init_lru = __esm({
1095
- "node_modules/viem/_esm/utils/lru.js"() {
1095
+ "../../node_modules/viem/_esm/utils/lru.js"() {
1096
1096
  "use strict";
1097
1097
  LruMap = class extends Map {
1098
1098
  constructor(size2) {
@@ -1115,8 +1115,10 @@ var init_lru = __esm({
1115
1115
  }
1116
1116
  });
1117
1117
 
1118
- // node_modules/viem/_esm/utils/address/getAddress.js
1118
+ // ../../node_modules/viem/_esm/utils/address/getAddress.js
1119
1119
  function checksumAddress(address_, chainId) {
1120
+ if (checksumAddressCache.has(`${address_}.${chainId}`))
1121
+ return checksumAddressCache.get(`${address_}.${chainId}`);
1120
1122
  const hexAddress = chainId ? `${chainId}${address_.toLowerCase()}` : address_.substring(2).toLowerCase();
1121
1123
  const hash2 = keccak256(stringToBytes(hexAddress), "bytes");
1122
1124
  const address = (chainId ? hexAddress.substring(`${chainId}0x`.length) : hexAddress).split("");
@@ -1128,21 +1130,27 @@ function checksumAddress(address_, chainId) {
1128
1130
  address[i + 1] = address[i + 1].toUpperCase();
1129
1131
  }
1130
1132
  }
1131
- return `0x${address.join("")}`;
1133
+ const result = `0x${address.join("")}`;
1134
+ checksumAddressCache.set(`${address_}.${chainId}`, result);
1135
+ return result;
1132
1136
  }
1137
+ var checksumAddressCache;
1133
1138
  var init_getAddress = __esm({
1134
- "node_modules/viem/_esm/utils/address/getAddress.js"() {
1139
+ "../../node_modules/viem/_esm/utils/address/getAddress.js"() {
1135
1140
  "use strict";
1136
1141
  init_toBytes();
1137
1142
  init_keccak256();
1143
+ init_lru();
1144
+ checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
1138
1145
  }
1139
1146
  });
1140
1147
 
1141
- // node_modules/viem/_esm/utils/address/isAddress.js
1148
+ // ../../node_modules/viem/_esm/utils/address/isAddress.js
1142
1149
  function isAddress(address, options) {
1143
1150
  const { strict = true } = options ?? {};
1144
- if (isAddressCache.has(address))
1145
- return isAddressCache.get(address);
1151
+ const cacheKey = `${address}.${strict}`;
1152
+ if (isAddressCache.has(cacheKey))
1153
+ return isAddressCache.get(cacheKey);
1146
1154
  const result = (() => {
1147
1155
  if (!addressRegex.test(address))
1148
1156
  return false;
@@ -1152,12 +1160,12 @@ function isAddress(address, options) {
1152
1160
  return checksumAddress(address) === address;
1153
1161
  return true;
1154
1162
  })();
1155
- isAddressCache.set(address, result);
1163
+ isAddressCache.set(cacheKey, result);
1156
1164
  return result;
1157
1165
  }
1158
1166
  var addressRegex, isAddressCache;
1159
1167
  var init_isAddress = __esm({
1160
- "node_modules/viem/_esm/utils/address/isAddress.js"() {
1168
+ "../../node_modules/viem/_esm/utils/address/isAddress.js"() {
1161
1169
  "use strict";
1162
1170
  init_lru();
1163
1171
  init_getAddress();
@@ -1166,7 +1174,7 @@ var init_isAddress = __esm({
1166
1174
  }
1167
1175
  });
1168
1176
 
1169
- // node_modules/viem/_esm/utils/data/concat.js
1177
+ // ../../node_modules/viem/_esm/utils/data/concat.js
1170
1178
  function concat(values) {
1171
1179
  if (typeof values[0] === "string")
1172
1180
  return concatHex(values);
@@ -1189,12 +1197,12 @@ function concatHex(values) {
1189
1197
  return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
1190
1198
  }
1191
1199
  var init_concat = __esm({
1192
- "node_modules/viem/_esm/utils/data/concat.js"() {
1200
+ "../../node_modules/viem/_esm/utils/data/concat.js"() {
1193
1201
  "use strict";
1194
1202
  }
1195
1203
  });
1196
1204
 
1197
- // node_modules/viem/_esm/utils/data/slice.js
1205
+ // ../../node_modules/viem/_esm/utils/data/slice.js
1198
1206
  function slice(value, start, end, { strict } = {}) {
1199
1207
  if (isHex(value, { strict: false }))
1200
1208
  return sliceHex(value, start, end, {
@@ -1236,7 +1244,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
1236
1244
  return value;
1237
1245
  }
1238
1246
  var init_slice = __esm({
1239
- "node_modules/viem/_esm/utils/data/slice.js"() {
1247
+ "../../node_modules/viem/_esm/utils/data/slice.js"() {
1240
1248
  "use strict";
1241
1249
  init_data();
1242
1250
  init_isHex();
@@ -1244,7 +1252,7 @@ var init_slice = __esm({
1244
1252
  }
1245
1253
  });
1246
1254
 
1247
- // node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
1255
+ // ../../node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
1248
1256
  function encodeAbiParameters(params, values) {
1249
1257
  if (params.length !== values.length)
1250
1258
  throw new AbiEncodingLengthMismatchError({
@@ -1377,9 +1385,9 @@ function encodeBytes(value, { param }) {
1377
1385
  encoded: concat([padHex(numberToHex(bytesSize, { size: 32 })), value_])
1378
1386
  };
1379
1387
  }
1380
- if (bytesSize !== parseInt(paramSize))
1388
+ if (bytesSize !== Number.parseInt(paramSize))
1381
1389
  throw new AbiEncodingBytesSizeMismatchError({
1382
- expectedSize: parseInt(paramSize),
1390
+ expectedSize: Number.parseInt(paramSize),
1383
1391
  value
1384
1392
  });
1385
1393
  return { dynamic: false, encoded: padHex(value, { dir: "right" }) };
@@ -1442,7 +1450,7 @@ function getArrayComponents(type) {
1442
1450
  ) : void 0;
1443
1451
  }
1444
1452
  var init_encodeAbiParameters = __esm({
1445
- "node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
1453
+ "../../node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
1446
1454
  "use strict";
1447
1455
  init_abi();
1448
1456
  init_address();
@@ -1456,10 +1464,10 @@ var init_encodeAbiParameters = __esm({
1456
1464
  }
1457
1465
  });
1458
1466
 
1459
- // node_modules/viem/_esm/utils/hash/toFunctionSelector.js
1467
+ // ../../node_modules/viem/_esm/utils/hash/toFunctionSelector.js
1460
1468
  var toFunctionSelector;
1461
1469
  var init_toFunctionSelector = __esm({
1462
- "node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
1470
+ "../../node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
1463
1471
  "use strict";
1464
1472
  init_slice();
1465
1473
  init_toSignatureHash();
@@ -1467,7 +1475,7 @@ var init_toFunctionSelector = __esm({
1467
1475
  }
1468
1476
  });
1469
1477
 
1470
- // node_modules/viem/_esm/utils/abi/getAbiItem.js
1478
+ // ../../node_modules/viem/_esm/utils/abi/getAbiItem.js
1471
1479
  function getAbiItem(parameters) {
1472
1480
  const { abi, args = [], name } = parameters;
1473
1481
  const isSelector = isHex(name, { strict: false });
@@ -1579,7 +1587,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
1579
1587
  return;
1580
1588
  }
1581
1589
  var init_getAbiItem = __esm({
1582
- "node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
1590
+ "../../node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
1583
1591
  "use strict";
1584
1592
  init_abi();
1585
1593
  init_isHex();
@@ -1612,6 +1620,9 @@ __export(src_exports, {
1612
1620
  protocolRewardsABI: () => protocolRewardsABI,
1613
1621
  protocolRewardsAddress: () => protocolRewardsAddress,
1614
1622
  protocolRewardsConfig: () => protocolRewardsConfig,
1623
+ upgradeGateABI: () => upgradeGateABI,
1624
+ upgradeGateAddress: () => upgradeGateAddress,
1625
+ upgradeGateConfig: () => upgradeGateConfig,
1615
1626
  zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
1616
1627
  zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
1617
1628
  zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
@@ -2563,7 +2574,13 @@ var mintsEthUnwrapperAndCallerABI = [
2563
2574
  { type: "error", inputs: [], name: "UnknownUserAction" }
2564
2575
  ];
2565
2576
  var mintsEthUnwrapperAndCallerAddress = {
2577
+ 1: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2578
+ 10: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2579
+ 8453: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2580
+ 42161: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2581
+ 81457: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2566
2582
  84532: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2583
+ 421614: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2567
2584
  7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
2568
2585
  999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
2569
2586
  };
@@ -2839,6 +2856,254 @@ var protocolRewardsConfig = {
2839
2856
  address: protocolRewardsAddress,
2840
2857
  abi: protocolRewardsABI
2841
2858
  };
2859
+ var upgradeGateABI = [
2860
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
2861
+ {
2862
+ stateMutability: "nonpayable",
2863
+ type: "function",
2864
+ inputs: [],
2865
+ name: "acceptOwnership",
2866
+ outputs: []
2867
+ },
2868
+ {
2869
+ stateMutability: "nonpayable",
2870
+ type: "function",
2871
+ inputs: [],
2872
+ name: "cancelOwnershipTransfer",
2873
+ outputs: []
2874
+ },
2875
+ {
2876
+ stateMutability: "pure",
2877
+ type: "function",
2878
+ inputs: [],
2879
+ name: "contractName",
2880
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2881
+ },
2882
+ {
2883
+ stateMutability: "pure",
2884
+ type: "function",
2885
+ inputs: [],
2886
+ name: "contractURI",
2887
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2888
+ },
2889
+ {
2890
+ stateMutability: "nonpayable",
2891
+ type: "function",
2892
+ inputs: [
2893
+ { name: "_initialOwner", internalType: "address", type: "address" }
2894
+ ],
2895
+ name: "initialize",
2896
+ outputs: []
2897
+ },
2898
+ {
2899
+ stateMutability: "view",
2900
+ type: "function",
2901
+ inputs: [
2902
+ { name: "", internalType: "address", type: "address" },
2903
+ { name: "", internalType: "address", type: "address" }
2904
+ ],
2905
+ name: "isAllowedUpgrade",
2906
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
2907
+ },
2908
+ {
2909
+ stateMutability: "view",
2910
+ type: "function",
2911
+ inputs: [
2912
+ { name: "baseImpl", internalType: "address", type: "address" },
2913
+ { name: "upgradeImpl", internalType: "address", type: "address" }
2914
+ ],
2915
+ name: "isRegisteredUpgradePath",
2916
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
2917
+ },
2918
+ {
2919
+ stateMutability: "view",
2920
+ type: "function",
2921
+ inputs: [],
2922
+ name: "owner",
2923
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2924
+ },
2925
+ {
2926
+ stateMutability: "view",
2927
+ type: "function",
2928
+ inputs: [],
2929
+ name: "pendingOwner",
2930
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2931
+ },
2932
+ {
2933
+ stateMutability: "nonpayable",
2934
+ type: "function",
2935
+ inputs: [
2936
+ { name: "baseImpls", internalType: "address[]", type: "address[]" },
2937
+ { name: "upgradeImpl", internalType: "address", type: "address" }
2938
+ ],
2939
+ name: "registerUpgradePath",
2940
+ outputs: []
2941
+ },
2942
+ {
2943
+ stateMutability: "nonpayable",
2944
+ type: "function",
2945
+ inputs: [
2946
+ { name: "baseImpl", internalType: "address", type: "address" },
2947
+ { name: "upgradeImpl", internalType: "address", type: "address" }
2948
+ ],
2949
+ name: "removeUpgradePath",
2950
+ outputs: []
2951
+ },
2952
+ {
2953
+ stateMutability: "nonpayable",
2954
+ type: "function",
2955
+ inputs: [],
2956
+ name: "resignOwnership",
2957
+ outputs: []
2958
+ },
2959
+ {
2960
+ stateMutability: "nonpayable",
2961
+ type: "function",
2962
+ inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
2963
+ name: "safeTransferOwnership",
2964
+ outputs: []
2965
+ },
2966
+ {
2967
+ stateMutability: "nonpayable",
2968
+ type: "function",
2969
+ inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
2970
+ name: "transferOwnership",
2971
+ outputs: []
2972
+ },
2973
+ {
2974
+ type: "event",
2975
+ anonymous: false,
2976
+ inputs: [
2977
+ { name: "version", internalType: "uint8", type: "uint8", indexed: false }
2978
+ ],
2979
+ name: "Initialized"
2980
+ },
2981
+ {
2982
+ type: "event",
2983
+ anonymous: false,
2984
+ inputs: [
2985
+ {
2986
+ name: "owner",
2987
+ internalType: "address",
2988
+ type: "address",
2989
+ indexed: true
2990
+ },
2991
+ {
2992
+ name: "canceledOwner",
2993
+ internalType: "address",
2994
+ type: "address",
2995
+ indexed: true
2996
+ }
2997
+ ],
2998
+ name: "OwnerCanceled"
2999
+ },
3000
+ {
3001
+ type: "event",
3002
+ anonymous: false,
3003
+ inputs: [
3004
+ {
3005
+ name: "owner",
3006
+ internalType: "address",
3007
+ type: "address",
3008
+ indexed: true
3009
+ },
3010
+ {
3011
+ name: "pendingOwner",
3012
+ internalType: "address",
3013
+ type: "address",
3014
+ indexed: true
3015
+ }
3016
+ ],
3017
+ name: "OwnerPending"
3018
+ },
3019
+ {
3020
+ type: "event",
3021
+ anonymous: false,
3022
+ inputs: [
3023
+ {
3024
+ name: "prevOwner",
3025
+ internalType: "address",
3026
+ type: "address",
3027
+ indexed: true
3028
+ },
3029
+ {
3030
+ name: "newOwner",
3031
+ internalType: "address",
3032
+ type: "address",
3033
+ indexed: true
3034
+ }
3035
+ ],
3036
+ name: "OwnerUpdated"
3037
+ },
3038
+ { type: "event", anonymous: false, inputs: [], name: "UpgradeGateSetup" },
3039
+ {
3040
+ type: "event",
3041
+ anonymous: false,
3042
+ inputs: [
3043
+ {
3044
+ name: "baseImpl",
3045
+ internalType: "address",
3046
+ type: "address",
3047
+ indexed: true
3048
+ },
3049
+ {
3050
+ name: "upgradeImpl",
3051
+ internalType: "address",
3052
+ type: "address",
3053
+ indexed: true
3054
+ }
3055
+ ],
3056
+ name: "UpgradeRegistered"
3057
+ },
3058
+ {
3059
+ type: "event",
3060
+ anonymous: false,
3061
+ inputs: [
3062
+ {
3063
+ name: "baseImpl",
3064
+ internalType: "address",
3065
+ type: "address",
3066
+ indexed: true
3067
+ },
3068
+ {
3069
+ name: "upgradeImpl",
3070
+ internalType: "address",
3071
+ type: "address",
3072
+ indexed: true
3073
+ }
3074
+ ],
3075
+ name: "UpgradeRemoved"
3076
+ },
3077
+ {
3078
+ type: "error",
3079
+ inputs: [],
3080
+ name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
3081
+ },
3082
+ {
3083
+ type: "error",
3084
+ inputs: [],
3085
+ name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
3086
+ },
3087
+ { type: "error", inputs: [], name: "ONLY_OWNER" },
3088
+ { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
3089
+ { type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" }
3090
+ ];
3091
+ var upgradeGateAddress = {
3092
+ 1: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3093
+ 10: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3094
+ 8453: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3095
+ 42161: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3096
+ 81457: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3097
+ 84532: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3098
+ 421614: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3099
+ 7777777: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3100
+ 11155111: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3101
+ 168587773: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900"
3102
+ };
3103
+ var upgradeGateConfig = {
3104
+ address: upgradeGateAddress,
3105
+ abi: upgradeGateABI
3106
+ };
2842
3107
  var zoraCreator1155FactoryImplABI = [
2843
3108
  {
2844
3109
  stateMutability: "nonpayable",
@@ -7100,7 +7365,13 @@ var zoraMints1155ABI = [
7100
7365
  { type: "error", inputs: [], name: "TokenNotMintable" }
7101
7366
  ];
7102
7367
  var zoraMints1155Address = {
7368
+ 1: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7369
+ 10: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7370
+ 8453: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7371
+ 42161: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7372
+ 81457: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7103
7373
  84532: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7374
+ 421614: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7104
7375
  7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
7105
7376
  999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
7106
7377
  };
@@ -7244,6 +7515,7 @@ var zoraMintsManagerImplABI = [
7244
7515
  }
7245
7516
  ]
7246
7517
  },
7518
+ { name: "firstMinter", internalType: "address", type: "address" },
7247
7519
  { name: "signerContract", internalType: "address", type: "address" }
7248
7520
  ],
7249
7521
  name: "collectPremint",
@@ -7995,7 +8267,13 @@ var zoraMintsManagerImplABI = [
7995
8267
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
7996
8268
  ];
7997
8269
  var zoraMintsManagerImplAddress = {
8270
+ 1: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
8271
+ 10: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
8272
+ 8453: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
8273
+ 42161: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
8274
+ 81457: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
7998
8275
  84532: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
8276
+ 421614: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
7999
8277
  7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
8000
8278
  999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
8001
8279
  };
@@ -8004,7 +8282,7 @@ var zoraMintsManagerImplConfig = {
8004
8282
  abi: zoraMintsManagerImplABI
8005
8283
  };
8006
8284
 
8007
- // node_modules/viem/_esm/index.js
8285
+ // ../../node_modules/viem/_esm/index.js
8008
8286
  init_encodeAbiParameters();
8009
8287
  init_getAbiItem();
8010
8288
  init_toHex();
@@ -8320,18 +8598,18 @@ var chainConfigs = {
8320
8598
  };
8321
8599
  var addresses = {
8322
8600
  1: {
8323
- CONTRACT_1155_IMPL: "0x32006e298C19818CD5e8000E26439691f0ac2128",
8324
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
8325
- FACTORY_IMPL: "0xD662FB0fB00261C039441EF49Dbab154d7c533bD",
8601
+ CONTRACT_1155_IMPL: "0xAeAA622E522130676A8d5a4D04e28aC9Afb84536",
8602
+ CONTRACT_1155_IMPL_VERSION: "2.9.0",
8603
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8604
+ FACTORY_IMPL: "0x8f5B2dd6160D96B48a35F0619BC32b4b997cA37F",
8326
8605
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
8327
8606
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
8328
8607
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
8329
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
8608
+ PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
8330
8609
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
8331
8610
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
8332
8611
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
8333
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8334
- timestamp: 1706664239
8612
+ timestamp: 1713899416
8335
8613
  },
8336
8614
  10: {
8337
8615
  CONTRACT_1155_IMPL: "0xECfbCf718E17B6e76A675dDB936a9249C69DD2aA",
@@ -8417,18 +8695,18 @@ var addresses = {
8417
8695
  timestamp: 1713468185
8418
8696
  },
8419
8697
  421614: {
8420
- CONTRACT_1155_IMPL: "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
8421
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
8422
- FACTORY_IMPL: "0x314E552b55DFbDfD4d76623E1D45E5056723998B",
8698
+ CONTRACT_1155_IMPL: "0x857B5c291519Cff6D2090a87C3bC2eCe676ad057",
8699
+ CONTRACT_1155_IMPL_VERSION: "2.9.0",
8700
+ FACTORY_IMPL: "0x777d8FcB0336FfF689b2Ab17Db5b755F54C8776a",
8423
8701
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
8424
8702
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
8425
8703
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
8426
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
8704
+ PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
8427
8705
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
8428
8706
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
8429
8707
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
8430
8708
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8431
- timestamp: 1706661669
8709
+ timestamp: 1712779746
8432
8710
  },
8433
8711
  7777777: {
8434
8712
  CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
@@ -8494,50 +8772,55 @@ __export(mints_exports, {
8494
8772
  chainConfigs: () => chainConfigs2
8495
8773
  });
8496
8774
  var chainConfigs2 = {
8775
+ 1: { PROXY_ADMIN: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0" },
8776
+ 10: { PROXY_ADMIN: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b" },
8777
+ 420: { PROXY_ADMIN: "0xbb45052B2260707655Dfd916a416264f5981192c" },
8778
+ 8453: { PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3" },
8779
+ 42161: { PROXY_ADMIN: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03" },
8780
+ 81457: { PROXY_ADMIN: "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523" },
8781
+ 84531: { PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe" },
8782
+ 84532: { PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420" },
8783
+ 421614: { PROXY_ADMIN: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30" },
8784
+ 7777777: { PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955" },
8785
+ 11155111: { PROXY_ADMIN: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D" },
8786
+ 999999999: { PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E" }
8787
+ };
8788
+ var addresses2 = {
8497
8789
  1: {
8498
- PROXY_ADMIN: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
8499
- MINTS_OWNER: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
8790
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8791
+ MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
8792
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
8500
8793
  },
8501
8794
  10: {
8502
- PROXY_ADMIN: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
8503
- MINTS_OWNER: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
8504
- },
8505
- 420: {
8506
- PROXY_ADMIN: "0xbb45052B2260707655Dfd916a416264f5981192c",
8507
- MINTS_OWNER: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
8508
- },
8509
- 999: {
8510
- PROXY_ADMIN: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
8511
- MINTS_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
8795
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8796
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
8797
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
8512
8798
  },
8513
8799
  8453: {
8514
- PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
8515
- MINTS_OWNER: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
8516
- },
8517
- 84531: {
8518
- PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
8519
- MINTS_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe"
8800
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8801
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
8802
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
8520
8803
  },
8521
- 84532: { PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420" },
8522
- 7777777: {
8523
- PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
8524
- MINTS_OWNER: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
8804
+ 42161: {
8805
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8806
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
8807
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
8525
8808
  },
8526
- 11155111: {
8527
- PROXY_ADMIN: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
8528
- MINTS_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
8809
+ 81457: {
8810
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8811
+ MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
8812
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
8529
8813
  },
8530
- 999999999: {
8531
- PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
8532
- MINTS_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
8533
- }
8534
- };
8535
- var addresses2 = {
8536
8814
  84532: {
8537
8815
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8538
8816
  MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
8539
8817
  MINTS_MANAGER_IMPL_VERSION: "0.1.3"
8540
8818
  },
8819
+ 421614: {
8820
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
8821
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
8822
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
8823
+ },
8541
8824
  7777777: {
8542
8825
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
8543
8826
  MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
@@ -8571,6 +8854,9 @@ var addresses2 = {
8571
8854
  protocolRewardsABI,
8572
8855
  protocolRewardsAddress,
8573
8856
  protocolRewardsConfig,
8857
+ upgradeGateABI,
8858
+ upgradeGateAddress,
8859
+ upgradeGateConfig,
8574
8860
  zoraCreator1155FactoryImplABI,
8575
8861
  zoraCreator1155FactoryImplAddress,
8576
8862
  zoraCreator1155FactoryImplConfig,