@zoralabs/protocol-deployments 0.0.7-prerelease.0 → 0.0.7

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