@zoralabs/protocol-deployments 0.1.9 → 0.1.11

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,11 +1,72 @@
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-ANM5XPUU.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 = [
14
+ {
15
+ stateMutability: "nonpayable",
16
+ type: "function",
17
+ inputs: [],
18
+ name: "acceptOwnership",
19
+ outputs: []
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
+ },
63
+ {
64
+ stateMutability: "nonpayable",
65
+ type: "function",
66
+ inputs: [],
67
+ name: "cancelOwnershipTransfer",
68
+ outputs: []
69
+ },
9
70
  {
10
71
  stateMutability: "pure",
11
72
  type: "function",
@@ -48,7 +109,7 @@ var erc20MinterABI = [
48
109
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
49
110
  },
50
111
  {
51
- stateMutability: "pure",
112
+ stateMutability: "view",
52
113
  type: "function",
53
114
  inputs: [{ name: "totalValue", internalType: "uint256", type: "uint256" }],
54
115
  name: "computeTotalReward",
@@ -75,6 +136,13 @@ var erc20MinterABI = [
75
136
  name: "contractVersion",
76
137
  outputs: [{ name: "", internalType: "string", type: "string" }]
77
138
  },
139
+ {
140
+ stateMutability: "view",
141
+ type: "function",
142
+ inputs: [],
143
+ name: "ethRewardAmount",
144
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
145
+ },
78
146
  {
79
147
  stateMutability: "view",
80
148
  type: "function",
@@ -87,6 +155,32 @@ var erc20MinterABI = [
87
155
  { name: "createReferral", internalType: "address", type: "address" }
88
156
  ]
89
157
  },
158
+ {
159
+ stateMutability: "view",
160
+ type: "function",
161
+ inputs: [],
162
+ name: "getERC20MinterConfig",
163
+ outputs: [
164
+ {
165
+ name: "",
166
+ internalType: "struct IERC20Minter.ERC20MinterConfig",
167
+ type: "tuple",
168
+ components: [
169
+ {
170
+ name: "zoraRewardRecipientAddress",
171
+ internalType: "address",
172
+ type: "address"
173
+ },
174
+ {
175
+ name: "rewardRecipientPercentage",
176
+ internalType: "uint256",
177
+ type: "uint256"
178
+ },
179
+ { name: "ethReward", internalType: "uint256", type: "uint256" }
180
+ ]
181
+ }
182
+ ]
183
+ },
90
184
  {
91
185
  stateMutability: "view",
92
186
  type: "function",
@@ -118,13 +212,16 @@ var erc20MinterABI = [
118
212
  name: "_zoraRewardRecipientAddress",
119
213
  internalType: "address",
120
214
  type: "address"
121
- }
215
+ },
216
+ { name: "_owner", internalType: "address", type: "address" },
217
+ { name: "_rewardPct", internalType: "uint256", type: "uint256" },
218
+ { name: "_ethReward", internalType: "uint256", type: "uint256" }
122
219
  ],
123
220
  name: "initialize",
124
221
  outputs: []
125
222
  },
126
223
  {
127
- stateMutability: "nonpayable",
224
+ stateMutability: "payable",
128
225
  type: "function",
129
226
  inputs: [
130
227
  { name: "mintTo", internalType: "address", type: "address" },
@@ -139,6 +236,39 @@ var erc20MinterABI = [
139
236
  name: "mint",
140
237
  outputs: []
141
238
  },
239
+ {
240
+ stateMutability: "view",
241
+ type: "function",
242
+ inputs: [],
243
+ name: "minterConfig",
244
+ outputs: [
245
+ {
246
+ name: "zoraRewardRecipientAddress",
247
+ internalType: "address",
248
+ type: "address"
249
+ },
250
+ {
251
+ name: "rewardRecipientPercentage",
252
+ internalType: "uint256",
253
+ type: "uint256"
254
+ },
255
+ { name: "ethReward", internalType: "uint256", type: "uint256" }
256
+ ]
257
+ },
258
+ {
259
+ stateMutability: "view",
260
+ type: "function",
261
+ inputs: [],
262
+ name: "owner",
263
+ outputs: [{ name: "", internalType: "address", type: "address" }]
264
+ },
265
+ {
266
+ stateMutability: "view",
267
+ type: "function",
268
+ inputs: [],
269
+ name: "pendingOwner",
270
+ outputs: [{ name: "", internalType: "address", type: "address" }]
271
+ },
142
272
  {
143
273
  stateMutability: "pure",
144
274
  type: "function",
@@ -181,6 +311,20 @@ var erc20MinterABI = [
181
311
  name: "resetSale",
182
312
  outputs: []
183
313
  },
314
+ {
315
+ stateMutability: "nonpayable",
316
+ type: "function",
317
+ inputs: [],
318
+ name: "resignOwnership",
319
+ outputs: []
320
+ },
321
+ {
322
+ stateMutability: "nonpayable",
323
+ type: "function",
324
+ inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
325
+ name: "safeTransferOwnership",
326
+ outputs: []
327
+ },
184
328
  {
185
329
  stateMutability: "view",
186
330
  type: "function",
@@ -209,6 +353,46 @@ var erc20MinterABI = [
209
353
  }
210
354
  ]
211
355
  },
356
+ {
357
+ stateMutability: "nonpayable",
358
+ type: "function",
359
+ inputs: [
360
+ {
361
+ name: "config",
362
+ internalType: "struct IERC20Minter.ERC20MinterConfig",
363
+ type: "tuple",
364
+ components: [
365
+ {
366
+ name: "zoraRewardRecipientAddress",
367
+ internalType: "address",
368
+ type: "address"
369
+ },
370
+ {
371
+ name: "rewardRecipientPercentage",
372
+ internalType: "uint256",
373
+ type: "uint256"
374
+ },
375
+ { name: "ethReward", internalType: "uint256", type: "uint256" }
376
+ ]
377
+ }
378
+ ],
379
+ name: "setERC20MinterConfig",
380
+ outputs: []
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
+ },
212
396
  {
213
397
  stateMutability: "nonpayable",
214
398
  type: "function",
@@ -235,13 +419,6 @@ var erc20MinterABI = [
235
419
  name: "setSale",
236
420
  outputs: []
237
421
  },
238
- {
239
- stateMutability: "nonpayable",
240
- type: "function",
241
- inputs: [{ name: "recipient", internalType: "address", type: "address" }],
242
- name: "setZoraRewardsRecipient",
243
- outputs: []
244
- },
245
422
  {
246
423
  stateMutability: "pure",
247
424
  type: "function",
@@ -250,31 +427,44 @@ var erc20MinterABI = [
250
427
  outputs: [{ name: "", internalType: "bool", type: "bool" }]
251
428
  },
252
429
  {
253
- stateMutability: "pure",
430
+ stateMutability: "view",
254
431
  type: "function",
255
432
  inputs: [],
256
433
  name: "totalRewardPct",
257
434
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
258
435
  },
259
436
  {
260
- stateMutability: "view",
437
+ stateMutability: "nonpayable",
261
438
  type: "function",
262
- inputs: [],
263
- name: "zoraRewardRecipientAddress",
264
- outputs: [{ name: "", internalType: "address", type: "address" }]
439
+ inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
440
+ name: "transferOwnership",
441
+ outputs: []
265
442
  },
266
443
  {
267
444
  type: "event",
268
445
  anonymous: false,
269
446
  inputs: [
270
447
  {
271
- name: "rewardPercentage",
272
- internalType: "uint256",
273
- type: "uint256",
448
+ name: "config",
449
+ internalType: "struct IERC20Minter.ERC20MinterConfig",
450
+ type: "tuple",
451
+ components: [
452
+ {
453
+ name: "zoraRewardRecipientAddress",
454
+ internalType: "address",
455
+ type: "address"
456
+ },
457
+ {
458
+ name: "rewardRecipientPercentage",
459
+ internalType: "uint256",
460
+ type: "uint256"
461
+ },
462
+ { name: "ethReward", internalType: "uint256", type: "uint256" }
463
+ ],
274
464
  indexed: false
275
465
  }
276
466
  ],
277
- name: "ERC20MinterInitialized"
467
+ name: "ERC20MinterConfigSet"
278
468
  },
279
469
  {
280
470
  type: "event",
@@ -349,6 +539,14 @@ var erc20MinterABI = [
349
539
  ],
350
540
  name: "ERC20RewardsDeposit"
351
541
  },
542
+ {
543
+ type: "event",
544
+ anonymous: false,
545
+ inputs: [
546
+ { name: "version", internalType: "uint8", type: "uint8", indexed: false }
547
+ ],
548
+ name: "Initialized"
549
+ },
352
550
  {
353
551
  type: "event",
354
552
  anonymous: false,
@@ -386,6 +584,63 @@ var erc20MinterABI = [
386
584
  ],
387
585
  name: "MintComment"
388
586
  },
587
+ {
588
+ type: "event",
589
+ anonymous: false,
590
+ inputs: [
591
+ {
592
+ name: "owner",
593
+ internalType: "address",
594
+ type: "address",
595
+ indexed: true
596
+ },
597
+ {
598
+ name: "canceledOwner",
599
+ internalType: "address",
600
+ type: "address",
601
+ indexed: true
602
+ }
603
+ ],
604
+ name: "OwnerCanceled"
605
+ },
606
+ {
607
+ type: "event",
608
+ anonymous: false,
609
+ inputs: [
610
+ {
611
+ name: "owner",
612
+ internalType: "address",
613
+ type: "address",
614
+ indexed: true
615
+ },
616
+ {
617
+ name: "pendingOwner",
618
+ internalType: "address",
619
+ type: "address",
620
+ indexed: true
621
+ }
622
+ ],
623
+ name: "OwnerPending"
624
+ },
625
+ {
626
+ type: "event",
627
+ anonymous: false,
628
+ inputs: [
629
+ {
630
+ name: "prevOwner",
631
+ internalType: "address",
632
+ type: "address",
633
+ indexed: true
634
+ },
635
+ {
636
+ name: "newOwner",
637
+ internalType: "address",
638
+ type: "address",
639
+ indexed: true
640
+ }
641
+ ],
642
+ name: "OwnerUpdated"
643
+ },
389
644
  {
390
645
  type: "event",
391
646
  anonymous: false,
@@ -423,30 +678,32 @@ var erc20MinterABI = [
423
678
  ],
424
679
  name: "SaleSet"
425
680
  },
681
+ { type: "error", inputs: [], name: "AddressZero" },
682
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
683
+ { type: "error", inputs: [], name: "FailedToSendEthReward" },
426
684
  {
427
- type: "event",
428
- anonymous: false,
685
+ type: "error",
686
+ inputs: [],
687
+ name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
688
+ },
689
+ {
690
+ type: "error",
691
+ inputs: [],
692
+ name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
693
+ },
694
+ { type: "error", inputs: [], name: "InvalidCurrency" },
695
+ {
696
+ type: "error",
429
697
  inputs: [
430
- {
431
- name: "prevRecipient",
432
- internalType: "address",
433
- type: "address",
434
- indexed: true
435
- },
436
- {
437
- name: "newRecipient",
438
- internalType: "address",
439
- type: "address",
440
- indexed: true
441
- }
698
+ { name: "expectedValue", internalType: "uint256", type: "uint256" },
699
+ { name: "actualValue", internalType: "uint256", type: "uint256" }
442
700
  ],
443
- name: "ZoraRewardsRecipientSet"
701
+ name: "InvalidETHValue"
444
702
  },
445
- { type: "error", inputs: [], name: "AddressZero" },
446
- { type: "error", inputs: [], name: "AlreadyInitialized" },
447
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
448
- { type: "error", inputs: [], name: "InvalidCurrency" },
449
- { type: "error", inputs: [], name: "OnlyZoraRewardsRecipient" },
703
+ { type: "error", inputs: [], name: "InvalidValue" },
704
+ { type: "error", inputs: [], name: "ONLY_OWNER" },
705
+ { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
706
+ { type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
450
707
  { type: "error", inputs: [], name: "PricePerTokenTooLow" },
451
708
  { type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
452
709
  { type: "error", inputs: [], name: "SaleEnded" },
@@ -472,12 +729,111 @@ var erc20MinterAddress = {
472
729
  421614: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
473
730
  7777777: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
474
731
  11155111: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
475
- 999999999: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31"
732
+ 999999999: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2"
476
733
  };
477
734
  var erc20MinterConfig = {
478
735
  address: erc20MinterAddress,
479
736
  abi: erc20MinterABI
480
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
+ ];
481
837
  var iUnwrapAndForwardActionABI = [
482
838
  {
483
839
  stateMutability: "payable",
@@ -579,6 +935,7 @@ var mintsEthUnwrapperAndCallerABI = [
579
935
  { type: "error", inputs: [], name: "UnknownUserAction" }
580
936
  ];
581
937
  var mintsEthUnwrapperAndCallerAddress = {
938
+ 84532: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
582
939
  7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
583
940
  999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
584
941
  };
@@ -1009,6 +1366,19 @@ var zoraCreator1155FactoryImplABI = [
1009
1366
  name: "deterministicContractAddress",
1010
1367
  outputs: [{ name: "", internalType: "address", type: "address" }]
1011
1368
  },
1369
+ {
1370
+ stateMutability: "view",
1371
+ type: "function",
1372
+ inputs: [
1373
+ { name: "msgSender", internalType: "address", type: "address" },
1374
+ { name: "newContractURI", internalType: "string", type: "string" },
1375
+ { name: "name", internalType: "string", type: "string" },
1376
+ { name: "contractAdmin", internalType: "address", type: "address" },
1377
+ { name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
1378
+ ],
1379
+ name: "deterministicContractAddressWithSetupActions",
1380
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1381
+ },
1012
1382
  {
1013
1383
  stateMutability: "view",
1014
1384
  type: "function",
@@ -1334,7 +1704,7 @@ var zoraCreator1155FactoryImplAddress = {
1334
1704
  8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1335
1705
  42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1336
1706
  81457: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1337
- 84532: "0x8cfbF874A12b346115003532119C29f6B56719CB",
1707
+ 84532: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1338
1708
  421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1339
1709
  7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
1340
1710
  11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
@@ -2765,22 +3135,52 @@ var zoraCreator1155PremintExecutorImplABI = [
2765
3135
  name: "contractName",
2766
3136
  outputs: [{ name: "", internalType: "string", type: "string" }]
2767
3137
  },
3138
+ {
3139
+ stateMutability: "pure",
3140
+ type: "function",
3141
+ inputs: [],
3142
+ name: "contractVersion",
3143
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3144
+ },
3145
+ {
3146
+ stateMutability: "view",
3147
+ type: "function",
3148
+ inputs: [
3149
+ {
3150
+ name: "contractConfig",
3151
+ internalType: "struct ContractCreationConfig",
3152
+ type: "tuple",
3153
+ components: [
3154
+ { name: "contractAdmin", internalType: "address", type: "address" },
3155
+ { name: "contractURI", internalType: "string", type: "string" },
3156
+ { name: "contractName", internalType: "string", type: "string" }
3157
+ ]
3158
+ }
3159
+ ],
3160
+ name: "getContractAddress",
3161
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3162
+ },
2768
3163
  {
2769
3164
  stateMutability: "view",
2770
3165
  type: "function",
2771
3166
  inputs: [
2772
3167
  {
2773
3168
  name: "contractConfig",
2774
- internalType: "struct ContractCreationConfig",
3169
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
2775
3170
  type: "tuple",
2776
3171
  components: [
2777
3172
  { name: "contractAdmin", internalType: "address", type: "address" },
2778
3173
  { name: "contractURI", internalType: "string", type: "string" },
2779
- { name: "contractName", internalType: "string", type: "string" }
3174
+ { name: "contractName", internalType: "string", type: "string" },
3175
+ {
3176
+ name: "additionalAdmins",
3177
+ internalType: "address[]",
3178
+ type: "address[]"
3179
+ }
2780
3180
  ]
2781
3181
  }
2782
3182
  ],
2783
- name: "getContractAddress",
3183
+ name: "getContractWithAdditionalAdminsAddress",
2784
3184
  outputs: [{ name: "", internalType: "address", type: "address" }]
2785
3185
  },
2786
3186
  {
@@ -2814,6 +3214,26 @@ var zoraCreator1155PremintExecutorImplABI = [
2814
3214
  name: "isAuthorizedToCreatePremint",
2815
3215
  outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
2816
3216
  },
3217
+ {
3218
+ stateMutability: "view",
3219
+ type: "function",
3220
+ inputs: [
3221
+ { name: "signer", internalType: "address", type: "address" },
3222
+ {
3223
+ name: "premintContractConfigContractAdmin",
3224
+ internalType: "address",
3225
+ type: "address"
3226
+ },
3227
+ { name: "contractAddress", internalType: "address", type: "address" },
3228
+ {
3229
+ name: "additionalAdmins",
3230
+ internalType: "address[]",
3231
+ type: "address[]"
3232
+ }
3233
+ ],
3234
+ name: "isAuthorizedToCreatePremintWithAdditionalAdmins",
3235
+ outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
3236
+ },
2817
3237
  {
2818
3238
  stateMutability: "view",
2819
3239
  type: "function",
@@ -2904,61 +3324,39 @@ var zoraCreator1155PremintExecutorImplABI = [
2904
3324
  outputs: [{ name: "", internalType: "address", type: "address" }]
2905
3325
  },
2906
3326
  {
2907
- stateMutability: "nonpayable",
3327
+ stateMutability: "payable",
2908
3328
  type: "function",
2909
3329
  inputs: [
2910
3330
  {
2911
3331
  name: "contractConfig",
2912
- internalType: "struct ContractCreationConfig",
3332
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
2913
3333
  type: "tuple",
2914
3334
  components: [
2915
3335
  { name: "contractAdmin", internalType: "address", type: "address" },
2916
3336
  { name: "contractURI", internalType: "string", type: "string" },
2917
- { name: "contractName", internalType: "string", type: "string" }
3337
+ { name: "contractName", internalType: "string", type: "string" },
3338
+ {
3339
+ name: "additionalAdmins",
3340
+ internalType: "address[]",
3341
+ type: "address[]"
3342
+ }
2918
3343
  ]
2919
3344
  },
3345
+ { name: "premintCollection", internalType: "address", type: "address" },
2920
3346
  {
2921
- name: "premintConfig",
2922
- internalType: "struct Erc20PremintConfigV1",
3347
+ name: "encodedPremintConfig",
3348
+ internalType: "struct PremintConfigEncoded",
2923
3349
  type: "tuple",
2924
3350
  components: [
2925
- {
2926
- name: "tokenConfig",
2927
- internalType: "struct Erc20TokenCreationConfigV1",
2928
- type: "tuple",
2929
- components: [
2930
- { name: "tokenURI", internalType: "string", type: "string" },
2931
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
2932
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2933
- {
2934
- name: "payoutRecipient",
2935
- internalType: "address",
2936
- type: "address"
2937
- },
2938
- {
2939
- name: "createReferral",
2940
- internalType: "address",
2941
- type: "address"
2942
- },
2943
- { name: "erc20Minter", internalType: "address", type: "address" },
2944
- { name: "mintStart", internalType: "uint64", type: "uint64" },
2945
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
2946
- {
2947
- name: "maxTokensPerAddress",
2948
- internalType: "uint64",
2949
- type: "uint64"
2950
- },
2951
- { name: "currency", internalType: "address", type: "address" },
2952
- {
2953
- name: "pricePerToken",
2954
- internalType: "uint256",
2955
- type: "uint256"
2956
- }
2957
- ]
2958
- },
2959
3351
  { name: "uid", internalType: "uint32", type: "uint32" },
2960
3352
  { name: "version", internalType: "uint32", type: "uint32" },
2961
- { name: "deleted", internalType: "bool", type: "bool" }
3353
+ { name: "deleted", internalType: "bool", type: "bool" },
3354
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
3355
+ {
3356
+ name: "premintConfigVersion",
3357
+ internalType: "bytes32",
3358
+ type: "bytes32"
3359
+ }
2962
3360
  ]
2963
3361
  },
2964
3362
  { name: "signature", internalType: "bytes", type: "bytes" },
@@ -2980,10 +3378,10 @@ var zoraCreator1155PremintExecutorImplABI = [
2980
3378
  { name: "firstMinter", internalType: "address", type: "address" },
2981
3379
  { name: "signerContract", internalType: "address", type: "address" }
2982
3380
  ],
2983
- name: "premintErc20V1",
3381
+ name: "premint",
2984
3382
  outputs: [
2985
3383
  {
2986
- name: "result",
3384
+ name: "premintResult",
2987
3385
  internalType: "struct PremintResult",
2988
3386
  type: "tuple",
2989
3387
  components: [
@@ -3084,7 +3482,7 @@ var zoraCreator1155PremintExecutorImplABI = [
3084
3482
  name: "premintV1",
3085
3483
  outputs: [
3086
3484
  {
3087
- name: "result",
3485
+ name: "",
3088
3486
  internalType: "struct PremintResult",
3089
3487
  type: "tuple",
3090
3488
  components: [
@@ -3172,97 +3570,7 @@ var zoraCreator1155PremintExecutorImplABI = [
3172
3570
  name: "premintV2",
3173
3571
  outputs: [
3174
3572
  {
3175
- name: "result",
3176
- internalType: "struct PremintResult",
3177
- type: "tuple",
3178
- components: [
3179
- { name: "contractAddress", internalType: "address", type: "address" },
3180
- { name: "tokenId", internalType: "uint256", type: "uint256" },
3181
- { name: "createdNewContract", internalType: "bool", type: "bool" }
3182
- ]
3183
- }
3184
- ]
3185
- },
3186
- {
3187
- stateMutability: "payable",
3188
- type: "function",
3189
- inputs: [
3190
- {
3191
- name: "contractConfig",
3192
- internalType: "struct ContractCreationConfig",
3193
- type: "tuple",
3194
- components: [
3195
- { name: "contractAdmin", internalType: "address", type: "address" },
3196
- { name: "contractURI", internalType: "string", type: "string" },
3197
- { name: "contractName", internalType: "string", type: "string" }
3198
- ]
3199
- },
3200
- {
3201
- name: "premintConfig",
3202
- internalType: "struct PremintConfigV2",
3203
- type: "tuple",
3204
- components: [
3205
- {
3206
- name: "tokenConfig",
3207
- internalType: "struct TokenCreationConfigV2",
3208
- type: "tuple",
3209
- components: [
3210
- { name: "tokenURI", internalType: "string", type: "string" },
3211
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
3212
- {
3213
- name: "maxTokensPerAddress",
3214
- internalType: "uint64",
3215
- type: "uint64"
3216
- },
3217
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
3218
- { name: "mintStart", internalType: "uint64", type: "uint64" },
3219
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
3220
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
3221
- {
3222
- name: "payoutRecipient",
3223
- internalType: "address",
3224
- type: "address"
3225
- },
3226
- {
3227
- name: "fixedPriceMinter",
3228
- internalType: "address",
3229
- type: "address"
3230
- },
3231
- {
3232
- name: "createReferral",
3233
- internalType: "address",
3234
- type: "address"
3235
- }
3236
- ]
3237
- },
3238
- { name: "uid", internalType: "uint32", type: "uint32" },
3239
- { name: "version", internalType: "uint32", type: "uint32" },
3240
- { name: "deleted", internalType: "bool", type: "bool" }
3241
- ]
3242
- },
3243
- { name: "signature", internalType: "bytes", type: "bytes" },
3244
- { name: "quantityToMint", internalType: "uint256", type: "uint256" },
3245
- {
3246
- name: "mintArguments",
3247
- internalType: "struct MintArguments",
3248
- type: "tuple",
3249
- components: [
3250
- { name: "mintRecipient", internalType: "address", type: "address" },
3251
- { name: "mintComment", internalType: "string", type: "string" },
3252
- {
3253
- name: "mintRewardsRecipients",
3254
- internalType: "address[]",
3255
- type: "address[]"
3256
- }
3257
- ]
3258
- },
3259
- { name: "firstMinter", internalType: "address", type: "address" },
3260
- { name: "signerContract", internalType: "address", type: "address" }
3261
- ],
3262
- name: "premintV2WithSignerContract",
3263
- outputs: [
3264
- {
3265
- name: "result",
3573
+ name: "",
3266
3574
  internalType: "struct PremintResult",
3267
3575
  type: "tuple",
3268
3576
  components: [
@@ -3760,6 +4068,7 @@ var zoraCreator1155PremintExecutorImplAddress = {
3760
4068
  8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3761
4069
  42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3762
4070
  81457: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
4071
+ 84532: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3763
4072
  421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3764
4073
  7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3765
4074
  11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
@@ -5163,6 +5472,7 @@ var zoraMints1155ABI = [
5163
5472
  { type: "error", inputs: [], name: "TokenNotMintable" }
5164
5473
  ];
5165
5474
  var zoraMints1155Address = {
5475
+ 84532: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5166
5476
  7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5167
5477
  999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
5168
5478
  };
@@ -5177,7 +5487,7 @@ var zoraMintsManagerImplABI = [
5177
5487
  inputs: [
5178
5488
  {
5179
5489
  name: "_premintExecutor",
5180
- internalType: "contract IZoraCreator1155PremintExecutorV2",
5490
+ internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
5181
5491
  type: "address"
5182
5492
  }
5183
5493
  ]
@@ -5255,6 +5565,73 @@ var zoraMintsManagerImplABI = [
5255
5565
  name: "collect",
5256
5566
  outputs: []
5257
5567
  },
5568
+ {
5569
+ stateMutability: "payable",
5570
+ type: "function",
5571
+ inputs: [
5572
+ {
5573
+ name: "contractConfig",
5574
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
5575
+ type: "tuple",
5576
+ components: [
5577
+ { name: "contractAdmin", internalType: "address", type: "address" },
5578
+ { name: "contractURI", internalType: "string", type: "string" },
5579
+ { name: "contractName", internalType: "string", type: "string" },
5580
+ {
5581
+ name: "additionalAdmins",
5582
+ internalType: "address[]",
5583
+ type: "address[]"
5584
+ }
5585
+ ]
5586
+ },
5587
+ { name: "tokenContract", internalType: "address", type: "address" },
5588
+ {
5589
+ name: "premintConfig",
5590
+ internalType: "struct PremintConfigEncoded",
5591
+ type: "tuple",
5592
+ components: [
5593
+ { name: "uid", internalType: "uint32", type: "uint32" },
5594
+ { name: "version", internalType: "uint32", type: "uint32" },
5595
+ { name: "deleted", internalType: "bool", type: "bool" },
5596
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
5597
+ {
5598
+ name: "premintConfigVersion",
5599
+ internalType: "bytes32",
5600
+ type: "bytes32"
5601
+ }
5602
+ ]
5603
+ },
5604
+ { name: "signature", internalType: "bytes", type: "bytes" },
5605
+ {
5606
+ name: "mintArguments",
5607
+ internalType: "struct MintArguments",
5608
+ type: "tuple",
5609
+ components: [
5610
+ { name: "mintRecipient", internalType: "address", type: "address" },
5611
+ { name: "mintComment", internalType: "string", type: "string" },
5612
+ {
5613
+ name: "mintRewardsRecipients",
5614
+ internalType: "address[]",
5615
+ type: "address[]"
5616
+ }
5617
+ ]
5618
+ },
5619
+ { name: "signerContract", internalType: "address", type: "address" }
5620
+ ],
5621
+ name: "collectPremint",
5622
+ outputs: [
5623
+ {
5624
+ name: "result",
5625
+ internalType: "struct PremintResult",
5626
+ type: "tuple",
5627
+ components: [
5628
+ { name: "contractAddress", internalType: "address", type: "address" },
5629
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
5630
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
5631
+ ]
5632
+ }
5633
+ ]
5634
+ },
5258
5635
  {
5259
5636
  stateMutability: "payable",
5260
5637
  type: "function",
@@ -5990,6 +6367,7 @@ var zoraMintsManagerImplABI = [
5990
6367
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
5991
6368
  ];
5992
6369
  var zoraMintsManagerImplAddress = {
6370
+ 84532: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
5993
6371
  7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
5994
6372
  999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
5995
6373
  };
@@ -5998,6 +6376,246 @@ var zoraMintsManagerImplConfig = {
5998
6376
  abi: zoraMintsManagerImplABI
5999
6377
  };
6000
6378
 
6379
+ // src/types.ts
6380
+ var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
6381
+ PremintConfigVersion2["V1"] = "1";
6382
+ PremintConfigVersion2["V2"] = "2";
6383
+ PremintConfigVersion2["V3"] = "3";
6384
+ return PremintConfigVersion2;
6385
+ })(PremintConfigVersion || {});
6386
+
6387
+ // src/typedData.ts
6388
+ var premintTypedDataDomain = ({
6389
+ chainId,
6390
+ version,
6391
+ creator1155Contract: verifyingContract
6392
+ }) => ({
6393
+ chainId,
6394
+ name: "Preminter",
6395
+ version,
6396
+ verifyingContract
6397
+ });
6398
+ var premintV1TypedDataType = {
6399
+ CreatorAttribution: [
6400
+ { name: "tokenConfig", type: "TokenCreationConfig" },
6401
+ // unique id scoped to the contract and token to create.
6402
+ // ensure that a signature can be replaced, as long as the replacement
6403
+ // has the same uid, and a newer version.
6404
+ { name: "uid", type: "uint32" },
6405
+ { name: "version", type: "uint32" },
6406
+ // if this update should result in the signature being deleted.
6407
+ { name: "deleted", type: "bool" }
6408
+ ],
6409
+ TokenCreationConfig: [
6410
+ { name: "tokenURI", type: "string" },
6411
+ { name: "maxSupply", type: "uint256" },
6412
+ { name: "maxTokensPerAddress", type: "uint64" },
6413
+ { name: "pricePerToken", type: "uint96" },
6414
+ { name: "mintStart", type: "uint64" },
6415
+ { name: "mintDuration", type: "uint64" },
6416
+ { name: "royaltyMintSchedule", type: "uint32" },
6417
+ { name: "royaltyBPS", type: "uint32" },
6418
+ { name: "royaltyRecipient", type: "address" },
6419
+ { name: "fixedPriceMinter", type: "address" }
6420
+ ]
6421
+ };
6422
+ var encodeTokenConfigV1 = (config) => {
6423
+ const abiItem = getAbiItem({
6424
+ abi: iPremintDefinitionsABI,
6425
+ name: "tokenConfigV1Definition"
6426
+ });
6427
+ return encodeAbiParameters(abiItem.inputs, [config]);
6428
+ };
6429
+ var encodeTokenConfigV2 = (config) => {
6430
+ const abiItem = getAbiItem({
6431
+ abi: iPremintDefinitionsABI,
6432
+ name: "tokenConfigV2Definition"
6433
+ });
6434
+ return encodeAbiParameters(abiItem.inputs, [config]);
6435
+ };
6436
+ var encodeTokenConfigV3 = (config) => {
6437
+ const abiItem = getAbiItem({
6438
+ abi: iPremintDefinitionsABI,
6439
+ name: "tokenConfigV3Definition"
6440
+ });
6441
+ return encodeAbiParameters(abiItem.inputs, [config]);
6442
+ };
6443
+ var encodeTokenConfig = ({
6444
+ tokenConfig,
6445
+ premintConfigVersion
6446
+ }) => {
6447
+ if (premintConfigVersion === "1" /* V1 */) {
6448
+ return encodeTokenConfigV1(tokenConfig);
6449
+ }
6450
+ if (premintConfigVersion === "2" /* V2 */) {
6451
+ return encodeTokenConfigV2(tokenConfig);
6452
+ }
6453
+ if (premintConfigVersion === "3" /* V3 */) {
6454
+ return encodeTokenConfigV3(tokenConfig);
6455
+ }
6456
+ throw new Error("Invalid PremintConfigVersion: " + premintConfigVersion);
6457
+ };
6458
+ var encodePremintConfig = ({
6459
+ premintConfig,
6460
+ premintConfigVersion
6461
+ }) => {
6462
+ const encodedTokenConfig = encodeTokenConfig({
6463
+ premintConfigVersion,
6464
+ tokenConfig: premintConfig.tokenConfig
6465
+ });
6466
+ return {
6467
+ deleted: premintConfig.deleted,
6468
+ uid: premintConfig.uid,
6469
+ version: premintConfig.version,
6470
+ premintConfigVersion: keccak256(toHex(premintConfigVersion)),
6471
+ tokenConfig: encodedTokenConfig
6472
+ };
6473
+ };
6474
+ var premintV1TypedDataDefinition = ({
6475
+ chainId,
6476
+ creator1155Contract,
6477
+ message
6478
+ }) => ({
6479
+ types: premintV1TypedDataType,
6480
+ primaryType: "CreatorAttribution",
6481
+ domain: premintTypedDataDomain({
6482
+ chainId,
6483
+ version: "1" /* V1 */,
6484
+ creator1155Contract
6485
+ }),
6486
+ message
6487
+ });
6488
+ var premintV2TypedDataType = {
6489
+ CreatorAttribution: [
6490
+ { name: "tokenConfig", type: "TokenCreationConfig" },
6491
+ // unique id scoped to the contract and token to create.
6492
+ // ensure that a signature can be replaced, as long as the replacement
6493
+ // has the same uid, and a newer version.
6494
+ { name: "uid", type: "uint32" },
6495
+ { name: "version", type: "uint32" },
6496
+ // if this update should result in the signature being deleted.
6497
+ { name: "deleted", type: "bool" }
6498
+ ],
6499
+ TokenCreationConfig: [
6500
+ { name: "tokenURI", type: "string" },
6501
+ { name: "maxSupply", type: "uint256" },
6502
+ { name: "maxTokensPerAddress", type: "uint64" },
6503
+ { name: "pricePerToken", type: "uint96" },
6504
+ { name: "mintStart", type: "uint64" },
6505
+ { name: "mintDuration", type: "uint64" },
6506
+ { name: "royaltyBPS", type: "uint32" },
6507
+ { name: "payoutRecipient", type: "address" },
6508
+ { name: "fixedPriceMinter", type: "address" },
6509
+ { name: "createReferral", type: "address" }
6510
+ ]
6511
+ };
6512
+ var premintV2TypedDataDefinition = ({
6513
+ chainId,
6514
+ creator1155Contract,
6515
+ message
6516
+ }) => ({
6517
+ types: premintV2TypedDataType,
6518
+ primaryType: "CreatorAttribution",
6519
+ domain: premintTypedDataDomain({
6520
+ chainId,
6521
+ version: "2" /* V2 */,
6522
+ creator1155Contract
6523
+ }),
6524
+ message
6525
+ });
6526
+ var premintTypedDataDefinition = ({
6527
+ verifyingContract,
6528
+ chainId,
6529
+ premintConfigVersion: version,
6530
+ premintConfig
6531
+ }) => {
6532
+ if (version === "1" /* V1 */)
6533
+ return premintV1TypedDataDefinition({
6534
+ chainId,
6535
+ creator1155Contract: verifyingContract,
6536
+ message: premintConfig
6537
+ });
6538
+ if (version === "2" /* V2 */) {
6539
+ return premintV2TypedDataDefinition({
6540
+ chainId,
6541
+ creator1155Contract: verifyingContract,
6542
+ message: premintConfig
6543
+ });
6544
+ }
6545
+ throw new Error(`Invalid version ${version}`);
6546
+ };
6547
+ var permitSafeTransferTypedDataType = {
6548
+ PermitSafeTransfer: [
6549
+ { name: "owner", type: "address" },
6550
+ { name: "to", type: "address" },
6551
+ { name: "tokenId", type: "uint256" },
6552
+ { name: "quantity", type: "uint256" },
6553
+ { name: "safeTransferData", type: "bytes" },
6554
+ { name: "nonce", type: "uint256" },
6555
+ { name: "deadline", type: "uint256" }
6556
+ ]
6557
+ };
6558
+ var mintsSafeTransferTypedDataDefinition = ({
6559
+ chainId,
6560
+ message
6561
+ }) => ({
6562
+ types: permitSafeTransferTypedDataType,
6563
+ message,
6564
+ primaryType: "PermitSafeTransfer",
6565
+ domain: {
6566
+ chainId,
6567
+ name: "Mints",
6568
+ version: "1",
6569
+ verifyingContract: zoraMints1155Address[chainId]
6570
+ }
6571
+ });
6572
+ var permitSafeBatchTransferTypedDataType = {
6573
+ Permit: [
6574
+ {
6575
+ name: "owner",
6576
+ type: "address"
6577
+ },
6578
+ {
6579
+ name: "to",
6580
+ type: "address"
6581
+ },
6582
+ {
6583
+ name: "tokenIds",
6584
+ type: "uint256[]"
6585
+ },
6586
+ {
6587
+ name: "quantities",
6588
+ type: "uint256[]"
6589
+ },
6590
+ {
6591
+ name: "safeTransferData",
6592
+ type: "bytes"
6593
+ },
6594
+ {
6595
+ name: "nonce",
6596
+ type: "uint256"
6597
+ },
6598
+ {
6599
+ name: "deadline",
6600
+ type: "uint256"
6601
+ }
6602
+ ]
6603
+ };
6604
+ var mintsSafeTransferBatchTypedDataDefinition = ({
6605
+ chainId,
6606
+ message
6607
+ }) => ({
6608
+ types: permitSafeBatchTransferTypedDataType,
6609
+ message,
6610
+ primaryType: "Permit",
6611
+ domain: {
6612
+ chainId,
6613
+ name: "Mints",
6614
+ version: "1",
6615
+ verifyingContract: zoraMints1155Address[chainId]
6616
+ }
6617
+ });
6618
+
6001
6619
  // src/generated/1155.ts
6002
6620
  var __exports = {};
6003
6621
  __export(__exports, {
@@ -6036,8 +6654,8 @@ var chainConfigs = {
6036
6654
  PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
6037
6655
  },
6038
6656
  84532: {
6039
- FACTORY_OWNER: "0x12125c8a52B8E4ed1A28e1f964023b4477f11300",
6040
- MINT_FEE_RECIPIENT: "0x12125c8a52B8E4ed1A28e1f964023b4477f11300",
6657
+ FACTORY_OWNER: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
6658
+ MINT_FEE_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
6041
6659
  PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
6042
6660
  },
6043
6661
  421614: {
@@ -6151,18 +6769,18 @@ var addresses = {
6151
6769
  timestamp: 1709235955
6152
6770
  },
6153
6771
  84532: {
6154
- CONTRACT_1155_IMPL: "0x8237F421357F87a23ed0CFf3a5586172F210A21B",
6155
- CONTRACT_1155_IMPL_VERSION: "2.7.3",
6156
- FACTORY_IMPL: "0x932A29Dbfc1B8c3BdfC763eF53F113486A5b5E7D",
6157
- FACTORY_PROXY: "0x8cfbF874A12b346115003532119C29f6B56719CB",
6772
+ CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
6773
+ CONTRACT_1155_IMPL_VERSION: "2.9.0",
6774
+ FACTORY_IMPL: "0xB2696570215c3158eB1D218FB1a3DF92a418B034",
6775
+ FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6158
6776
  FIXED_PRICE_SALE_STRATEGY: "0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE",
6159
6777
  MERKLE_MINT_SALE_STRATEGY: "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
6160
- PREMINTER_IMPL: "",
6161
- PREMINTER_PROXY: "",
6778
+ PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
6779
+ PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6162
6780
  REDEEM_MINTER_FACTORY: "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
6163
- UPGRADE_GATE: "0x0ABdD5AA61E9107519DB7cD626442B905284B7eb",
6781
+ UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6164
6782
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6165
- timestamp: 1706663694
6783
+ timestamp: 1713468185
6166
6784
  },
6167
6785
  421614: {
6168
6786
  CONTRACT_1155_IMPL: "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
@@ -6222,16 +6840,16 @@ var addresses = {
6222
6840
  999999999: {
6223
6841
  CONTRACT_1155_IMPL: "0xaDf7F654d8E416aaD85d4f06fDf4cA3D05BDA1A1",
6224
6842
  CONTRACT_1155_IMPL_VERSION: "2.9.0",
6225
- FACTORY_IMPL: "0xE8219ad920ab6ae21aF2d3831df4B18d96d23F5a",
6843
+ ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
6844
+ FACTORY_IMPL: "0x7228C5BE6093cf57BC085aaFFB18D0b7886f0651",
6226
6845
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6227
6846
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
6228
6847
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
6229
- PREMINTER_IMPL: "0x1840606A43AC211Ffd548BE727563D863bfCF707",
6848
+ PREMINTER_IMPL: "0xdABa152A152a14844E627444B55a543beF7c4365",
6230
6849
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6231
6850
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
6232
6851
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
6233
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6234
- timestamp: 1712339316
6852
+ timestamp: 1715977010
6235
6853
  }
6236
6854
  };
6237
6855
 
@@ -6266,6 +6884,7 @@ var chainConfigs2 = {
6266
6884
  PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
6267
6885
  MINTS_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe"
6268
6886
  },
6887
+ 84532: { PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420" },
6269
6888
  7777777: {
6270
6889
  PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
6271
6890
  MINTS_OWNER: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
@@ -6280,6 +6899,11 @@ var chainConfigs2 = {
6280
6899
  }
6281
6900
  };
6282
6901
  var addresses2 = {
6902
+ 84532: {
6903
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
6904
+ MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
6905
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
6906
+ },
6283
6907
  7777777: {
6284
6908
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6285
6909
  MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
@@ -6287,20 +6911,28 @@ var addresses2 = {
6287
6911
  },
6288
6912
  999999999: {
6289
6913
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6290
- MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
6291
- MINTS_MANAGER_IMPL_VERSION: "0.1.2"
6914
+ MINTS_MANAGER_IMPL: "0x65690B699591aDE72b30aa10B0c34BB78cAc61c0",
6915
+ MINTS_MANAGER_IMPL_VERSION: "0.1.3"
6292
6916
  }
6293
6917
  };
6294
6918
  export {
6919
+ PremintConfigVersion,
6295
6920
  __exports as contracts1155,
6921
+ encodePremintConfig,
6296
6922
  erc20MinterABI,
6297
6923
  erc20MinterAddress,
6298
6924
  erc20MinterConfig,
6925
+ iPremintDefinitionsABI,
6299
6926
  iUnwrapAndForwardActionABI,
6300
6927
  mints_exports as mints,
6301
6928
  mintsEthUnwrapperAndCallerABI,
6302
6929
  mintsEthUnwrapperAndCallerAddress,
6303
6930
  mintsEthUnwrapperAndCallerConfig,
6931
+ mintsSafeTransferBatchTypedDataDefinition,
6932
+ mintsSafeTransferTypedDataDefinition,
6933
+ premintTypedDataDefinition,
6934
+ premintV1TypedDataDefinition,
6935
+ premintV2TypedDataDefinition,
6304
6936
  protocolRewardsABI,
6305
6937
  protocolRewardsAddress,
6306
6938
  protocolRewardsConfig,