@zoralabs/protocol-deployments 0.1.0 → 0.15.0

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 DELETED
@@ -1,3708 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- contracts1155: () => __exports,
24
- zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
25
- zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
26
- zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
27
- zoraCreator1155ImplABI: () => zoraCreator1155ImplABI,
28
- zoraCreator1155PremintExecutorImplABI: () => zoraCreator1155PremintExecutorImplABI,
29
- zoraCreator1155PremintExecutorImplAddress: () => zoraCreator1155PremintExecutorImplAddress,
30
- zoraCreator1155PremintExecutorImplConfig: () => zoraCreator1155PremintExecutorImplConfig,
31
- zoraCreatorFixedPriceSaleStrategyABI: () => zoraCreatorFixedPriceSaleStrategyABI,
32
- zoraCreatorFixedPriceSaleStrategyAddress: () => zoraCreatorFixedPriceSaleStrategyAddress,
33
- zoraCreatorFixedPriceSaleStrategyConfig: () => zoraCreatorFixedPriceSaleStrategyConfig,
34
- zoraCreatorMerkleMinterStrategyABI: () => zoraCreatorMerkleMinterStrategyABI,
35
- zoraCreatorMerkleMinterStrategyAddress: () => zoraCreatorMerkleMinterStrategyAddress,
36
- zoraCreatorMerkleMinterStrategyConfig: () => zoraCreatorMerkleMinterStrategyConfig,
37
- zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
38
- zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
39
- zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig
40
- });
41
- module.exports = __toCommonJS(src_exports);
42
-
43
- // src/generated/wagmi.ts
44
- var zoraCreator1155FactoryImplABI = [
45
- {
46
- stateMutability: "nonpayable",
47
- type: "constructor",
48
- inputs: [
49
- {
50
- name: "_zora1155Impl",
51
- internalType: "contract IZoraCreator1155",
52
- type: "address"
53
- },
54
- {
55
- name: "_merkleMinter",
56
- internalType: "contract IMinter1155",
57
- type: "address"
58
- },
59
- {
60
- name: "_fixedPriceMinter",
61
- internalType: "contract IMinter1155",
62
- type: "address"
63
- },
64
- {
65
- name: "_redeemMinterFactory",
66
- internalType: "contract IMinter1155",
67
- type: "address"
68
- }
69
- ]
70
- },
71
- {
72
- stateMutability: "nonpayable",
73
- type: "function",
74
- inputs: [],
75
- name: "acceptOwnership",
76
- outputs: []
77
- },
78
- {
79
- stateMutability: "nonpayable",
80
- type: "function",
81
- inputs: [],
82
- name: "cancelOwnershipTransfer",
83
- outputs: []
84
- },
85
- {
86
- stateMutability: "pure",
87
- type: "function",
88
- inputs: [],
89
- name: "contractName",
90
- outputs: [{ name: "", internalType: "string", type: "string" }]
91
- },
92
- {
93
- stateMutability: "pure",
94
- type: "function",
95
- inputs: [],
96
- name: "contractURI",
97
- outputs: [{ name: "", internalType: "string", type: "string" }]
98
- },
99
- {
100
- stateMutability: "pure",
101
- type: "function",
102
- inputs: [],
103
- name: "contractVersion",
104
- outputs: [{ name: "", internalType: "string", type: "string" }]
105
- },
106
- {
107
- stateMutability: "nonpayable",
108
- type: "function",
109
- inputs: [
110
- { name: "newContractURI", internalType: "string", type: "string" },
111
- { name: "name", internalType: "string", type: "string" },
112
- {
113
- name: "defaultRoyaltyConfiguration",
114
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
115
- type: "tuple",
116
- components: [
117
- {
118
- name: "royaltyMintSchedule",
119
- internalType: "uint32",
120
- type: "uint32"
121
- },
122
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
123
- {
124
- name: "royaltyRecipient",
125
- internalType: "address",
126
- type: "address"
127
- }
128
- ]
129
- },
130
- {
131
- name: "defaultAdmin",
132
- internalType: "address payable",
133
- type: "address"
134
- },
135
- { name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
136
- ],
137
- name: "createContract",
138
- outputs: [{ name: "", internalType: "address", type: "address" }]
139
- },
140
- {
141
- stateMutability: "nonpayable",
142
- type: "function",
143
- inputs: [
144
- { name: "newContractURI", internalType: "string", type: "string" },
145
- { name: "name", internalType: "string", type: "string" },
146
- {
147
- name: "defaultRoyaltyConfiguration",
148
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
149
- type: "tuple",
150
- components: [
151
- {
152
- name: "royaltyMintSchedule",
153
- internalType: "uint32",
154
- type: "uint32"
155
- },
156
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
157
- {
158
- name: "royaltyRecipient",
159
- internalType: "address",
160
- type: "address"
161
- }
162
- ]
163
- },
164
- {
165
- name: "defaultAdmin",
166
- internalType: "address payable",
167
- type: "address"
168
- },
169
- { name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
170
- ],
171
- name: "createContractDeterministic",
172
- outputs: [{ name: "", internalType: "address", type: "address" }]
173
- },
174
- {
175
- stateMutability: "view",
176
- type: "function",
177
- inputs: [],
178
- name: "defaultMinters",
179
- outputs: [
180
- {
181
- name: "minters",
182
- internalType: "contract IMinter1155[]",
183
- type: "address[]"
184
- }
185
- ]
186
- },
187
- {
188
- stateMutability: "view",
189
- type: "function",
190
- inputs: [
191
- { name: "msgSender", internalType: "address", type: "address" },
192
- { name: "newContractURI", internalType: "string", type: "string" },
193
- { name: "name", internalType: "string", type: "string" },
194
- { name: "contractAdmin", internalType: "address", type: "address" }
195
- ],
196
- name: "deterministicContractAddress",
197
- outputs: [{ name: "", internalType: "address", type: "address" }]
198
- },
199
- {
200
- stateMutability: "view",
201
- type: "function",
202
- inputs: [],
203
- name: "fixedPriceMinter",
204
- outputs: [
205
- { name: "", internalType: "contract IMinter1155", type: "address" }
206
- ]
207
- },
208
- {
209
- stateMutability: "view",
210
- type: "function",
211
- inputs: [],
212
- name: "implementation",
213
- outputs: [{ name: "", internalType: "address", type: "address" }]
214
- },
215
- {
216
- stateMutability: "nonpayable",
217
- type: "function",
218
- inputs: [
219
- { name: "_initialOwner", internalType: "address", type: "address" }
220
- ],
221
- name: "initialize",
222
- outputs: []
223
- },
224
- {
225
- stateMutability: "view",
226
- type: "function",
227
- inputs: [],
228
- name: "merkleMinter",
229
- outputs: [
230
- { name: "", internalType: "contract IMinter1155", type: "address" }
231
- ]
232
- },
233
- {
234
- stateMutability: "view",
235
- type: "function",
236
- inputs: [],
237
- name: "owner",
238
- outputs: [{ name: "", internalType: "address", type: "address" }]
239
- },
240
- {
241
- stateMutability: "view",
242
- type: "function",
243
- inputs: [],
244
- name: "pendingOwner",
245
- outputs: [{ name: "", internalType: "address", type: "address" }]
246
- },
247
- {
248
- stateMutability: "view",
249
- type: "function",
250
- inputs: [],
251
- name: "proxiableUUID",
252
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
253
- },
254
- {
255
- stateMutability: "view",
256
- type: "function",
257
- inputs: [],
258
- name: "redeemMinterFactory",
259
- outputs: [
260
- { name: "", internalType: "contract IMinter1155", type: "address" }
261
- ]
262
- },
263
- {
264
- stateMutability: "nonpayable",
265
- type: "function",
266
- inputs: [],
267
- name: "resignOwnership",
268
- outputs: []
269
- },
270
- {
271
- stateMutability: "nonpayable",
272
- type: "function",
273
- inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
274
- name: "safeTransferOwnership",
275
- outputs: []
276
- },
277
- {
278
- stateMutability: "nonpayable",
279
- type: "function",
280
- inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
281
- name: "transferOwnership",
282
- outputs: []
283
- },
284
- {
285
- stateMutability: "nonpayable",
286
- type: "function",
287
- inputs: [
288
- { name: "newImplementation", internalType: "address", type: "address" }
289
- ],
290
- name: "upgradeTo",
291
- outputs: []
292
- },
293
- {
294
- stateMutability: "payable",
295
- type: "function",
296
- inputs: [
297
- { name: "newImplementation", internalType: "address", type: "address" },
298
- { name: "data", internalType: "bytes", type: "bytes" }
299
- ],
300
- name: "upgradeToAndCall",
301
- outputs: []
302
- },
303
- {
304
- stateMutability: "view",
305
- type: "function",
306
- inputs: [],
307
- name: "zora1155Impl",
308
- outputs: [
309
- { name: "", internalType: "contract IZoraCreator1155", type: "address" }
310
- ]
311
- },
312
- {
313
- type: "event",
314
- anonymous: false,
315
- inputs: [
316
- {
317
- name: "previousAdmin",
318
- internalType: "address",
319
- type: "address",
320
- indexed: false
321
- },
322
- {
323
- name: "newAdmin",
324
- internalType: "address",
325
- type: "address",
326
- indexed: false
327
- }
328
- ],
329
- name: "AdminChanged"
330
- },
331
- {
332
- type: "event",
333
- anonymous: false,
334
- inputs: [
335
- {
336
- name: "beacon",
337
- internalType: "address",
338
- type: "address",
339
- indexed: true
340
- }
341
- ],
342
- name: "BeaconUpgraded"
343
- },
344
- { type: "event", anonymous: false, inputs: [], name: "FactorySetup" },
345
- {
346
- type: "event",
347
- anonymous: false,
348
- inputs: [
349
- { name: "version", internalType: "uint8", type: "uint8", indexed: false }
350
- ],
351
- name: "Initialized"
352
- },
353
- {
354
- type: "event",
355
- anonymous: false,
356
- inputs: [
357
- {
358
- name: "owner",
359
- internalType: "address",
360
- type: "address",
361
- indexed: true
362
- },
363
- {
364
- name: "canceledOwner",
365
- internalType: "address",
366
- type: "address",
367
- indexed: true
368
- }
369
- ],
370
- name: "OwnerCanceled"
371
- },
372
- {
373
- type: "event",
374
- anonymous: false,
375
- inputs: [
376
- {
377
- name: "owner",
378
- internalType: "address",
379
- type: "address",
380
- indexed: true
381
- },
382
- {
383
- name: "pendingOwner",
384
- internalType: "address",
385
- type: "address",
386
- indexed: true
387
- }
388
- ],
389
- name: "OwnerPending"
390
- },
391
- {
392
- type: "event",
393
- anonymous: false,
394
- inputs: [
395
- {
396
- name: "prevOwner",
397
- internalType: "address",
398
- type: "address",
399
- indexed: true
400
- },
401
- {
402
- name: "newOwner",
403
- internalType: "address",
404
- type: "address",
405
- indexed: true
406
- }
407
- ],
408
- name: "OwnerUpdated"
409
- },
410
- {
411
- type: "event",
412
- anonymous: false,
413
- inputs: [
414
- {
415
- name: "newContract",
416
- internalType: "address",
417
- type: "address",
418
- indexed: true
419
- },
420
- {
421
- name: "creator",
422
- internalType: "address",
423
- type: "address",
424
- indexed: true
425
- },
426
- {
427
- name: "defaultAdmin",
428
- internalType: "address",
429
- type: "address",
430
- indexed: true
431
- },
432
- {
433
- name: "contractURI",
434
- internalType: "string",
435
- type: "string",
436
- indexed: false
437
- },
438
- { name: "name", internalType: "string", type: "string", indexed: false },
439
- {
440
- name: "defaultRoyaltyConfiguration",
441
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
442
- type: "tuple",
443
- components: [
444
- {
445
- name: "royaltyMintSchedule",
446
- internalType: "uint32",
447
- type: "uint32"
448
- },
449
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
450
- {
451
- name: "royaltyRecipient",
452
- internalType: "address",
453
- type: "address"
454
- }
455
- ],
456
- indexed: false
457
- }
458
- ],
459
- name: "SetupNewContract"
460
- },
461
- {
462
- type: "event",
463
- anonymous: false,
464
- inputs: [
465
- {
466
- name: "implementation",
467
- internalType: "address",
468
- type: "address",
469
- indexed: true
470
- }
471
- ],
472
- name: "Upgraded"
473
- },
474
- { type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
475
- { type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
476
- { type: "error", inputs: [], name: "Constructor_ImplCannotBeZero" },
477
- { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
478
- { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
479
- { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
480
- {
481
- type: "error",
482
- inputs: [],
483
- name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
484
- },
485
- {
486
- type: "error",
487
- inputs: [],
488
- name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
489
- },
490
- {
491
- type: "error",
492
- inputs: [],
493
- name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
494
- },
495
- {
496
- type: "error",
497
- inputs: [],
498
- name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
499
- },
500
- { type: "error", inputs: [], name: "ONLY_OWNER" },
501
- { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
502
- { type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
503
- {
504
- type: "error",
505
- inputs: [],
506
- name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
507
- },
508
- {
509
- type: "error",
510
- inputs: [
511
- { name: "expected", internalType: "string", type: "string" },
512
- { name: "actual", internalType: "string", type: "string" }
513
- ],
514
- name: "UpgradeToMismatchedContractName"
515
- }
516
- ];
517
- var zoraCreator1155FactoryImplAddress = {
518
- 1: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
519
- 5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
520
- 10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
521
- 420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
522
- 999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
523
- 8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
524
- 42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
525
- 84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
526
- 421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
527
- 7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
528
- 11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
529
- 999999999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021"
530
- };
531
- var zoraCreator1155FactoryImplConfig = {
532
- address: zoraCreator1155FactoryImplAddress,
533
- abi: zoraCreator1155FactoryImplABI
534
- };
535
- var zoraCreator1155ImplABI = [
536
- {
537
- stateMutability: "nonpayable",
538
- type: "constructor",
539
- inputs: [
540
- { name: "_mintFeeRecipient", internalType: "address", type: "address" },
541
- { name: "_upgradeGate", internalType: "address", type: "address" },
542
- { name: "_protocolRewards", internalType: "address", type: "address" }
543
- ]
544
- },
545
- { stateMutability: "payable", type: "receive" },
546
- {
547
- stateMutability: "view",
548
- type: "function",
549
- inputs: [],
550
- name: "CONTRACT_BASE_ID",
551
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
552
- },
553
- {
554
- stateMutability: "view",
555
- type: "function",
556
- inputs: [],
557
- name: "PERMISSION_BIT_ADMIN",
558
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
559
- },
560
- {
561
- stateMutability: "view",
562
- type: "function",
563
- inputs: [],
564
- name: "PERMISSION_BIT_FUNDS_MANAGER",
565
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
566
- },
567
- {
568
- stateMutability: "view",
569
- type: "function",
570
- inputs: [],
571
- name: "PERMISSION_BIT_METADATA",
572
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
573
- },
574
- {
575
- stateMutability: "view",
576
- type: "function",
577
- inputs: [],
578
- name: "PERMISSION_BIT_MINTER",
579
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
580
- },
581
- {
582
- stateMutability: "view",
583
- type: "function",
584
- inputs: [],
585
- name: "PERMISSION_BIT_SALES",
586
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
587
- },
588
- {
589
- stateMutability: "nonpayable",
590
- type: "function",
591
- inputs: [
592
- { name: "tokenId", internalType: "uint256", type: "uint256" },
593
- { name: "user", internalType: "address", type: "address" },
594
- { name: "permissionBits", internalType: "uint256", type: "uint256" }
595
- ],
596
- name: "addPermission",
597
- outputs: []
598
- },
599
- {
600
- stateMutability: "nonpayable",
601
- type: "function",
602
- inputs: [
603
- { name: "recipient", internalType: "address", type: "address" },
604
- { name: "tokenId", internalType: "uint256", type: "uint256" },
605
- { name: "quantity", internalType: "uint256", type: "uint256" },
606
- { name: "data", internalType: "bytes", type: "bytes" }
607
- ],
608
- name: "adminMint",
609
- outputs: []
610
- },
611
- {
612
- stateMutability: "nonpayable",
613
- type: "function",
614
- inputs: [
615
- { name: "recipient", internalType: "address", type: "address" },
616
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
617
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
618
- { name: "data", internalType: "bytes", type: "bytes" }
619
- ],
620
- name: "adminMintBatch",
621
- outputs: []
622
- },
623
- {
624
- stateMutability: "view",
625
- type: "function",
626
- inputs: [{ name: "lastTokenId", internalType: "uint256", type: "uint256" }],
627
- name: "assumeLastTokenIdMatches",
628
- outputs: []
629
- },
630
- {
631
- stateMutability: "view",
632
- type: "function",
633
- inputs: [
634
- { name: "account", internalType: "address", type: "address" },
635
- { name: "id", internalType: "uint256", type: "uint256" }
636
- ],
637
- name: "balanceOf",
638
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
639
- },
640
- {
641
- stateMutability: "view",
642
- type: "function",
643
- inputs: [
644
- { name: "accounts", internalType: "address[]", type: "address[]" },
645
- { name: "ids", internalType: "uint256[]", type: "uint256[]" }
646
- ],
647
- name: "balanceOfBatch",
648
- outputs: [
649
- { name: "batchBalances", internalType: "uint256[]", type: "uint256[]" }
650
- ]
651
- },
652
- {
653
- stateMutability: "nonpayable",
654
- type: "function",
655
- inputs: [
656
- { name: "from", internalType: "address", type: "address" },
657
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
658
- { name: "amounts", internalType: "uint256[]", type: "uint256[]" }
659
- ],
660
- name: "burnBatch",
661
- outputs: []
662
- },
663
- {
664
- stateMutability: "nonpayable",
665
- type: "function",
666
- inputs: [
667
- { name: "tokenId", internalType: "uint256", type: "uint256" },
668
- { name: "data", internalType: "bytes", type: "bytes" }
669
- ],
670
- name: "callRenderer",
671
- outputs: []
672
- },
673
- {
674
- stateMutability: "nonpayable",
675
- type: "function",
676
- inputs: [
677
- { name: "tokenId", internalType: "uint256", type: "uint256" },
678
- {
679
- name: "salesConfig",
680
- internalType: "contract IMinter1155",
681
- type: "address"
682
- },
683
- { name: "data", internalType: "bytes", type: "bytes" }
684
- ],
685
- name: "callSale",
686
- outputs: []
687
- },
688
- {
689
- stateMutability: "pure",
690
- type: "function",
691
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
692
- name: "computeFreeMintRewards",
693
- outputs: [
694
- {
695
- name: "",
696
- internalType: "struct RewardsSettings",
697
- type: "tuple",
698
- components: [
699
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
700
- {
701
- name: "createReferralReward",
702
- internalType: "uint256",
703
- type: "uint256"
704
- },
705
- {
706
- name: "mintReferralReward",
707
- internalType: "uint256",
708
- type: "uint256"
709
- },
710
- {
711
- name: "firstMinterReward",
712
- internalType: "uint256",
713
- type: "uint256"
714
- },
715
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
716
- ]
717
- }
718
- ]
719
- },
720
- {
721
- stateMutability: "pure",
722
- type: "function",
723
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
724
- name: "computePaidMintRewards",
725
- outputs: [
726
- {
727
- name: "",
728
- internalType: "struct RewardsSettings",
729
- type: "tuple",
730
- components: [
731
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
732
- {
733
- name: "createReferralReward",
734
- internalType: "uint256",
735
- type: "uint256"
736
- },
737
- {
738
- name: "mintReferralReward",
739
- internalType: "uint256",
740
- type: "uint256"
741
- },
742
- {
743
- name: "firstMinterReward",
744
- internalType: "uint256",
745
- type: "uint256"
746
- },
747
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
748
- ]
749
- }
750
- ]
751
- },
752
- {
753
- stateMutability: "pure",
754
- type: "function",
755
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
756
- name: "computeTotalReward",
757
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
758
- },
759
- {
760
- stateMutability: "view",
761
- type: "function",
762
- inputs: [],
763
- name: "config",
764
- outputs: [
765
- { name: "owner", internalType: "address", type: "address" },
766
- { name: "__gap1", internalType: "uint96", type: "uint96" },
767
- {
768
- name: "fundsRecipient",
769
- internalType: "address payable",
770
- type: "address"
771
- },
772
- { name: "__gap2", internalType: "uint96", type: "uint96" },
773
- {
774
- name: "transferHook",
775
- internalType: "contract ITransferHookReceiver",
776
- type: "address"
777
- },
778
- { name: "__gap3", internalType: "uint96", type: "uint96" }
779
- ]
780
- },
781
- {
782
- stateMutability: "view",
783
- type: "function",
784
- inputs: [],
785
- name: "contractURI",
786
- outputs: [{ name: "", internalType: "string", type: "string" }]
787
- },
788
- {
789
- stateMutability: "pure",
790
- type: "function",
791
- inputs: [],
792
- name: "contractVersion",
793
- outputs: [{ name: "", internalType: "string", type: "string" }]
794
- },
795
- {
796
- stateMutability: "view",
797
- type: "function",
798
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
799
- name: "createReferrals",
800
- outputs: [{ name: "", internalType: "address", type: "address" }]
801
- },
802
- {
803
- stateMutability: "view",
804
- type: "function",
805
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
806
- name: "customRenderers",
807
- outputs: [
808
- { name: "", internalType: "contract IRenderer1155", type: "address" }
809
- ]
810
- },
811
- {
812
- stateMutability: "nonpayable",
813
- type: "function",
814
- inputs: [
815
- { name: "premintConfig", internalType: "bytes", type: "bytes" },
816
- { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
817
- { name: "signature", internalType: "bytes", type: "bytes" },
818
- { name: "sender", internalType: "address", type: "address" }
819
- ],
820
- name: "delegateSetupNewToken",
821
- outputs: [{ name: "newTokenId", internalType: "uint256", type: "uint256" }]
822
- },
823
- {
824
- stateMutability: "view",
825
- type: "function",
826
- inputs: [{ name: "", internalType: "uint32", type: "uint32" }],
827
- name: "delegatedTokenId",
828
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
829
- },
830
- {
831
- stateMutability: "view",
832
- type: "function",
833
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
834
- name: "firstMinters",
835
- outputs: [{ name: "", internalType: "address", type: "address" }]
836
- },
837
- {
838
- stateMutability: "view",
839
- type: "function",
840
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
841
- name: "getCreatorRewardRecipient",
842
- outputs: [{ name: "", internalType: "address", type: "address" }]
843
- },
844
- {
845
- stateMutability: "view",
846
- type: "function",
847
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
848
- name: "getCustomRenderer",
849
- outputs: [
850
- {
851
- name: "customRenderer",
852
- internalType: "contract IRenderer1155",
853
- type: "address"
854
- }
855
- ]
856
- },
857
- {
858
- stateMutability: "view",
859
- type: "function",
860
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
861
- name: "getRoyalties",
862
- outputs: [
863
- {
864
- name: "",
865
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
866
- type: "tuple",
867
- components: [
868
- {
869
- name: "royaltyMintSchedule",
870
- internalType: "uint32",
871
- type: "uint32"
872
- },
873
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
874
- {
875
- name: "royaltyRecipient",
876
- internalType: "address",
877
- type: "address"
878
- }
879
- ]
880
- }
881
- ]
882
- },
883
- {
884
- stateMutability: "view",
885
- type: "function",
886
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
887
- name: "getTokenInfo",
888
- outputs: [
889
- {
890
- name: "",
891
- internalType: "struct IZoraCreator1155TypesV1.TokenData",
892
- type: "tuple",
893
- components: [
894
- { name: "uri", internalType: "string", type: "string" },
895
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
896
- { name: "totalMinted", internalType: "uint256", type: "uint256" }
897
- ]
898
- }
899
- ]
900
- },
901
- {
902
- stateMutability: "view",
903
- type: "function",
904
- inputs: [],
905
- name: "implementation",
906
- outputs: [{ name: "", internalType: "address", type: "address" }]
907
- },
908
- {
909
- stateMutability: "nonpayable",
910
- type: "function",
911
- inputs: [
912
- { name: "contractName", internalType: "string", type: "string" },
913
- { name: "newContractURI", internalType: "string", type: "string" },
914
- {
915
- name: "defaultRoyaltyConfiguration",
916
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
917
- type: "tuple",
918
- components: [
919
- {
920
- name: "royaltyMintSchedule",
921
- internalType: "uint32",
922
- type: "uint32"
923
- },
924
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
925
- {
926
- name: "royaltyRecipient",
927
- internalType: "address",
928
- type: "address"
929
- }
930
- ]
931
- },
932
- {
933
- name: "defaultAdmin",
934
- internalType: "address payable",
935
- type: "address"
936
- },
937
- { name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
938
- ],
939
- name: "initialize",
940
- outputs: []
941
- },
942
- {
943
- stateMutability: "view",
944
- type: "function",
945
- inputs: [
946
- { name: "user", internalType: "address", type: "address" },
947
- { name: "tokenId", internalType: "uint256", type: "uint256" },
948
- { name: "role", internalType: "uint256", type: "uint256" }
949
- ],
950
- name: "isAdminOrRole",
951
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
952
- },
953
- {
954
- stateMutability: "view",
955
- type: "function",
956
- inputs: [
957
- { name: "account", internalType: "address", type: "address" },
958
- { name: "operator", internalType: "address", type: "address" }
959
- ],
960
- name: "isApprovedForAll",
961
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
962
- },
963
- {
964
- stateMutability: "view",
965
- type: "function",
966
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
967
- name: "metadataRendererContract",
968
- outputs: [{ name: "", internalType: "address", type: "address" }]
969
- },
970
- {
971
- stateMutability: "payable",
972
- type: "function",
973
- inputs: [
974
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
975
- { name: "tokenId", internalType: "uint256", type: "uint256" },
976
- { name: "quantity", internalType: "uint256", type: "uint256" },
977
- {
978
- name: "rewardsRecipients",
979
- internalType: "address[]",
980
- type: "address[]"
981
- },
982
- { name: "minterArguments", internalType: "bytes", type: "bytes" }
983
- ],
984
- name: "mint",
985
- outputs: []
986
- },
987
- {
988
- stateMutability: "pure",
989
- type: "function",
990
- inputs: [],
991
- name: "mintFee",
992
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
993
- },
994
- {
995
- stateMutability: "payable",
996
- type: "function",
997
- inputs: [
998
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
999
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1000
- { name: "quantity", internalType: "uint256", type: "uint256" },
1001
- { name: "minterArguments", internalType: "bytes", type: "bytes" },
1002
- { name: "mintReferral", internalType: "address", type: "address" }
1003
- ],
1004
- name: "mintWithRewards",
1005
- outputs: []
1006
- },
1007
- {
1008
- stateMutability: "nonpayable",
1009
- type: "function",
1010
- inputs: [{ name: "data", internalType: "bytes[]", type: "bytes[]" }],
1011
- name: "multicall",
1012
- outputs: [{ name: "results", internalType: "bytes[]", type: "bytes[]" }]
1013
- },
1014
- {
1015
- stateMutability: "view",
1016
- type: "function",
1017
- inputs: [],
1018
- name: "name",
1019
- outputs: [{ name: "", internalType: "string", type: "string" }]
1020
- },
1021
- {
1022
- stateMutability: "view",
1023
- type: "function",
1024
- inputs: [],
1025
- name: "nextTokenId",
1026
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1027
- },
1028
- {
1029
- stateMutability: "view",
1030
- type: "function",
1031
- inputs: [],
1032
- name: "owner",
1033
- outputs: [{ name: "", internalType: "address", type: "address" }]
1034
- },
1035
- {
1036
- stateMutability: "view",
1037
- type: "function",
1038
- inputs: [
1039
- { name: "", internalType: "uint256", type: "uint256" },
1040
- { name: "", internalType: "address", type: "address" }
1041
- ],
1042
- name: "permissions",
1043
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1044
- },
1045
- {
1046
- stateMutability: "view",
1047
- type: "function",
1048
- inputs: [],
1049
- name: "proxiableUUID",
1050
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1051
- },
1052
- {
1053
- stateMutability: "nonpayable",
1054
- type: "function",
1055
- inputs: [
1056
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1057
- { name: "user", internalType: "address", type: "address" },
1058
- { name: "permissionBits", internalType: "uint256", type: "uint256" }
1059
- ],
1060
- name: "removePermission",
1061
- outputs: []
1062
- },
1063
- {
1064
- stateMutability: "view",
1065
- type: "function",
1066
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1067
- name: "royalties",
1068
- outputs: [
1069
- { name: "royaltyMintSchedule", internalType: "uint32", type: "uint32" },
1070
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
1071
- { name: "royaltyRecipient", internalType: "address", type: "address" }
1072
- ]
1073
- },
1074
- {
1075
- stateMutability: "view",
1076
- type: "function",
1077
- inputs: [
1078
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1079
- { name: "salePrice", internalType: "uint256", type: "uint256" }
1080
- ],
1081
- name: "royaltyInfo",
1082
- outputs: [
1083
- { name: "receiver", internalType: "address", type: "address" },
1084
- { name: "royaltyAmount", internalType: "uint256", type: "uint256" }
1085
- ]
1086
- },
1087
- {
1088
- stateMutability: "nonpayable",
1089
- type: "function",
1090
- inputs: [
1091
- { name: "from", internalType: "address", type: "address" },
1092
- { name: "to", internalType: "address", type: "address" },
1093
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
1094
- { name: "amounts", internalType: "uint256[]", type: "uint256[]" },
1095
- { name: "data", internalType: "bytes", type: "bytes" }
1096
- ],
1097
- name: "safeBatchTransferFrom",
1098
- outputs: []
1099
- },
1100
- {
1101
- stateMutability: "nonpayable",
1102
- type: "function",
1103
- inputs: [
1104
- { name: "from", internalType: "address", type: "address" },
1105
- { name: "to", internalType: "address", type: "address" },
1106
- { name: "id", internalType: "uint256", type: "uint256" },
1107
- { name: "amount", internalType: "uint256", type: "uint256" },
1108
- { name: "data", internalType: "bytes", type: "bytes" }
1109
- ],
1110
- name: "safeTransferFrom",
1111
- outputs: []
1112
- },
1113
- {
1114
- stateMutability: "nonpayable",
1115
- type: "function",
1116
- inputs: [
1117
- { name: "operator", internalType: "address", type: "address" },
1118
- { name: "approved", internalType: "bool", type: "bool" }
1119
- ],
1120
- name: "setApprovalForAll",
1121
- outputs: []
1122
- },
1123
- {
1124
- stateMutability: "nonpayable",
1125
- type: "function",
1126
- inputs: [
1127
- {
1128
- name: "fundsRecipient",
1129
- internalType: "address payable",
1130
- type: "address"
1131
- }
1132
- ],
1133
- name: "setFundsRecipient",
1134
- outputs: []
1135
- },
1136
- {
1137
- stateMutability: "nonpayable",
1138
- type: "function",
1139
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1140
- name: "setOwner",
1141
- outputs: []
1142
- },
1143
- {
1144
- stateMutability: "nonpayable",
1145
- type: "function",
1146
- inputs: [
1147
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1148
- {
1149
- name: "renderer",
1150
- internalType: "contract IRenderer1155",
1151
- type: "address"
1152
- }
1153
- ],
1154
- name: "setTokenMetadataRenderer",
1155
- outputs: []
1156
- },
1157
- {
1158
- stateMutability: "nonpayable",
1159
- type: "function",
1160
- inputs: [
1161
- {
1162
- name: "transferHook",
1163
- internalType: "contract ITransferHookReceiver",
1164
- type: "address"
1165
- }
1166
- ],
1167
- name: "setTransferHook",
1168
- outputs: []
1169
- },
1170
- {
1171
- stateMutability: "nonpayable",
1172
- type: "function",
1173
- inputs: [
1174
- { name: "newURI", internalType: "string", type: "string" },
1175
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
1176
- ],
1177
- name: "setupNewToken",
1178
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1179
- },
1180
- {
1181
- stateMutability: "nonpayable",
1182
- type: "function",
1183
- inputs: [
1184
- { name: "newURI", internalType: "string", type: "string" },
1185
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
1186
- { name: "createReferral", internalType: "address", type: "address" }
1187
- ],
1188
- name: "setupNewTokenWithCreateReferral",
1189
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1190
- },
1191
- {
1192
- stateMutability: "pure",
1193
- type: "function",
1194
- inputs: [],
1195
- name: "supportedPremintSignatureVersions",
1196
- outputs: [{ name: "", internalType: "string[]", type: "string[]" }]
1197
- },
1198
- {
1199
- stateMutability: "view",
1200
- type: "function",
1201
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1202
- name: "supportsInterface",
1203
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1204
- },
1205
- {
1206
- stateMutability: "pure",
1207
- type: "function",
1208
- inputs: [],
1209
- name: "symbol",
1210
- outputs: [{ name: "", internalType: "string", type: "string" }]
1211
- },
1212
- {
1213
- stateMutability: "nonpayable",
1214
- type: "function",
1215
- inputs: [
1216
- { name: "_newURI", internalType: "string", type: "string" },
1217
- { name: "_newName", internalType: "string", type: "string" }
1218
- ],
1219
- name: "updateContractMetadata",
1220
- outputs: []
1221
- },
1222
- {
1223
- stateMutability: "nonpayable",
1224
- type: "function",
1225
- inputs: [
1226
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1227
- { name: "recipient", internalType: "address", type: "address" }
1228
- ],
1229
- name: "updateCreateReferral",
1230
- outputs: []
1231
- },
1232
- {
1233
- stateMutability: "nonpayable",
1234
- type: "function",
1235
- inputs: [
1236
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1237
- {
1238
- name: "newConfiguration",
1239
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
1240
- type: "tuple",
1241
- components: [
1242
- {
1243
- name: "royaltyMintSchedule",
1244
- internalType: "uint32",
1245
- type: "uint32"
1246
- },
1247
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
1248
- {
1249
- name: "royaltyRecipient",
1250
- internalType: "address",
1251
- type: "address"
1252
- }
1253
- ]
1254
- }
1255
- ],
1256
- name: "updateRoyaltiesForToken",
1257
- outputs: []
1258
- },
1259
- {
1260
- stateMutability: "nonpayable",
1261
- type: "function",
1262
- inputs: [
1263
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1264
- { name: "_newURI", internalType: "string", type: "string" }
1265
- ],
1266
- name: "updateTokenURI",
1267
- outputs: []
1268
- },
1269
- {
1270
- stateMutability: "nonpayable",
1271
- type: "function",
1272
- inputs: [
1273
- { name: "newImplementation", internalType: "address", type: "address" }
1274
- ],
1275
- name: "upgradeTo",
1276
- outputs: []
1277
- },
1278
- {
1279
- stateMutability: "payable",
1280
- type: "function",
1281
- inputs: [
1282
- { name: "newImplementation", internalType: "address", type: "address" },
1283
- { name: "data", internalType: "bytes", type: "bytes" }
1284
- ],
1285
- name: "upgradeToAndCall",
1286
- outputs: []
1287
- },
1288
- {
1289
- stateMutability: "view",
1290
- type: "function",
1291
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1292
- name: "uri",
1293
- outputs: [{ name: "", internalType: "string", type: "string" }]
1294
- },
1295
- {
1296
- stateMutability: "nonpayable",
1297
- type: "function",
1298
- inputs: [],
1299
- name: "withdraw",
1300
- outputs: []
1301
- },
1302
- {
1303
- type: "event",
1304
- anonymous: false,
1305
- inputs: [
1306
- {
1307
- name: "previousAdmin",
1308
- internalType: "address",
1309
- type: "address",
1310
- indexed: false
1311
- },
1312
- {
1313
- name: "newAdmin",
1314
- internalType: "address",
1315
- type: "address",
1316
- indexed: false
1317
- }
1318
- ],
1319
- name: "AdminChanged"
1320
- },
1321
- {
1322
- type: "event",
1323
- anonymous: false,
1324
- inputs: [
1325
- {
1326
- name: "account",
1327
- internalType: "address",
1328
- type: "address",
1329
- indexed: true
1330
- },
1331
- {
1332
- name: "operator",
1333
- internalType: "address",
1334
- type: "address",
1335
- indexed: true
1336
- },
1337
- { name: "approved", internalType: "bool", type: "bool", indexed: false }
1338
- ],
1339
- name: "ApprovalForAll"
1340
- },
1341
- {
1342
- type: "event",
1343
- anonymous: false,
1344
- inputs: [
1345
- {
1346
- name: "beacon",
1347
- internalType: "address",
1348
- type: "address",
1349
- indexed: true
1350
- }
1351
- ],
1352
- name: "BeaconUpgraded"
1353
- },
1354
- {
1355
- type: "event",
1356
- anonymous: false,
1357
- inputs: [
1358
- {
1359
- name: "updater",
1360
- internalType: "address",
1361
- type: "address",
1362
- indexed: true
1363
- },
1364
- {
1365
- name: "updateType",
1366
- internalType: "enum IZoraCreator1155.ConfigUpdate",
1367
- type: "uint8",
1368
- indexed: true
1369
- },
1370
- {
1371
- name: "newConfig",
1372
- internalType: "struct IZoraCreator1155TypesV1.ContractConfig",
1373
- type: "tuple",
1374
- components: [
1375
- { name: "owner", internalType: "address", type: "address" },
1376
- { name: "__gap1", internalType: "uint96", type: "uint96" },
1377
- {
1378
- name: "fundsRecipient",
1379
- internalType: "address payable",
1380
- type: "address"
1381
- },
1382
- { name: "__gap2", internalType: "uint96", type: "uint96" },
1383
- {
1384
- name: "transferHook",
1385
- internalType: "contract ITransferHookReceiver",
1386
- type: "address"
1387
- },
1388
- { name: "__gap3", internalType: "uint96", type: "uint96" }
1389
- ],
1390
- indexed: false
1391
- }
1392
- ],
1393
- name: "ConfigUpdated"
1394
- },
1395
- {
1396
- type: "event",
1397
- anonymous: false,
1398
- inputs: [
1399
- {
1400
- name: "updater",
1401
- internalType: "address",
1402
- type: "address",
1403
- indexed: true
1404
- },
1405
- { name: "uri", internalType: "string", type: "string", indexed: false },
1406
- { name: "name", internalType: "string", type: "string", indexed: false }
1407
- ],
1408
- name: "ContractMetadataUpdated"
1409
- },
1410
- {
1411
- type: "event",
1412
- anonymous: false,
1413
- inputs: [
1414
- {
1415
- name: "renderer",
1416
- internalType: "contract IRenderer1155",
1417
- type: "address",
1418
- indexed: false
1419
- }
1420
- ],
1421
- name: "ContractRendererUpdated"
1422
- },
1423
- {
1424
- type: "event",
1425
- anonymous: false,
1426
- inputs: [
1427
- {
1428
- name: "structHash",
1429
- internalType: "bytes32",
1430
- type: "bytes32",
1431
- indexed: false
1432
- },
1433
- {
1434
- name: "domainName",
1435
- internalType: "string",
1436
- type: "string",
1437
- indexed: false
1438
- },
1439
- {
1440
- name: "version",
1441
- internalType: "string",
1442
- type: "string",
1443
- indexed: false
1444
- },
1445
- {
1446
- name: "creator",
1447
- internalType: "address",
1448
- type: "address",
1449
- indexed: false
1450
- },
1451
- {
1452
- name: "signature",
1453
- internalType: "bytes",
1454
- type: "bytes",
1455
- indexed: false
1456
- }
1457
- ],
1458
- name: "CreatorAttribution"
1459
- },
1460
- {
1461
- type: "event",
1462
- anonymous: false,
1463
- inputs: [
1464
- { name: "version", internalType: "uint8", type: "uint8", indexed: false }
1465
- ],
1466
- name: "Initialized"
1467
- },
1468
- {
1469
- type: "event",
1470
- anonymous: false,
1471
- inputs: [
1472
- {
1473
- name: "lastOwner",
1474
- internalType: "address",
1475
- type: "address",
1476
- indexed: false
1477
- },
1478
- {
1479
- name: "newOwner",
1480
- internalType: "address",
1481
- type: "address",
1482
- indexed: false
1483
- }
1484
- ],
1485
- name: "OwnershipTransferred"
1486
- },
1487
- {
1488
- type: "event",
1489
- anonymous: false,
1490
- inputs: [
1491
- {
1492
- name: "sender",
1493
- internalType: "address",
1494
- type: "address",
1495
- indexed: true
1496
- },
1497
- {
1498
- name: "minter",
1499
- internalType: "address",
1500
- type: "address",
1501
- indexed: true
1502
- },
1503
- {
1504
- name: "tokenId",
1505
- internalType: "uint256",
1506
- type: "uint256",
1507
- indexed: true
1508
- },
1509
- {
1510
- name: "quantity",
1511
- internalType: "uint256",
1512
- type: "uint256",
1513
- indexed: false
1514
- },
1515
- {
1516
- name: "value",
1517
- internalType: "uint256",
1518
- type: "uint256",
1519
- indexed: false
1520
- }
1521
- ],
1522
- name: "Purchased"
1523
- },
1524
- {
1525
- type: "event",
1526
- anonymous: false,
1527
- inputs: [
1528
- {
1529
- name: "tokenId",
1530
- internalType: "uint256",
1531
- type: "uint256",
1532
- indexed: true
1533
- },
1534
- {
1535
- name: "renderer",
1536
- internalType: "address",
1537
- type: "address",
1538
- indexed: true
1539
- },
1540
- { name: "user", internalType: "address", type: "address", indexed: true }
1541
- ],
1542
- name: "RendererUpdated"
1543
- },
1544
- {
1545
- type: "event",
1546
- anonymous: false,
1547
- inputs: [
1548
- {
1549
- name: "tokenId",
1550
- internalType: "uint256",
1551
- type: "uint256",
1552
- indexed: true
1553
- },
1554
- {
1555
- name: "sender",
1556
- internalType: "address",
1557
- type: "address",
1558
- indexed: true
1559
- },
1560
- {
1561
- name: "newURI",
1562
- internalType: "string",
1563
- type: "string",
1564
- indexed: false
1565
- },
1566
- {
1567
- name: "maxSupply",
1568
- internalType: "uint256",
1569
- type: "uint256",
1570
- indexed: false
1571
- }
1572
- ],
1573
- name: "SetupNewToken"
1574
- },
1575
- {
1576
- type: "event",
1577
- anonymous: false,
1578
- inputs: [
1579
- {
1580
- name: "operator",
1581
- internalType: "address",
1582
- type: "address",
1583
- indexed: true
1584
- },
1585
- { name: "from", internalType: "address", type: "address", indexed: true },
1586
- { name: "to", internalType: "address", type: "address", indexed: true },
1587
- {
1588
- name: "ids",
1589
- internalType: "uint256[]",
1590
- type: "uint256[]",
1591
- indexed: false
1592
- },
1593
- {
1594
- name: "values",
1595
- internalType: "uint256[]",
1596
- type: "uint256[]",
1597
- indexed: false
1598
- }
1599
- ],
1600
- name: "TransferBatch"
1601
- },
1602
- {
1603
- type: "event",
1604
- anonymous: false,
1605
- inputs: [
1606
- {
1607
- name: "operator",
1608
- internalType: "address",
1609
- type: "address",
1610
- indexed: true
1611
- },
1612
- { name: "from", internalType: "address", type: "address", indexed: true },
1613
- { name: "to", internalType: "address", type: "address", indexed: true },
1614
- { name: "id", internalType: "uint256", type: "uint256", indexed: false },
1615
- {
1616
- name: "value",
1617
- internalType: "uint256",
1618
- type: "uint256",
1619
- indexed: false
1620
- }
1621
- ],
1622
- name: "TransferSingle"
1623
- },
1624
- {
1625
- type: "event",
1626
- anonymous: false,
1627
- inputs: [
1628
- { name: "value", internalType: "string", type: "string", indexed: false },
1629
- { name: "id", internalType: "uint256", type: "uint256", indexed: true }
1630
- ],
1631
- name: "URI"
1632
- },
1633
- {
1634
- type: "event",
1635
- anonymous: false,
1636
- inputs: [
1637
- {
1638
- name: "tokenId",
1639
- internalType: "uint256",
1640
- type: "uint256",
1641
- indexed: true
1642
- },
1643
- { name: "user", internalType: "address", type: "address", indexed: true },
1644
- {
1645
- name: "permissions",
1646
- internalType: "uint256",
1647
- type: "uint256",
1648
- indexed: true
1649
- }
1650
- ],
1651
- name: "UpdatedPermissions"
1652
- },
1653
- {
1654
- type: "event",
1655
- anonymous: false,
1656
- inputs: [
1657
- {
1658
- name: "tokenId",
1659
- internalType: "uint256",
1660
- type: "uint256",
1661
- indexed: true
1662
- },
1663
- { name: "user", internalType: "address", type: "address", indexed: true },
1664
- {
1665
- name: "configuration",
1666
- internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
1667
- type: "tuple",
1668
- components: [
1669
- {
1670
- name: "royaltyMintSchedule",
1671
- internalType: "uint32",
1672
- type: "uint32"
1673
- },
1674
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
1675
- {
1676
- name: "royaltyRecipient",
1677
- internalType: "address",
1678
- type: "address"
1679
- }
1680
- ],
1681
- indexed: false
1682
- }
1683
- ],
1684
- name: "UpdatedRoyalties"
1685
- },
1686
- {
1687
- type: "event",
1688
- anonymous: false,
1689
- inputs: [
1690
- { name: "from", internalType: "address", type: "address", indexed: true },
1691
- {
1692
- name: "tokenId",
1693
- internalType: "uint256",
1694
- type: "uint256",
1695
- indexed: true
1696
- },
1697
- {
1698
- name: "tokenData",
1699
- internalType: "struct IZoraCreator1155TypesV1.TokenData",
1700
- type: "tuple",
1701
- components: [
1702
- { name: "uri", internalType: "string", type: "string" },
1703
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
1704
- { name: "totalMinted", internalType: "uint256", type: "uint256" }
1705
- ],
1706
- indexed: false
1707
- }
1708
- ],
1709
- name: "UpdatedToken"
1710
- },
1711
- {
1712
- type: "event",
1713
- anonymous: false,
1714
- inputs: [
1715
- {
1716
- name: "implementation",
1717
- internalType: "address",
1718
- type: "address",
1719
- indexed: true
1720
- }
1721
- ],
1722
- name: "Upgraded"
1723
- },
1724
- { type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
1725
- { type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
1726
- {
1727
- type: "error",
1728
- inputs: [
1729
- { name: "operator", internalType: "address", type: "address" },
1730
- { name: "user", internalType: "address", type: "address" }
1731
- ],
1732
- name: "Burn_NotOwnerOrApproved"
1733
- },
1734
- { type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
1735
- {
1736
- type: "error",
1737
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
1738
- name: "CallFailed"
1739
- },
1740
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
1741
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
1742
- {
1743
- type: "error",
1744
- inputs: [
1745
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1746
- { name: "quantity", internalType: "uint256", type: "uint256" },
1747
- { name: "totalMinted", internalType: "uint256", type: "uint256" },
1748
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
1749
- ],
1750
- name: "CannotMintMoreTokens"
1751
- },
1752
- {
1753
- type: "error",
1754
- inputs: [
1755
- { name: "proposedAddress", internalType: "address", type: "address" }
1756
- ],
1757
- name: "Config_TransferHookNotSupported"
1758
- },
1759
- {
1760
- type: "error",
1761
- inputs: [],
1762
- name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH"
1763
- },
1764
- {
1765
- type: "error",
1766
- inputs: [],
1767
- name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER"
1768
- },
1769
- { type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
1770
- { type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
1771
- {
1772
- type: "error",
1773
- inputs: [],
1774
- name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED"
1775
- },
1776
- {
1777
- type: "error",
1778
- inputs: [],
1779
- name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS"
1780
- },
1781
- {
1782
- type: "error",
1783
- inputs: [],
1784
- name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH"
1785
- },
1786
- {
1787
- type: "error",
1788
- inputs: [],
1789
- name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER"
1790
- },
1791
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
1792
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
1793
- { type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
1794
- {
1795
- type: "error",
1796
- inputs: [],
1797
- name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER"
1798
- },
1799
- { type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
1800
- { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
1801
- { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
1802
- { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
1803
- {
1804
- type: "error",
1805
- inputs: [
1806
- { name: "recipient", internalType: "address", type: "address" },
1807
- { name: "amount", internalType: "uint256", type: "uint256" }
1808
- ],
1809
- name: "ETHWithdrawFailed"
1810
- },
1811
- {
1812
- type: "error",
1813
- inputs: [],
1814
- name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
1815
- },
1816
- {
1817
- type: "error",
1818
- inputs: [],
1819
- name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
1820
- },
1821
- {
1822
- type: "error",
1823
- inputs: [
1824
- { name: "amount", internalType: "uint256", type: "uint256" },
1825
- { name: "contractValue", internalType: "uint256", type: "uint256" }
1826
- ],
1827
- name: "FundsWithdrawInsolvent"
1828
- },
1829
- {
1830
- type: "error",
1831
- inputs: [],
1832
- name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
1833
- },
1834
- {
1835
- type: "error",
1836
- inputs: [],
1837
- name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
1838
- },
1839
- { type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
1840
- { type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
1841
- {
1842
- type: "error",
1843
- inputs: [
1844
- { name: "mintTo", internalType: "address", type: "address" },
1845
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
1846
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
1847
- ],
1848
- name: "InvalidMerkleProof"
1849
- },
1850
- { type: "error", inputs: [], name: "InvalidMintSchedule" },
1851
- { type: "error", inputs: [], name: "InvalidSignatureVersion" },
1852
- { type: "error", inputs: [], name: "MintNotYetStarted" },
1853
- { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
1854
- { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
1855
- { type: "error", inputs: [], name: "Mint_UnknownCommand" },
1856
- { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
1857
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
1858
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
1859
- { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
1860
- {
1861
- type: "error",
1862
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1863
- name: "NoRendererForToken"
1864
- },
1865
- { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
1866
- { type: "error", inputs: [], name: "PremintDeleted" },
1867
- {
1868
- type: "error",
1869
- inputs: [
1870
- { name: "caller", internalType: "address", type: "address" },
1871
- { name: "recipient", internalType: "address", type: "address" },
1872
- { name: "amount", internalType: "uint256", type: "uint256" }
1873
- ],
1874
- name: "ProtocolRewardsWithdrawFailed"
1875
- },
1876
- {
1877
- type: "error",
1878
- inputs: [{ name: "renderer", internalType: "address", type: "address" }],
1879
- name: "RendererNotValid"
1880
- },
1881
- { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
1882
- { type: "error", inputs: [], name: "SaleEnded" },
1883
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
1884
- {
1885
- type: "error",
1886
- inputs: [
1887
- { name: "targetContract", internalType: "address", type: "address" }
1888
- ],
1889
- name: "Sale_CannotCallNonSalesContract"
1890
- },
1891
- {
1892
- type: "error",
1893
- inputs: [
1894
- { name: "expected", internalType: "uint256", type: "uint256" },
1895
- { name: "actual", internalType: "uint256", type: "uint256" }
1896
- ],
1897
- name: "TokenIdMismatch"
1898
- },
1899
- {
1900
- type: "error",
1901
- inputs: [],
1902
- name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
1903
- },
1904
- {
1905
- type: "error",
1906
- inputs: [
1907
- { name: "user", internalType: "address", type: "address" },
1908
- { name: "limit", internalType: "uint256", type: "uint256" },
1909
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
1910
- ],
1911
- name: "UserExceedsMintLimit"
1912
- },
1913
- {
1914
- type: "error",
1915
- inputs: [
1916
- { name: "user", internalType: "address", type: "address" },
1917
- { name: "tokenId", internalType: "uint256", type: "uint256" },
1918
- { name: "role", internalType: "uint256", type: "uint256" }
1919
- ],
1920
- name: "UserMissingRoleForToken"
1921
- },
1922
- { type: "error", inputs: [], name: "WrongValueSent" }
1923
- ];
1924
- var zoraCreator1155PremintExecutorImplABI = [
1925
- {
1926
- stateMutability: "nonpayable",
1927
- type: "constructor",
1928
- inputs: [
1929
- {
1930
- name: "_factory",
1931
- internalType: "contract IZoraCreator1155Factory",
1932
- type: "address"
1933
- }
1934
- ]
1935
- },
1936
- {
1937
- stateMutability: "nonpayable",
1938
- type: "function",
1939
- inputs: [],
1940
- name: "acceptOwnership",
1941
- outputs: []
1942
- },
1943
- {
1944
- stateMutability: "nonpayable",
1945
- type: "function",
1946
- inputs: [],
1947
- name: "cancelOwnershipTransfer",
1948
- outputs: []
1949
- },
1950
- {
1951
- stateMutability: "pure",
1952
- type: "function",
1953
- inputs: [],
1954
- name: "contractName",
1955
- outputs: [{ name: "", internalType: "string", type: "string" }]
1956
- },
1957
- {
1958
- stateMutability: "view",
1959
- type: "function",
1960
- inputs: [
1961
- {
1962
- name: "contractConfig",
1963
- internalType: "struct ContractCreationConfig",
1964
- type: "tuple",
1965
- components: [
1966
- { name: "contractAdmin", internalType: "address", type: "address" },
1967
- { name: "contractURI", internalType: "string", type: "string" },
1968
- { name: "contractName", internalType: "string", type: "string" }
1969
- ]
1970
- }
1971
- ],
1972
- name: "getContractAddress",
1973
- outputs: [{ name: "", internalType: "address", type: "address" }]
1974
- },
1975
- {
1976
- stateMutability: "view",
1977
- type: "function",
1978
- inputs: [],
1979
- name: "implementation",
1980
- outputs: [{ name: "", internalType: "address", type: "address" }]
1981
- },
1982
- {
1983
- stateMutability: "nonpayable",
1984
- type: "function",
1985
- inputs: [
1986
- { name: "_initialOwner", internalType: "address", type: "address" }
1987
- ],
1988
- name: "initialize",
1989
- outputs: []
1990
- },
1991
- {
1992
- stateMutability: "view",
1993
- type: "function",
1994
- inputs: [
1995
- { name: "signer", internalType: "address", type: "address" },
1996
- {
1997
- name: "premintContractConfigContractAdmin",
1998
- internalType: "address",
1999
- type: "address"
2000
- },
2001
- { name: "contractAddress", internalType: "address", type: "address" }
2002
- ],
2003
- name: "isAuthorizedToCreatePremint",
2004
- outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
2005
- },
2006
- {
2007
- stateMutability: "view",
2008
- type: "function",
2009
- inputs: [
2010
- {
2011
- name: "contractConfig",
2012
- internalType: "struct ContractCreationConfig",
2013
- type: "tuple",
2014
- components: [
2015
- { name: "contractAdmin", internalType: "address", type: "address" },
2016
- { name: "contractURI", internalType: "string", type: "string" },
2017
- { name: "contractName", internalType: "string", type: "string" }
2018
- ]
2019
- },
2020
- {
2021
- name: "premintConfig",
2022
- internalType: "struct PremintConfig",
2023
- type: "tuple",
2024
- components: [
2025
- {
2026
- name: "tokenConfig",
2027
- internalType: "struct TokenCreationConfig",
2028
- type: "tuple",
2029
- components: [
2030
- { name: "tokenURI", internalType: "string", type: "string" },
2031
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
2032
- {
2033
- name: "maxTokensPerAddress",
2034
- internalType: "uint64",
2035
- type: "uint64"
2036
- },
2037
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2038
- { name: "mintStart", internalType: "uint64", type: "uint64" },
2039
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
2040
- {
2041
- name: "royaltyMintSchedule",
2042
- internalType: "uint32",
2043
- type: "uint32"
2044
- },
2045
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2046
- {
2047
- name: "royaltyRecipient",
2048
- internalType: "address",
2049
- type: "address"
2050
- },
2051
- {
2052
- name: "fixedPriceMinter",
2053
- internalType: "address",
2054
- type: "address"
2055
- }
2056
- ]
2057
- },
2058
- { name: "uid", internalType: "uint32", type: "uint32" },
2059
- { name: "version", internalType: "uint32", type: "uint32" },
2060
- { name: "deleted", internalType: "bool", type: "bool" }
2061
- ]
2062
- },
2063
- { name: "signature", internalType: "bytes", type: "bytes" }
2064
- ],
2065
- name: "isValidSignature",
2066
- outputs: [
2067
- { name: "isValid", internalType: "bool", type: "bool" },
2068
- { name: "contractAddress", internalType: "address", type: "address" },
2069
- { name: "recoveredSigner", internalType: "address", type: "address" }
2070
- ]
2071
- },
2072
- {
2073
- stateMutability: "view",
2074
- type: "function",
2075
- inputs: [
2076
- { name: "collectionAddress", internalType: "address", type: "address" }
2077
- ],
2078
- name: "mintFee",
2079
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2080
- },
2081
- {
2082
- stateMutability: "view",
2083
- type: "function",
2084
- inputs: [],
2085
- name: "owner",
2086
- outputs: [{ name: "", internalType: "address", type: "address" }]
2087
- },
2088
- {
2089
- stateMutability: "view",
2090
- type: "function",
2091
- inputs: [],
2092
- name: "pendingOwner",
2093
- outputs: [{ name: "", internalType: "address", type: "address" }]
2094
- },
2095
- {
2096
- stateMutability: "payable",
2097
- type: "function",
2098
- inputs: [
2099
- {
2100
- name: "contractConfig",
2101
- internalType: "struct ContractCreationConfig",
2102
- type: "tuple",
2103
- components: [
2104
- { name: "contractAdmin", internalType: "address", type: "address" },
2105
- { name: "contractURI", internalType: "string", type: "string" },
2106
- { name: "contractName", internalType: "string", type: "string" }
2107
- ]
2108
- },
2109
- {
2110
- name: "premintConfig",
2111
- internalType: "struct PremintConfig",
2112
- type: "tuple",
2113
- components: [
2114
- {
2115
- name: "tokenConfig",
2116
- internalType: "struct TokenCreationConfig",
2117
- type: "tuple",
2118
- components: [
2119
- { name: "tokenURI", internalType: "string", type: "string" },
2120
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
2121
- {
2122
- name: "maxTokensPerAddress",
2123
- internalType: "uint64",
2124
- type: "uint64"
2125
- },
2126
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2127
- { name: "mintStart", internalType: "uint64", type: "uint64" },
2128
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
2129
- {
2130
- name: "royaltyMintSchedule",
2131
- internalType: "uint32",
2132
- type: "uint32"
2133
- },
2134
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2135
- {
2136
- name: "royaltyRecipient",
2137
- internalType: "address",
2138
- type: "address"
2139
- },
2140
- {
2141
- name: "fixedPriceMinter",
2142
- internalType: "address",
2143
- type: "address"
2144
- }
2145
- ]
2146
- },
2147
- { name: "uid", internalType: "uint32", type: "uint32" },
2148
- { name: "version", internalType: "uint32", type: "uint32" },
2149
- { name: "deleted", internalType: "bool", type: "bool" }
2150
- ]
2151
- },
2152
- { name: "signature", internalType: "bytes", type: "bytes" },
2153
- { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2154
- { name: "mintComment", internalType: "string", type: "string" }
2155
- ],
2156
- name: "premint",
2157
- outputs: [{ name: "newTokenId", internalType: "uint256", type: "uint256" }]
2158
- },
2159
- {
2160
- stateMutability: "view",
2161
- type: "function",
2162
- inputs: [
2163
- { name: "contractAddress", internalType: "address", type: "address" },
2164
- { name: "uid", internalType: "uint32", type: "uint32" }
2165
- ],
2166
- name: "premintStatus",
2167
- outputs: [
2168
- { name: "contractCreated", internalType: "bool", type: "bool" },
2169
- { name: "tokenIdForPremint", internalType: "uint256", type: "uint256" }
2170
- ]
2171
- },
2172
- {
2173
- stateMutability: "payable",
2174
- type: "function",
2175
- inputs: [
2176
- {
2177
- name: "contractConfig",
2178
- internalType: "struct ContractCreationConfig",
2179
- type: "tuple",
2180
- components: [
2181
- { name: "contractAdmin", internalType: "address", type: "address" },
2182
- { name: "contractURI", internalType: "string", type: "string" },
2183
- { name: "contractName", internalType: "string", type: "string" }
2184
- ]
2185
- },
2186
- {
2187
- name: "premintConfig",
2188
- internalType: "struct PremintConfig",
2189
- type: "tuple",
2190
- components: [
2191
- {
2192
- name: "tokenConfig",
2193
- internalType: "struct TokenCreationConfig",
2194
- type: "tuple",
2195
- components: [
2196
- { name: "tokenURI", internalType: "string", type: "string" },
2197
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
2198
- {
2199
- name: "maxTokensPerAddress",
2200
- internalType: "uint64",
2201
- type: "uint64"
2202
- },
2203
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2204
- { name: "mintStart", internalType: "uint64", type: "uint64" },
2205
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
2206
- {
2207
- name: "royaltyMintSchedule",
2208
- internalType: "uint32",
2209
- type: "uint32"
2210
- },
2211
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2212
- {
2213
- name: "royaltyRecipient",
2214
- internalType: "address",
2215
- type: "address"
2216
- },
2217
- {
2218
- name: "fixedPriceMinter",
2219
- internalType: "address",
2220
- type: "address"
2221
- }
2222
- ]
2223
- },
2224
- { name: "uid", internalType: "uint32", type: "uint32" },
2225
- { name: "version", internalType: "uint32", type: "uint32" },
2226
- { name: "deleted", internalType: "bool", type: "bool" }
2227
- ]
2228
- },
2229
- { name: "signature", internalType: "bytes", type: "bytes" },
2230
- { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2231
- {
2232
- name: "mintArguments",
2233
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2234
- type: "tuple",
2235
- components: [
2236
- { name: "mintRecipient", internalType: "address", type: "address" },
2237
- { name: "mintComment", internalType: "string", type: "string" },
2238
- {
2239
- name: "mintRewardsRecipients",
2240
- internalType: "address[]",
2241
- type: "address[]"
2242
- }
2243
- ]
2244
- }
2245
- ],
2246
- name: "premintV1",
2247
- outputs: [
2248
- {
2249
- name: "result",
2250
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2251
- type: "tuple",
2252
- components: [
2253
- { name: "contractAddress", internalType: "address", type: "address" },
2254
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2255
- { name: "createdNewContract", internalType: "bool", type: "bool" }
2256
- ]
2257
- }
2258
- ]
2259
- },
2260
- {
2261
- stateMutability: "payable",
2262
- type: "function",
2263
- inputs: [
2264
- {
2265
- name: "contractConfig",
2266
- internalType: "struct ContractCreationConfig",
2267
- type: "tuple",
2268
- components: [
2269
- { name: "contractAdmin", internalType: "address", type: "address" },
2270
- { name: "contractURI", internalType: "string", type: "string" },
2271
- { name: "contractName", internalType: "string", type: "string" }
2272
- ]
2273
- },
2274
- {
2275
- name: "premintConfig",
2276
- internalType: "struct PremintConfigV2",
2277
- type: "tuple",
2278
- components: [
2279
- {
2280
- name: "tokenConfig",
2281
- internalType: "struct TokenCreationConfigV2",
2282
- type: "tuple",
2283
- components: [
2284
- { name: "tokenURI", internalType: "string", type: "string" },
2285
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
2286
- {
2287
- name: "maxTokensPerAddress",
2288
- internalType: "uint64",
2289
- type: "uint64"
2290
- },
2291
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2292
- { name: "mintStart", internalType: "uint64", type: "uint64" },
2293
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
2294
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2295
- {
2296
- name: "payoutRecipient",
2297
- internalType: "address",
2298
- type: "address"
2299
- },
2300
- {
2301
- name: "fixedPriceMinter",
2302
- internalType: "address",
2303
- type: "address"
2304
- },
2305
- {
2306
- name: "createReferral",
2307
- internalType: "address",
2308
- type: "address"
2309
- }
2310
- ]
2311
- },
2312
- { name: "uid", internalType: "uint32", type: "uint32" },
2313
- { name: "version", internalType: "uint32", type: "uint32" },
2314
- { name: "deleted", internalType: "bool", type: "bool" }
2315
- ]
2316
- },
2317
- { name: "signature", internalType: "bytes", type: "bytes" },
2318
- { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2319
- {
2320
- name: "mintArguments",
2321
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2322
- type: "tuple",
2323
- components: [
2324
- { name: "mintRecipient", internalType: "address", type: "address" },
2325
- { name: "mintComment", internalType: "string", type: "string" },
2326
- {
2327
- name: "mintRewardsRecipients",
2328
- internalType: "address[]",
2329
- type: "address[]"
2330
- }
2331
- ]
2332
- }
2333
- ],
2334
- name: "premintV2",
2335
- outputs: [
2336
- {
2337
- name: "result",
2338
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2339
- type: "tuple",
2340
- components: [
2341
- { name: "contractAddress", internalType: "address", type: "address" },
2342
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2343
- { name: "createdNewContract", internalType: "bool", type: "bool" }
2344
- ]
2345
- }
2346
- ]
2347
- },
2348
- {
2349
- stateMutability: "view",
2350
- type: "function",
2351
- inputs: [],
2352
- name: "proxiableUUID",
2353
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2354
- },
2355
- {
2356
- stateMutability: "nonpayable",
2357
- type: "function",
2358
- inputs: [],
2359
- name: "resignOwnership",
2360
- outputs: []
2361
- },
2362
- {
2363
- stateMutability: "nonpayable",
2364
- type: "function",
2365
- inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
2366
- name: "safeTransferOwnership",
2367
- outputs: []
2368
- },
2369
- {
2370
- stateMutability: "view",
2371
- type: "function",
2372
- inputs: [
2373
- { name: "contractAddress", internalType: "address", type: "address" }
2374
- ],
2375
- name: "supportedPremintSignatureVersions",
2376
- outputs: [{ name: "versions", internalType: "string[]", type: "string[]" }]
2377
- },
2378
- {
2379
- stateMutability: "nonpayable",
2380
- type: "function",
2381
- inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
2382
- name: "transferOwnership",
2383
- outputs: []
2384
- },
2385
- {
2386
- stateMutability: "nonpayable",
2387
- type: "function",
2388
- inputs: [
2389
- { name: "newImplementation", internalType: "address", type: "address" }
2390
- ],
2391
- name: "upgradeTo",
2392
- outputs: []
2393
- },
2394
- {
2395
- stateMutability: "payable",
2396
- type: "function",
2397
- inputs: [
2398
- { name: "newImplementation", internalType: "address", type: "address" },
2399
- { name: "data", internalType: "bytes", type: "bytes" }
2400
- ],
2401
- name: "upgradeToAndCall",
2402
- outputs: []
2403
- },
2404
- {
2405
- stateMutability: "view",
2406
- type: "function",
2407
- inputs: [],
2408
- name: "zora1155Factory",
2409
- outputs: [
2410
- {
2411
- name: "",
2412
- internalType: "contract IZoraCreator1155Factory",
2413
- type: "address"
2414
- }
2415
- ]
2416
- },
2417
- {
2418
- type: "event",
2419
- anonymous: false,
2420
- inputs: [
2421
- {
2422
- name: "previousAdmin",
2423
- internalType: "address",
2424
- type: "address",
2425
- indexed: false
2426
- },
2427
- {
2428
- name: "newAdmin",
2429
- internalType: "address",
2430
- type: "address",
2431
- indexed: false
2432
- }
2433
- ],
2434
- name: "AdminChanged"
2435
- },
2436
- {
2437
- type: "event",
2438
- anonymous: false,
2439
- inputs: [
2440
- {
2441
- name: "beacon",
2442
- internalType: "address",
2443
- type: "address",
2444
- indexed: true
2445
- }
2446
- ],
2447
- name: "BeaconUpgraded"
2448
- },
2449
- {
2450
- type: "event",
2451
- anonymous: false,
2452
- inputs: [
2453
- { name: "version", internalType: "uint8", type: "uint8", indexed: false }
2454
- ],
2455
- name: "Initialized"
2456
- },
2457
- {
2458
- type: "event",
2459
- anonymous: false,
2460
- inputs: [
2461
- {
2462
- name: "owner",
2463
- internalType: "address",
2464
- type: "address",
2465
- indexed: true
2466
- },
2467
- {
2468
- name: "canceledOwner",
2469
- internalType: "address",
2470
- type: "address",
2471
- indexed: true
2472
- }
2473
- ],
2474
- name: "OwnerCanceled"
2475
- },
2476
- {
2477
- type: "event",
2478
- anonymous: false,
2479
- inputs: [
2480
- {
2481
- name: "owner",
2482
- internalType: "address",
2483
- type: "address",
2484
- indexed: true
2485
- },
2486
- {
2487
- name: "pendingOwner",
2488
- internalType: "address",
2489
- type: "address",
2490
- indexed: true
2491
- }
2492
- ],
2493
- name: "OwnerPending"
2494
- },
2495
- {
2496
- type: "event",
2497
- anonymous: false,
2498
- inputs: [
2499
- {
2500
- name: "prevOwner",
2501
- internalType: "address",
2502
- type: "address",
2503
- indexed: true
2504
- },
2505
- {
2506
- name: "newOwner",
2507
- internalType: "address",
2508
- type: "address",
2509
- indexed: true
2510
- }
2511
- ],
2512
- name: "OwnerUpdated"
2513
- },
2514
- {
2515
- type: "event",
2516
- anonymous: false,
2517
- inputs: [
2518
- {
2519
- name: "contractAddress",
2520
- internalType: "address",
2521
- type: "address",
2522
- indexed: true
2523
- },
2524
- {
2525
- name: "tokenId",
2526
- internalType: "uint256",
2527
- type: "uint256",
2528
- indexed: true
2529
- },
2530
- {
2531
- name: "createdNewContract",
2532
- internalType: "bool",
2533
- type: "bool",
2534
- indexed: true
2535
- },
2536
- { name: "uid", internalType: "uint32", type: "uint32", indexed: false },
2537
- {
2538
- name: "contractConfig",
2539
- internalType: "struct ContractCreationConfig",
2540
- type: "tuple",
2541
- components: [
2542
- { name: "contractAdmin", internalType: "address", type: "address" },
2543
- { name: "contractURI", internalType: "string", type: "string" },
2544
- { name: "contractName", internalType: "string", type: "string" }
2545
- ],
2546
- indexed: false
2547
- },
2548
- {
2549
- name: "tokenConfig",
2550
- internalType: "struct TokenCreationConfig",
2551
- type: "tuple",
2552
- components: [
2553
- { name: "tokenURI", internalType: "string", type: "string" },
2554
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
2555
- {
2556
- name: "maxTokensPerAddress",
2557
- internalType: "uint64",
2558
- type: "uint64"
2559
- },
2560
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2561
- { name: "mintStart", internalType: "uint64", type: "uint64" },
2562
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
2563
- {
2564
- name: "royaltyMintSchedule",
2565
- internalType: "uint32",
2566
- type: "uint32"
2567
- },
2568
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2569
- {
2570
- name: "royaltyRecipient",
2571
- internalType: "address",
2572
- type: "address"
2573
- },
2574
- {
2575
- name: "fixedPriceMinter",
2576
- internalType: "address",
2577
- type: "address"
2578
- }
2579
- ],
2580
- indexed: false
2581
- },
2582
- {
2583
- name: "minter",
2584
- internalType: "address",
2585
- type: "address",
2586
- indexed: false
2587
- },
2588
- {
2589
- name: "quantityMinted",
2590
- internalType: "uint256",
2591
- type: "uint256",
2592
- indexed: false
2593
- }
2594
- ],
2595
- name: "Preminted"
2596
- },
2597
- {
2598
- type: "event",
2599
- anonymous: false,
2600
- inputs: [
2601
- {
2602
- name: "contractAddress",
2603
- internalType: "address",
2604
- type: "address",
2605
- indexed: true
2606
- },
2607
- {
2608
- name: "tokenId",
2609
- internalType: "uint256",
2610
- type: "uint256",
2611
- indexed: true
2612
- },
2613
- {
2614
- name: "createdNewContract",
2615
- internalType: "bool",
2616
- type: "bool",
2617
- indexed: true
2618
- },
2619
- { name: "uid", internalType: "uint32", type: "uint32", indexed: false },
2620
- {
2621
- name: "minter",
2622
- internalType: "address",
2623
- type: "address",
2624
- indexed: false
2625
- },
2626
- {
2627
- name: "quantityMinted",
2628
- internalType: "uint256",
2629
- type: "uint256",
2630
- indexed: false
2631
- }
2632
- ],
2633
- name: "PremintedV2"
2634
- },
2635
- {
2636
- type: "event",
2637
- anonymous: false,
2638
- inputs: [
2639
- {
2640
- name: "implementation",
2641
- internalType: "address",
2642
- type: "address",
2643
- indexed: true
2644
- }
2645
- ],
2646
- name: "Upgraded"
2647
- },
2648
- { type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
2649
- { type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
2650
- {
2651
- type: "error",
2652
- inputs: [
2653
- { name: "operator", internalType: "address", type: "address" },
2654
- { name: "user", internalType: "address", type: "address" }
2655
- ],
2656
- name: "Burn_NotOwnerOrApproved"
2657
- },
2658
- { type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
2659
- {
2660
- type: "error",
2661
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
2662
- name: "CallFailed"
2663
- },
2664
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
2665
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
2666
- {
2667
- type: "error",
2668
- inputs: [
2669
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2670
- { name: "quantity", internalType: "uint256", type: "uint256" },
2671
- { name: "totalMinted", internalType: "uint256", type: "uint256" },
2672
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
2673
- ],
2674
- name: "CannotMintMoreTokens"
2675
- },
2676
- {
2677
- type: "error",
2678
- inputs: [
2679
- { name: "proposedAddress", internalType: "address", type: "address" }
2680
- ],
2681
- name: "Config_TransferHookNotSupported"
2682
- },
2683
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
2684
- { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
2685
- { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
2686
- { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
2687
- {
2688
- type: "error",
2689
- inputs: [
2690
- { name: "recipient", internalType: "address", type: "address" },
2691
- { name: "amount", internalType: "uint256", type: "uint256" }
2692
- ],
2693
- name: "ETHWithdrawFailed"
2694
- },
2695
- {
2696
- type: "error",
2697
- inputs: [],
2698
- name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
2699
- },
2700
- {
2701
- type: "error",
2702
- inputs: [],
2703
- name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
2704
- },
2705
- {
2706
- type: "error",
2707
- inputs: [
2708
- { name: "amount", internalType: "uint256", type: "uint256" },
2709
- { name: "contractValue", internalType: "uint256", type: "uint256" }
2710
- ],
2711
- name: "FundsWithdrawInsolvent"
2712
- },
2713
- {
2714
- type: "error",
2715
- inputs: [],
2716
- name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
2717
- },
2718
- { type: "error", inputs: [], name: "INITIALIZABLE_CONTRACT_IS_INITIALIZING" },
2719
- {
2720
- type: "error",
2721
- inputs: [],
2722
- name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
2723
- },
2724
- { type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
2725
- { type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
2726
- {
2727
- type: "error",
2728
- inputs: [
2729
- { name: "mintTo", internalType: "address", type: "address" },
2730
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
2731
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
2732
- ],
2733
- name: "InvalidMerkleProof"
2734
- },
2735
- { type: "error", inputs: [], name: "InvalidMintSchedule" },
2736
- { type: "error", inputs: [], name: "InvalidSignatureVersion" },
2737
- { type: "error", inputs: [], name: "MintNotYetStarted" },
2738
- { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2739
- { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
2740
- { type: "error", inputs: [], name: "Mint_UnknownCommand" },
2741
- { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
2742
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2743
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2744
- { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2745
- { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2746
- { type: "error", inputs: [], name: "ONLY_OWNER" },
2747
- { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
2748
- { type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
2749
- { type: "error", inputs: [], name: "PremintDeleted" },
2750
- {
2751
- type: "error",
2752
- inputs: [
2753
- { name: "caller", internalType: "address", type: "address" },
2754
- { name: "recipient", internalType: "address", type: "address" },
2755
- { name: "amount", internalType: "uint256", type: "uint256" }
2756
- ],
2757
- name: "ProtocolRewardsWithdrawFailed"
2758
- },
2759
- { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
2760
- { type: "error", inputs: [], name: "SaleEnded" },
2761
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
2762
- {
2763
- type: "error",
2764
- inputs: [
2765
- { name: "targetContract", internalType: "address", type: "address" }
2766
- ],
2767
- name: "Sale_CannotCallNonSalesContract"
2768
- },
2769
- {
2770
- type: "error",
2771
- inputs: [
2772
- { name: "expected", internalType: "uint256", type: "uint256" },
2773
- { name: "actual", internalType: "uint256", type: "uint256" }
2774
- ],
2775
- name: "TokenIdMismatch"
2776
- },
2777
- {
2778
- type: "error",
2779
- inputs: [],
2780
- name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
2781
- },
2782
- {
2783
- type: "error",
2784
- inputs: [
2785
- { name: "expected", internalType: "string", type: "string" },
2786
- { name: "actual", internalType: "string", type: "string" }
2787
- ],
2788
- name: "UpgradeToMismatchedContractName"
2789
- },
2790
- {
2791
- type: "error",
2792
- inputs: [
2793
- { name: "user", internalType: "address", type: "address" },
2794
- { name: "limit", internalType: "uint256", type: "uint256" },
2795
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2796
- ],
2797
- name: "UserExceedsMintLimit"
2798
- },
2799
- {
2800
- type: "error",
2801
- inputs: [
2802
- { name: "user", internalType: "address", type: "address" },
2803
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2804
- { name: "role", internalType: "uint256", type: "uint256" }
2805
- ],
2806
- name: "UserMissingRoleForToken"
2807
- },
2808
- { type: "error", inputs: [], name: "WrongValueSent" }
2809
- ];
2810
- var zoraCreator1155PremintExecutorImplAddress = {
2811
- 1: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2812
- 5: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2813
- 10: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2814
- 420: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2815
- 999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2816
- 8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2817
- 42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2818
- 84531: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2819
- 421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2820
- 7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2821
- 11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2822
- 999999999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340"
2823
- };
2824
- var zoraCreator1155PremintExecutorImplConfig = {
2825
- address: zoraCreator1155PremintExecutorImplAddress,
2826
- abi: zoraCreator1155PremintExecutorImplABI
2827
- };
2828
- var zoraCreatorFixedPriceSaleStrategyABI = [
2829
- {
2830
- stateMutability: "pure",
2831
- type: "function",
2832
- inputs: [],
2833
- name: "contractName",
2834
- outputs: [{ name: "", internalType: "string", type: "string" }]
2835
- },
2836
- {
2837
- stateMutability: "pure",
2838
- type: "function",
2839
- inputs: [],
2840
- name: "contractURI",
2841
- outputs: [{ name: "", internalType: "string", type: "string" }]
2842
- },
2843
- {
2844
- stateMutability: "pure",
2845
- type: "function",
2846
- inputs: [],
2847
- name: "contractVersion",
2848
- outputs: [{ name: "", internalType: "string", type: "string" }]
2849
- },
2850
- {
2851
- stateMutability: "view",
2852
- type: "function",
2853
- inputs: [
2854
- { name: "tokenContract", internalType: "address", type: "address" },
2855
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2856
- { name: "wallet", internalType: "address", type: "address" }
2857
- ],
2858
- name: "getMintedPerWallet",
2859
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2860
- },
2861
- {
2862
- stateMutability: "nonpayable",
2863
- type: "function",
2864
- inputs: [
2865
- { name: "", internalType: "address", type: "address" },
2866
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2867
- { name: "quantity", internalType: "uint256", type: "uint256" },
2868
- { name: "ethValueSent", internalType: "uint256", type: "uint256" },
2869
- { name: "minterArguments", internalType: "bytes", type: "bytes" }
2870
- ],
2871
- name: "requestMint",
2872
- outputs: [
2873
- {
2874
- name: "commands",
2875
- internalType: "struct ICreatorCommands.CommandSet",
2876
- type: "tuple",
2877
- components: [
2878
- {
2879
- name: "commands",
2880
- internalType: "struct ICreatorCommands.Command[]",
2881
- type: "tuple[]",
2882
- components: [
2883
- {
2884
- name: "method",
2885
- internalType: "enum ICreatorCommands.CreatorActions",
2886
- type: "uint8"
2887
- },
2888
- { name: "args", internalType: "bytes", type: "bytes" }
2889
- ]
2890
- },
2891
- { name: "at", internalType: "uint256", type: "uint256" }
2892
- ]
2893
- }
2894
- ]
2895
- },
2896
- {
2897
- stateMutability: "nonpayable",
2898
- type: "function",
2899
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
2900
- name: "resetSale",
2901
- outputs: []
2902
- },
2903
- {
2904
- stateMutability: "view",
2905
- type: "function",
2906
- inputs: [
2907
- { name: "tokenContract", internalType: "address", type: "address" },
2908
- { name: "tokenId", internalType: "uint256", type: "uint256" }
2909
- ],
2910
- name: "sale",
2911
- outputs: [
2912
- {
2913
- name: "",
2914
- internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
2915
- type: "tuple",
2916
- components: [
2917
- { name: "saleStart", internalType: "uint64", type: "uint64" },
2918
- { name: "saleEnd", internalType: "uint64", type: "uint64" },
2919
- {
2920
- name: "maxTokensPerAddress",
2921
- internalType: "uint64",
2922
- type: "uint64"
2923
- },
2924
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2925
- { name: "fundsRecipient", internalType: "address", type: "address" }
2926
- ]
2927
- }
2928
- ]
2929
- },
2930
- {
2931
- stateMutability: "nonpayable",
2932
- type: "function",
2933
- inputs: [
2934
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2935
- {
2936
- name: "salesConfig",
2937
- internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
2938
- type: "tuple",
2939
- components: [
2940
- { name: "saleStart", internalType: "uint64", type: "uint64" },
2941
- { name: "saleEnd", internalType: "uint64", type: "uint64" },
2942
- {
2943
- name: "maxTokensPerAddress",
2944
- internalType: "uint64",
2945
- type: "uint64"
2946
- },
2947
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2948
- { name: "fundsRecipient", internalType: "address", type: "address" }
2949
- ]
2950
- }
2951
- ],
2952
- name: "setSale",
2953
- outputs: []
2954
- },
2955
- {
2956
- stateMutability: "pure",
2957
- type: "function",
2958
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2959
- name: "supportsInterface",
2960
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
2961
- },
2962
- {
2963
- type: "event",
2964
- anonymous: false,
2965
- inputs: [
2966
- {
2967
- name: "sender",
2968
- internalType: "address",
2969
- type: "address",
2970
- indexed: true
2971
- },
2972
- {
2973
- name: "tokenContract",
2974
- internalType: "address",
2975
- type: "address",
2976
- indexed: true
2977
- },
2978
- {
2979
- name: "tokenId",
2980
- internalType: "uint256",
2981
- type: "uint256",
2982
- indexed: true
2983
- },
2984
- {
2985
- name: "quantity",
2986
- internalType: "uint256",
2987
- type: "uint256",
2988
- indexed: false
2989
- },
2990
- {
2991
- name: "comment",
2992
- internalType: "string",
2993
- type: "string",
2994
- indexed: false
2995
- }
2996
- ],
2997
- name: "MintComment"
2998
- },
2999
- {
3000
- type: "event",
3001
- anonymous: false,
3002
- inputs: [
3003
- {
3004
- name: "mediaContract",
3005
- internalType: "address",
3006
- type: "address",
3007
- indexed: true
3008
- },
3009
- {
3010
- name: "tokenId",
3011
- internalType: "uint256",
3012
- type: "uint256",
3013
- indexed: true
3014
- },
3015
- {
3016
- name: "salesConfig",
3017
- internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
3018
- type: "tuple",
3019
- components: [
3020
- { name: "saleStart", internalType: "uint64", type: "uint64" },
3021
- { name: "saleEnd", internalType: "uint64", type: "uint64" },
3022
- {
3023
- name: "maxTokensPerAddress",
3024
- internalType: "uint64",
3025
- type: "uint64"
3026
- },
3027
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
3028
- { name: "fundsRecipient", internalType: "address", type: "address" }
3029
- ],
3030
- indexed: false
3031
- }
3032
- ],
3033
- name: "SaleSet"
3034
- },
3035
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
3036
- {
3037
- type: "error",
3038
- inputs: [
3039
- { name: "mintTo", internalType: "address", type: "address" },
3040
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
3041
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3042
- ],
3043
- name: "InvalidMerkleProof"
3044
- },
3045
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
3046
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
3047
- { type: "error", inputs: [], name: "SaleEnded" },
3048
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
3049
- {
3050
- type: "error",
3051
- inputs: [
3052
- { name: "user", internalType: "address", type: "address" },
3053
- { name: "limit", internalType: "uint256", type: "uint256" },
3054
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
3055
- ],
3056
- name: "UserExceedsMintLimit"
3057
- },
3058
- { type: "error", inputs: [], name: "WrongValueSent" }
3059
- ];
3060
- var zoraCreatorFixedPriceSaleStrategyAddress = {
3061
- 1: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3062
- 5: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3063
- 10: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
3064
- 420: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3065
- 999: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3066
- 8453: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3067
- 42161: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3068
- 84531: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3069
- 421614: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3070
- 7777777: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3071
- 11155111: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3072
- 999999999: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A"
3073
- };
3074
- var zoraCreatorFixedPriceSaleStrategyConfig = {
3075
- address: zoraCreatorFixedPriceSaleStrategyAddress,
3076
- abi: zoraCreatorFixedPriceSaleStrategyABI
3077
- };
3078
- var zoraCreatorMerkleMinterStrategyABI = [
3079
- {
3080
- stateMutability: "view",
3081
- type: "function",
3082
- inputs: [
3083
- { name: "", internalType: "address", type: "address" },
3084
- { name: "", internalType: "uint256", type: "uint256" }
3085
- ],
3086
- name: "allowedMerkles",
3087
- outputs: [
3088
- { name: "presaleStart", internalType: "uint64", type: "uint64" },
3089
- { name: "presaleEnd", internalType: "uint64", type: "uint64" },
3090
- { name: "fundsRecipient", internalType: "address", type: "address" },
3091
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3092
- ]
3093
- },
3094
- {
3095
- stateMutability: "pure",
3096
- type: "function",
3097
- inputs: [],
3098
- name: "contractName",
3099
- outputs: [{ name: "", internalType: "string", type: "string" }]
3100
- },
3101
- {
3102
- stateMutability: "pure",
3103
- type: "function",
3104
- inputs: [],
3105
- name: "contractURI",
3106
- outputs: [{ name: "", internalType: "string", type: "string" }]
3107
- },
3108
- {
3109
- stateMutability: "pure",
3110
- type: "function",
3111
- inputs: [],
3112
- name: "contractVersion",
3113
- outputs: [{ name: "", internalType: "string", type: "string" }]
3114
- },
3115
- {
3116
- stateMutability: "view",
3117
- type: "function",
3118
- inputs: [
3119
- { name: "tokenContract", internalType: "address", type: "address" },
3120
- { name: "tokenId", internalType: "uint256", type: "uint256" },
3121
- { name: "wallet", internalType: "address", type: "address" }
3122
- ],
3123
- name: "getMintedPerWallet",
3124
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3125
- },
3126
- {
3127
- stateMutability: "nonpayable",
3128
- type: "function",
3129
- inputs: [
3130
- { name: "", internalType: "address", type: "address" },
3131
- { name: "tokenId", internalType: "uint256", type: "uint256" },
3132
- { name: "quantity", internalType: "uint256", type: "uint256" },
3133
- { name: "ethValueSent", internalType: "uint256", type: "uint256" },
3134
- { name: "minterArguments", internalType: "bytes", type: "bytes" }
3135
- ],
3136
- name: "requestMint",
3137
- outputs: [
3138
- {
3139
- name: "commands",
3140
- internalType: "struct ICreatorCommands.CommandSet",
3141
- type: "tuple",
3142
- components: [
3143
- {
3144
- name: "commands",
3145
- internalType: "struct ICreatorCommands.Command[]",
3146
- type: "tuple[]",
3147
- components: [
3148
- {
3149
- name: "method",
3150
- internalType: "enum ICreatorCommands.CreatorActions",
3151
- type: "uint8"
3152
- },
3153
- { name: "args", internalType: "bytes", type: "bytes" }
3154
- ]
3155
- },
3156
- { name: "at", internalType: "uint256", type: "uint256" }
3157
- ]
3158
- }
3159
- ]
3160
- },
3161
- {
3162
- stateMutability: "nonpayable",
3163
- type: "function",
3164
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3165
- name: "resetSale",
3166
- outputs: []
3167
- },
3168
- {
3169
- stateMutability: "view",
3170
- type: "function",
3171
- inputs: [
3172
- { name: "tokenContract", internalType: "address", type: "address" },
3173
- { name: "tokenId", internalType: "uint256", type: "uint256" }
3174
- ],
3175
- name: "sale",
3176
- outputs: [
3177
- {
3178
- name: "",
3179
- internalType: "struct ZoraCreatorMerkleMinterStrategy.MerkleSaleSettings",
3180
- type: "tuple",
3181
- components: [
3182
- { name: "presaleStart", internalType: "uint64", type: "uint64" },
3183
- { name: "presaleEnd", internalType: "uint64", type: "uint64" },
3184
- { name: "fundsRecipient", internalType: "address", type: "address" },
3185
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3186
- ]
3187
- }
3188
- ]
3189
- },
3190
- {
3191
- stateMutability: "nonpayable",
3192
- type: "function",
3193
- inputs: [
3194
- { name: "tokenId", internalType: "uint256", type: "uint256" },
3195
- {
3196
- name: "merkleSaleSettings",
3197
- internalType: "struct ZoraCreatorMerkleMinterStrategy.MerkleSaleSettings",
3198
- type: "tuple",
3199
- components: [
3200
- { name: "presaleStart", internalType: "uint64", type: "uint64" },
3201
- { name: "presaleEnd", internalType: "uint64", type: "uint64" },
3202
- { name: "fundsRecipient", internalType: "address", type: "address" },
3203
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3204
- ]
3205
- }
3206
- ],
3207
- name: "setSale",
3208
- outputs: []
3209
- },
3210
- {
3211
- stateMutability: "pure",
3212
- type: "function",
3213
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3214
- name: "supportsInterface",
3215
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
3216
- },
3217
- {
3218
- type: "event",
3219
- anonymous: false,
3220
- inputs: [
3221
- {
3222
- name: "mediaContract",
3223
- internalType: "address",
3224
- type: "address",
3225
- indexed: true
3226
- },
3227
- {
3228
- name: "tokenId",
3229
- internalType: "uint256",
3230
- type: "uint256",
3231
- indexed: true
3232
- },
3233
- {
3234
- name: "merkleSaleSettings",
3235
- internalType: "struct ZoraCreatorMerkleMinterStrategy.MerkleSaleSettings",
3236
- type: "tuple",
3237
- components: [
3238
- { name: "presaleStart", internalType: "uint64", type: "uint64" },
3239
- { name: "presaleEnd", internalType: "uint64", type: "uint64" },
3240
- { name: "fundsRecipient", internalType: "address", type: "address" },
3241
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3242
- ],
3243
- indexed: false
3244
- }
3245
- ],
3246
- name: "SaleSet"
3247
- },
3248
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
3249
- {
3250
- type: "error",
3251
- inputs: [
3252
- { name: "mintTo", internalType: "address", type: "address" },
3253
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
3254
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3255
- ],
3256
- name: "InvalidMerkleProof"
3257
- },
3258
- { type: "error", inputs: [], name: "MerkleClaimsExceeded" },
3259
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
3260
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
3261
- { type: "error", inputs: [], name: "SaleEnded" },
3262
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
3263
- {
3264
- type: "error",
3265
- inputs: [
3266
- { name: "user", internalType: "address", type: "address" },
3267
- { name: "limit", internalType: "uint256", type: "uint256" },
3268
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
3269
- ],
3270
- name: "UserExceedsMintLimit"
3271
- },
3272
- { type: "error", inputs: [], name: "WrongValueSent" }
3273
- ];
3274
- var zoraCreatorMerkleMinterStrategyAddress = {
3275
- 1: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3276
- 5: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3277
- 10: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
3278
- 420: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3279
- 999: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3280
- 8453: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3281
- 42161: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3282
- 84531: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3283
- 421614: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3284
- 7777777: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3285
- 11155111: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3286
- 999999999: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c"
3287
- };
3288
- var zoraCreatorMerkleMinterStrategyConfig = {
3289
- address: zoraCreatorMerkleMinterStrategyAddress,
3290
- abi: zoraCreatorMerkleMinterStrategyABI
3291
- };
3292
- var zoraCreatorRedeemMinterFactoryABI = [
3293
- { stateMutability: "nonpayable", type: "constructor", inputs: [] },
3294
- {
3295
- stateMutability: "view",
3296
- type: "function",
3297
- inputs: [],
3298
- name: "CONTRACT_BASE_ID",
3299
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3300
- },
3301
- {
3302
- stateMutability: "pure",
3303
- type: "function",
3304
- inputs: [],
3305
- name: "contractName",
3306
- outputs: [{ name: "", internalType: "string", type: "string" }]
3307
- },
3308
- {
3309
- stateMutability: "pure",
3310
- type: "function",
3311
- inputs: [],
3312
- name: "contractURI",
3313
- outputs: [{ name: "", internalType: "string", type: "string" }]
3314
- },
3315
- {
3316
- stateMutability: "pure",
3317
- type: "function",
3318
- inputs: [],
3319
- name: "contractVersion",
3320
- outputs: [{ name: "", internalType: "string", type: "string" }]
3321
- },
3322
- {
3323
- stateMutability: "nonpayable",
3324
- type: "function",
3325
- inputs: [],
3326
- name: "createMinterIfNoneExists",
3327
- outputs: []
3328
- },
3329
- {
3330
- stateMutability: "view",
3331
- type: "function",
3332
- inputs: [
3333
- { name: "_creatorContract", internalType: "address", type: "address" }
3334
- ],
3335
- name: "doesRedeemMinterExistForCreatorContract",
3336
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
3337
- },
3338
- {
3339
- stateMutability: "view",
3340
- type: "function",
3341
- inputs: [
3342
- { name: "_creatorContract", internalType: "address", type: "address" }
3343
- ],
3344
- name: "getDeployedRedeemMinterForCreatorContract",
3345
- outputs: [{ name: "", internalType: "address", type: "address" }]
3346
- },
3347
- {
3348
- stateMutability: "view",
3349
- type: "function",
3350
- inputs: [
3351
- { name: "_creatorContract", internalType: "address", type: "address" }
3352
- ],
3353
- name: "predictMinterAddress",
3354
- outputs: [{ name: "", internalType: "address", type: "address" }]
3355
- },
3356
- {
3357
- stateMutability: "nonpayable",
3358
- type: "function",
3359
- inputs: [
3360
- { name: "sender", internalType: "address", type: "address" },
3361
- { name: "tokenId", internalType: "uint256", type: "uint256" },
3362
- { name: "quantity", internalType: "uint256", type: "uint256" },
3363
- { name: "ethValueSent", internalType: "uint256", type: "uint256" },
3364
- { name: "minterArguments", internalType: "bytes", type: "bytes" }
3365
- ],
3366
- name: "requestMint",
3367
- outputs: [
3368
- {
3369
- name: "commands",
3370
- internalType: "struct ICreatorCommands.CommandSet",
3371
- type: "tuple",
3372
- components: [
3373
- {
3374
- name: "commands",
3375
- internalType: "struct ICreatorCommands.Command[]",
3376
- type: "tuple[]",
3377
- components: [
3378
- {
3379
- name: "method",
3380
- internalType: "enum ICreatorCommands.CreatorActions",
3381
- type: "uint8"
3382
- },
3383
- { name: "args", internalType: "bytes", type: "bytes" }
3384
- ]
3385
- },
3386
- { name: "at", internalType: "uint256", type: "uint256" }
3387
- ]
3388
- }
3389
- ]
3390
- },
3391
- {
3392
- stateMutability: "pure",
3393
- type: "function",
3394
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3395
- name: "supportsInterface",
3396
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
3397
- },
3398
- {
3399
- stateMutability: "view",
3400
- type: "function",
3401
- inputs: [],
3402
- name: "zoraRedeemMinterImplementation",
3403
- outputs: [{ name: "", internalType: "address", type: "address" }]
3404
- },
3405
- {
3406
- type: "event",
3407
- anonymous: false,
3408
- inputs: [
3409
- {
3410
- name: "creatorContract",
3411
- internalType: "address",
3412
- type: "address",
3413
- indexed: true
3414
- },
3415
- {
3416
- name: "minterContract",
3417
- internalType: "address",
3418
- type: "address",
3419
- indexed: true
3420
- }
3421
- ],
3422
- name: "RedeemMinterDeployed"
3423
- },
3424
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
3425
- {
3426
- type: "error",
3427
- inputs: [
3428
- { name: "mintTo", internalType: "address", type: "address" },
3429
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
3430
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3431
- ],
3432
- name: "InvalidMerkleProof"
3433
- },
3434
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
3435
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
3436
- { type: "error", inputs: [], name: "SaleEnded" },
3437
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
3438
- { type: "error", inputs: [], name: "WrongValueSent" }
3439
- ];
3440
- var zoraCreatorRedeemMinterFactoryAddress = {
3441
- 1: "0x78964965cF77850224513a367f899435C5B69174",
3442
- 5: "0x78964965cF77850224513a367f899435C5B69174",
3443
- 10: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
3444
- 420: "0x78964965cF77850224513a367f899435C5B69174",
3445
- 999: "0x78964965cF77850224513a367f899435C5B69174",
3446
- 8453: "0x78964965cF77850224513a367f899435C5B69174",
3447
- 42161: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3448
- 84531: "0x78964965cF77850224513a367f899435C5B69174",
3449
- 421614: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3450
- 7777777: "0x78964965cF77850224513a367f899435C5B69174",
3451
- 11155111: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3452
- 999999999: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6"
3453
- };
3454
- var zoraCreatorRedeemMinterFactoryConfig = {
3455
- address: zoraCreatorRedeemMinterFactoryAddress,
3456
- abi: zoraCreatorRedeemMinterFactoryABI
3457
- };
3458
-
3459
- // src/generated/1155.ts
3460
- var __exports = {};
3461
- __export(__exports, {
3462
- addresses: () => addresses,
3463
- chainConfigs: () => chainConfigs
3464
- });
3465
- var chainConfigs = {
3466
- "1": {
3467
- "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
3468
- "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
3469
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3470
- },
3471
- "5": {
3472
- "FACTORY_OWNER": "0xDC498668B5e6CC518fD58A2ADBF614Fd3A13D3a0",
3473
- "MINT_FEE_RECIPIENT": "0x9444390c01Dd5b7249E53FAc31290F7dFF53450D",
3474
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3475
- },
3476
- "10": {
3477
- "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
3478
- "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
3479
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3480
- },
3481
- "420": {
3482
- "FACTORY_OWNER": "0xbb45052B2260707655Dfd916a416264f5981192c",
3483
- "MINT_FEE_RECIPIENT": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2",
3484
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3485
- },
3486
- "999": {
3487
- "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3488
- "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3489
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3490
- },
3491
- "8453": {
3492
- "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
3493
- "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
3494
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3495
- },
3496
- "42161": {
3497
- "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
3498
- "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3499
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3500
- },
3501
- "84531": {
3502
- "FACTORY_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
3503
- "MINT_FEE_RECIPIENT": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
3504
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3505
- },
3506
- "421614": {
3507
- "FACTORY_OWNER": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3508
- "MINT_FEE_RECIPIENT": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3509
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3510
- },
3511
- "7777777": {
3512
- "FACTORY_OWNER": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
3513
- "MINT_FEE_RECIPIENT": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
3514
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3515
- },
3516
- "11155111": {
3517
- "FACTORY_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
3518
- "MINT_FEE_RECIPIENT": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
3519
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3520
- },
3521
- "999999999": {
3522
- "FACTORY_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
3523
- "MINT_FEE_RECIPIENT": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
3524
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3525
- }
3526
- };
3527
- var addresses = {
3528
- "1": {
3529
- "CONTRACT_1155_IMPL": "0x32006e298C19818CD5e8000E26439691f0ac2128",
3530
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3531
- "FACTORY_IMPL": "0xD662FB0fB00261C039441EF49Dbab154d7c533bD",
3532
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3533
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3534
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3535
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3536
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3537
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3538
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3539
- "timestamp": 1704400466
3540
- },
3541
- "5": {
3542
- "CONTRACT_1155_IMPL": "0xa5f8577cCA2eE9d5577E76385dB1Af51517c76bb",
3543
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3544
- "FACTORY_IMPL": "0xd74AB2EE2117C647f19de0D44FE56c56953Bd05d",
3545
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3546
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3547
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3548
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3549
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3550
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3551
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3552
- "timestamp": 1703007708,
3553
- "commit": "bdf6682"
3554
- },
3555
- "10": {
3556
- "CONTRACT_1155_IMPL": "0xECfbCf718E17B6e76A675dDB936a9249C69DD2aA",
3557
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3558
- "FACTORY_IMPL": "0x32006e298C19818CD5e8000E26439691f0ac2128",
3559
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3560
- "FIXED_PRICE_SALE_STRATEGY": "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
3561
- "MERKLE_MINT_SALE_STRATEGY": "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
3562
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3563
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3564
- "REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
3565
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3566
- "timestamp": 1704396387
3567
- },
3568
- "420": {
3569
- "CONTRACT_1155_IMPL": "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
3570
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3571
- "FACTORY_IMPL": "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
3572
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3573
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3574
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3575
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3576
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3577
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3578
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3579
- "timestamp": 1704496741
3580
- },
3581
- "999": {
3582
- "CONTRACT_1155_IMPL": "0x2022AdEF470DA3543a19fac8c9be80618112704D",
3583
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3584
- "FACTORY_IMPL": "0x4b0365Ec68C2D92Af2Fa56f120095F0859142Eff",
3585
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3586
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3587
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3588
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3589
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3590
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3591
- "UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
3592
- "timestamp": 1704399834
3593
- },
3594
- "8453": {
3595
- "CONTRACT_1155_IMPL": "0xAF5A4F6F6640734d7D000321Bb27De40D4Ae91f6",
3596
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3597
- "FACTORY_IMPL": "0x7B59c0378F540c0356A5DAEF7574255A7C74EC76",
3598
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3599
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3600
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3601
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3602
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3603
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3604
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3605
- "timestamp": 1704396122
3606
- },
3607
- "42161": {
3608
- "CONTRACT_1155_IMPL": "0x97eb05B8db496B12244BCcf17CF377d00a99b67a",
3609
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3610
- "FACTORY_IMPL": "0x48d8db63724444C6270749fEe80bBDB6CF33677f",
3611
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3612
- "FIXED_PRICE_SALE_STRATEGY": "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3613
- "MERKLE_MINT_SALE_STRATEGY": "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3614
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3615
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3616
- "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3617
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3618
- "timestamp": 1704914719
3619
- },
3620
- "84531": {
3621
- "CONTRACT_1155_IMPL": "0xc6a8C44c695F227097f6F10dfCB4335308AF444D",
3622
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3623
- "FACTORY_IMPL": "0x2667909314554B0f37D306C463e68737d1707953",
3624
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3625
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3626
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3627
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3628
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3629
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3630
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3631
- "timestamp": 1703009473,
3632
- "commit": "bdf6682"
3633
- },
3634
- "421614": {
3635
- "CONTRACT_1155_IMPL": "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
3636
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3637
- "FACTORY_IMPL": "0x314E552b55DFbDfD4d76623E1D45E5056723998B",
3638
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3639
- "FIXED_PRICE_SALE_STRATEGY": "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3640
- "MERKLE_MINT_SALE_STRATEGY": "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3641
- "PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
3642
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3643
- "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3644
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3645
- "timestamp": 1706661669
3646
- },
3647
- "7777777": {
3648
- "CONTRACT_1155_IMPL": "0x57f412Ea90b59ce4023AFDE95C251E3c747EB7F8",
3649
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3650
- "FACTORY_IMPL": "0xc6bf69986859f0dC0b77f2cA6AD86F5b294c0443",
3651
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3652
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3653
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3654
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3655
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3656
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3657
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3658
- "timestamp": 1704401901
3659
- },
3660
- "11155111": {
3661
- "CONTRACT_1155_IMPL": "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
3662
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3663
- "FACTORY_IMPL": "0xF82286760a953D2Bad7D6F2F0da458Ac20f955D3",
3664
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3665
- "FIXED_PRICE_SALE_STRATEGY": "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3666
- "MERKLE_MINT_SALE_STRATEGY": "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3667
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3668
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3669
- "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3670
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3671
- "timestamp": 1704336497
3672
- },
3673
- "999999999": {
3674
- "CONTRACT_1155_IMPL": "0x980170C861E723309628a27c27397a955920F968",
3675
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3676
- "FACTORY_IMPL": "0xcea530A0d2d158500E248a59682a1D230c2422F7",
3677
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3678
- "FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
3679
- "MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
3680
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3681
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3682
- "REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
3683
- "UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
3684
- "timestamp": 1703007364,
3685
- "commit": "bdf6682"
3686
- }
3687
- };
3688
- // Annotate the CommonJS export names for ESM import in node:
3689
- 0 && (module.exports = {
3690
- contracts1155,
3691
- zoraCreator1155FactoryImplABI,
3692
- zoraCreator1155FactoryImplAddress,
3693
- zoraCreator1155FactoryImplConfig,
3694
- zoraCreator1155ImplABI,
3695
- zoraCreator1155PremintExecutorImplABI,
3696
- zoraCreator1155PremintExecutorImplAddress,
3697
- zoraCreator1155PremintExecutorImplConfig,
3698
- zoraCreatorFixedPriceSaleStrategyABI,
3699
- zoraCreatorFixedPriceSaleStrategyAddress,
3700
- zoraCreatorFixedPriceSaleStrategyConfig,
3701
- zoraCreatorMerkleMinterStrategyABI,
3702
- zoraCreatorMerkleMinterStrategyAddress,
3703
- zoraCreatorMerkleMinterStrategyConfig,
3704
- zoraCreatorRedeemMinterFactoryABI,
3705
- zoraCreatorRedeemMinterFactoryAddress,
3706
- zoraCreatorRedeemMinterFactoryConfig
3707
- });
3708
- //# sourceMappingURL=index.cjs.map