@zoralabs/protocol-deployments 0.1.10 → 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.js CHANGED
@@ -1,8 +1,13 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
1
+ import {
2
+ encodeAbiParameters,
3
+ getAbiItem,
4
+ keccak256,
5
+ toHex
6
+ } from "./chunk-KIPP2F4J.js";
7
+ import "./chunk-2FDPSBOH.js";
8
+ import {
9
+ __export
10
+ } from "./chunk-3EJPJMEH.js";
6
11
 
7
12
  // src/generated/wagmi.ts
8
13
  var erc20MinterABI = [
@@ -13,6 +18,48 @@ var erc20MinterABI = [
13
18
  name: "acceptOwnership",
14
19
  outputs: []
15
20
  },
21
+ {
22
+ stateMutability: "view",
23
+ type: "function",
24
+ inputs: [
25
+ {
26
+ name: "config",
27
+ internalType: "struct IERC20Minter.PremintSalesConfig",
28
+ type: "tuple",
29
+ components: [
30
+ { name: "duration", internalType: "uint64", type: "uint64" },
31
+ {
32
+ name: "maxTokensPerAddress",
33
+ internalType: "uint64",
34
+ type: "uint64"
35
+ },
36
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
37
+ { name: "fundsRecipient", internalType: "address", type: "address" },
38
+ { name: "currency", internalType: "address", type: "address" }
39
+ ]
40
+ }
41
+ ],
42
+ name: "buildSalesConfigForPremint",
43
+ outputs: [
44
+ {
45
+ name: "",
46
+ internalType: "struct IERC20Minter.SalesConfig",
47
+ type: "tuple",
48
+ components: [
49
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
50
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
51
+ {
52
+ name: "maxTokensPerAddress",
53
+ internalType: "uint64",
54
+ type: "uint64"
55
+ },
56
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
57
+ { name: "fundsRecipient", internalType: "address", type: "address" },
58
+ { name: "currency", internalType: "address", type: "address" }
59
+ ]
60
+ }
61
+ ]
62
+ },
16
63
  {
17
64
  stateMutability: "nonpayable",
18
65
  type: "function",
@@ -166,7 +213,7 @@ var erc20MinterABI = [
166
213
  internalType: "address",
167
214
  type: "address"
168
215
  },
169
- { name: "owner", internalType: "address", type: "address" },
216
+ { name: "_owner", internalType: "address", type: "address" },
170
217
  { name: "_rewardPct", internalType: "uint256", type: "uint256" },
171
218
  { name: "_ethReward", internalType: "uint256", type: "uint256" }
172
219
  ],
@@ -332,6 +379,20 @@ var erc20MinterABI = [
332
379
  name: "setERC20MinterConfig",
333
380
  outputs: []
334
381
  },
382
+ {
383
+ stateMutability: "nonpayable",
384
+ type: "function",
385
+ inputs: [
386
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
387
+ {
388
+ name: "encodedPremintSalesConfig",
389
+ internalType: "bytes",
390
+ type: "bytes"
391
+ }
392
+ ],
393
+ name: "setPremintSale",
394
+ outputs: []
395
+ },
335
396
  {
336
397
  stateMutability: "nonpayable",
337
398
  type: "function",
@@ -631,6 +692,14 @@ var erc20MinterABI = [
631
692
  name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
632
693
  },
633
694
  { type: "error", inputs: [], name: "InvalidCurrency" },
695
+ {
696
+ type: "error",
697
+ inputs: [
698
+ { name: "expectedValue", internalType: "uint256", type: "uint256" },
699
+ { name: "actualValue", internalType: "uint256", type: "uint256" }
700
+ ],
701
+ name: "InvalidETHValue"
702
+ },
634
703
  { type: "error", inputs: [], name: "InvalidValue" },
635
704
  { type: "error", inputs: [], name: "ONLY_OWNER" },
636
705
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
@@ -660,12 +729,111 @@ var erc20MinterAddress = {
660
729
  421614: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
661
730
  7777777: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
662
731
  11155111: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
663
- 999999999: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31"
732
+ 999999999: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2"
664
733
  };
665
734
  var erc20MinterConfig = {
666
735
  address: erc20MinterAddress,
667
736
  abi: erc20MinterABI
668
737
  };
738
+ var iPremintDefinitionsABI = [
739
+ {
740
+ stateMutability: "nonpayable",
741
+ type: "function",
742
+ inputs: [
743
+ {
744
+ name: "",
745
+ internalType: "struct TokenCreationConfig",
746
+ type: "tuple",
747
+ components: [
748
+ { name: "tokenURI", internalType: "string", type: "string" },
749
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
750
+ {
751
+ name: "maxTokensPerAddress",
752
+ internalType: "uint64",
753
+ type: "uint64"
754
+ },
755
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
756
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
757
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
758
+ {
759
+ name: "royaltyMintSchedule",
760
+ internalType: "uint32",
761
+ type: "uint32"
762
+ },
763
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
764
+ {
765
+ name: "royaltyRecipient",
766
+ internalType: "address",
767
+ type: "address"
768
+ },
769
+ {
770
+ name: "fixedPriceMinter",
771
+ internalType: "address",
772
+ type: "address"
773
+ }
774
+ ]
775
+ }
776
+ ],
777
+ name: "tokenConfigV1Definition",
778
+ outputs: []
779
+ },
780
+ {
781
+ stateMutability: "nonpayable",
782
+ type: "function",
783
+ inputs: [
784
+ {
785
+ name: "",
786
+ internalType: "struct TokenCreationConfigV2",
787
+ type: "tuple",
788
+ components: [
789
+ { name: "tokenURI", internalType: "string", type: "string" },
790
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
791
+ {
792
+ name: "maxTokensPerAddress",
793
+ internalType: "uint64",
794
+ type: "uint64"
795
+ },
796
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
797
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
798
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
799
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
800
+ { name: "payoutRecipient", internalType: "address", type: "address" },
801
+ {
802
+ name: "fixedPriceMinter",
803
+ internalType: "address",
804
+ type: "address"
805
+ },
806
+ { name: "createReferral", internalType: "address", type: "address" }
807
+ ]
808
+ }
809
+ ],
810
+ name: "tokenConfigV2Definition",
811
+ outputs: []
812
+ },
813
+ {
814
+ stateMutability: "nonpayable",
815
+ type: "function",
816
+ inputs: [
817
+ {
818
+ name: "",
819
+ internalType: "struct TokenCreationConfigV3",
820
+ type: "tuple",
821
+ components: [
822
+ { name: "tokenURI", internalType: "string", type: "string" },
823
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
824
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
825
+ { name: "payoutRecipient", internalType: "address", type: "address" },
826
+ { name: "createReferral", internalType: "address", type: "address" },
827
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
828
+ { name: "minter", internalType: "address", type: "address" },
829
+ { name: "premintSalesConfig", internalType: "bytes", type: "bytes" }
830
+ ]
831
+ }
832
+ ],
833
+ name: "tokenConfigV3Definition",
834
+ outputs: []
835
+ }
836
+ ];
669
837
  var iUnwrapAndForwardActionABI = [
670
838
  {
671
839
  stateMutability: "payable",
@@ -767,6 +935,13 @@ var mintsEthUnwrapperAndCallerABI = [
767
935
  { type: "error", inputs: [], name: "UnknownUserAction" }
768
936
  ];
769
937
  var mintsEthUnwrapperAndCallerAddress = {
938
+ 1: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
939
+ 10: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
940
+ 8453: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
941
+ 42161: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
942
+ 81457: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
943
+ 84532: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
944
+ 421614: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
770
945
  7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
771
946
  999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
772
947
  };
@@ -1042,6 +1217,254 @@ var protocolRewardsConfig = {
1042
1217
  address: protocolRewardsAddress,
1043
1218
  abi: protocolRewardsABI
1044
1219
  };
1220
+ var upgradeGateABI = [
1221
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
1222
+ {
1223
+ stateMutability: "nonpayable",
1224
+ type: "function",
1225
+ inputs: [],
1226
+ name: "acceptOwnership",
1227
+ outputs: []
1228
+ },
1229
+ {
1230
+ stateMutability: "nonpayable",
1231
+ type: "function",
1232
+ inputs: [],
1233
+ name: "cancelOwnershipTransfer",
1234
+ outputs: []
1235
+ },
1236
+ {
1237
+ stateMutability: "pure",
1238
+ type: "function",
1239
+ inputs: [],
1240
+ name: "contractName",
1241
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1242
+ },
1243
+ {
1244
+ stateMutability: "pure",
1245
+ type: "function",
1246
+ inputs: [],
1247
+ name: "contractURI",
1248
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1249
+ },
1250
+ {
1251
+ stateMutability: "nonpayable",
1252
+ type: "function",
1253
+ inputs: [
1254
+ { name: "_initialOwner", internalType: "address", type: "address" }
1255
+ ],
1256
+ name: "initialize",
1257
+ outputs: []
1258
+ },
1259
+ {
1260
+ stateMutability: "view",
1261
+ type: "function",
1262
+ inputs: [
1263
+ { name: "", internalType: "address", type: "address" },
1264
+ { name: "", internalType: "address", type: "address" }
1265
+ ],
1266
+ name: "isAllowedUpgrade",
1267
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1268
+ },
1269
+ {
1270
+ stateMutability: "view",
1271
+ type: "function",
1272
+ inputs: [
1273
+ { name: "baseImpl", internalType: "address", type: "address" },
1274
+ { name: "upgradeImpl", internalType: "address", type: "address" }
1275
+ ],
1276
+ name: "isRegisteredUpgradePath",
1277
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1278
+ },
1279
+ {
1280
+ stateMutability: "view",
1281
+ type: "function",
1282
+ inputs: [],
1283
+ name: "owner",
1284
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1285
+ },
1286
+ {
1287
+ stateMutability: "view",
1288
+ type: "function",
1289
+ inputs: [],
1290
+ name: "pendingOwner",
1291
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1292
+ },
1293
+ {
1294
+ stateMutability: "nonpayable",
1295
+ type: "function",
1296
+ inputs: [
1297
+ { name: "baseImpls", internalType: "address[]", type: "address[]" },
1298
+ { name: "upgradeImpl", internalType: "address", type: "address" }
1299
+ ],
1300
+ name: "registerUpgradePath",
1301
+ outputs: []
1302
+ },
1303
+ {
1304
+ stateMutability: "nonpayable",
1305
+ type: "function",
1306
+ inputs: [
1307
+ { name: "baseImpl", internalType: "address", type: "address" },
1308
+ { name: "upgradeImpl", internalType: "address", type: "address" }
1309
+ ],
1310
+ name: "removeUpgradePath",
1311
+ outputs: []
1312
+ },
1313
+ {
1314
+ stateMutability: "nonpayable",
1315
+ type: "function",
1316
+ inputs: [],
1317
+ name: "resignOwnership",
1318
+ outputs: []
1319
+ },
1320
+ {
1321
+ stateMutability: "nonpayable",
1322
+ type: "function",
1323
+ inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
1324
+ name: "safeTransferOwnership",
1325
+ outputs: []
1326
+ },
1327
+ {
1328
+ stateMutability: "nonpayable",
1329
+ type: "function",
1330
+ inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
1331
+ name: "transferOwnership",
1332
+ outputs: []
1333
+ },
1334
+ {
1335
+ type: "event",
1336
+ anonymous: false,
1337
+ inputs: [
1338
+ { name: "version", internalType: "uint8", type: "uint8", indexed: false }
1339
+ ],
1340
+ name: "Initialized"
1341
+ },
1342
+ {
1343
+ type: "event",
1344
+ anonymous: false,
1345
+ inputs: [
1346
+ {
1347
+ name: "owner",
1348
+ internalType: "address",
1349
+ type: "address",
1350
+ indexed: true
1351
+ },
1352
+ {
1353
+ name: "canceledOwner",
1354
+ internalType: "address",
1355
+ type: "address",
1356
+ indexed: true
1357
+ }
1358
+ ],
1359
+ name: "OwnerCanceled"
1360
+ },
1361
+ {
1362
+ type: "event",
1363
+ anonymous: false,
1364
+ inputs: [
1365
+ {
1366
+ name: "owner",
1367
+ internalType: "address",
1368
+ type: "address",
1369
+ indexed: true
1370
+ },
1371
+ {
1372
+ name: "pendingOwner",
1373
+ internalType: "address",
1374
+ type: "address",
1375
+ indexed: true
1376
+ }
1377
+ ],
1378
+ name: "OwnerPending"
1379
+ },
1380
+ {
1381
+ type: "event",
1382
+ anonymous: false,
1383
+ inputs: [
1384
+ {
1385
+ name: "prevOwner",
1386
+ internalType: "address",
1387
+ type: "address",
1388
+ indexed: true
1389
+ },
1390
+ {
1391
+ name: "newOwner",
1392
+ internalType: "address",
1393
+ type: "address",
1394
+ indexed: true
1395
+ }
1396
+ ],
1397
+ name: "OwnerUpdated"
1398
+ },
1399
+ { type: "event", anonymous: false, inputs: [], name: "UpgradeGateSetup" },
1400
+ {
1401
+ type: "event",
1402
+ anonymous: false,
1403
+ inputs: [
1404
+ {
1405
+ name: "baseImpl",
1406
+ internalType: "address",
1407
+ type: "address",
1408
+ indexed: true
1409
+ },
1410
+ {
1411
+ name: "upgradeImpl",
1412
+ internalType: "address",
1413
+ type: "address",
1414
+ indexed: true
1415
+ }
1416
+ ],
1417
+ name: "UpgradeRegistered"
1418
+ },
1419
+ {
1420
+ type: "event",
1421
+ anonymous: false,
1422
+ inputs: [
1423
+ {
1424
+ name: "baseImpl",
1425
+ internalType: "address",
1426
+ type: "address",
1427
+ indexed: true
1428
+ },
1429
+ {
1430
+ name: "upgradeImpl",
1431
+ internalType: "address",
1432
+ type: "address",
1433
+ indexed: true
1434
+ }
1435
+ ],
1436
+ name: "UpgradeRemoved"
1437
+ },
1438
+ {
1439
+ type: "error",
1440
+ inputs: [],
1441
+ name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
1442
+ },
1443
+ {
1444
+ type: "error",
1445
+ inputs: [],
1446
+ name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
1447
+ },
1448
+ { type: "error", inputs: [], name: "ONLY_OWNER" },
1449
+ { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
1450
+ { type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" }
1451
+ ];
1452
+ var upgradeGateAddress = {
1453
+ 1: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1454
+ 10: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1455
+ 8453: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1456
+ 42161: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1457
+ 81457: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1458
+ 84532: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1459
+ 421614: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1460
+ 7777777: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1461
+ 11155111: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
1462
+ 168587773: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900"
1463
+ };
1464
+ var upgradeGateConfig = {
1465
+ address: upgradeGateAddress,
1466
+ abi: upgradeGateABI
1467
+ };
1045
1468
  var zoraCreator1155FactoryImplABI = [
1046
1469
  {
1047
1470
  stateMutability: "nonpayable",
@@ -1197,6 +1620,19 @@ var zoraCreator1155FactoryImplABI = [
1197
1620
  name: "deterministicContractAddress",
1198
1621
  outputs: [{ name: "", internalType: "address", type: "address" }]
1199
1622
  },
1623
+ {
1624
+ stateMutability: "view",
1625
+ type: "function",
1626
+ inputs: [
1627
+ { name: "msgSender", internalType: "address", type: "address" },
1628
+ { name: "newContractURI", internalType: "string", type: "string" },
1629
+ { name: "name", internalType: "string", type: "string" },
1630
+ { name: "contractAdmin", internalType: "address", type: "address" },
1631
+ { name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
1632
+ ],
1633
+ name: "deterministicContractAddressWithSetupActions",
1634
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1635
+ },
1200
1636
  {
1201
1637
  stateMutability: "view",
1202
1638
  type: "function",
@@ -1522,7 +1958,7 @@ var zoraCreator1155FactoryImplAddress = {
1522
1958
  8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1523
1959
  42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1524
1960
  81457: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1525
- 84532: "0x8cfbF874A12b346115003532119C29f6B56719CB",
1961
+ 84532: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1526
1962
  421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1527
1963
  7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1528
1964
  11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
@@ -2953,6 +3389,13 @@ var zoraCreator1155PremintExecutorImplABI = [
2953
3389
  name: "contractName",
2954
3390
  outputs: [{ name: "", internalType: "string", type: "string" }]
2955
3391
  },
3392
+ {
3393
+ stateMutability: "pure",
3394
+ type: "function",
3395
+ inputs: [],
3396
+ name: "contractVersion",
3397
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3398
+ },
2956
3399
  {
2957
3400
  stateMutability: "view",
2958
3401
  type: "function",
@@ -2971,6 +3414,29 @@ var zoraCreator1155PremintExecutorImplABI = [
2971
3414
  name: "getContractAddress",
2972
3415
  outputs: [{ name: "", internalType: "address", type: "address" }]
2973
3416
  },
3417
+ {
3418
+ stateMutability: "view",
3419
+ type: "function",
3420
+ inputs: [
3421
+ {
3422
+ name: "contractConfig",
3423
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
3424
+ type: "tuple",
3425
+ components: [
3426
+ { name: "contractAdmin", internalType: "address", type: "address" },
3427
+ { name: "contractURI", internalType: "string", type: "string" },
3428
+ { name: "contractName", internalType: "string", type: "string" },
3429
+ {
3430
+ name: "additionalAdmins",
3431
+ internalType: "address[]",
3432
+ type: "address[]"
3433
+ }
3434
+ ]
3435
+ }
3436
+ ],
3437
+ name: "getContractWithAdditionalAdminsAddress",
3438
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3439
+ },
2974
3440
  {
2975
3441
  stateMutability: "view",
2976
3442
  type: "function",
@@ -2984,8 +3450,23 @@ var zoraCreator1155PremintExecutorImplABI = [
2984
3450
  inputs: [
2985
3451
  { name: "_initialOwner", internalType: "address", type: "address" }
2986
3452
  ],
2987
- name: "initialize",
2988
- outputs: []
3453
+ name: "initialize",
3454
+ outputs: []
3455
+ },
3456
+ {
3457
+ stateMutability: "view",
3458
+ type: "function",
3459
+ inputs: [
3460
+ { name: "signer", internalType: "address", type: "address" },
3461
+ {
3462
+ name: "premintContractConfigContractAdmin",
3463
+ internalType: "address",
3464
+ type: "address"
3465
+ },
3466
+ { name: "contractAddress", internalType: "address", type: "address" }
3467
+ ],
3468
+ name: "isAuthorizedToCreatePremint",
3469
+ outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
2989
3470
  },
2990
3471
  {
2991
3472
  stateMutability: "view",
@@ -2997,9 +3478,14 @@ var zoraCreator1155PremintExecutorImplABI = [
2997
3478
  internalType: "address",
2998
3479
  type: "address"
2999
3480
  },
3000
- { name: "contractAddress", internalType: "address", type: "address" }
3481
+ { name: "contractAddress", internalType: "address", type: "address" },
3482
+ {
3483
+ name: "additionalAdmins",
3484
+ internalType: "address[]",
3485
+ type: "address[]"
3486
+ }
3001
3487
  ],
3002
- name: "isAuthorizedToCreatePremint",
3488
+ name: "isAuthorizedToCreatePremintWithAdditionalAdmins",
3003
3489
  outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
3004
3490
  },
3005
3491
  {
@@ -3092,61 +3578,39 @@ var zoraCreator1155PremintExecutorImplABI = [
3092
3578
  outputs: [{ name: "", internalType: "address", type: "address" }]
3093
3579
  },
3094
3580
  {
3095
- stateMutability: "nonpayable",
3581
+ stateMutability: "payable",
3096
3582
  type: "function",
3097
3583
  inputs: [
3098
3584
  {
3099
3585
  name: "contractConfig",
3100
- internalType: "struct ContractCreationConfig",
3586
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
3101
3587
  type: "tuple",
3102
3588
  components: [
3103
3589
  { name: "contractAdmin", internalType: "address", type: "address" },
3104
3590
  { name: "contractURI", internalType: "string", type: "string" },
3105
- { name: "contractName", internalType: "string", type: "string" }
3591
+ { name: "contractName", internalType: "string", type: "string" },
3592
+ {
3593
+ name: "additionalAdmins",
3594
+ internalType: "address[]",
3595
+ type: "address[]"
3596
+ }
3106
3597
  ]
3107
3598
  },
3599
+ { name: "premintCollection", internalType: "address", type: "address" },
3108
3600
  {
3109
- name: "premintConfig",
3110
- internalType: "struct Erc20PremintConfigV1",
3601
+ name: "encodedPremintConfig",
3602
+ internalType: "struct PremintConfigEncoded",
3111
3603
  type: "tuple",
3112
3604
  components: [
3113
- {
3114
- name: "tokenConfig",
3115
- internalType: "struct Erc20TokenCreationConfigV1",
3116
- type: "tuple",
3117
- components: [
3118
- { name: "tokenURI", internalType: "string", type: "string" },
3119
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
3120
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
3121
- {
3122
- name: "payoutRecipient",
3123
- internalType: "address",
3124
- type: "address"
3125
- },
3126
- {
3127
- name: "createReferral",
3128
- internalType: "address",
3129
- type: "address"
3130
- },
3131
- { name: "erc20Minter", internalType: "address", type: "address" },
3132
- { name: "mintStart", internalType: "uint64", type: "uint64" },
3133
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
3134
- {
3135
- name: "maxTokensPerAddress",
3136
- internalType: "uint64",
3137
- type: "uint64"
3138
- },
3139
- { name: "currency", internalType: "address", type: "address" },
3140
- {
3141
- name: "pricePerToken",
3142
- internalType: "uint256",
3143
- type: "uint256"
3144
- }
3145
- ]
3146
- },
3147
3605
  { name: "uid", internalType: "uint32", type: "uint32" },
3148
3606
  { name: "version", internalType: "uint32", type: "uint32" },
3149
- { name: "deleted", internalType: "bool", type: "bool" }
3607
+ { name: "deleted", internalType: "bool", type: "bool" },
3608
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
3609
+ {
3610
+ name: "premintConfigVersion",
3611
+ internalType: "bytes32",
3612
+ type: "bytes32"
3613
+ }
3150
3614
  ]
3151
3615
  },
3152
3616
  { name: "signature", internalType: "bytes", type: "bytes" },
@@ -3168,10 +3632,10 @@ var zoraCreator1155PremintExecutorImplABI = [
3168
3632
  { name: "firstMinter", internalType: "address", type: "address" },
3169
3633
  { name: "signerContract", internalType: "address", type: "address" }
3170
3634
  ],
3171
- name: "premintErc20V1",
3635
+ name: "premint",
3172
3636
  outputs: [
3173
3637
  {
3174
- name: "result",
3638
+ name: "premintResult",
3175
3639
  internalType: "struct PremintResult",
3176
3640
  type: "tuple",
3177
3641
  components: [
@@ -3272,7 +3736,7 @@ var zoraCreator1155PremintExecutorImplABI = [
3272
3736
  name: "premintV1",
3273
3737
  outputs: [
3274
3738
  {
3275
- name: "result",
3739
+ name: "",
3276
3740
  internalType: "struct PremintResult",
3277
3741
  type: "tuple",
3278
3742
  components: [
@@ -3360,97 +3824,7 @@ var zoraCreator1155PremintExecutorImplABI = [
3360
3824
  name: "premintV2",
3361
3825
  outputs: [
3362
3826
  {
3363
- name: "result",
3364
- internalType: "struct PremintResult",
3365
- type: "tuple",
3366
- components: [
3367
- { name: "contractAddress", internalType: "address", type: "address" },
3368
- { name: "tokenId", internalType: "uint256", type: "uint256" },
3369
- { name: "createdNewContract", internalType: "bool", type: "bool" }
3370
- ]
3371
- }
3372
- ]
3373
- },
3374
- {
3375
- stateMutability: "payable",
3376
- type: "function",
3377
- inputs: [
3378
- {
3379
- name: "contractConfig",
3380
- internalType: "struct ContractCreationConfig",
3381
- type: "tuple",
3382
- components: [
3383
- { name: "contractAdmin", internalType: "address", type: "address" },
3384
- { name: "contractURI", internalType: "string", type: "string" },
3385
- { name: "contractName", internalType: "string", type: "string" }
3386
- ]
3387
- },
3388
- {
3389
- name: "premintConfig",
3390
- internalType: "struct PremintConfigV2",
3391
- type: "tuple",
3392
- components: [
3393
- {
3394
- name: "tokenConfig",
3395
- internalType: "struct TokenCreationConfigV2",
3396
- type: "tuple",
3397
- components: [
3398
- { name: "tokenURI", internalType: "string", type: "string" },
3399
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
3400
- {
3401
- name: "maxTokensPerAddress",
3402
- internalType: "uint64",
3403
- type: "uint64"
3404
- },
3405
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
3406
- { name: "mintStart", internalType: "uint64", type: "uint64" },
3407
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
3408
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
3409
- {
3410
- name: "payoutRecipient",
3411
- internalType: "address",
3412
- type: "address"
3413
- },
3414
- {
3415
- name: "fixedPriceMinter",
3416
- internalType: "address",
3417
- type: "address"
3418
- },
3419
- {
3420
- name: "createReferral",
3421
- internalType: "address",
3422
- type: "address"
3423
- }
3424
- ]
3425
- },
3426
- { name: "uid", internalType: "uint32", type: "uint32" },
3427
- { name: "version", internalType: "uint32", type: "uint32" },
3428
- { name: "deleted", internalType: "bool", type: "bool" }
3429
- ]
3430
- },
3431
- { name: "signature", internalType: "bytes", type: "bytes" },
3432
- { name: "quantityToMint", internalType: "uint256", type: "uint256" },
3433
- {
3434
- name: "mintArguments",
3435
- internalType: "struct MintArguments",
3436
- type: "tuple",
3437
- components: [
3438
- { name: "mintRecipient", internalType: "address", type: "address" },
3439
- { name: "mintComment", internalType: "string", type: "string" },
3440
- {
3441
- name: "mintRewardsRecipients",
3442
- internalType: "address[]",
3443
- type: "address[]"
3444
- }
3445
- ]
3446
- },
3447
- { name: "firstMinter", internalType: "address", type: "address" },
3448
- { name: "signerContract", internalType: "address", type: "address" }
3449
- ],
3450
- name: "premintV2WithSignerContract",
3451
- outputs: [
3452
- {
3453
- name: "result",
3827
+ name: "",
3454
3828
  internalType: "struct PremintResult",
3455
3829
  type: "tuple",
3456
3830
  components: [
@@ -3948,6 +4322,7 @@ var zoraCreator1155PremintExecutorImplAddress = {
3948
4322
  8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3949
4323
  42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3950
4324
  81457: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
4325
+ 84532: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3951
4326
  421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3952
4327
  7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3953
4328
  11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
@@ -5351,6 +5726,13 @@ var zoraMints1155ABI = [
5351
5726
  { type: "error", inputs: [], name: "TokenNotMintable" }
5352
5727
  ];
5353
5728
  var zoraMints1155Address = {
5729
+ 1: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5730
+ 10: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5731
+ 8453: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5732
+ 42161: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5733
+ 81457: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5734
+ 84532: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5735
+ 421614: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5354
5736
  7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5355
5737
  999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
5356
5738
  };
@@ -5365,7 +5747,7 @@ var zoraMintsManagerImplABI = [
5365
5747
  inputs: [
5366
5748
  {
5367
5749
  name: "_premintExecutor",
5368
- internalType: "contract IZoraCreator1155PremintExecutorV2",
5750
+ internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
5369
5751
  type: "address"
5370
5752
  }
5371
5753
  ]
@@ -5443,6 +5825,74 @@ var zoraMintsManagerImplABI = [
5443
5825
  name: "collect",
5444
5826
  outputs: []
5445
5827
  },
5828
+ {
5829
+ stateMutability: "payable",
5830
+ type: "function",
5831
+ inputs: [
5832
+ {
5833
+ name: "contractConfig",
5834
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
5835
+ type: "tuple",
5836
+ components: [
5837
+ { name: "contractAdmin", internalType: "address", type: "address" },
5838
+ { name: "contractURI", internalType: "string", type: "string" },
5839
+ { name: "contractName", internalType: "string", type: "string" },
5840
+ {
5841
+ name: "additionalAdmins",
5842
+ internalType: "address[]",
5843
+ type: "address[]"
5844
+ }
5845
+ ]
5846
+ },
5847
+ { name: "tokenContract", internalType: "address", type: "address" },
5848
+ {
5849
+ name: "premintConfig",
5850
+ internalType: "struct PremintConfigEncoded",
5851
+ type: "tuple",
5852
+ components: [
5853
+ { name: "uid", internalType: "uint32", type: "uint32" },
5854
+ { name: "version", internalType: "uint32", type: "uint32" },
5855
+ { name: "deleted", internalType: "bool", type: "bool" },
5856
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
5857
+ {
5858
+ name: "premintConfigVersion",
5859
+ internalType: "bytes32",
5860
+ type: "bytes32"
5861
+ }
5862
+ ]
5863
+ },
5864
+ { name: "signature", internalType: "bytes", type: "bytes" },
5865
+ {
5866
+ name: "mintArguments",
5867
+ internalType: "struct MintArguments",
5868
+ type: "tuple",
5869
+ components: [
5870
+ { name: "mintRecipient", internalType: "address", type: "address" },
5871
+ { name: "mintComment", internalType: "string", type: "string" },
5872
+ {
5873
+ name: "mintRewardsRecipients",
5874
+ internalType: "address[]",
5875
+ type: "address[]"
5876
+ }
5877
+ ]
5878
+ },
5879
+ { name: "firstMinter", internalType: "address", type: "address" },
5880
+ { name: "signerContract", internalType: "address", type: "address" }
5881
+ ],
5882
+ name: "collectPremint",
5883
+ outputs: [
5884
+ {
5885
+ name: "result",
5886
+ internalType: "struct PremintResult",
5887
+ type: "tuple",
5888
+ components: [
5889
+ { name: "contractAddress", internalType: "address", type: "address" },
5890
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
5891
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
5892
+ ]
5893
+ }
5894
+ ]
5895
+ },
5446
5896
  {
5447
5897
  stateMutability: "payable",
5448
5898
  type: "function",
@@ -6178,6 +6628,13 @@ var zoraMintsManagerImplABI = [
6178
6628
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
6179
6629
  ];
6180
6630
  var zoraMintsManagerImplAddress = {
6631
+ 1: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6632
+ 10: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6633
+ 8453: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6634
+ 42161: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6635
+ 81457: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6636
+ 84532: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6637
+ 421614: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6181
6638
  7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6182
6639
  999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
6183
6640
  };
@@ -6186,6 +6643,14 @@ var zoraMintsManagerImplConfig = {
6186
6643
  abi: zoraMintsManagerImplABI
6187
6644
  };
6188
6645
 
6646
+ // src/types.ts
6647
+ var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
6648
+ PremintConfigVersion2["V1"] = "1";
6649
+ PremintConfigVersion2["V2"] = "2";
6650
+ PremintConfigVersion2["V3"] = "3";
6651
+ return PremintConfigVersion2;
6652
+ })(PremintConfigVersion || {});
6653
+
6189
6654
  // src/typedData.ts
6190
6655
  var premintTypedDataDomain = ({
6191
6656
  chainId,
@@ -6221,6 +6686,58 @@ var premintV1TypedDataType = {
6221
6686
  { name: "fixedPriceMinter", type: "address" }
6222
6687
  ]
6223
6688
  };
6689
+ var encodeTokenConfigV1 = (config) => {
6690
+ const abiItem = getAbiItem({
6691
+ abi: iPremintDefinitionsABI,
6692
+ name: "tokenConfigV1Definition"
6693
+ });
6694
+ return encodeAbiParameters(abiItem.inputs, [config]);
6695
+ };
6696
+ var encodeTokenConfigV2 = (config) => {
6697
+ const abiItem = getAbiItem({
6698
+ abi: iPremintDefinitionsABI,
6699
+ name: "tokenConfigV2Definition"
6700
+ });
6701
+ return encodeAbiParameters(abiItem.inputs, [config]);
6702
+ };
6703
+ var encodeTokenConfigV3 = (config) => {
6704
+ const abiItem = getAbiItem({
6705
+ abi: iPremintDefinitionsABI,
6706
+ name: "tokenConfigV3Definition"
6707
+ });
6708
+ return encodeAbiParameters(abiItem.inputs, [config]);
6709
+ };
6710
+ var encodeTokenConfig = ({
6711
+ tokenConfig,
6712
+ premintConfigVersion
6713
+ }) => {
6714
+ if (premintConfigVersion === "1" /* V1 */) {
6715
+ return encodeTokenConfigV1(tokenConfig);
6716
+ }
6717
+ if (premintConfigVersion === "2" /* V2 */) {
6718
+ return encodeTokenConfigV2(tokenConfig);
6719
+ }
6720
+ if (premintConfigVersion === "3" /* V3 */) {
6721
+ return encodeTokenConfigV3(tokenConfig);
6722
+ }
6723
+ throw new Error("Invalid PremintConfigVersion: " + premintConfigVersion);
6724
+ };
6725
+ var encodePremintConfig = ({
6726
+ premintConfig,
6727
+ premintConfigVersion
6728
+ }) => {
6729
+ const encodedTokenConfig = encodeTokenConfig({
6730
+ premintConfigVersion,
6731
+ tokenConfig: premintConfig.tokenConfig
6732
+ });
6733
+ return {
6734
+ deleted: premintConfig.deleted,
6735
+ uid: premintConfig.uid,
6736
+ version: premintConfig.version,
6737
+ premintConfigVersion: keccak256(toHex(premintConfigVersion)),
6738
+ tokenConfig: encodedTokenConfig
6739
+ };
6740
+ };
6224
6741
  var premintV1TypedDataDefinition = ({
6225
6742
  chainId,
6226
6743
  creator1155Contract,
@@ -6230,7 +6747,7 @@ var premintV1TypedDataDefinition = ({
6230
6747
  primaryType: "CreatorAttribution",
6231
6748
  domain: premintTypedDataDomain({
6232
6749
  chainId,
6233
- version: "1",
6750
+ version: "1" /* V1 */,
6234
6751
  creator1155Contract
6235
6752
  }),
6236
6753
  message
@@ -6268,11 +6785,32 @@ var premintV2TypedDataDefinition = ({
6268
6785
  primaryType: "CreatorAttribution",
6269
6786
  domain: premintTypedDataDomain({
6270
6787
  chainId,
6271
- version: "2",
6788
+ version: "2" /* V2 */,
6272
6789
  creator1155Contract
6273
6790
  }),
6274
6791
  message
6275
6792
  });
6793
+ var premintTypedDataDefinition = ({
6794
+ verifyingContract,
6795
+ chainId,
6796
+ premintConfigVersion: version,
6797
+ premintConfig
6798
+ }) => {
6799
+ if (version === "1" /* V1 */)
6800
+ return premintV1TypedDataDefinition({
6801
+ chainId,
6802
+ creator1155Contract: verifyingContract,
6803
+ message: premintConfig
6804
+ });
6805
+ if (version === "2" /* V2 */) {
6806
+ return premintV2TypedDataDefinition({
6807
+ chainId,
6808
+ creator1155Contract: verifyingContract,
6809
+ message: premintConfig
6810
+ });
6811
+ }
6812
+ throw new Error(`Invalid version ${version}`);
6813
+ };
6276
6814
  var permitSafeTransferTypedDataType = {
6277
6815
  PermitSafeTransfer: [
6278
6816
  { name: "owner", type: "address" },
@@ -6383,8 +6921,8 @@ var chainConfigs = {
6383
6921
  PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
6384
6922
  },
6385
6923
  84532: {
6386
- FACTORY_OWNER: "0x12125c8a52B8E4ed1A28e1f964023b4477f11300",
6387
- MINT_FEE_RECIPIENT: "0x12125c8a52B8E4ed1A28e1f964023b4477f11300",
6924
+ FACTORY_OWNER: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
6925
+ MINT_FEE_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
6388
6926
  PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
6389
6927
  },
6390
6928
  421614: {
@@ -6415,18 +6953,18 @@ var chainConfigs = {
6415
6953
  };
6416
6954
  var addresses = {
6417
6955
  1: {
6418
- CONTRACT_1155_IMPL: "0x32006e298C19818CD5e8000E26439691f0ac2128",
6419
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
6420
- FACTORY_IMPL: "0xD662FB0fB00261C039441EF49Dbab154d7c533bD",
6956
+ CONTRACT_1155_IMPL: "0xAeAA622E522130676A8d5a4D04e28aC9Afb84536",
6957
+ CONTRACT_1155_IMPL_VERSION: "2.9.0",
6958
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6959
+ FACTORY_IMPL: "0x8f5B2dd6160D96B48a35F0619BC32b4b997cA37F",
6421
6960
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6422
6961
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
6423
6962
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
6424
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
6963
+ PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
6425
6964
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6426
6965
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
6427
6966
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6428
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6429
- timestamp: 1706664239
6967
+ timestamp: 1713899416
6430
6968
  },
6431
6969
  10: {
6432
6970
  CONTRACT_1155_IMPL: "0xECfbCf718E17B6e76A675dDB936a9249C69DD2aA",
@@ -6498,32 +7036,32 @@ var addresses = {
6498
7036
  timestamp: 1709235955
6499
7037
  },
6500
7038
  84532: {
6501
- CONTRACT_1155_IMPL: "0x8237F421357F87a23ed0CFf3a5586172F210A21B",
6502
- CONTRACT_1155_IMPL_VERSION: "2.7.3",
6503
- FACTORY_IMPL: "0x932A29Dbfc1B8c3BdfC763eF53F113486A5b5E7D",
6504
- FACTORY_PROXY: "0x8cfbF874A12b346115003532119C29f6B56719CB",
7039
+ CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
7040
+ CONTRACT_1155_IMPL_VERSION: "2.9.0",
7041
+ FACTORY_IMPL: "0xB2696570215c3158eB1D218FB1a3DF92a418B034",
7042
+ FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6505
7043
  FIXED_PRICE_SALE_STRATEGY: "0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE",
6506
7044
  MERKLE_MINT_SALE_STRATEGY: "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
6507
- PREMINTER_IMPL: "",
6508
- PREMINTER_PROXY: "",
7045
+ PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
7046
+ PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6509
7047
  REDEEM_MINTER_FACTORY: "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
6510
- UPGRADE_GATE: "0x0ABdD5AA61E9107519DB7cD626442B905284B7eb",
7048
+ UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6511
7049
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6512
- timestamp: 1706663694
7050
+ timestamp: 1713468185
6513
7051
  },
6514
7052
  421614: {
6515
- CONTRACT_1155_IMPL: "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
6516
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
6517
- FACTORY_IMPL: "0x314E552b55DFbDfD4d76623E1D45E5056723998B",
7053
+ CONTRACT_1155_IMPL: "0x857B5c291519Cff6D2090a87C3bC2eCe676ad057",
7054
+ CONTRACT_1155_IMPL_VERSION: "2.9.0",
7055
+ FACTORY_IMPL: "0x777d8FcB0336FfF689b2Ab17Db5b755F54C8776a",
6518
7056
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6519
7057
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
6520
7058
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
6521
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
7059
+ PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
6522
7060
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6523
7061
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
6524
7062
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6525
7063
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6526
- timestamp: 1706661669
7064
+ timestamp: 1712779746
6527
7065
  },
6528
7066
  7777777: {
6529
7067
  CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
@@ -6569,16 +7107,16 @@ var addresses = {
6569
7107
  999999999: {
6570
7108
  CONTRACT_1155_IMPL: "0xaDf7F654d8E416aaD85d4f06fDf4cA3D05BDA1A1",
6571
7109
  CONTRACT_1155_IMPL_VERSION: "2.9.0",
6572
- FACTORY_IMPL: "0xE8219ad920ab6ae21aF2d3831df4B18d96d23F5a",
7110
+ ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
7111
+ FACTORY_IMPL: "0x7228C5BE6093cf57BC085aaFFB18D0b7886f0651",
6573
7112
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6574
7113
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
6575
7114
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
6576
- PREMINTER_IMPL: "0x1840606A43AC211Ffd548BE727563D863bfCF707",
7115
+ PREMINTER_IMPL: "0xdABa152A152a14844E627444B55a543beF7c4365",
6577
7116
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6578
7117
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
6579
7118
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
6580
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6581
- timestamp: 1712339316
7119
+ timestamp: 1715977010
6582
7120
  }
6583
7121
  };
6584
7122
 
@@ -6589,44 +7127,55 @@ __export(mints_exports, {
6589
7127
  chainConfigs: () => chainConfigs2
6590
7128
  });
6591
7129
  var chainConfigs2 = {
7130
+ 1: { PROXY_ADMIN: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0" },
7131
+ 10: { PROXY_ADMIN: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b" },
7132
+ 420: { PROXY_ADMIN: "0xbb45052B2260707655Dfd916a416264f5981192c" },
7133
+ 8453: { PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3" },
7134
+ 42161: { PROXY_ADMIN: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03" },
7135
+ 81457: { PROXY_ADMIN: "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523" },
7136
+ 84531: { PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe" },
7137
+ 84532: { PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420" },
7138
+ 421614: { PROXY_ADMIN: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30" },
7139
+ 7777777: { PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955" },
7140
+ 11155111: { PROXY_ADMIN: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D" },
7141
+ 999999999: { PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E" }
7142
+ };
7143
+ var addresses2 = {
6592
7144
  1: {
6593
- PROXY_ADMIN: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
6594
- MINTS_OWNER: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
7145
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7146
+ MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
7147
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
6595
7148
  },
6596
7149
  10: {
6597
- PROXY_ADMIN: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
6598
- MINTS_OWNER: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
6599
- },
6600
- 420: {
6601
- PROXY_ADMIN: "0xbb45052B2260707655Dfd916a416264f5981192c",
6602
- MINTS_OWNER: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
6603
- },
6604
- 999: {
6605
- PROXY_ADMIN: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
6606
- MINTS_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
7150
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7151
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7152
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
6607
7153
  },
6608
7154
  8453: {
6609
- PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
6610
- MINTS_OWNER: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
7155
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7156
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7157
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
6611
7158
  },
6612
- 84531: {
6613
- PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
6614
- MINTS_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe"
7159
+ 42161: {
7160
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7161
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7162
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
6615
7163
  },
6616
- 7777777: {
6617
- PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
6618
- MINTS_OWNER: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
7164
+ 81457: {
7165
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7166
+ MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
7167
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
6619
7168
  },
6620
- 11155111: {
6621
- PROXY_ADMIN: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
6622
- MINTS_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
7169
+ 84532: {
7170
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7171
+ MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
7172
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
7173
+ },
7174
+ 421614: {
7175
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7176
+ MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7177
+ MINTS_MANAGER_IMPL_VERSION: "0.1.1"
6623
7178
  },
6624
- 999999999: {
6625
- PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
6626
- MINTS_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
6627
- }
6628
- };
6629
- var addresses2 = {
6630
7179
  7777777: {
6631
7180
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6632
7181
  MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
@@ -6634,15 +7183,18 @@ var addresses2 = {
6634
7183
  },
6635
7184
  999999999: {
6636
7185
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6637
- MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
6638
- MINTS_MANAGER_IMPL_VERSION: "0.1.2"
7186
+ MINTS_MANAGER_IMPL: "0x65690B699591aDE72b30aa10B0c34BB78cAc61c0",
7187
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
6639
7188
  }
6640
7189
  };
6641
7190
  export {
7191
+ PremintConfigVersion,
6642
7192
  __exports as contracts1155,
7193
+ encodePremintConfig,
6643
7194
  erc20MinterABI,
6644
7195
  erc20MinterAddress,
6645
7196
  erc20MinterConfig,
7197
+ iPremintDefinitionsABI,
6646
7198
  iUnwrapAndForwardActionABI,
6647
7199
  mints_exports as mints,
6648
7200
  mintsEthUnwrapperAndCallerABI,
@@ -6650,11 +7202,15 @@ export {
6650
7202
  mintsEthUnwrapperAndCallerConfig,
6651
7203
  mintsSafeTransferBatchTypedDataDefinition,
6652
7204
  mintsSafeTransferTypedDataDefinition,
7205
+ premintTypedDataDefinition,
6653
7206
  premintV1TypedDataDefinition,
6654
7207
  premintV2TypedDataDefinition,
6655
7208
  protocolRewardsABI,
6656
7209
  protocolRewardsAddress,
6657
7210
  protocolRewardsConfig,
7211
+ upgradeGateABI,
7212
+ upgradeGateAddress,
7213
+ upgradeGateConfig,
6658
7214
  zoraCreator1155FactoryImplABI,
6659
7215
  zoraCreator1155FactoryImplAddress,
6660
7216
  zoraCreator1155FactoryImplConfig,