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