@zoralabs/protocol-deployments 0.0.2

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