@zoralabs/protocol-deployments 0.0.14-MINT.0 → 0.0.16

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