@zoralabs/protocol-deployments 0.0.12 → 0.0.13

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